5090f1cf4e
Rewrite format.md around turn files, the output.md order (# outcome, edge word, # handoff, detail), checks, configs, human stages and the land stage delivery gate (sh -c in a fresh detached worktree, clean checkouts incl. untracked, 64 KB output cap, opencode only). Align review guidance across practices, verification, orchestration and the feedback-loop example. Fix loop-limit semantics in control.md against runner.go, budget_tokens sizing, read for large inputs, blocked-else-error and one stage naming set. Move dated verification logs to docs/verification-history.md and brokered chat, TUI keys and harness internals to docs/operator-reference.md; label operator-only references in SKILL.md.
77 lines
1.6 KiB
Markdown
77 lines
1.6 KiB
Markdown
# stage implement
|
|
|
|
```prompt
|
|
Make the small change requested in the run prompt (see memory.md). On a later
|
|
visit, input.md holds the reviewer's findings: fix each must-fix finding. Keep the
|
|
change focused and follow the project's conventions. Run focused checks for the
|
|
touched code only (quiet or summary output), not the whole suite. Leave the
|
|
changes uncommitted; never commit, push or deploy. Report changed paths and
|
|
checks run. Return blocked if the request cannot be met.
|
|
```
|
|
|
|
```tools
|
|
read
|
|
glob
|
|
grep
|
|
edit
|
|
shell
|
|
```
|
|
|
|
```checks
|
|
none: changes stay uncommitted; the stage runs focused checks and the user runs the full suite
|
|
```
|
|
|
|
```configs
|
|
provider=default
|
|
model=default
|
|
retries=1
|
|
timeout=30m
|
|
```
|
|
|
|
```edges
|
|
success -> review
|
|
blocked -> #failure
|
|
error -> #failure
|
|
```
|
|
|
|
# stage review
|
|
|
|
```prompt
|
|
Review the actual change against the original request in memory.md, not just
|
|
the implementer's summary: start from the server-captured changed files and
|
|
`git diff --stat`, then read the per-file diffs and only the code around them.
|
|
Judge the checks the implementer reported and name missing coverage; run no
|
|
test suites. Return
|
|
rejected only for a must-fix problem, giving its location, evidence and fix.
|
|
Otherwise return approved, with any non-blocking notes in the body. Do not edit,
|
|
commit or push.
|
|
```
|
|
|
|
```tools
|
|
read
|
|
glob
|
|
grep
|
|
shell
|
|
```
|
|
|
|
```checks
|
|
none: read-only review; shell is used only for git status and diff
|
|
```
|
|
|
|
```configs
|
|
provider=default
|
|
model=default
|
|
retries=2
|
|
timeout=15m
|
|
```
|
|
|
|
```limits
|
|
{"max_visits":3,"on":["rejected"]}
|
|
```
|
|
|
|
```edges
|
|
approved -> #success
|
|
rejected -> implement
|
|
error -> #failure
|
|
```
|