graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs
Python
Merge origin/release/v0.0.302.2 into cursor/child-brief-bcfd
Cursor Agent14709c422701
diff --cc docs/adr/0150-subagent-briefs-are-structured.mdindex f100230f,00000000..d5b10710mode 100644,000000..100644--- a/docs/adr/0150-subagent-briefs-are-structured.md+++ b/docs/adr/0150-subagent-briefs-are-structured.md@@@ -1,31 -1,0 +1,31 @@@- # 0149. Child briefs are structured sections plus a harness environment header++# 0150. Child briefs are structured sections plus a harness environment header++Status: accepted 2026-09-21++## Context++`subagent` composed the child's first user message from a single `prompt`+string. Parents re-typed working directory, instructions file, disabled+tools, and pre-tool hooks — or omitted them — and children re-derived+paths and observed facts the parent already had. Reports came back in+whatever frame each child picked. The system prompt asked only for a+concise report of concrete facts.++## Decision++Optional `context`, `established_facts`, `scope`, and `deliverable` on+the `subagent` tool render as headed sections around `prompt` (empties+omitted; a bare prompt is unchanged). `runSub` prepends a harness-stated+environment header (cwd, instructions file name, disabled-tool line,+pre_tool hooks) on every path except `judge_task`. The child system+prompt asks for Files changed / Verified / Skipped / Open questions.+REPL, TUI, and GUI share this engine path. Workflow task objects stay+`context` + `prompt` only.++## Consequences++Children see one brief shape. A parent that still sends only `prompt`+gets the environment header and the default report headings, nothing+else. Token cost is a few header lines per spawn, not a copy of+AGENTS.md. Revisiting would need a measured brief-quality eval or a+workflow-task field expansion.diff --cc docs/adr/README.mdindex bd29ff79,0358778b..ff1e079d--- a/docs/adr/README.md+++ b/docs/adr/README.md@@@ -168,7 -168,7 +168,8 @@@ record only when you need the evidence| [0146](0146-concurrent-sessions-auto-isolate.md) | A second live session in the same Git checkout gets its own worktree; concurrent agents never share `index.lock`. || [0147](0147-finish-is-not-cleanup-fanout.md) | Finish is not archive: park peer wakes until idle, paint the tally at the step boundary, refuse cleanup/fix-it children, cap live fan-out. || [0148](0148-read-file-miss-storm-stops.md) | After N same-prefix or incrementing `read_file` misses, refuse further guesses this turn and point at `codedb list_dir`. |- | [0149](0149-subagent-briefs-are-structured.md) | Child briefs are headed sections plus a harness environment header; the judge stays a bare prompt. |+ | [0149](0149-daddy-directives-are-explicit-control.md) | Ambient `[peer]` wakes are not a new task; `[daddy]` directives are explicit supervisor control. |++| [0150](0150-subagent-briefs-are-structured.md) | Child briefs are headed sections plus a harness environment header; the judge stays a bare prompt. |## When to write one