Skip to content

graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs

Python

release: v0.0.266 notes and test ratchet

Cursor Agent157a3e0ceb27
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f1b24c1d..d1c8734b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,31 @@ The release workflow uses a tag's section here as its release notes (a
hand-written `docs/releases/<tag>.md` wins if present), so keeping this file
current is part of cutting a release.
+## v0.0.266 (2026-08-19)
+
+- Peer talk is pull, not a second copy of the room: `peer_message
+ action=list` / `action=inbox` parks bodies in a ring and injects one
+ `[peer]` wake line. Named pings are DMs to the agent doing the work
+ (ADR 0004).
+- `--goal` / `/goal` is one `[standing goal: …]` prefix line. The long
+ coaching essay injects on first sight and on change only — not every
+ N turns (ADR 0005). Bundled `jspace` skill stays on-demand.
+- Mid-session worktree switch is a real `workspace` tool (`action=list` /
+ `action=use`). A skill cannot move file-tool cwd (ADR 0006).
+- Plugins and foreign MCP are read in place (ADR 0007): Cursor / Claude /
+ Grok / Codex trees, Claude `commands/*.md`, no copy into `~/.codegraff`.
+ `cache/` is never walked. Claude/Cursor cache comes from
+ `installed_plugins.json`; Codex from `~/.codex/config.toml`
+ `[plugins."name@marketplace"]` → `plugins/cache/<mp>/<name>/<ver>`.
+- Prompt-cache max: the skill catalog is names + triggers only, sorted,
+ pinned once at session start, no `file:` paths. Bodies load on
+ `skill name=`. Sticky `prompt_cache_key` is unchanged.
+- `install.sh` appends `~/bin` to the login shell so `graff` is on PATH.
+- Synthetic long-horizon evals (`evals/long_horizon/`) grade with
+ external deterministic checks (ADR 0008).
+- Test ratchet: unit suite 1443. `GRAFF_NO_PLUGINS=1` still hides
+ foreign trees.
+
## v0.0.265 (2026-08-17)
- The TUI is clickable everywhere it looks clickable: a click on any picker
diff --git a/scripts/eval/tier1-manifest.json b/scripts/eval/tier1-manifest.json
index fe5482a5..ad1f9e72 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": 1400,
+ "test_count_baseline": 1443,
"test_count_slack": 25,
"required_invariants": [
{
diff --git a/src/adopt.zig b/src/adopt.zig
index de5e8093..c6d3bcd9 100644
--- a/src/adopt.zig
+++ b/src/adopt.zig
@@ -392,8 +392,8 @@ test "adopt writes missing Claude MCP into graff folders and skips existing name
try Io.Dir.cwd().createDirPath(io, cwd);
const payload = try std.fmt.allocPrint(
arena,
- "{{\"mcpServers\":{{\"codedb\":{{\"command\":\"/bin/codedb\",\"args\":[]}},\"smolify\":{{\"command\":\"x\"}},\"deepwiki\":{{\"url\":\"https://mcp.deepwiki.com/mcp\"}}}},\"projects\":{{\"{s}\":{{\"mcpServers\":{{\"relay\":{{\"command\":\"relay\",\"args\":[\"-s\"]}}}}}}}}}}",
- .{cwd},
+ "{{\"mcpServers\":{{\"codedb\":{{\"command\":\"/bin/codedb\",\"args\":[]}},\"smolify\":{{\"command\":\"x\"}},\"deepwiki\":{{\"url\":\"https://mcp.deepwiki.com/mcp\"}}}},\"projects\":{{{s}:{{\"mcpServers\":{{\"relay\":{{\"command\":\"relay\",\"args\":[\"-s\"]}}}}}}}}}}",
+ .{@import("plugin_index.zig").quote(arena, cwd)},
);
try Io.Dir.cwd().writeFile(io, .{ .sub_path = try std.fmt.allocPrint(arena, "{s}/.claude.json", .{home}), .data = payload });
try Io.Dir.cwd().writeFile(io, .{ .sub_path = try std.fmt.allocPrint(arena, "{s}/.claude/skills/demo/SKILL.md", .{home}), .data = "---\nname: demo\ndescription: d\n---\nbody\n" });
diff --git a/src/cli.zig b/src/cli.zig
index 8a3e677d..49712884 100644
--- a/src/cli.zig
+++ b/src/cli.zig
@@ -21,6 +21,17 @@ const harness_version = root.harness_version;
pub const changelog_text =
\\What's new
\\──────────
+ \\0.0.266
+ \\ • In-place Cursor/Claude/Grok/Codex plugins (no cache walk; Codex via config.toml)
+ \\ • Skill catalog is cache-stable: names + triggers, pinned once, no file: paths
+ \\ • Peer inbox is pull; standing goal is one prefix line; workspace tool switches trees
+ \\ • install.sh puts graff on PATH; long-horizon evals use external verifiers
+ \\
+ \\0.0.265
+ \\ • TUI clicks work everywhere they look clickable; overlays are framed panels
+ \\ • /models shows provider + cost badge; prices refresh from LiteLLM
+ \\ • /snapshot attach|list and /rewind for a Docker sandbox seam
+ \\
\\0.0.263
\\ • grok-4.6 is the xAI default: 500k window, published dual-band prices
\\ • /effort low|medium|high|xhigh on native Grok (gateway grok-build still ignores it)