graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs
Python
test-mcp-async-start: size the pty; ratchet the tier-1 test count
justrach58538d908f7d
diff --git a/scripts/eval/tier1-manifest.json b/scripts/eval/tier1-manifest.jsonindex e83432e8..9333e6cf 100644--- a/scripts/eval/tier1-manifest.json+++ b/scripts/eval/tier1-manifest.json@@ -15,7 +15,7 @@"src/repl.zig","TUI/root.zig"],- "test_count_baseline": 3130,+ "test_count_baseline": 3131,"test_count_slack": 25,"required_invariants": [{diff --git a/scripts/test-mcp-async-start.py b/scripts/test-mcp-async-start.pyindex 75ac8d19..6e53747a 100644--- a/scripts/test-mcp-async-start.py+++ b/scripts/test-mcp-async-start.py@@ -12,7 +12,7 @@ from pathlib import Pathif sys.platform == "win32":print("skip no pty on Windows")sys.exit(0)-import pty # noqa: E402+import fcntl, pty, struct, termios # noqa: E402,E401sys.path.insert(0, str(Path(__file__).resolve().parent / "eval"))from mock_model import ScriptedModel # noqa: E402@@ -64,6 +64,8 @@ def main():TERM="xterm-256color", COLUMNS="120", LINES="40")pid, fd = pty.fork()if pid == 0:+ # A fresh pty is 0x0 on Linux; give the TUI a real screen.+ fcntl.ioctl(0, termios.TIOCSWINSZ, struct.pack("HHHH", 40, 120, 0, 0))os.chdir(work)os.execve(binary, [binary, "--model", "vercel"], env)out = bytearray()