Skip to content

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

Python

Merge prior release fixes into release/v0.302.50

Rach Pradhan161c0d7c58f8
diff --cc src/subagent_run.zig
index 319929dc,f932c6f9..f309f119
--- a/src/subagent_run.zig
+++ b/src/subagent_run.zig
@@@ -431,9 -421,9 +431,10 @@@ pub fn runSub(ctx: ToolCtx, kind: []con
if (subagent_retry.pastDeadline(util.unixMs(ctx.io), ctx.loop_deadline_ms)) break :ask r;
subagent_retry.traceAttempt(ctx.tracer, sub_id, attempts, fail_kind, agent.last_api_error);
agent.sleepInterruptible(@import("retry_jitter.zig").ms(agent.io, subagent_retry.backoffMs(fail_kind, attempts))) catch break :ask r; // #1274
+ agent.tool_repeat.carryOver(); // #1706: the re-ask resumes this history, so a looping worker keeps its count
}
};
+ agent.synthesis.finish(&agent);
// A worker that ran keeps its report and usage when its state can't be
// saved for follow-ups; the save error used to replace both (#1671).
const retained_failure: ?anyerror = if (@import("subagent_retained.zig").checkpoint(&agent, ctx)) |_| null else |e| e;