graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs
Python
Release v0.0.302.23
justrachf19a657c8b9f
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 1ff0c256..10909730 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -10,6 +10,12 @@ 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.23++### Prompt caching++- The ChatGPT-plan sign-in (`chatgpt-new`) caches the prompt again, for every model on it. graff sent the cache key in the request body but only sent the matching `session_id` header on the `codex` route, so this route's requests were not read from the cache. Both the HTTP and WebSocket requests now send `session_id`, set to the same value as the body's cache key; the Codex-only identity headers stay on `codex`.+## v0.0.302.22### Sessionsdiff --git a/docs/releases/v0.0.302.23.md b/docs/releases/v0.0.302.23.mdnew file mode 100644index 00000000..90fab938--- /dev/null+++ b/docs/releases/v0.0.302.23.md@@ -0,0 +1,15 @@+# Codegraff v0.0.302.23++A hotfix for prompt caching on the ChatGPT-plan sign-in.++## The ChatGPT-plan sign-in caches again++Since every ChatGPT login moved to the `chatgpt-new` sign-in, its requests+carried the cache key in the body but not the matching `session_id` header,+which graff only sent on the `codex` route. Without it, those requests were+not read from the prompt cache, so every turn paid for the full context.++graff now sends `session_id` on both the HTTP and WebSocket requests of the+`chatgpt-new` route, for every model on it, set to the same value as the+request's cache key (child agents included). The Codex-only identity headers+still go to `codex` only.diff --git a/scripts/eval/tier1-manifest.json b/scripts/eval/tier1-manifest.jsonindex a99716e6..1ea03c7d 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": 3132,+ "test_count_baseline": 3136,"test_count_slack": 25,"required_invariants": [{diff --git a/src/cli.zig b/src/cli.zigindex 67104500..532e4a65 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.23+ \\ • ChatGPT-plan sign-in caches the prompt again, on every model+ \\\\0.0.302.22\\ • /import-claude brings this project's Claude Code conversations to /resume\\ • imported conversations continue on your graff provider and credentials