graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs
Python
Fix isolation tests: command catalog buffer and non-git cwd
Cursor Agentf3b6205236cb
diff --git a/src/task_workspace.zig b/src/task_workspace.zigindex 9d7cacf7..6281b9af 100644--- a/src/task_workspace.zig+++ b/src/task_workspace.zig@@ -442,7 +442,9 @@ test "create: non-git folder is not a task workspace" {const a = std.testing.allocator;const io = std.testing.io;// std.testing.tmpDir lives inside this repo's cache, so git walks up to it.- const root = try std.fmt.allocPrint(a, "/tmp/graff-nongit-{d}", .{std.time.milliTimestamp()});+ var raw: [4]u8 = undefined;+ io.random(&raw);+ const root = try std.fmt.allocPrint(a, "/tmp/graff-nongit-{s}", .{std.fmt.bytesToHex(raw, .lower)});defer a.free(root);try Io.Dir.cwd().createDirPath(io, root);defer Io.Dir.cwd().deleteTree(io, root) catch {};