Skip to content

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

Python

merge: bring release/v0.0.269 onto the line-REPL chrome branch

Cursor Agent569014446870
diff --cc docs/adr/0016-line-repl-is-a-working-block.md
index c6971705,00000000..a5a94966
mode 100644,000000..100644
--- a/docs/adr/0016-line-repl-is-a-working-block.md
+++ b/docs/adr/0016-line-repl-is-a-working-block.md
@@@ -1,33 -1,0 +1,33 @@@
- # 0012. Line REPL chrome is a WORKING block plus a bare ›
++# 0016. Line REPL chrome is a WORKING block plus a bare ›
+
+Status: accepted 2026-08-20
+
+## Context
+
+The default `graff` session is a line REPL, not `graff tui`. Stuffing goal,
+checklist, model, cwd, context, and cost into `[model · …] ›` and a
+`Goal … · 2/4 todos` row gave every fact the same visual weight. Tool lines
+that said `✓ bash ·` named the harness, not the work.
+
+Variations 4 (tool tree) and 5 (git-style status) were the ones we wanted:
+execution is a graph, standing work is persistent state, and the input line
+should be the eye's rest.
+
+## Decision
+
+- Standing goal and its checklist render as a `WORKING` block above the prompt,
+ not as badges on the input line. A progress bar sits under `N of M` so the
+ checklist is state, not more narration.
+- The prompt is a bare `›`. Model, ctx, cost, `/resume N`, and a staged image
+ sit on one dim line above it.
+- Parallel tool batches are a `├─` / `└─` tree. Sequential calls are flat.
+ There is no `↯ N in parallel` tally when everything succeeded.
+- Result lines use a short verb (`test`, `edit`, `read`), never `bash`.
+ Announce lines stay off the default transcript.
+
+## Consequences
+
+The pager (`graff tui`) keeps its own chrome; it still receives the same
+`.prompt_ready` / tool events. Operational badges that change what the next
+turn will do (Plan, Strict, Fast, Fallback) remain on the dim status line.
+`/help` still lists keys; they are not reprinted every session.
diff --cc docs/adr/README.md
index 0e98f0f7,5e45f1ff..764c44cd
--- a/docs/adr/README.md
+++ b/docs/adr/README.md
@@@ -22,7 -22,10 +22,11 @@@ record only when you need the evidence
| [0009](0009-gpt-5-6-explicit-prompt-cache-boundary.md) | GPT-5.6 OpenAI Platform marks the stable prefix explicitly; Codex and xAI stay on their supported keyed automatic-cache paths. |
| [0010](0010-background-jobs-wait-for-exit.md) | `bash_output`/`agent_output` `wait_ms>0` blocks until exit (10h cap); do not poll every 30s. |
| [0011](0011-prompt-cache-max-is-visible.md) | Prompt-cache max is `/cache` posture, not a new default; `/btw` rides the parent prefix. |
- | [0012](0012-line-repl-is-a-working-block.md) | Line REPL chrome is a `WORKING` block plus a bare `›`; tool fan-out is a tree, never `✓ bash`. |
+ | [0012](0012-overflow-handles-named-limits-extra-roots.md) | Fat tool results become `tr_N` handles; named `--context-limit` caps prefix bytes; `--add-dir` extra roots are PathConfine allow-lists, not cwd/skill/session sources. |
+ | [0013](0013-list-dir-lives-in-codedb.md) | Directory listing is `codedb list_dir` (in-process BFS, gitignore, 10k cap), not a new always-on catalog tool. |
+ | [0014](0014-session-resume-carries-the-room-cursor.md) | `/resume` restores the peer-channel byte cursor and inbox; it does not replay the room into history. |
+ | [0015](0015-ask-user-images-are-a-follow-up-user-message.md) | `ask_user` images ride a follow-up user message after the text tool result; Responses/OpenAI tool output stays text-only. |
++| [0016](0016-line-repl-is-a-working-block.md) | Line REPL chrome is a `WORKING` block plus a bare `›`; tool fan-out is a tree, never `✓ bash`. |
## When to write one