Answer product-owner round 1: count an answer written where it belongs, todo.md and CLAUDE.md included, align help and changelog, file item 58

This commit is contained in:
2026-10-03 21:09:31 +02:00
parent a43ef188d3
commit a6207e55c0
5 changed files with 19 additions and 13 deletions
+1 -1
View File
@@ -12,7 +12,7 @@
2026-10-03, lilleman: the judge is to read `~/.claude/CLAUDE.md` whole too. The worker follows that file, so a question it answers should not reach the human (goal 4.2). Reading the whole file is safe, because the judge may quote only words that appear in it. A list of sections would need keeping current. Implemented the same day.
2026-10-03, lilleman: the judge rules a chunk finished only once every answer the human typed in it is recorded. A finished chunk's session is deleted, and its answers with it, so an answer recorded nowhere would be asked again in a later chunk (goal 4.2). Implemented the same day by claude, which settled two choices the ruling left open. First, an answer counts as recorded where the files the judge reads hold it, or where the transcript shows the worker writing it into `README.md`'s premises, `AGENTS.md`, `docs/decisions.md` or a code comment. The judge cannot read a code comment, yet `CLAUDE.md` → "Working loop", "Ask, don't guess" puts a standing choice made in one place there. And the judge reads the records from the main checkout once a cycle, which may not yet hold an answer the worker merged. A judge refusing either would hold the chunk open every cycle. Second, only an answer a later chunk could need must be recorded, so an approval such as "merge it" holds nothing open. The worker's resume prompt states the rule, so a chunk held open says why.
2026-10-03, lilleman: the judge rules a chunk finished only once every answer the human typed in it is recorded. A finished chunk's session is deleted, and its answers with it, so an answer recorded nowhere would be asked again in a later chunk (goal 4.2). Implemented the same day by claude, which settled two choices the ruling left open. First, an answer counts as recorded where the files the judge reads hold it, `~/.claude/CLAUDE.md` included, or where the transcript shows the worker writing it into one of them, `todo.md` or a code comment. The judge cannot read a code comment or `todo.md`, yet `CLAUDE.md` → "Working loop", "Ask, don't guess" puts a standing choice made in one place in a comment there, and the plan's approval belongs in `todo.md`. And the judge reads the records from the main checkout once a cycle, which may not yet hold an answer the worker merged. A judge refusing either would hold the chunk open every cycle. Second, only an answer a later chunk could need must be recorded, so an approval such as "merge it" holds nothing open. The worker's resume prompt states the rule, so a chunk held open says why.
## loop-claude: one session per project, its id derived from the checkout's path relative to `~/code`, or to `/` outside it