Answer architecture round 1: 1 🔴, 6 🟡; escalate in an unrouted chunk's first cycle, hold the limit and marker in routing.py, count escalations per starting rung, decline counting the limit from the current rung
This commit is contained in:
@@ -58,7 +58,7 @@ The rules only reviewers apply, for quality, comments, READMEs and prose, live i
|
||||
2. The same failing test or finding survives two fix attempts.
|
||||
3. A pass reports a 🔴 in round 2 or later.
|
||||
|
||||
When one fires, hand the hard part, edits included, to a subagent on the rung loop-claude's prompt names, one above yours. Open the subagent's prompt with `Escalation trigger <n>:` and the evidence, so loop-claude's routing figures count it. Each later subagent on that task runs on that rung or higher, and each further trigger moves it one rung up, to at most the highest rung the prompt names. Ask the human before going higher, or when no prompt names a rung.
|
||||
When one fires, hand the hard part, edits included, to a subagent on the rung loop-claude's prompt names, one above yours. Cite the trigger and its evidence in the subagent's prompt, in the words loop-claude's prompt gives. Each later subagent on that task runs on that rung or higher, and each further trigger moves it one rung up, to at most the highest rung the prompt names. Ask the human before going higher, or when no prompt names a rung.
|
||||
- Give a subagent only the access its job needs, and state the limits in its prompt. One that only reads, such as a prose review, gets no shell and no edits. One that probes a build tags the image as throwaway and removes it afterwards, writes only to the session scratchpad, and removes no image or file it did not create.
|
||||
- Check `README.md` first for build, test, install, and codegen commands, and fix one that misbehaves in the same change. Refresh `README.md` whenever you change what it describes, keeping it true, not longer.
|
||||
- Where `~/.claude/bin/rule-hook` does not check it, such as an image named in test code, a Kubernetes manifest, a `docker run` line or a file a Bash command writes, pin a container image to its full patch version and a GitHub Action to a semver tag.
|
||||
|
||||
Reference in New Issue
Block a user