graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs
Python
docs(eval): MCP bench is --no-lean; R is a different catalog
Cursor Agentc4901bd858e0
diff --git a/docs/adr/0029-mcp-inside-rlm-and-return-shapes.md b/docs/adr/0029-mcp-inside-rlm-and-return-shapes.mdindex f328dc90..6af77b9b 100644--- a/docs/adr/0029-mcp-inside-rlm-and-return-shapes.md+++ b/docs/adr/0029-mcp-inside-rlm-and-return-shapes.md@@ -120,19 +120,20 @@ A point is on the front if nothing else is ≤ on every axis and < on one.| id | wall | in | calls | why it stays ||---|---:|---:|---:|---|-| **R** | **16.3s** | **14k** | **4** | default `-p` (lean fold + slim); dominates H |+| **H** | **28.0s** | 112k | **7** | fastest / fewest calls (no-hint structured, `--no-lean`) || **I** | 31.1s | 107k | 7 | same path, slightly fewer tokens || **D-r1** | 41.1s | 107k | 10 | rlm+each, one lucky rep || **J-live** | 47.3s | **84k** | 9 | `each` + `len`/`project`; first script printed ids only |Everything else is dominated (including `--old`, sidecar, split,-quiet-print, K-live, and H-live's 70s variance rep).+quiet-print, K-live, and H-live's 70s variance rep). **R is not on+this front:** it ran the lean catalog (`graff-dev`), a different+harness. The MCP bench is `--no-lean` only (`graff-dev-nolean`).J used rlm for real (`issues = list_issues(); comments = each(...);print(len, project)`). It is the **token vertex**. H is the **wallvertex**. There is still no point that wins both. Warm shapes (K) did-not help J. Do not ship rlm-as-default for this MCP task; keep-len/project so the token vertex is reachable.+not help J. Keep len/project so the token vertex is reachable.## Learnt slim (the muscle, not another hint)@@ -154,13 +155,7 @@ schemas a load away). Empty `-p` (no deferred MCP) still hides the metatool. Consent is unchanged. `--no-lean` is the eager-schema opt-out, notthe MCP on-switch.-Prove with variant **R**: `graff-dev` (no `--no-lean`) + `linear-nohint`.--Live SuperGrok grok-4.6, ReleaseSafe, one rep (`9ec5884`):--| var | harness | pass | wall | RSS | in | out | calls |-|---|---|---:|---:|---:|---:|---:|---:|-| **R** default `-p` | graff-dev (lean+yolo) | ✓ | **16.3s** | 9.5M | **14113** | 928 | **4** |-| H (prior, `--no-lean`) | graff-dev-nolean | ✓ | 28.0s | 10.6M | 112073 | 1607 | 7 |--R dominates H on wall, tokens, and calls. The `--no-lean` MCP one-shot was the expensive path: full catalog + fat results. Default `-p` + fold + slim is the box.+Variant **R** (`graff-dev`, implied `--lean`) did pass at 16.3s / 14k / 4+calls. That is a **different catalog** (lean keep-list). It is not an+A/B against H/J. The bench stays `graff-dev-nolean`. Learnt slim on+that harness is N/L/P.diff --git a/graff-evals/README.md b/graff-evals/README.mdindex c5fcc19c..e6538af6 100644--- a/graff-evals/README.md+++ b/graff-evals/README.md@@ -20,7 +20,7 @@ harness under test spends model calls.| `core` | sequential single-file work (instruction, debug, git, schema, …) || `rlm` | scatter-gather / multi-file reads (where default rlm can overlap) || `swe` | DeepSWE-shaped multi-file bugfixes, distilled from [deepswe.datacurve.ai/run](https://deepswe.datacurve.ai/run) (no Harbor/Docker) |-| `mcp` | Linear-shaped fixture MCP (Blacksmith code-mode + muscle memory). Use `--no-lean` harnesses. Variants include warm shapes, quiet `print()`, no-`each()` prompts, and learnt slim (L–Q). |+| `mcp` | Linear-shaped fixture MCP (Blacksmith code-mode + muscle memory). Always `--no-lean` (`graff-dev-nolean`): lean is a different catalog and is not on the front. |```sh./run.py --suite swe --harness graff-dev-old,graff-dev --model grok-4.6 -j 12diff --git a/graff-evals/harnesses.json b/graff-evals/harnesses.jsonindex 2d7915b2..d7acd580 100644--- a/graff-evals/harnesses.json+++ b/graff-evals/harnesses.json@@ -42,7 +42,7 @@"schema_args": ["--output-schema", "{schema}"],"env": {"GRAFF_POST_DEADLINE_SECS": "90"},"default_model": "grok-4.6",- "note": "default rlm + MCP visible (need --no-lean for load_tool_schemas); MCP host functions on"+ "note": "full harness for the MCP bench: --no-lean (complete catalog). Lean is a different prefix and is not comparable."},"graff-dev-rlm-struct": {"cmd": ["{repo}/zig-out/bin/graff", "-p", "{prompt}", "--model", "{model}", "--yolo", "--no-lean"],diff --git a/scripts/eval-mcp-pareto.py b/scripts/eval-mcp-pareto.pyindex 046882c5..8bd11372 100644--- a/scripts/eval-mcp-pareto.py+++ b/scripts/eval-mcp-pareto.py@@ -41,7 +41,7 @@ HISTORY = [{"id": "H-live", "wall": 70.1, "tok_in": 178473, "calls": 14, "ok": True, "note": "no recipe (pareto session; variance)"},{"id": "J-live", "wall": 47.31, "tok_in": 84041, "calls": 9, "ok": True, "note": "len/project recipe, cold"},{"id": "K-live", "wall": 75.46, "tok_in": 113688, "calls": 11, "ok": True, "note": "len/project recipe, warm"},- {"id": "R", "wall": 16.32, "tok_in": 14113, "calls": 4, "ok": True, "note": "default -p lean+yolo, no hint"},+ # R (16.3s / 14k / 4) used graff-dev lean catalog — excluded from this front.]@@ -92,7 +92,7 @@ def live_row(variant: str) -> dict | None:def main() -> int:ap = argparse.ArgumentParser()ap.add_argument("--history", action="store_true", help="do not drive a provider")- ap.add_argument("--only", default="L,M,N,O,P,Q", help="live variant ids")+ ap.add_argument("--only", default="N,L,P", help="live variant ids (full --no-lean harness)")args = ap.parse_args()points = [dict(p) for p in HISTORY]diff --git a/scripts/eval-mcp-shapes.py b/scripts/eval-mcp-shapes.pyindex f5b5ad06..01b9a26f 100755--- a/scripts/eval-mcp-shapes.py+++ b/scripts/eval-mcp-shapes.py@@ -140,7 +140,7 @@ VARIANTS = ["id": "R","harness": "graff-dev","task": "linear-nohint",- "label": "out of the box: default -p (lean + yolo), no each() hint",+ "label": "lean catalog (NOT the MCP bench; different prefix than H/J)",},]