Answer architecture round 2: the judge's contract owns the sentences naming where answers are quoted from and recorded, records.py only reads; the cycle's vocabulary names CLAUDE.md as a quote source
This commit is contained in:
@@ -3,14 +3,9 @@ import pathlib
|
||||
from loop_claude.project.checkout import read_utf8
|
||||
from loop_claude.stop import Stop
|
||||
|
||||
# The records: the project's files the judge reads beside the README's premises and HUMAN_RULES.
|
||||
# The records: these project files and HUMAN_RULES, which the judge reads beside the README's premises.
|
||||
RECORD_FILES = ("AGENTS.md", "docs/decisions.md")
|
||||
HUMAN_RULES = "~/.claude/CLAUDE.md"
|
||||
# Where the judge may quote an answer from, named as the human and the worker see them; of README.md the judge sees only the premises.
|
||||
QUOTE_SOURCES = "README.md's Goals and Audience, " + ", ".join(RECORD_FILES) + " or " + HUMAN_RULES
|
||||
# Where the worker may write an answer the human typed, so it counts as recorded; HUMAN_RULES is the human's alone to write.
|
||||
ANSWER_DESTINATIONS = "README.md's Goals or Audience, " + ", ".join(RECORD_FILES) + ", todo.md or a comment"
|
||||
ANSWERS_RECORDED = f"every answer the human typed in it that a later chunk could need is recorded in {ANSWER_DESTINATIONS} at the one place it governs"
|
||||
|
||||
|
||||
def read_records(root: str, claude_md: pathlib.Path) -> str | Stop:
|
||||
|
||||
Reference in New Issue
Block a user