Skip to content

Documentation Boundaries ​

Operational records are read by every agent at the start of every task. When they grow without limit, agents read history instead of the current state, and the records stop being useful. This document sets hard limits for those records. tests/documentation-boundaries.test.ts enforces them, so a pull request that breaks a limit fails pnpm verify and CI.

Principles ​

  • A state file describes the present. History goes to an archive or stays in Git, pull requests, and design documents.
  • Rewrite a status section; never append history to it.
  • Move content unchanged when archiving. Do not summarize history in place of the original.
  • Put long evidence (CI run lists, measurements, review tables) in the pull request description or the design document, and link it.
  • Archives are history, not current authority.

DUTY_WATCH.md ​

PartLimit
"Current watch status"at most 40 non-blank lines
Entries in the fileat most 10, newest first
One entryat most 40 lines
Where entries liveonly under "Watch entries", never elsewhere

Rotation: when a new entry would make 11, move the oldest entry unchanged to docs/journal/duty-watch/YYYY-MM.md for the month in its heading. Keep newest entries first in that file. Do it in the same commit that adds the new entry, and add the month to docs/journal/duty-watch/README.md when the file is new.

Entries follow the entry template.

PROJECT_STATE.md ​

PartLimit
Whole fileat most 250 lines

The file is a snapshot of the present: releases, what is implemented, active focus, invariants, and open blockers. Rewrite the affected line when state changes. Do not add CI run lists, merge timestamps, or session detail; link the pull request or design document instead. When a rewrite drops text that still matters as history, move it unchanged to docs/journal/project-state/.

Changing a limit ​

A limit changes only by a Project Owner decision, recorded in this document and in the test in the same pull request. Do not raise a limit to make a pull request pass.