graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs
Python
Merge branch 'fix/tui-stream-markdown' into ui/tui-hover-affordance
Rach Pradhan4f96753acb16
diff --cc TUI/root.zigindex 7845bff5,3ab4dccf..2ced2580--- a/TUI/root.zig+++ b/TUI/root.zig@@@ -66,8 -64,8 +66,9 @@@ test_ = @import("chrome.zig");_ = @import("models.zig");_ = @import("markdown.zig");+ _ = @import("markdown_stream_tests.zig");_ = @import("syntax.zig");+ _ = @import("diff.zig");_ = @import("dump.zig");_ = @import("effort.zig");_ = @import("sim.zig");diff --cc scripts/eval-tier1.shindex d7cb2301,25d02a54..e3d6dc3d--- a/scripts/eval-tier1.sh+++ b/scripts/eval-tier1.sh@@@ -243,34 -242,12 +243,40 @@@ if wanted tuiguard; theif python3 scripts/test-tui-typed-events.py zig-out/bin/graff; then :; elserecord_fail tuiguardfi+ # 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.+ if python3 scripts/test-tui-screenstate.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+ # grok-build's one-column rule for ANIMATED chrome: watches the live blink+ # on a background op's pending row and fails if the label beside it moves a+ # column, or if a frame is not East-Asian-Narrow. TUI/glyphs.zig holds the+ # same law for the frame sets; this is the pixels.+ if python3 scripts/test-tui-chrome-width.py zig-out/bin/graff; then :; else+ record_fail tuiguard+ fi+ # Streaming markdown: the answer arrives as 1-3 codepoint deltas whose+ # boundaries land mid-escape, mid-fence and mid-marker. Both the live tail+ # and the settled row must be free of the model's own CR/SGR bytes.+ if python3 scripts/test-tui-stream-markdown.py zig-out/bin/graff; then :; else+ record_fail tuiguard+ fififi