Skip to content

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

Python

Release v0.0.302.21

justrache48fa5c69277
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a2975b78..092af3a5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,19 @@ 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.21
+
+### Windows
+
+- graff installs natively on Windows from PowerShell: `irm https://codegraff.com/install.ps1 | iex`. The installer picks the x86_64 or ARM64 build, verifies it against the release's `SHA256SUMS`, installs `graff.exe` under `%LOCALAPPDATA%\Programs\graff\bin` and adds that to your user `PATH`. Releases attach `install.ps1` next to `install.sh` (#1508).
+- `install.sh` run from Git Bash, MSYS or Cygwin points to the PowerShell installer and stops. It used to tell Windows users to use WSL2, and because the check ran in a subshell, it then went on to clone the repo and build it (#1508).
+- `graff mcp install` sets up a macOS or Linux background service. On Windows it now says so, instead of failing with `FileNotFound` (#1508).
+
+### Sign-in
+
+- `graff login` prints the approval link with your code in it (`…/cli/auth?code=XXXX-XXXX`), and on Windows it opens the browser. Before, the printed link had no code, and on Windows the browser never opened, so copying the link led to a page with nowhere to enter the code.
+- When a ChatGPT sign-in lapses in an interactive session, graff opens the browser sign-in and retries the request once you have signed in, instead of failing the turn. ChatGPT sign-ins currently last about an hour because renewals are refused upstream. `-p`, piped and `--json` runs, ACP sessions and sub-agents never open a browser (ADR 0253, #1507).
+
## v0.0.302.20
v0.0.302.19 was tagged but not published; this release ships its changes (listed under v0.0.302.19 below) together with the following.
diff --git a/docs/releases/v0.0.302.21.md b/docs/releases/v0.0.302.21.md
new file mode 100644
index 00000000..f61a1df9
--- /dev/null
+++ b/docs/releases/v0.0.302.21.md
@@ -0,0 +1,41 @@
+# Codegraff v0.0.302.21
+
+This release makes graff work on Windows from start to finish, without WSL,
+and smooths the two sign-ins people hit most.
+
+## Install on Windows
+
+In PowerShell:
+
+```powershell
+irm https://codegraff.com/install.ps1 | iex
+```
+
+The installer picks the x86_64 or ARM64 build, checks it against the release's
+`SHA256SUMS`, installs `graff.exe` under `%LOCALAPPDATA%\Programs\graff\bin`
+and adds that folder to your user `PATH`. Open a new terminal and run
+`graff login`. Running `install.sh` from Git Bash now points you to the
+PowerShell installer and stops. It used to suggest WSL2 and then try to build
+from source.
+
+## `graff login` works when the browser doesn't open
+
+`graff login` used to print `https://codegraff.com/cli/auth` and a code, and
+open the browser only with the code-carrying link. On Windows the browser
+never opened, and the printed link led to a page with nowhere to enter the
+code. graff now prints the link with the code in it, and opens the browser on
+Windows. The approval page also accepts a typed code, for older versions.
+
+## An expired ChatGPT sign-in no longer ends the turn
+
+ChatGPT sign-ins currently last about an hour, because renewals are refused
+upstream for every client. When one lapses in an interactive session, graff
+opens the browser sign-in, waits up to three minutes and retries the request
+with the new token. `-p`, piped and `--json` runs, ACP sessions and sub-agents
+never open a browser
+([ADR 0253](https://github.com/justrach/codegraff/blob/v0.0.302.21/docs/adr/0253-an-interactive-session-signs-in-to-chatgpt-again.md)).
+
+## Also
+
+- `graff mcp install` on Windows says it is macOS/Linux only, instead of
+ failing with `FileNotFound`.
diff --git a/scripts/eval/tier1-manifest.json b/scripts/eval/tier1-manifest.json
index c5300259..f251ee46 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": 3123,
+ "test_count_baseline": 3125,
"test_count_slack": 25,
"required_invariants": [
{
diff --git a/src/cli.zig b/src/cli.zig
index 56c9d943..86a9fdce 100644
--- a/src/cli.zig
+++ b/src/cli.zig
@@ -23,6 +23,11 @@ const update_target = @import("update_target.zig");
pub const changelog_text =
\\What's new
\\──────────
+ \\0.0.302.21
+ \\ • Windows: irm https://codegraff.com/install.ps1 | iex installs graff natively
+ \\ • graff login prints the link with your code; Windows opens the browser
+ \\ • an expired ChatGPT sign-in reopens in the browser and the request continues
+ \\
\\0.0.302.20
\\ • includes everything from 0.0.302.19 (not published on its own)
\\ • one oversized MCP message no longer breaks every later call to that server