Skip to content

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

Python

Prepare v0.302.61 release

justrach9fb5c7eeb928
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f47f4905..eaa5310e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,15 @@ 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.302.61
+
+- Claude Agent: Claude models through your own Claude Code (`claude`) and its login. Sign in with `graff login claude-agent` (or `/login claude-agent`); graff checks `claude auth status`, never reads Claude Code's credentials, and runs your installed `claude` with graff's tools, prompt, history and loop. Calls are flat-rate on a Claude plan (#1773, ADR 0309).
+- Once chosen it is your Claude plan: `/model` lists `claude-opus-5-5`, `claude-fable-5-1`, `claude-sonnet-5-5` and `claude-haiku-5-5` under Claude Agent, and those names route to it. `anthropic/<model>` still reaches the API route (#1774).
+- Without a terminal (a client such as the desktop app), `graff login claude-agent` says to run `claude auth login` instead of starting it.
+- Lean mode keeps `agent_output` once a subagent request loads it, so a turn that starts background workers can wait for them instead of ending early.
+- Catalog tests wait for the workers they abandon, which crashed the Linux test job with SIGIO (#1772).
+- Retains all changes from v0.302.60.
+
## v0.302.60
- A resumed session keeps the provider's count of its Responses compaction state. A restart no longer re-estimates that opaque state from its size, which could show the context meter far over 100% and force a compaction the session did not need. The count is saved with the session and reapplied only to the same state, provider and model (#1686).
diff --git a/docs/releases/v0.302.61.md b/docs/releases/v0.302.61.md
new file mode 100644
index 00000000..9c49b06c
--- /dev/null
+++ b/docs/releases/v0.302.61.md
@@ -0,0 +1,13 @@
+# v0.302.61
+
+Claude Agent: Claude models through your own Claude Code login.
+
+- **Sign in once.** `graff login claude-agent` (or `/login claude-agent` in a session) checks that your installed Claude Code (`claude`) is signed in and records the choice. graff never reads Claude Code's credentials; if Claude Code has no login, it says to run `claude auth login`.
+- **graff's harness, your Claude plan.** graff runs your `claude` with its built-in tools, settings, hooks, CLAUDE.md, memory and auto-compaction off, and offers graff's own tools. Tool calls go through graff's loop as usual: approvals, parallel batches, ACP and subagents work unchanged. graff's history stays the source of truth, so switching between Claude Agent and any other model keeps the conversation. Calls are flat-rate on a Claude plan (ADR 0309).
+- **It is your Claude plan in `/model`.** Claude Agent lists `claude-opus-5-5`, `claude-fable-5-1`, `claude-sonnet-5-5` and `claude-haiku-5-5` (and the 5.0 models Claude Code still offers) under their real names, and those names route to it once chosen. `anthropic/<model>` still reaches the API route, and a session saved on it keeps it.
+- **Subagents wait for their workers in lean mode.** A request for subagents loads `agent_output`; lean mode used to drop it from the tool list, so a turn that started background workers could end before they reported.
+- **A Linux CI crash is gone.** Catalog tests wait for the workers they abandon, which had crashed the test job with SIGIO (#1772).
+
+Claude Agent needs Claude Code 2.1.248 or newer, installed and signed in on the same machine. `GRAFF_CLAUDE_AGENT_PROMPT=claude` keeps Claude Code's system prompt and appends graff's.
+
+Includes all changes from v0.302.60.
diff --git a/scripts/eval/tier1-manifest.json b/scripts/eval/tier1-manifest.json
index 7c4b09de..14d29cbc 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": 3562,
+ "test_count_baseline": 3575,
"test_count_slack": 25,
"required_invariants": [
{
diff --git a/src/cli_text_source.zig b/src/cli_text_source.zig
index 4ed36caa..b1aec03a 100644
--- a/src/cli_text_source.zig
+++ b/src/cli_text_source.zig
@@ -5,6 +5,10 @@
pub const changelog_text =
\\What's new
\\──────────
+ \\0.302.61
+ \\ • Claude Agent: Claude models through your own Claude Code login (graff login claude-agent)
+ \\ • subagent requests keep agent_output in lean mode, so the turn waits for its workers
+ \\
\\0.302.60
\\ • a resumed session keeps its real context size instead of re-estimating compaction state
\\ • large compaction items work over WebSocket without re-running the turn