Answer prose round 1: 0 🔴, 1 🟡; reword the recorded-answer paragraph, drop the repeated [loop] definition and the double possessive. The since_step comment's 🟢 is declined: the suggested wording claims the mark stays 0 until a step-up, which the code doesn't show

This commit is contained in:
2026-10-22 01:29:15 +02:00
parent 7d6d5b274f
commit e7dbff791a
2 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ def human_text(entry: dict) -> str | None:
# {"type": "user", "promptSource": "sdk", "message": {"content": "Continue the task; the previous run ended before the chunk was finished."}} # {"type": "user", "promptSource": "sdk", "message": {"content": "Continue the task; the previous run ended before the chunk was finished."}}
def loop_text(entry: dict) -> str | None: def loop_text(entry: dict) -> str | None:
"""What a -p prompt of loop-claude's told the worker.""" """What loop-claude told the worker in a -p prompt."""
text = content(entry) text = content(entry)
return text if entry.get("type") == "user" and entry.get("promptSource") == "sdk" and isinstance(text, str) else None return text if entry.get("type") == "user" and entry.get("promptSource") == "sdk" and isinstance(text, str) else None
+4 -5
View File
@@ -35,8 +35,7 @@ INTERRUPT_RULES = (
"where a note goes - is not on its own a reason to interrupt. A run that ends asking loop-claude for a higher " "where a note goes - is not on its own a reason to interrupt. A run that ends asking loop-claude for a higher "
"rung is no reason to interrupt either; one that asks the human's yes to a higher rung is.\n\n" "rung is no reason to interrupt either; one that asks the human's yes to a higher rung is.\n\n"
"The human may have replied inside the transcript, on a [human] line: judge only what " "The human may have replied inside the transcript, on a [human] line: judge only what "
"is still open, never a question they already answered there. A [loop] line is what loop-claude told " "is still open, never a question they already answered there.\n\n"
"the worker, such as an answer quoted from README.md or the records.\n\n"
"Where the worker asked or flagged something itself, the question is that one, in the worker's own " "Where the worker asked or flagged something itself, the question is that one, in the worker's own "
"wording; never construct another from facts it stated." "wording; never construct another from facts it stated."
) )
@@ -50,10 +49,10 @@ FINISHED_RULES = (
"The chunk is the piece of work the worker is on, shipped as one pull request.\n\n" "The chunk is the piece of work the worker is on, shipped as one pull request.\n\n"
"finished=true when the chunk is complete: merged, or nothing remains that the worker could do on " "finished=true when the chunk is complete: merged, or nothing remains that the worker could do on "
f"its own. Even then, it is finished only once {ANSWERS_RECORDED}.\n\n" f"its own. Even then, it is finished only once {ANSWERS_RECORDED}.\n\n"
"An answer counts as recorded where README.md or the records above hold it, the human's rules " "An answer counts as recorded where README.md or the records above already hold it, the human's rules "
"(~/.claude/CLAUDE.md, ~/.claude/rules/, ~/.claude/skills/larv-review/standards/) included. " "(~/.claude/CLAUDE.md, ~/.claude/rules/, ~/.claude/skills/larv-review/standards/) included. "
f"It also counts where the transcript shows the worker writing it into {ANSWER_DESTINATIONS}. " f"It also counts where the transcript shows the worker writing it into {ANSWER_DESTINATIONS}, "
"Writing it into one of the human's rules does not count.\n\n" "but not into one of the human's rules.\n\n"
"finished=false when work remains that a further run can " "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." "continue: an open PR, a review not yet run, CI not yet reported, an answer not yet recorded."
) )