Skip to content

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

Python

docs(release): cut v0.0.271

Rach Pradhane368528b151f
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3944c702..ac7abd4e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,14 @@ 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.271 (2026-08-22)
+
+- Windows: line REPL and fullscreen TUI switch the console to UTF-8
+ (CP 65001) before any chrome is printed, so box-drawing and icons are
+ not decoded as CP437/1252 in PowerShell 5.1 (#607). zigzag's `graff repl`
+ already did this; `graff` and `graff tui` did not.
+- Test ratchet: unit suite 1580.
+
## v0.0.270 (2026-08-22)
- OpenRouter is a built-in OpenAI-chat seat (`OPENROUTER_API_KEY`,
diff --git a/docs/releases/v0.0.271.md b/docs/releases/v0.0.271.md
new file mode 100644
index 00000000..c3e3cac1
--- /dev/null
+++ b/docs/releases/v0.0.271.md
@@ -0,0 +1,27 @@
+# v0.0.271 (2026-08-22)
+
+This release fixes Windows console UTF-8 so the line REPL and fullscreen TUI
+render box-drawing and icons instead of CP437 mojibake. It ships on top of
+0.0.270 (OpenRouter, `#606` path chmod).
+
+## Windows UTF-8 console (#607)
+
+PowerShell 5.1 and conhost default to CP437/1252. Graff emits UTF-8
+(`┌─`, `·`, `⚙`, checkmarks). Without a code-page switch those bytes
+render as `ΓòöΓöÇ`. zigzag's `graff repl` already called
+`SetConsoleOutputCP(65001)` in raw mode; the default `graff` binary only
+enabled VT processing.
+
+`enableVtOutput()` now also sets the input and output code pages to UTF-8
+before any styled output. The fullscreen TUI does the same on enter and
+restores the prior pages on exit, and reads the real console size instead
+of hard-coding 80×24.
+
+This is a runtime console switch, not a manifest `activeCodePage`. It does
+not change file encodings.
+
+## Already in 0.0.270
+
+`#606` (`TODO implement dirSetFilePermissions windows` mid-session on
+`edit_file`) shipped in 0.0.270: mode restore uses handle chmod
+(`File.setPermissions`).
diff --git a/scripts/eval/tier1-manifest.json b/scripts/eval/tier1-manifest.json
index 5ca5d49d..03e12a76 100644
--- a/scripts/eval/tier1-manifest.json
+++ b/scripts/eval/tier1-manifest.json
@@ -15,7 +15,7 @@
"src/repl.zig",
"TUI/root.zig"
],
- "test_count_baseline": 1578,
+ "test_count_baseline": 1580,
"test_count_slack": 25,
"required_invariants": [
{
diff --git a/src/cli.zig b/src/cli.zig
index fe7b19b5..6da557c6 100644
--- a/src/cli.zig
+++ b/src/cli.zig
@@ -21,6 +21,9 @@ const harness_version = root.harness_version;
pub const changelog_text =
\\What's new
\\──────────
+ \\0.0.271
+ \\ • Windows: TUI/REPL box-drawing is UTF-8 (CP 65001), not CP437 mojibake (#607)
+ \\
\\0.0.270
\\ • OpenRouter (OPENROUTER_API_KEY → anthropic/claude-sonnet-4.6); live /models
\\ • Windows: edit_file/write_file no longer panic on path chmod (#606)