graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs
Python
Release v0.0.302.26
justrachefe0382fb053
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 9d9c8e76..a993d879 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -10,6 +10,36 @@ 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.302.26++### Desktop app and ACP++- The reply to a compaction request no longer shows up in the chat. It is internal bookkeeping, and on its own it could read as the agent saying its terminal and file tools were unavailable.+- An informational question no longer restarts the checklist of an earlier, unfinished task. The checklist is kept as it was.+- A request to explain something and file an issue is no longer turned into a repository overview. Scope reminders say they are internal and never replace the user's request.+- Switching a session to a model from another provider no longer starts a blank conversation when the original provider's sign-in or stored key was not loaded. When a saved session can't be restored, the error names the real cause instead of blaming the save.+- A message sent while a blocking job wait is running is picked up at the next step, not after the job finishes (ADR 0262).+- The final session save on exit no longer reads a freed workspace path.++### Tools++- The shared-tree checkpoint holds every file edit in a parallel batch, not just the first one.+- `gh pr checks --watch` and similar finite watchers are waited on instead of being treated as servers.+- A newer user message can cancel verification items left over from an earlier task.+- `write_file` counts a file as read when it was read through a different spelling of its path.+- `rlm` says why a projection or `len()` statement failed; a failed claim names its cause.+- `graff -p` asks again after a text-only first answer only when the request asked for an action.++### MCP++- Computer-use tool calls send one `_meta`, so the first call no longer closes the connection.+- A closed stdio server restarts on its next call (ADR 0270), and a closed service is reported the same way everywhere once its tools are withdrawn.+- `mcp_search_tools` only searches; it no longer loads what it finds. Transcript messages are no longer slimmed down to their ids.++### Issue reports++- Agents search existing issues before reporting a harness bug, and every report opens with the graff and Harness versions it was seen on.+## v0.0.302.25### Compaction (hotfix)diff --git a/docs/releases/v0.0.302.26.md b/docs/releases/v0.0.302.26.mdnew file mode 100644index 00000000..b012262d--- /dev/null+++ b/docs/releases/v0.0.302.26.md@@ -0,0 +1,57 @@+# Codegraff v0.0.302.26++Fixes for long sessions in the desktop app, safer parallel edits, and MCP servers that recover on their own.++## Compaction stays out of the chat++When a session compacts on its provider, graff sends one extra request with+tools turned off, and the reply to that request is thrown away. In the desktop+app and other ACP clients, that reply still appeared in the chat, and on its+own it read as the agent saying its terminal and file tools were unavailable.+It no longer reaches any frontend.++## The current request comes first++- An informational question no longer restarts the checklist of an earlier,+ unfinished task. The checklist is kept as it was.+- A request to explain something and file an issue is no longer turned into a+ repository overview. Scope reminders now say they are internal and never+ replace what the user asked for.+- A newer user message can cancel verification items left over from an+ earlier task.+- A message sent while a blocking job wait is running is picked up at the next+ step, not when the job finishes+ ([ADR 0262](https://github.com/justrach/codegraff/blob/v0.0.302.26/docs/adr/0262-a-follow-up-ends-a-blocking-output-wait.md)).++## Sessions++- Switching a session to a model from another provider no longer starts a+ blank conversation when the original provider's sign-in or stored key was+ not loaded.+- When a saved session can't be restored, the error names the real cause+ instead of blaming the save file.+- The final save on exit no longer reads a freed workspace path.++## Tools++- When another session shares the working tree, the shared-tree checkpoint now+ holds every file edit in a parallel batch, not just the first one.+- `gh pr checks --watch` and similar finite watchers are waited on instead of+ being treated as servers.+- `write_file` counts a file as read when it was read through a different+ spelling of its path.+- `rlm` says why a projection or `len()` statement failed, and a failed claim+ names its cause.++## MCP++- Computer-use tool calls send one `_meta`, so the first call no longer closes+ the connection.+- A closed stdio server restarts on its next call+ ([ADR 0270](https://github.com/justrach/codegraff/blob/v0.0.302.26/docs/adr/0270-a-closed-stdio-mcp-server-restarts-on-its-next-call.md)).+- `mcp_search_tools` only searches; it no longer loads what it finds.++## Issue reports++Agents search existing issues before reporting a harness bug, and every report+opens with the graff and Harness versions it was seen on.diff --git a/scripts/eval/tier1-manifest.json b/scripts/eval/tier1-manifest.jsonindex 96765514..3e5ae0e8 100644--- a/scripts/eval/tier1-manifest.json+++ b/scripts/eval/tier1-manifest.json@@ -14,7 +14,7 @@"src/main.zig","src/repl.zig"],- "test_count_baseline": 3160,+ "test_count_baseline": 3201,"test_count_slack": 25,"required_invariants": [{diff --git a/src/cli.zig b/src/cli.zigindex 8c25e311..c3a0d860 100644--- a/src/cli.zig+++ b/src/cli.zig@@ -23,6 +23,12 @@ const update_target = @import("update_target.zig");pub const changelog_text =\\What's new\\──────────+ \\0.0.302.26+ \\ • compaction replies no longer show up in the desktop chat+ \\ • a question no longer restarts an earlier task's checklist+ \\ • a model switch across providers keeps the conversation+ \\ • computer-use and closed stdio MCP servers recover+ \\\\0.0.302.25\\ • ChatGPT/OpenAI sessions no longer compact before every tool call\\ • OpenAI routes compact only with the provider's own compaction