Skip to content

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

Python

scripts: the probe-deadline fixture pipes its read so the codedb guard still probes

justrachd106acd787f0
diff --git a/scripts/test-codedb-probe-deadline.py b/scripts/test-codedb-probe-deadline.py
index 0b75b1f4..ecf73f3f 100644
--- a/scripts/test-codedb-probe-deadline.py
+++ b/scripts/test-codedb-probe-deadline.py
@@ -100,7 +100,7 @@ else: print('fixture codedb')
env.pop('GRAFF_NO_CODEDB_GUARD',None)
env.update(HOME=tmp,PATH=str(work/'bin')+os.pathsep+env['PATH'],LMSTUDIO_API_KEY='local',
GRAFF_FLEET='off',GRAFF_NO_TELEMETRY='1',GRAFF_NO_SMOLIFY='1')
- call={'tool':'bash','arguments':{'command':'cat fixture.zig'}}
+ call={'tool':'bash','arguments':{'command':'cat fixture.zig | head -n 5'}} # piped: still guarded (ADR 0234 passes small whole reads)
replies=[call,call,call,{'text':'probe fixture completed'}]
if args.nested:
replies.insert(0,{'tool':'subagent','arguments':{'description':'probe fixture','prompt':'Run the local guard fixture in the shared directory.','isolation':'shared_cwd'}})