Skip to content

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

Python

Merge #258 clipboard-paste vision guard into release/v0.0.217

Rach Pradhan80050fb380d3
diff --cc src/main.zig
index f6f4082e,e6a111e2..9ae8f4ae
--- a/src/main.zig
+++ b/src/main.zig
@@@ -591,7 -591,8 +591,10 @@@ const exec = @import("exec.zig")
test { // pull in tests from imported modules (mcp.zig)
_ = mcp;
_ = @import("main_test.zig");
- // A module referenced only from a test file is NOT analyzed otherwise, so
- // its tests silently compile to nothing and the suite still reports green.
- // readline.zig imports HistoryNav, but a type-only reference is not enough to
- // pull the module's own `test {}` blocks into the binary — without this line
- // its two tests silently compile to nothing and the suite still reports green.
++ // A module whose tests must run needs an explicit reference here: a plain
++ // @import elsewhere (or a type-only alias, as readline.zig has for
++ // HistoryNav) is NOT enough to pull its `test {}` blocks into the binary —
++ // they silently compile to nothing and the suite still reports green.
+ _ = @import("scoring_slot_test.zig");
+ _ = @import("readline_history.zig");
}