Skip to content

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

Python

Release v0.302.37

Rach Pradhan342aaf7a4ae0
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a0f046cb..a463dbbb 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,13 @@ 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.302.37
+
+### Sign-in
+
+- A returning ChatGPT sign-in no longer puts the saved ID token in the sign-in URL. The browser opener received that URL as a process argument any local process could read. The issued app id still skips the consent screen, and the URL is now always printed, so the sign-in for a headless machine can be opened on another computer (#1635).
+- A ChatGPT token renewal that comes back for a different account is refused and recorded, not used (#1635).
+
## v0.302.36
### Workspaces
diff --git a/docs/releases/v0.302.37.md b/docs/releases/v0.302.37.md
new file mode 100644
index 00000000..a329b5bf
--- /dev/null
+++ b/docs/releases/v0.302.37.md
@@ -0,0 +1,22 @@
+# Codegraff v0.302.37
+
+ChatGPT sign-in keeps saved tokens out of the sign-in URL.
+
+## The sign-in URL carries no saved token
+
+Signing in to ChatGPT again (`graff login chatgpt`) put the saved ID token in
+the sign-in URL. graff didn't print that URL, but it handed the URL to the
+browser opener as a process argument, which any process on the computer can
+read.
+
+The URL now carries only the account's email as a hint. The app id issued at
+the first sign-in still skips the consent screen, and a sign-in that comes
+back as a different account is still refused. Because the URL holds nothing
+secret, graff always prints it, so you can open the sign-in for a headless
+machine on another computer.
+
+## A renewal for another account is refused
+
+When graff renews a ChatGPT sign-in, it now checks that the renewed identity is
+the same account. If it isn't, graff records the mismatch and doesn't use the
+new tokens; sign in again to continue.
diff --git a/src/cli.zig b/src/cli.zig
index 0380f00c..3b7fe124 100644
--- a/src/cli.zig
+++ b/src/cli.zig
@@ -24,6 +24,9 @@ const update_target = @import("update_target.zig");
pub const changelog_text =
\\What's new
\\──────────
+ \\0.302.37
+ \\ • ChatGPT sign-in keeps your saved token out of the sign-in URL and always prints it
+ \\
\\0.302.36
\\ • new worktrees link .agents/linked files and run .agents/prepare
\\