Skip to content

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

Python

Merge branch 'fix/tui-resize-anchor' into perf/tui-scroll-paint

Rach Pradhand8ee2c444382
diff --cc scripts/eval-tier1.sh
index 1cc5afd5,5ae0e768..47da7768
--- a/scripts/eval-tier1.sh
+++ b/scripts/eval-tier1.sh
@@@ -242,13 -242,13 +242,20 @@@ if wanted tuiguard; the
if python3 scripts/test-tui-typed-events.py zig-out/bin/graff; then :; else
record_fail tuiguard
fi
+ # The frame painter may never show anything but the current frame. Storms
+ # the window size, fills the screen with glyphs terminals measure
+ # differently from us, then reads the SCREEN back and compares it cell for
+ # cell against a forced full repaint of the same frame.
+ if python3 scripts/test-tui-painter.py zig-out/bin/graff; then :; else
+ record_fail tuiguard
+ fi
+ # The viewport must not jump when the terminal changes width: drives
+ # TIOCSWINSZ across five widths mid-scroll and reads the screen back. With
+ # the logical scroll anchor removed the marker leaves the screen on the
+ # FIRST width change, so this is a real gate, not a smoke test.
+ if python3 scripts/test-tui-resize-anchor.py zig-out/bin/graff; then :; else
+ record_fail tuiguard
+ fi
fi
fi