Skip to content

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

Python

Prepare v0.0.302.19 ACP recovery release

justrach27e356ae599d
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4123a563..c7b227d5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,12 @@ 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.302.19
+
+### ACP recovery
+
+- Terminal authentication failures now carry fixed, route-specific reauthentication metadata in both ACP protocol versions (ADR 0246). Clients can choose the matching sign-in command instead of parsing error text or targeting the wrong credential store. Only login-sourced credentials qualify; quota, server and transport failures remain generic, and retry and fallback behavior are unchanged.
+
## v0.0.302.18
### Terminal UI
diff --git a/docs/releases/v0.0.302.19.md b/docs/releases/v0.0.302.19.md
new file mode 100644
index 00000000..f662a8ab
--- /dev/null
+++ b/docs/releases/v0.0.302.19.md
@@ -0,0 +1,15 @@
+# Codegraff v0.0.302.19
+
+Terminal authentication failures now carry typed, route-specific recovery
+metadata through both ACP protocol versions. Clients can offer the matching
+sign-in action without parsing error text or choosing the wrong credential
+store.
+
+ACP v1 returns `-32000` with `error.data`; ACP v2 includes the same recovery
+object in the failed idle update's `graff/reauth` metadata. The object contains
+only fixed route and command names. Recovery is restricted to login-sourced
+credentials, and stale metadata is cleared before later requests.
+
+Quota, server and transport failures retain their existing behavior. This
+release does not add automatic sign-in, prompt replay, new device grants or
+credential migration, and does not change retry or fallback policy.
diff --git a/scripts/eval/tier1-manifest.json b/scripts/eval/tier1-manifest.json
index 5db56cac..6a7d0628 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": 3140,
+ "test_count_baseline": 3143,
"test_count_slack": 25,
"required_invariants": [
{
diff --git a/src/cli.zig b/src/cli.zig
index 87696976..653dbb74 100644
--- a/src/cli.zig
+++ b/src/cli.zig
@@ -23,6 +23,9 @@ const update_target = @import("update_target.zig");
pub const changelog_text =
\\What's new
\\──────────
+ \\0.0.302.19
+ \\ • ACP sign-in failures identify the matching credential route and login command
+ \\
\\0.0.302.18
\\ • graff tui launches the separate fullscreen client; terminals get the line REPL
\\ • shorter turns: one-line heads-ups, no recomputed answers, fewer false stalls