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-pty-harness' into ui/tui-hover-affordance

Rach Pradhan7ff7d9968ac4
diff --cc scripts/eval-tier1.sh
index 1cc5afd5,8da013ab..86db6b90
--- a/scripts/eval-tier1.sh
+++ b/scripts/eval-tier1.sh
@@@ -242,13 -243,13 +243,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
+ # Same invariants, read off a VIRTUAL SCREEN instead of raw bytes
+ # (scripts/ptyharness.py): the VT interpreter's own selftest, the ported
+ # mode-balance check, and out-of-band screen corruption fed straight to the
- # tty. The self-heal assertion is expected-fail until fix/tui-painter lands.
++ # tty.
+ if python3 scripts/test-tui-screenstate.py zig-out/bin/graff; then :; else
+ record_fail tuiguard
+ fi
fi
fi