Skip to content

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

Python

Stage probe.txt only on lifecycle recovery, not while blocked

justrach41c5c8319da5
diff --git a/scripts/test-claim-lifecycle.py b/scripts/test-claim-lifecycle.py
index f0515044..f68dfe14 100644
--- a/scripts/test-claim-lifecycle.py
+++ b/scripts/test-claim-lifecycle.py
@@ -148,7 +148,7 @@ def run(binary, recovery, evidence):
else:
owner.close()
owner = None
- recovery_commands = commands
+ recovery_commands = ['git add probe.txt'] + commands
model.caller_steps = [claim('claim')]+[tool('bash',command=cmd) for cmd in recovery_commands]
first = len(model.requests)
caller.prompt('Acquire ownership after recovery, then perform the writes.')