graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs
Python
docs(release): v0.0.277 notes — L slim on --no-lean, no tag
Cursor Agentcfb149372fa4
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 1ef451c1..82ede892 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -10,6 +10,30 @@ The release workflow uses a tag's section here as its release notes (ahand-written `docs/releases/<tag>.md` wins if present), so keeping this filecurrent is part of cutting a release.+## v0.0.277 (2026-08-25)++- MCP tools that `load_tool_schemas` has unfolded are `rlm` host functions+ (`each` / `len` / `project`). Return **shapes** (keys + broad types, never+ values) persist in `.graff/mcp-shapes.json` and splice onto the next load+ **result**, never the catalog prefix (ADR 0029).+- Fat MCP JSON arrays auto-slim after `remember()`: identity keys on+ issue-like rows; comments fold to `{n, latest_author}`. Two stored shapes+ add a `# muscle:` playbook on the load result.+- Full-harness SuperGrok grok-4.6 (`graff-dev-nolean`): **L** (warm slim)+ 14.8s / 31k / 5 and **N** (cold slim) 20.8s / 30k / 5 dominate the+ pre-slim H/I/J front. Lean catalog (R) is a different prefix and is not+ on that front.+- Default `-p` connects a workspace `.mcp.json` and folds schemas; it no+ longer skips MCP. `--no-lean` is eager schemas, not the MCP on-switch.+- Licensed codedb-pro: one read/search surface (hide native `read_file` /+ `codedb`, omit companion writes, keep native edits) (#626/#627).+- Long turns and transport retries pulse without a default 16-call cap+ (#624/#625).+- Smolify / deepwiki / mobbin stay out of the default catalog unless opted+ in (`GRAFF_SMOLIFY`) (#628).+- No `v0.0.277` git tag on this cut.+- Test ratchet: unit suite 1664.+## v0.0.276 (2026-08-25)- `rlm` (Zhang/Khattab RLM + alexzhang13 spec-ptc, Zig — not Prime'sdiff --git a/docs/releases/v0.0.277.md b/docs/releases/v0.0.277.mdnew file mode 100644index 00000000..4a357a58--- /dev/null+++ b/docs/releases/v0.0.277.md@@ -0,0 +1,36 @@+# v0.0.277 (2026-08-25)++MCP-inside-rlm + learnt slim on the full harness, plus the licensed+one-read-surface / turn pulse / Smolify opt-in already on+`release/v0.0.277` (`d422ee8`). **No git tag** on this cut.++## What was already on the branch++`d422ee8` is +499/−42 across 21 files — not a large drop:++- Licensed codedb-pro hides native `read_file`/`codedb` and companion+ write tools; native `edit_file`/`write_file` stay (`src/tool_surface.zig`).+- Long turns and transport retries pulse; no default 16-call cap.+- Smolify/deepwiki/mobbin are opt-in (`GRAFF_SMOLIFY`).++## What this cut adds (L works)++Loaded MCP names are `rlm` host functions. After each MCP result, graff+infers a value-free return shape, persists `.graff/mcp-shapes.json`, and+**slims** the bytes the model sees (identity keys; comments →+`n` + `latest_author`). A later run in the same repo is **L**: shapes+already on disk, `# muscle:` on the load result.++Measured SuperGrok grok-4.6, ReleaseSafe, **`--no-lean`**+(`graff-dev-nolean`):++| | wall | in | calls |+|---|---:|---:|---:|+| **L** warm + slim | **14.8s** | 31k | 5 |+| **N** cold + slim | 20.8s | **30k** | 5 |+| H (pre-slim, same harness) | 28.0s | 112k | 7 |++L is N after muscle memory has been written. Both dominate H/I/J. Lean+default `-p` (variant R) is a different catalog and is not on this front.++See ADR 0029.diff --git a/scripts/eval/tier1-manifest.json b/scripts/eval/tier1-manifest.jsonindex 0083df47..ecffcc7a 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": 1600,+ "test_count_baseline": 1664,"test_count_slack": 25,"required_invariants": [{diff --git a/src/cli.zig b/src/cli.zigindex 23d8c7f9..bd8be6c8 100644--- a/src/cli.zig+++ b/src/cli.zig@@ -21,6 +21,11 @@ const harness_version = root.harness_version;pub const changelog_text =\\What's new\\──────────+ \\0.0.277+ \\ • MCP-inside-rlm + learnt slim: fat MCP results drop to id/title; comments fold to n+latest_author (ADR 0029)+ \\ • L (warm slim, --no-lean) 14.8s/31k/5 vs H 28s/112k/7 on SuperGrok grok-4.6; no v0.0.277 tag+ \\ • licensed codedb-pro is one read/search surface; Smolify is opt-in; turns pulse without a 16-call cap+ \\\\0.0.276\\ • rlm (RLM + mid-stream spec-ptc) is the default loop; --old / --no-rlm restores structured-only\\ • prompt-cache max: stable catalog is the default (loads no longer rewrite tools JSON); children share prefix lanes