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:
@@ -3,7 +3,7 @@ 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, in AGENTS.md or docs/decisions.md, or in a comment at the one place it governs"
|
||||
ANSWERS_RECORDED = "every answer the human typed in it that a later chunk could need is recorded in the file where it belongs: README.md's Goals or Audience, AGENTS.md, docs/decisions.md, todo.md, ~/.claude/CLAUDE.md, or a comment 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 "
|
||||
@@ -30,8 +30,8 @@ JUDGE_RULES = (
|
||||
"The chunk is the piece of work the agent is on, shipped as one pull request. "
|
||||
"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 the files above hold it, or where the transcript shows the agent writing it in one of those "
|
||||
"places. finished=false when work remains that a further run can continue: an open PR, a review "
|
||||
"where the files above hold it, or where the transcript shows the agent writing it into one of "
|
||||
"those files. 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."
|
||||
)
|
||||
|
||||
|
||||
@@ -6,13 +6,14 @@ Run it anywhere inside a project checkout whose README.md has ## Goals and ## Au
|
||||
premises; the task runs at the checkout root. Each cycle a worker runs the task. A judge then reads
|
||||
the transcript's end, the premises, and the records: the project's AGENTS.md and docs/decisions.md
|
||||
and the human's ~/.claude/CLAUDE.md, where they exist. It rules whether the chunk, the work of one
|
||||
PR, is finished. It is not while an answer the human typed in it, that a later chunk could need, is
|
||||
recorded nowhere: neither the premises, AGENTS.md or docs/decisions.md hold it, nor does the
|
||||
transcript show the worker writing it there or in a code comment. A choice the worker made that the
|
||||
premises or the records settle is not asked about. When the worker asks a question they answer, the judge quotes the
|
||||
answer, loop-claude prints it, and the worker resumes with it. A quote they do not hold word for
|
||||
word is dropped, and the question goes to the human. So does a question asked again after its
|
||||
answer. The fourth question they answer in one cycle goes to the human too, with the quote.
|
||||
PR, is finished. It is not while an answer the human typed in it, that a later chunk could need,
|
||||
is recorded nowhere: the premises and the records do not hold it, and the transcript does not show
|
||||
the worker writing it into them, todo.md or a code comment. A choice the worker made that the
|
||||
premises or the records settle is not asked about. When the worker asks a question they answer,
|
||||
the judge quotes the answer, loop-claude prints it, and the worker resumes with it. A quote they do
|
||||
not hold word for word is dropped, and the question goes to the human. So does a question asked
|
||||
again after its answer. The fourth question they answer in one cycle goes to the human too, with
|
||||
the quote.
|
||||
A question only the human can answer, or a release ready to cut, is an interrupt: `claude --resume`
|
||||
on the terminal, every worktree first marked trusted in ~/.claude.json. An unfinished chunk resumes
|
||||
its session next cycle; the next chunk starts a fresh session.
|
||||
|
||||
Reference in New Issue
Block a user