Skip to content

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

Python

Isolate the 297 two-session fixture from Accord

justrach65d89ac22f14
diff --git a/scripts/regression-release-297.py b/scripts/regression-release-297.py
index cc7c37ef..4777c8be 100644
--- a/scripts/regression-release-297.py
+++ b/scripts/regression-release-297.py
@@ -145,7 +145,8 @@ def handoff(graff):
(work / "notes.md").write_text("## Verification\nLocal: `python3 -m unittest` passed.\nRemote: passed.\n")
env = {k: v for k, v in os.environ.items() if not k.endswith("_API_KEY")}
env.update(HOME=temp, PATH=str(work / "bin") + os.pathsep + os.environ["PATH"], LMSTUDIO_API_KEY="local",
- GRAFF_NO_TELEMETRY="1", GRAFF_FLEET="off", GRAFF_NO_SMOLIFY="1", GRAFF_NO_CODEDB_GUARD="1", NO_COLOR="1")
+ GRAFF_NO_TELEMETRY="1", GRAFF_FLEET="off", GRAFF_NO_SMOLIFY="1", GRAFF_NO_CODEDB_GUARD="1",
+ GRAFF_ACCORD="0", NO_COLOR="1")
prepare_review(work, ['notes.md'])
acquired, primed, transferred = (threading.Event() for _ in range(3))
def peer(action, kind="publication", key="fixture", **extra):
diff --git a/src/artifact_claim_path.zig b/src/artifact_claim_path.zig
index 24318d32..82e99939 100644
--- a/src/artifact_claim_path.zig
+++ b/src/artifact_claim_path.zig
@@ -1,5 +1,6 @@
//! One claim ledger per Git repository, not per worktree cwd (#1092).
const std = @import("std");
+const builtin = @import("builtin");
const Io = std.Io;
const Allocator = std.mem.Allocator;
const process_runner = @import("process_runner.zig");
@@ -59,6 +60,7 @@ pub fn samePath(a: []const u8, b: []const u8) bool {
}
test "canonicalFile is identical across linked worktrees of one repo" {
+ if (builtin.os.tag == .windows) return error.SkipZigTest;
const a = std.testing.allocator;
const io = std.testing.io;
var tmp = std.testing.tmpDir(.{});
@@ -99,6 +101,7 @@ test "canonicalFile is identical across linked worktrees of one repo" {
}
test "claim follows a worktree switch and does not shadow another repo" {
+ if (builtin.os.tag == .windows) return error.SkipZigTest;
const claims = @import("artifact_claim.zig");
const a = std.testing.allocator;
const io = std.testing.io;