Keep the judge's CLAUDE.md load beside its args
This commit was merged in pull request #100.
This commit is contained in:
@@ -40,6 +40,7 @@ JUDGE_SCHEMA = {
|
|||||||
|
|
||||||
def judge(root, task, premises, transcript, model):
|
def judge(root, task, premises, transcript, model):
|
||||||
# No tools, so the verdict rests on the transcript grounded() checks it against; no persistence, so its runs stay out of the session picker.
|
# No tools, so the verdict rests on the transcript grounded() checks it against; no persistence, so its runs stay out of the session picker.
|
||||||
|
# Without --bare, Claude Code 2.1.282's claude -p loads the project's and ~/.claude's CLAUDE.md.
|
||||||
args = [
|
args = [
|
||||||
"-p",
|
"-p",
|
||||||
"--json-schema", json.dumps(JUDGE_SCHEMA),
|
"--json-schema", json.dumps(JUDGE_SCHEMA),
|
||||||
|
|||||||
Reference in New Issue
Block a user