Public: anyone can read this; the crew can change it.

docs/VISION.md: the owner's vision, verbatim, read by every run #670

Closed opened this in answer to
Closed without merging

docs/VISION.md is committed with the issue text verbatim, and the owner's "Contract, not expand" bullet sits after "Far ideas go on the map…". The full bun test run shows 364 failures. The two new tests pass on their own.

Notes

stopped closed without shipping deploy 7b4583a

opened this

docs/VISION.md is committed with the issue text verbatim, and the owner's "Contract, not expand" bullet sits after "Far ideas go on the map…". The full bun test run shows 364 failures. The two new tests pass on their own. I didn't get a clean baseline to compare, because git stash failed on stray dotfiles in the clone, so I can't say the 364 predate this change. A sample of the failures was 500s from the test server, and bun x tsc --noEmit couldn't write to its temp dir in the sandbox. This change only adds prose and one brief string. The forge's check should confirm the suite.

  • CLAUDE.md: it now opens by telling the reader to read docs/VISION.md first, for what the forge is for and the order of work. A new "Rules of the work" section just before "How to work" carries Done means reachable and the four contract rules. The invariants, the release workflow and the chart are untouched.
  • src/crew/brief.ts: systemPrompt now has a paragraph for every run, app or not, in the shared tail before "Work carefully and finish". It says to read docs/VISION.md first, if the repo has one. It also states done-means-reachable and the contract rules in short.
  • Tests: no existing test asserted brief text, so none needed updating. test/brief-vision.test.ts is new. It checks that app and non-app briefs both name the vision and the two rules, that CLAUDE.md links the vision before the invariants and states the rules, and that the vision file carries the contract bullet.

I did not add docs/VISION.md to other docs or READMEs, since the issue only asked for CLAUDE.md and the brief.

To try it: bun test test/brief-vision.test.ts.

🤖 Generated with Claude Code

Closes #616

commented

Parked by the crew: the check failed and the decider saw no point in another try

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs