Skip to content

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

Python

fix: leave headroom for pinned debug builds

yxlyx999a33316114
diff --git a/src/learn_store_types.zig b/src/learn_store_types.zig
index 516cb8d3..75b2810e 100644
--- a/src/learn_store_types.zig
+++ b/src/learn_store_types.zig
@@ -10,7 +10,9 @@ pub const version_bytes = "1\n";
pub const max_config_bytes: usize = 1 << 20;
pub const max_record_bytes: usize = 8 << 20;
-pub const max_program_bytes: u64 = 128 << 20;
+// The supported Linux debug build is itself a pinnable evaluator; keep this
+// bounded while leaving headroom beyond its current ~128 MiB link image.
+pub const max_program_bytes: u64 = 160 << 20;
pub const max_suite_bytes: usize = 8 << 20;
pub const max_pairs: usize = 4096;