Answer architecture round 1: 3 🔴, 4 🟡; hand interrupts the rungs, derive the rung rule once, and give each rung one spelling

This commit is contained in:
2026-10-16 06:46:38 +02:00
parent 5c65e725fc
commit e07c20bd60
18 changed files with 192 additions and 51 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ def raise_calls(root: pathlib.Path, new: list[str], rung: Rung, paths: Paths, ef
print("Not on a terminal: the calls are raised again at the next measurement.", file=sys.stderr)
return None
prompt = f"Put these calls for a routing change from loop-claude's figures to the human, and change nothing until they answer:\n{listed}The figures are in {root / archive.FIGURES}. The ladder, its bands and the delegation rule are docs/decisions.md → `routing:`, and a change to them is the human's. Record what they decide as ~/.claude/CLAUDE.md says; the next chunk of this repo files the plan item for these calls."
if unstarted := hand_over(rung, [prompt], str(paths.claude_dir), paths, effects):
if unstarted := hand_over(rung, [prompt], str(paths.claude_dir), paths, {}, effects):
return Stop(1, f"could not start claude for the routing calls: {unstarted.reason}")
# Raised once the human has seen them, answered or not: an unanswered call reaches the plan through AGENTS.md, so it is not asked twice.
if unmarked := archive.mark_raised(root, new, utc(effects.now())):