Skip to content

graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs

Python

Disable Accord in two-process claim fixtures

justrachbe052d873c3c
diff --git a/scripts/test-claim-lifecycle.py b/scripts/test-claim-lifecycle.py
index 8072cb43..f81b3840 100644
--- a/scripts/test-claim-lifecycle.py
+++ b/scripts/test-claim-lifecycle.py
@@ -84,7 +84,7 @@ def run(binary, recovery, evidence):
with tempfile.TemporaryDirectory(prefix='graff-claim-life-') as temp:
work = Path(temp)
env = {k:v for k,v in os.environ.items() if not k.endswith('_API_KEY')}
- env.update(HOME=temp, LMSTUDIO_API_KEY='local', GRAFF_NO_TELEMETRY='1',
+ env.update(HOME=temp, LMSTUDIO_API_KEY='local', GRAFF_NO_TELEMETRY='1', GRAFF_ACCORD='0',
GRAFF_FLEET='off', GRAFF_NO_SMOLIFY='1', GRAFF_NO_CODEDB_GUARD='1')
prepare(work, env, {'checks':'SUCCESS', 'runs':'success', 'new_runs':'success', 'head_branch':'fixture'})
subprocess.run(['git','init','--bare','-q',str(work/'remote.git')], check=True, timeout=10)
@@ -179,7 +179,7 @@ def independent_issue(binary, evidence):
with tempfile.TemporaryDirectory(prefix='graff-claim-issue-') as temp:
work = Path(temp)
env = {k:v for k,v in os.environ.items() if not k.endswith('_API_KEY')}
- env.update(HOME=temp, LMSTUDIO_API_KEY='local', GRAFF_NO_TELEMETRY='1',
+ env.update(HOME=temp, LMSTUDIO_API_KEY='local', GRAFF_NO_TELEMETRY='1', GRAFF_ACCORD='0',
GRAFF_FLEET='off', GRAFF_NO_SMOLIFY='1', GRAFF_NO_CODEDB_GUARD='1')
prepare(work,env,{'checks':'SUCCESS'})
owner = caller = None
diff --git a/scripts/test-claim-repository.py b/scripts/test-claim-repository.py
index af1156c4..76436fb4 100644
--- a/scripts/test-claim-repository.py
+++ b/scripts/test-claim-repository.py
@@ -93,7 +93,7 @@ def run_case(binary, name, case, evidence):
work = Path(temp)
model.work = work
env = {k: v for k, v in os.environ.items() if not k.endswith('_API_KEY')}
- env.update(HOME=temp, LMSTUDIO_API_KEY='local', GRAFF_NO_TELEMETRY='1',
+ env.update(HOME=temp, LMSTUDIO_API_KEY='local', GRAFF_NO_TELEMETRY='1', GRAFF_ACCORD='0',
GRAFF_FLEET='off', GRAFF_NO_SMOLIFY='1', GRAFF_NO_CODEDB_GUARD='1')
state = dict(checks='SUCCESS', head_branch='feature', pr_unavailable=case.get('pr_unavailable', False))
state['wait_release'] = case.get('wait_release', False)