graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs
Python
docs(tui): name the bounded-hold rule the stall policy follows
Rach Pradhanfcb27549ea6f
diff --git a/TUI/run.zig b/TUI/run.zigindex 9c738ab6..8c037375 100644--- a/TUI/run.zig+++ b/TUI/run.zig@@ -461,8 +461,8 @@ test "run loop enables click+hover tracking and bracketed paste" {try std.testing.expect(std.mem.indexOf(u8, src, "if (stall.armExpired(") != null);}-// The stall-verdict / carry-window battery lives beside the policy it pins,-// in run_stall.zig.+// The stall-verdict / carry-window / arm-window battery lives beside the+// policy it pins, in run_stall.zig.fn paintToBuf(a: std.mem.Allocator, frame: []const u8, rows: usize, cols: usize, prev: []const u8) ![]u8 {var aw = Io.Writer.Allocating.init(a);diff --git a/TUI/run_stall.zig b/TUI/run_stall.zigindex 175c665a..1a89a02b 100644--- a/TUI/run_stall.zig+++ b/TUI/run_stall.zig@@ -3,7 +3,9 @@//!//! Everything in this file is a PURE decision about bytes that are stuck//! mid-sequence, plus the clocks that bound how long the loop is allowed to-//! hold on to them.+//! hold on to them. The rule throughout is grok-build's `XT_MAX_HOLD`: every+//! hold is bounded, because an unbounded latch is how a terminal hiccup turns+//! into a session that never accepts input again.const std = @import("std");