Keep every answer on record, so loop-claude does not ask it twice #211

Merged
lilleman merged 16 commits from answers-on-record into main 2026-10-04 12:01:11 +02:00
Showing only changes of commit 970f80a210 - Show all commits
+5 -4
View File
@@ -3,7 +3,8 @@ import typing
from failure import Failure
ANSWERS_RECORDED = "every answer the human typed in it that a later chunk could need is recorded in README.md's Goals or Audience, AGENTS.md, docs/decisions.md, todo.md or a comment at the one place it governs"
RECORD_PLACES = "README.md's Goals or Audience, AGENTS.md, docs/decisions.md, todo.md or a comment"
ANSWERS_RECORDED = f"every answer the human typed in it that a later chunk could need is recorded in {RECORD_PLACES} at the one place it governs"
JUDGE_RULES = (
"Decide whether the human must now be interrupted. interrupt=true when any of these appear:\n"
"- the agent asks the human anything, seeks approval, or says a decision is the human's, and neither "
@@ -31,9 +32,9 @@ JUDGE_RULES = (
"finished=true when the chunk is complete: merged, or nothing remains that the agent could do on "
f"its own. Even then, it is finished only once {ANSWERS_RECORDED}. An answer counts as recorded "
"where README.md or the records above hold it, ~/.claude/CLAUDE.md included. It also counts where "
"the transcript shows the agent writing it into README.md's Goals or Audience, AGENTS.md, "
"docs/decisions.md, todo.md or a comment; writing it into ~/.claude/CLAUDE.md does not count. finished=false when work remains that a further run can continue: an open PR, a review "
"not yet run, CI not yet reported, an answer not yet recorded."
f"the transcript shows the agent writing it into {RECORD_PLACES}; writing it into "
"~/.claude/CLAUDE.md does not count. finished=false when work remains that a further run can "
"continue: an open PR, a review not yet run, CI not yet reported, an answer not yet recorded."
)