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.278 for composer-image privacy

Cursor Agent1b46004b96e8
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e0a7afa9..bcfb8517 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.278 (2026-08-26)
+
+- Composer image pastes are marker-gated (#634). Deleting `[Image]`,
+ `[Image #N]`, or a TUI chip before submit drops that payload; a
+ text-only prompt no longer leaks native `input_image` blocks. Identical
+ `b64` collapses so two pastes cannot become four blocks.
+- `/image` and `/paste` stay sticky for the next text-only line.
+ `/image clear` clears the whole queue.
+- TUI: backspace on an empty composer drops the last chip; Ctrl+U /
+ Cmd+Delete clears chips with the draft; overlay backspace/`x` detaches
+ the previewed chip.
+- Test ratchet: unit suite 1684 (floor 1684).
+
## v0.0.277 (2026-08-26)
- MCP tools that `load_tool_schemas` has unfolded are `rlm` host functions
diff --git a/docs/releases/v0.0.278.md b/docs/releases/v0.0.278.md
new file mode 100644
index 00000000..cd98c625
--- /dev/null
+++ b/docs/releases/v0.0.278.md
@@ -0,0 +1,32 @@
+# v0.0.278 (2026-08-26)
+
+Incremental cut on `main` after v0.0.277: deleted composer screenshots
+must not reach the model (#634).
+
+## The bug
+
+On 0.0.276/277 a PNG pasted into the REPL composer and then removed
+before submit still rode the pending-image queue. The visible prompt
+looked text-only; the first user message still carried native
+`input_image` blocks. Two clipboard pastes could emit four blocks
+(each payload twice). The model used the deleted screenshot.
+
+## What this cut does
+
+Ctrl-V / drop insert `[Image #N]` and mark the slot `from_composer`.
+`consumePromptImages` keeps those payloads only while `[Image]`,
+`[Image #N]`, or `@[path]` is still in the prompt.
+
+`/image` and `/paste` are command-staged, so they still ride the next
+text-only line. `/image clear` now clears the whole queue, not just
+the last slot. Identical `b64` collapses. `@[path]` restage skips a
+path already queued.
+
+TUI chips can leave: backspace on an empty composer drops the last
+chip; Ctrl+U / Cmd+Delete clears chips with the draft; overlay
+backspace/`x` detaches the previewed chip. `ask_user` runs the same
+retain-filter before flush.
+
+## Tests
+
+Unit suite **1684** (floor 1684). Tier 1 green on the #634 commit.
diff --git a/scripts/eval/tier1-manifest.json b/scripts/eval/tier1-manifest.json
index ecffcc7a..c6f84e44 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": 1664,
+ "test_count_baseline": 1684,
"test_count_slack": 25,
"required_invariants": [
{
diff --git a/src/cli.zig b/src/cli.zig
index 9d9afd63..a82d5049 100644
--- a/src/cli.zig
+++ b/src/cli.zig
@@ -21,6 +21,11 @@ const harness_version = root.harness_version;
pub const changelog_text =
\\What's new
\\──────────
+ \\0.0.278
+ \\ • deleted composer screenshots are not sent: submit keeps [Image #N] / @[path] only (#634)
+ \\ • /image and /paste stay sticky; /image clear drops the whole queue
+ \\ • TUI backspace / Ctrl+U / overlay backspace detaches chips
+ \\
\\0.0.277
\\ • MCP-inside-rlm + learnt slim: fat MCP results drop to id/title; comments fold to n+latest_author (ADR 0029)
\\ • L (warm slim, --no-lean) 14.8s/31k/5 vs H 28s/112k/7 on SuperGrok grok-4.6