Skip to content

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

Python

Match isolation schema pins to the catalog wording

Cursor Agent3f3231e45ea7
diff --git a/src/schema.zig b/src/schema.zig
index 388601bb..4499e4de 100644
--- a/src/schema.zig
+++ b/src/schema.zig
@@ -559,8 +559,9 @@ test "subagent_spec: run_in_background is a boolean, optional (not in required),
}
test "subagent_spec: independent fan-out defaults to worktree, not shared_cwd" {
- try std.testing.expect(std.mem.indexOf(u8, subagent_spec.schema, "default to \\\"worktree\\\"") != null);
+ try std.testing.expect(std.mem.indexOf(u8, subagent_spec.schema, "fan-out children default to") != null);
+ try std.testing.expect(std.mem.indexOf(u8, subagent_spec.schema, "worktree") != null);
try std.testing.expect(std.mem.indexOf(u8, subagent_spec.schema, "Default shared_cwd") == null);
- try std.testing.expect(std.mem.indexOf(u8, workflow_spec.schema, "fan-out tasks default to \\\"worktree\\\"") != null);
- try std.testing.expect(std.mem.indexOf(u8, workflow_spec.schema, "pipeline stages default to \\\"shared_cwd\\\"") != null);
+ try std.testing.expect(std.mem.indexOf(u8, workflow_spec.schema, "fan-out tasks default to") != null);
+ try std.testing.expect(std.mem.indexOf(u8, workflow_spec.schema, "pipeline stages default to") != null);
}