Record that the judge reads CLAUDE.md through claude -p auto-discovery
This commit was merged in pull request #28.
This commit is contained in:
+1
-2
@@ -31,6 +31,7 @@ Claude Code internals this rests on, observed on 2.1.282:
|
||||
- An "assistant" entry, in the transcript and in --output-format stream-json, carries message.content
|
||||
parts of type "text" (text) and "tool_use" (name, input); stream-json ends with a "result" event.
|
||||
- `claude -p --output-format json --json-schema` returns the verdict under "structured_output".
|
||||
- `claude -p` without --bare loads the project's and ~/.claude's CLAUDE.md, so the judge reads the words.
|
||||
- ~/.claude.json holds projects.<path>.hasTrustDialogAccepted per checkout.
|
||||
"""
|
||||
import glob
|
||||
@@ -49,8 +50,6 @@ RELOAD_FAILURES = "LOOP_CLAUDE_FAILURES"
|
||||
SESSION_NAMESPACE = uuid.UUID("64fb586b-d926-4bb3-a44c-c903e86d3eec")
|
||||
|
||||
JUDGE_RULES = (
|
||||
"Words: chunk: the unit of work: the smallest PR-able change. plan: `todo.md`. release: a semver version "
|
||||
"the human cuts.\n"
|
||||
"Decide whether the human must now be interrupted. ask=true when any of these appear:\n"
|
||||
"- the agent asks the human anything, seeks approval, or says a decision is the human's\n"
|
||||
"- it carried on under an assumption that decides the deliverable and that the human could "
|
||||
|
||||
Reference in New Issue
Block a user