Answer architecture round 1: one module owns the judge's file lists, the reviewer agents read each principles file's Applies to line, logging applies to services; the audits' findings filed
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
import dataclasses
|
||||
import typing
|
||||
|
||||
from loop_claude.project.records import ANSWER_DESTINATIONS, ANSWERS_RECORDED
|
||||
from failure import Failure
|
||||
|
||||
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 "
|
||||
@@ -32,7 +31,7 @@ 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 "
|
||||
f"the transcript shows the agent writing it into {RECORD_PLACES}; writing it into "
|
||||
f"the transcript shows the agent writing it into {ANSWER_DESTINATIONS}; 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."
|
||||
)
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
from loop_claude.cycle.judge_reply import ANSWERS_RECORDED, QuotedAnswer
|
||||
from loop_claude.project.records import ANSWERS_RECORDED, QUOTE_SOURCES
|
||||
from loop_claude.claude_code.entries import assistant_parts, ends_stream, hit_limit, limit_said, parse_entry, rejected_until
|
||||
from loop_claude.effects import Effects
|
||||
from failure import Failure
|
||||
from loop_claude.cycle.retry import Limited
|
||||
from loop_claude.claude_code.transcript import part_line
|
||||
from loop_claude.project.records import QUOTE_SOURCES
|
||||
from loop_claude.cycle.judge_reply import QuotedAnswer
|
||||
from loop_claude.claude_code.session import Session
|
||||
|
||||
PRINTED_TOOL_INPUT = 160
|
||||
|
||||
Reference in New Issue
Block a user