graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs
Python
docs(eval): remasure 12-task in-house frontier after #697
Cursor Agent62ffa9b9b198
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex aa30d1e0..a863b428 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -27,6 +27,8 @@ current is part of cutting a release.- `#277` (Smolify OAuth) and `#200` (idle localhost) stay parked.- Suite floor **1849** (was 1804). Scratch helpers live in`agent_request_scratch.zig` so the request loop stays under 600.+- 12-task in-house remasure after #697 still unique vs grok / OpenCode:+ **12/12 · 201s · 52 calls · $0.34** (`run-20260831-021035-composite`).## v0.0.281 (2026-08-29)diff --git a/README.md b/README.mdindex 02db5b24..c3195995 100644--- a/README.md+++ b/README.md@@ -54,17 +54,17 @@ Same grok-4.6, same SuperGrok seat, same tasks. graff vs grok-build vs OpenCode.Lower is better on every named axis. Full tables:[graff-evals/hillclimb/baseline.md](graff-evals/hillclimb/baseline.md).-**12 shipped-PR fixtures** (`run-20260830-141658`, `--suite inhouse`):+**12 shipped-PR fixtures** (`run-20260831-021035-composite` on 282, `--suite inhouse`):| harness | pass | wall | calls | tokens | list$ | RSS ||---|---:|---:|---:|---:|---:|---:|-| **graff** | **12/12** | **192s** | **52** | **228k** | **$0.35** | **92M** |-| grok-build | 12/12 | 462s | 63 | 1.18M | $1.12 | 170M |-| OpenCode | 12/12 | 236s | 74 | 675k | $0.79 | 1.1G |+| **graff** | **12/12** | **201s** | **52** | **230k** | **$0.34** | **9M** |+| grok-build | 12/12 | 388s | 64 | 1.17M | $1.05 | 161M |+| OpenCode | 12/12 | 310s | 81 | 737k | $0.93 | 1.1G |-Graff is the unique frontier on pass, wall, calls, tokens, list$, and RSS.-(First-token is not scored on that run — graff's `0.02s` is a boot mark, not-first model SSE.)+Graff is still the unique frontier on pass, wall, calls, tokens, list$, and RSS+after folding #697. (First-token is not scored — graff's `0.02s` is a boot+mark, not first model SSE. RSS is ReleaseSafe process peak.)On the 3-task spine (exact-reply + file-ops + fix-fib) graff was **19.9s /8 calls / $0.048** vs grok 32.3s / 8 / $0.147 and OpenCode 31.2s / 8 / $0.101.diff --git a/docs/releases/v0.0.282.md b/docs/releases/v0.0.282.mdindex fcecfc28..fa3a8c10 100644--- a/docs/releases/v0.0.282.md+++ b/docs/releases/v0.0.282.md@@ -81,6 +81,15 @@ also omits the field when the catalog string is empty — the sameshape `text_only` already uses. Responses, Chat, and Anthropicbodies are pinned.+## 12-task in-house remasure after #697++Same SuperGrok seat, jobs=1, grok-4.6, `x_search` on. Graff is still+the unique frontier vs grok-build and OpenCode on pass / wall / calls /+tokens / list$ / RSS (`run-20260831-021035-composite`). Calls stayed+52. list$ ticked down. Wall is +9s vs the 141658 pin, almost all on+one model-variance retry of `atomic-symlink-write`. `peer-resume`+(the #697-shaped fixture) passed. First-token is not a named win.+## Parked`#277` (Streamable HTTP OAuth / Smolify) and `#200` (idle localhostdiff --git a/graff-evals/hillclimb/baseline.md b/graff-evals/hillclimb/baseline.mdindex 5c817bb6..27150a08 100644--- a/graff-evals/hillclimb/baseline.md+++ b/graff-evals/hillclimb/baseline.md@@ -26,7 +26,35 @@ In-house 6 PR fixtures:| grok | 5/6 | 396s | 2.4s | 30 | 535344 | $0.4285 | 157.7M || opencode | **6/6** | 182.1s | 2.8s | 37 | 340074 | $0.3835 | 1103.9M |-## 12-task in-house remasure (`run-20260830-141658`)+## 12-task in-house remasure after #697 (`run-20260831-021035-composite`)++Same SuperGrok seat, jobs=1, grok-4.6, `x_search` on, ReleaseSafe+`graff-dev` from `release/v0.0.282` (`b1fcf67`, includes #697 session+branches and #695 empty-catalog omit). Composite of `run-20260831-015222`+(graff 11 + OpenCode 12) + `run-20260831-020406` (grok 12, after+restoring `~/.grok/auth.json`) + `run-20260831-021035` (graff+`atomic-symlink-write` retry — first attempt was a dangling-symlink+model miss, not a harness fail). All three harnesses **12/12**.++| harness | pass | wall | first | calls | tokens | list$ | RSS |+|---|---:|---:|---:|---:|---:|---:|+| graff-dev | **12/12** | **200.9s** | 0.02s† | **52** | **230028** | **$0.3410** | **8.8M** |+| grok | 12/12 | 387.7s | 2.5s | 64 | 1170113 | $1.0543 | 160.9M |+| opencode | 12/12 | 310.4s | 2.9s | 81 | 737178 | $0.9326 | 1149.9M |++† Graff `first_out_s` is still boot/`›`, not TTFT. Unique frontier on+pass / wall / calls / tokens / list$ / RSS. First-token is **not** a+named win. Calls stayed **52**. list$ ticked down ($0.3504 → $0.3410).+Wall is +8.8s vs the 141658 pin, almost all on `atomic-symlink-write`+(75s vs 49s, still 4 calls) — model path, not a session-branch+regression. `peer-resume` (the #697-shaped fixture) passed and got+slightly faster (8.14s vs 9.73s). RSS is ReleaseSafe process peak+(child HWM ~20M); the 91.7M pin was a fatter binary. Not a grok-heap+steal (ADR 0024).++++## Prior 12-task pin (`run-20260830-141658`)Same SuperGrok seat, jobs=1, grok-4.6, `x_search` on, the six originalfixtures plus #690 (`hardlink-pin`, `x-search-splice`, `mcp-first-turn`,diff --git a/graff-evals/hillclimb/frontier-inhouse-12-20260831-282.svg b/graff-evals/hillclimb/frontier-inhouse-12-20260831-282.svgnew file mode 100644index 00000000..761cca11--- /dev/null+++ b/graff-evals/hillclimb/frontier-inhouse-12-20260831-282.svg@@ -0,0 +1,120 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 880 490" width="880" height="490" role="img">+<title>Eval frontier · lower-left is better</title>+<rect width="880" height="490" fill="#ffffff"/>+<text x="20" y="22" font-size="16" font-weight="700" fill="#0f172a" font-family="ui-sans-serif, system-ui, sans-serif">Eval frontier · lower-left is better</text>+<text x="20" y="40" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">Pass is a tie-break, not an axis. Hollow = mixed-model / REPL. REPL first-token is echo — not plotted.</text>+<rect x="72" y="62" width="340" height="280" fill="#fafcfb" stroke="#d1d5db"/>+<rect x="500" y="62" width="340" height="280" fill="#fafcfb" stroke="#d1d5db"/>+<text x="72" y="56" font-size="13" font-weight="600" fill="#0f172a" font-family="ui-sans-serif, system-ui, sans-serif">wall vs list$</text>+<text x="500" y="56" font-size="13" font-weight="600" fill="#0f172a" font-family="ui-sans-serif, system-ui, sans-serif">calls vs list$</text>+<text x="242" y="376" text-anchor="middle" font-size="12" fill="#334155" font-family="ui-sans-serif, system-ui, sans-serif">wall (s) →</text>+<text x="670" y="376" text-anchor="middle" font-size="12" fill="#334155" font-family="ui-sans-serif, system-ui, sans-serif">tool calls →</text>+<line x1="72" y1="342.0" x2="412" y2="342.0" stroke="#e5e7eb"/>+<line x1="500" y1="342.0" x2="840" y2="342.0" stroke="#e5e7eb"/>+<text x="64" y="346.0" text-anchor="end" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">$0.000</text>+<text x="492" y="346.0" text-anchor="end" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">$0.000</text>+<line x1="72" y1="278.0" x2="412" y2="278.0" stroke="#e5e7eb"/>+<line x1="500" y1="278.0" x2="840" y2="278.0" stroke="#e5e7eb"/>+<text x="64" y="282.0" text-anchor="end" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">$0.303</text>+<text x="492" y="282.0" text-anchor="end" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">$0.303</text>+<line x1="72" y1="214.0" x2="412" y2="214.0" stroke="#e5e7eb"/>+<line x1="500" y1="214.0" x2="840" y2="214.0" stroke="#e5e7eb"/>+<text x="64" y="218.0" text-anchor="end" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">$0.606</text>+<text x="492" y="218.0" text-anchor="end" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">$0.606</text>+<line x1="72" y1="150.0" x2="412" y2="150.0" stroke="#e5e7eb"/>+<line x1="500" y1="150.0" x2="840" y2="150.0" stroke="#e5e7eb"/>+<text x="64" y="154.0" text-anchor="end" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">$0.909</text>+<text x="492" y="154.0" text-anchor="end" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">$0.909</text>+<line x1="72" y1="86.0" x2="412" y2="86.0" stroke="#e5e7eb"/>+<line x1="500" y1="86.0" x2="840" y2="86.0" stroke="#e5e7eb"/>+<text x="64" y="90.0" text-anchor="end" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">$1.212</text>+<text x="492" y="90.0" text-anchor="end" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">$1.212</text>+<line x1="72.0" y1="62" x2="72.0" y2="342" stroke="#e5e7eb"/>+<text x="72.0" y="358" text-anchor="middle" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">171s</text>+<line x1="157.0" y1="62" x2="157.0" y2="342" stroke="#e5e7eb"/>+<text x="157.0" y="358" text-anchor="middle" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">237s</text>+<line x1="242.0" y1="62" x2="242.0" y2="342" stroke="#e5e7eb"/>+<text x="242.0" y="358" text-anchor="middle" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">303s</text>+<line x1="327.0" y1="62" x2="327.0" y2="342" stroke="#e5e7eb"/>+<text x="327.0" y="358" text-anchor="middle" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">368s</text>+<line x1="412.0" y1="62" x2="412.0" y2="342" stroke="#e5e7eb"/>+<text x="412.0" y="358" text-anchor="middle" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">434s</text>+<line x1="513.0" y1="62" x2="513.0" y2="342" stroke="#e5e7eb"/>+<text x="513.0" y="358" text-anchor="middle" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">52</text>+<line x1="523.8" y1="62" x2="523.8" y2="342" stroke="#e5e7eb"/>+<text x="523.8" y="358" text-anchor="middle" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">53</text>+<line x1="534.6" y1="62" x2="534.6" y2="342" stroke="#e5e7eb"/>+<text x="534.6" y="358" text-anchor="middle" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">54</text>+<line x1="545.5" y1="62" x2="545.5" y2="342" stroke="#e5e7eb"/>+<text x="545.5" y="358" text-anchor="middle" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">55</text>+<line x1="556.3" y1="62" x2="556.3" y2="342" stroke="#e5e7eb"/>+<text x="556.3" y="358" text-anchor="middle" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">56</text>+<line x1="567.1" y1="62" x2="567.1" y2="342" stroke="#e5e7eb"/>+<text x="567.1" y="358" text-anchor="middle" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">57</text>+<line x1="578.0" y1="62" x2="578.0" y2="342" stroke="#e5e7eb"/>+<text x="578.0" y="358" text-anchor="middle" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">58</text>+<line x1="588.8" y1="62" x2="588.8" y2="342" stroke="#e5e7eb"/>+<text x="588.8" y="358" text-anchor="middle" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">59</text>+<line x1="599.6" y1="62" x2="599.6" y2="342" stroke="#e5e7eb"/>+<text x="599.6" y="358" text-anchor="middle" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">60</text>+<line x1="610.4" y1="62" x2="610.4" y2="342" stroke="#e5e7eb"/>+<text x="610.4" y="358" text-anchor="middle" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">61</text>+<line x1="621.3" y1="62" x2="621.3" y2="342" stroke="#e5e7eb"/>+<text x="621.3" y="358" text-anchor="middle" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">62</text>+<line x1="632.1" y1="62" x2="632.1" y2="342" stroke="#e5e7eb"/>+<text x="632.1" y="358" text-anchor="middle" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">63</text>+<line x1="642.9" y1="62" x2="642.9" y2="342" stroke="#e5e7eb"/>+<text x="642.9" y="358" text-anchor="middle" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">64</text>+<line x1="653.8" y1="62" x2="653.8" y2="342" stroke="#e5e7eb"/>+<text x="653.8" y="358" text-anchor="middle" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">65</text>+<line x1="664.6" y1="62" x2="664.6" y2="342" stroke="#e5e7eb"/>+<text x="664.6" y="358" text-anchor="middle" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">66</text>+<line x1="675.4" y1="62" x2="675.4" y2="342" stroke="#e5e7eb"/>+<text x="675.4" y="358" text-anchor="middle" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">67</text>+<line x1="686.2" y1="62" x2="686.2" y2="342" stroke="#e5e7eb"/>+<text x="686.2" y="358" text-anchor="middle" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">68</text>+<line x1="697.1" y1="62" x2="697.1" y2="342" stroke="#e5e7eb"/>+<text x="697.1" y="358" text-anchor="middle" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">69</text>+<line x1="707.9" y1="62" x2="707.9" y2="342" stroke="#e5e7eb"/>+<text x="707.9" y="358" text-anchor="middle" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">70</text>+<line x1="718.7" y1="62" x2="718.7" y2="342" stroke="#e5e7eb"/>+<text x="718.7" y="358" text-anchor="middle" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">71</text>+<line x1="729.6" y1="62" x2="729.6" y2="342" stroke="#e5e7eb"/>+<text x="729.6" y="358" text-anchor="middle" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">72</text>+<line x1="740.4" y1="62" x2="740.4" y2="342" stroke="#e5e7eb"/>+<text x="740.4" y="358" text-anchor="middle" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">73</text>+<line x1="751.2" y1="62" x2="751.2" y2="342" stroke="#e5e7eb"/>+<text x="751.2" y="358" text-anchor="middle" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">74</text>+<line x1="762.0" y1="62" x2="762.0" y2="342" stroke="#e5e7eb"/>+<text x="762.0" y="358" text-anchor="middle" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">75</text>+<line x1="772.9" y1="62" x2="772.9" y2="342" stroke="#e5e7eb"/>+<text x="772.9" y="358" text-anchor="middle" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">76</text>+<line x1="783.7" y1="62" x2="783.7" y2="342" stroke="#e5e7eb"/>+<text x="783.7" y="358" text-anchor="middle" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">77</text>+<line x1="794.5" y1="62" x2="794.5" y2="342" stroke="#e5e7eb"/>+<text x="794.5" y="358" text-anchor="middle" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">78</text>+<line x1="805.4" y1="62" x2="805.4" y2="342" stroke="#e5e7eb"/>+<text x="805.4" y="358" text-anchor="middle" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">79</text>+<line x1="816.2" y1="62" x2="816.2" y2="342" stroke="#e5e7eb"/>+<text x="816.2" y="358" text-anchor="middle" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">80</text>+<line x1="827.0" y1="62" x2="827.0" y2="342" stroke="#e5e7eb"/>+<text x="827.0" y="358" text-anchor="middle" font-size="11" fill="#64748b" font-family="ui-sans-serif, system-ui, sans-serif">81</text>+<circle cx="110.9" cy="270.0" r="6.5" fill="#059669" stroke="#047857" stroke-width="1.4"/>+<text x="120.9" y="262.0" font-size="11" font-weight="600" fill="#047857" font-family="ui-sans-serif, system-ui, sans-serif">graff-dev 200.9s · $0.3410</text>+<circle cx="513.0" cy="270.0" r="6.5" fill="#059669" stroke="#047857" stroke-width="1.4"/>+<text x="523.0" y="262.0" font-size="11" font-weight="600" fill="#047857" font-family="ui-sans-serif, system-ui, sans-serif">graff-dev 52 · $0.3410</text>+<circle cx="28" cy="410" r="6.5" fill="#059669" stroke="#047857" stroke-width="1.4"/>+<text x="40" y="414" font-size="12" fill="#0f172a" font-family="ui-sans-serif, system-ui, sans-serif">graff-dev — 12/12 · on wall/$ + calls/$</text>+<circle cx="252.1" cy="145.1" r="6.5" fill="#2563eb" stroke="#1d4ed8" stroke-width="1.4"/>+<text x="262.1" y="137.1" font-size="11" font-weight="600" fill="#1d4ed8" font-family="ui-sans-serif, system-ui, sans-serif">opencode 310.4s · $0.9326</text>+<circle cx="827.0" cy="145.1" r="6.5" fill="#2563eb" stroke="#1d4ed8" stroke-width="1.4"/>+<text x="837.0" y="137.1" font-size="11" font-weight="600" fill="#1d4ed8" font-family="ui-sans-serif, system-ui, sans-serif">opencode 81 · $0.9326</text>+<circle cx="28" cy="430" r="6.5" fill="#2563eb" stroke="#1d4ed8" stroke-width="1.4"/>+<text x="40" y="434" font-size="12" fill="#0f172a" font-family="ui-sans-serif, system-ui, sans-serif">opencode — 12/12 · interior</text>+<circle cx="352.0" cy="119.4" r="6.5" fill="#334155" stroke="#1e293b" stroke-width="1.4"/>+<text x="362.0" y="111.4" font-size="11" font-weight="600" fill="#1e293b" font-family="ui-sans-serif, system-ui, sans-serif">grok 387.7s · $1.0543</text>+<circle cx="642.9" cy="119.4" r="6.5" fill="#334155" stroke="#1e293b" stroke-width="1.4"/>+<text x="652.9" y="111.4" font-size="11" font-weight="600" fill="#1e293b" font-family="ui-sans-serif, system-ui, sans-serif">grok 64 · $1.0543</text>+<circle cx="28" cy="450" r="6.5" fill="#334155" stroke="#1e293b" stroke-width="1.4"/>+<text x="40" y="454" font-size="12" fill="#0f172a" font-family="ui-sans-serif, system-ui, sans-serif">grok — 12/12 · interior</text>+</svg>