Answer architecture round 2: the worker: decision's title states the test-first rule and when the worker reads a principle

This commit is contained in:
2026-10-13 01:28:06 +02:00
parent 4ebe36edef
commit 01e0a35372
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ Claude Code's user-level rules tie this repo to Claude Code, which "Prefer the v
Valid while Claude Code loads `~/.claude/rules/*.md` in every project, a path-scoped one when a session reads, writes or edits a matching file, or reads one with a single-file Bash command such as `cat`, and after a write only once the write is done. On 2026-10-13 a smoke test confirmed both triggers: a rule in `~/.claude/rules/` with `paths: ["**/smoke-target.txt"]` held a secret word. `claude -p` in a project under `/tmp` printed the word after reading the target with the Read tool, and after creating it with the Write tool. A control run that opened no file printed none. Per the docs, a path-scoped rule leaves the context at compaction and returns at the next matching read.
## worker: a chunk's worker implements the simplest change that solves its item and reads no technical principle; larv-review's reviewers hold the change to the principles and to the standards in `skills/larv-review/standards/`
## worker: a chunk's worker writes a failing test and the simplest change that passes it, and reads a technical principle only where the item, a finding or its own record names it; larv-review's reviewers hold the change to the principles and to the standards in `skills/larv-review/standards/`
2026-10-13, lilleman through todo item 104, implemented by claude. Serves goals 1.4 and 1.5. Like red, green, refactor: the worker makes the item work, and the review passes raise it to the bar. A loop-claude worker loaded `CLAUDE.md` and every file under `rules/`, 4,247 words, and `CLAUDE.md` told it to read `technical-principles.md` too, 2,426 words more. The reviewers read the principles anyway, and each finding names the principle it applies.