Skip to content

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

Python

chore(release): prepare v0.0.249

Rach Pradhanb683e3312ce9
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b5ca964d..7beb2c80 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,23 @@ 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.249 (2026-08-12)
+
+- Folded native tools become callable immediately after their schemas load
+ (#492). The active catalog is rebuilt from the loaded schemas instead of
+ continuing to advertise tools that can never enter dispatch.
+- Turn events expose cumulative input, output, cache-read, and cache-write
+ token usage, with the TypeScript SDKs regenerated from the same schema
+ source (#491).
+- codedb-pro tool paths resolve from the active session worktree rather than
+ the daemon's startup directory, preventing false missing-path reports when
+ Graff changes projects.
+- Piped sessions end an unanswered `ask_user` cleanly at EOF instead of
+ spinning or hanging (#478).
+- The default prompt carries a capped skills catalog, and the release suite
+ now exercises concurrent interactive WebSocket tool loops across multiple
+ sessions (#480).
+
## v0.0.245 (2026-08-09)
- Licensed codedb-pro is now the default toolset, not an ornament. The license
diff --git a/docs/releases/v0.0.249.md b/docs/releases/v0.0.249.md
new file mode 100644
index 00000000..a105aaf8
--- /dev/null
+++ b/docs/releases/v0.0.249.md
@@ -0,0 +1,22 @@
+# v0.0.249 (2026-08-12)
+
+This release makes dynamically loaded tools real, carries complete turn usage
+through the SDK boundary, and tightens multi-session reliability.
+
+- **Loaded means callable.** Folded native tools now enter the active catalog
+ immediately after their schemas load. The old path reported them as
+ available while dispatch could never reach them (#492).
+- **Complete usage events.** Turn events include cumulative input, output,
+ cache-read, and cache-write tokens, generated into both TypeScript SDK
+ surfaces from the canonical schema (#491).
+- **Worktree-correct CodeDB Pro calls.** Relative codedb-pro paths resolve from
+ the active Graff session directory rather than the daemon's launch directory,
+ avoiding false missing-path reports after switching projects.
+- **Clean non-interactive EOF.** A piped session with an unanswered
+ `ask_user` exits cleanly when stdin closes instead of hanging (#478).
+- **Lower fixed prompt cost and stronger concurrency coverage.** The skills
+ catalog is capped before it enters the default prompt, and the release suite
+ now runs concurrent interactive WebSocket tool loops across four sessions
+ (#480).
+
+The exact-key lookup optimization from v0.0.248 remains included.
diff --git a/scripts/eval/tier1-manifest.json b/scripts/eval/tier1-manifest.json
index 88126691..16053e43 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": 1184,
+ "test_count_baseline": 1211,
"test_count_slack": 25,
"required_invariants": [
{
diff --git a/src/cli.zig b/src/cli.zig
index 854142b0..67cc4976 100644
--- a/src/cli.zig
+++ b/src/cli.zig
@@ -21,6 +21,12 @@ const harness_version = root.harness_version;
pub const changelog_text =
\\What's new
\\──────────
+ \\0.0.249
+ \\ • Folded native tools become callable as soon as their schemas load; the active catalog now rebuilds instead of advertising unreachable tools
+ \\ • Turn events and generated TypeScript SDKs expose cumulative input, output, cache-read, and cache-write token usage
+ \\ • codedb-pro paths resolve from the active session worktree, and piped ask_user sessions end cleanly at EOF
+ \\ • The default prompt carries a capped skills catalog, with concurrent interactive WebSocket tool loops covered by the release suite
+ \\
\\0.0.247
\\ • Interactive startup is quiet by default; `GRAFF_REPL_DEBUG=1` restores launch and runtime diagnostics, and `/debug` still toggles them live
\\ • Shared-worktree ownership is a structured callout with the active session, goal, and `graff -w` isolation action