graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs
Python
release: xAI live catalog + peer-channel coverage in v0.0.252
Rach Pradhan9f54c8aec9cd
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 0e308210..7e8d65c9 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -10,6 +10,18 @@ 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.252 (2026-08-13)++- Grok models are discovered live: xAI joins the generic `/v1/models`+ catalog discovery (6h disk cache, offline fallback, demand-gated), so new+ Grok rollouts no longer need a release to become routable — the+ grok-build parity model.+- The #469 peer-message spacing bracket is pinned by a unit test on the+ emitted event sequence, plus a CI-wired PTY smoke test for device-room+ delivery.+- release.yml uploads assets onto an existing release instead of failing+ into an untagged draft (the v0.0.251 updater-404 race).+## v0.0.251 (2026-08-13)- Peer messages get breathing room in the REPL: the `#469 channel` block useddiff --git a/docs/releases/v0.0.252.md b/docs/releases/v0.0.252.mdnew file mode 100644index 00000000..c61b3c2a--- /dev/null+++ b/docs/releases/v0.0.252.md@@ -0,0 +1,30 @@+# v0.0.252 (2026-08-13)++xAI joins the live-catalog club, the peer-channel spacing fix grows teeth,+and the release workflow learns to survive a pre-existing release.++- **Grok models are discovered live.** The xAI provider spec was the last+ major catalog still baked into the binary — new Grok rollouts needed a+ release to become routable. xAI is now enrolled in the generic live+ discovery every other router already used: an authenticated+ `https://api.x.ai/v1/models` fetch, cached for 6h at+ `~/.codegraff/xai-models.json` (stale cache is the offline fallback), and+ demand-gated so nothing hits the network without an xAI credential. Live+ rows replace the provider slice 1:1; context windows the endpoint omits+ inherit from the baked table (a `grok-4.3-fast` rollout inherits at the+ `-` boundary), and unknown families take the conservative default. This+ mirrors how grok-build itself resolves its catalog — backend-first,+ etag-cached, bundled fallback — so Grok parity no longer waits on us.+- **The #469 peer-message bracket is pinned as an event sequence.** The+ v0.0.251 spacing fix extracted its emission into one helper+ (`renderPeerBlock`: blank, markers, lines, blank — silence for a+ history-only drain) with a unit test on the captured sink events, because+ a PTY transcript provably cannot attribute a blank line to the drain+ (neighbors emit their own). A new CI-wired PTY smoke test covers what the+ unit test can't: a device-room broadcast planted at the prompt renders as+ a peer line next turn.+- **The release workflow survives a release that already exists.**+ `release.yml` now uploads assets onto an existing tag's release+ (`gh release upload --clobber`) with an expected-asset assertion, instead+ of failing into an untagged draft — the race that briefly left v0.0.251+ asset-less and broke `graff update` with a 404.