graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs
Python
docs(release): 282 notes for #697 session branches and #679 TLS reuse
Cursor Agentc607fc086172
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 24e09650..cceebc80 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -12,16 +12,19 @@ current is part of cutting a release.## v0.0.282 (2026-08-31)-- Next cut after v0.0.281 landed on main (`#670`). Headline is- yxlyx's three open product PRs: atomic paste spans (`#674`),- terminal Codex WS API errors (`#693`), and recoverable HTTP- client generations (`#694` / ADR 0048).-- `#694` numbered its record 0042; that slot is already TUI claims- screen (`#666`). The TLS-generation decision is **ADR 0048**.-- `#277` (Streamable HTTP OAuth / Smolify) and `#200` (idle- localhost servers) stay parked — Smolify is not a core MCP.-- Suite floor **1817** (was 1804). `agent_request.zig` split- scratch/keep-alive helpers so the WS merge stays under 600 lines.+- Next cut after v0.0.281 landed on main (`#670`). First fold:+ atomic paste spans (`#674`), terminal Codex WS API errors+ (`#693`), and recoverable HTTP client generations (`#694` /+ ADR 0048). `#694` follow-up hardens lease teardown.+- `#697` / ADR 0049: `--resume SOURCE --branch DEST` clone-on-write+ so two processes cannot clobber one `.session.json`.+- `#679` / ADR 0050: MCP HTTP/WSS reuse the warmed TLS client;+ MCP HTTP accepts gzip catalogs.+- `#694`/`#697`/`#679` numbered records 0042/0043; those slots are+ TUI claims and Pi SWE. Remapped to **0048–0050**.+- `#277` (Smolify OAuth) and `#200` (idle localhost) stay parked.+- Suite floor **1817** (was 1804). Scratch helpers live in+ `agent_request_scratch.zig` so the request loop stays under 600.## v0.0.281 (2026-08-29)diff --git a/docs/releases/v0.0.282.md b/docs/releases/v0.0.282.mdindex 0fe84a73..9a30889a 100644--- a/docs/releases/v0.0.282.md+++ b/docs/releases/v0.0.282.md@@ -54,7 +54,23 @@ reclaimed by the manager (unrelated launch consumers still hold itspointer). WebSocket transport stays independently managed.`#694` recorded this as ADR 0042. That number is already TUI claims-screen on main. This cut remaps the record to **0048**.+screen on main. This cut remaps the record to **0048**. The follow-up+hardens lease teardown (drain on shutdown, retry accounting, child+coverage) and keeps 0048.++## Clone-on-write session branches (ADR 0049 / #697 / #689)++Two processes resuming the same name wrote the same `.session.json`.+`--resume SOURCE --branch DEST` (and `/resume … --branch`) clones+provider history and the peer cursor once; later saves belong only to+DEST. A filesystem-exclusive claim stops a destination race. Branches+do not auto-merge. `#697` numbered this 0042; remapped to **0049**.++## Warmed TLS on MCP HTTP and WSS (ADR 0050 / #679)++MCP probe/initialized stay on the persistent HTTP client. WSS CA is+scanned once per process. WS→SSE keeps the prewarmed pool. MCP HTTP+accepts gzip catalogs. `#679` numbered this 0043; remapped to **0050**.## Parked@@ -64,8 +80,10 @@ Smolify is not a reserved core MCP.## Tests-This cut raises the release-cut floor to **1817** (slack 25). The-paste-span, Codex WS error, and HTTP-generation suites land on top of-the 1804 floor from 281. `agent_request.zig` split request-scratch-helpers into `agent_request_scratch.zig` so the Codex WS merge stays-under the 600-line ceiling.+This cut raises the release-cut floor to **1817** (slack 25). Paste+spans, Codex WS errors, HTTP generations, session branches, and MCP+TLS-reuse tests land on top of the 1804 floor from 281. The suite+count is re-ratcheted after `zig build test` on this revision.+`agent_request.zig` split request-scratch helpers into+`agent_request_scratch.zig` so the Codex WS merge stays under the+600-line ceiling.diff --git a/docs/yxlyx-leftovers.md b/docs/yxlyx-leftovers.mdindex e24fa4e3..1359ad4a 100644--- a/docs/yxlyx-leftovers.md+++ b/docs/yxlyx-leftovers.md@@ -3,8 +3,9 @@What still exists in this repo versus what is parked. No new product mode.Landed on [v0.0.282](releases/v0.0.282.md): `#674` atomic paste spans,-`#693` Codex WS `type:error`, `#694` HTTP client generations (ADR 0048).-Still parked below.+`#693` Codex WS `type:error`, `#694` HTTP client generations (ADR 0048),+`#697` clone-on-write session branches (ADR 0049), `#679` MCP TLS reuse+(ADR 0050). Still parked below.| Issue | In this repo today | This cut || --- | --- | --- |diff --git a/src/cli.zig b/src/cli.zigindex e5f3edc0..39bf3d02 100644--- a/src/cli.zig+++ b/src/cli.zig@@ -25,6 +25,8 @@ pub const changelog_text =\\ • pasted-text chips are atomic spans — a typed lookalike stays literal (#674)\\ • Codex WS type:error is a terminal API response; last_api_error stays (#693)\\ • request-construction TLS failure rotates a leased HTTP client generation (ADR 0048)+ \\ • --resume SOURCE --branch DEST is clone-on-write (ADR 0049)+ \\ • MCP HTTP/WSS reuse warmed TLS; catalogs can arrive gzip (ADR 0050)\\\\0.0.281\\ • -p / --json skip learn auto-init — no 132M graff-pinned copy (ADR 0044)