01 the loop
Four steps, most of them automatic
You provide intent and approve proposals. Agents read the records, watch for the moments that produce a durable entry, and keep the files honest.
Before substantial work — the agent reads the record
It reads project-context/NOW.md, searches DECISIONS.md and LEARNINGS.md for the task topic, and follows only relevant links into evidence. This happens automatically in harnesses that discover the installed skill; the managed block in AGENTS.md / CLAUDE.md routes every other agent to the same protocol.
During work — trigger detection watches for durable records
The trigger script detects the window: work has landed since project context was last updated. Judging what fired stays with the agent, against three triggers — the state a next contributor would act on changed, a choice now constrains future work, or evidence changed what is believed and it will recur. The agent proposes the entry; when nothing fired, ack records that honest outcome instead.
At the end — the record is brought up to date
NOW.md is updated to what is now true: stale state replaced, not appended to, and Last reviewed set. Decisions and learnings are appended only if they were earned — a real constraint with its reason, a verified lesson with its evidence. Reversals supersede the old entry; nothing is silently rewritten.
When state may be stale — the doctor runs
Read-only, always. It checks the documents, the evidence anchors, and whether the protocol can still reach an agent at all. It flags; it never rewrites. A doctor that edited your judgement would defeat the point of having one.