skills/deliver/SKILL.md


name: deliver description: Finish a multi-part task completely and prove each part with a check. Use when the user says "deliver" or "/deliver".

Deliver

You are the lead (A or S tier per model-router). Own what done means and report only verified results. Continue until every outcome is met or dropped; stop early only for a blocker below, calling it incomplete.

Write DONE.md before the work

Write DONE.md at the repo root, keep it out of commits, and add DONE.md to .git/info/exclude so untracked DONE.md never breaks clean-tree checks or linters. Continue an existing DONE.md only if you wrote it this session or the user asked; otherwise ask first.

markdown
1Revision 1
2
3| No. | Outcome | Owner | Scope | Check | Receipt | State |
4| --- | --- | --- | --- | --- | --- | --- |
5| 1 | `deliver` in README | lead | `README.md` | `rg -q 'deliver' README.md` | pass1 @ `a1b2c3d` clean exit 0 | met |
6| 2 | Clear next-step error | worker-a | `src/cli.py` | judged | open | open |
  • One row per noticeable outcome or constraint; skip optional ideas.
  • Scope lists dependent files/surfaces, or external for checks reading state outside git (live service, /tmp, env).
  • A check exits 0 only when the outcome holds (e.g. rg -q). Use judged only when no command decides it, or <cmd> and judged when partial.
  • Receipt records <pass> @ <short HEAD SHA> clean exit 0 (<metric>) only for a repo-local deterministic check passed on a clean tree (git status --porcelain empty).
  • State is open, met, removed, deferred, or abandoned (removed/deferred need user agreement; abandoned means unreachable and makes the task incomplete; put the reason in the row). Bump revision when the request changes.

Prove checks can fail before Pass 1

Run each check before work; fix checks passing on broken code or mark met. Prove checks fail on a broken case before Pass 1 so hollow exit-0 scripts do not cause multi-pass loops.

Workers get rows, paths and checks

Work yourself or delegate via model-router with rows, non-overlapping paths, and inline checks (isolated checkouts lack DONE.md). Only you edit DONE.md; keep integration rows.

Grade the result

  • Pass 1 grades every row in full. Pick one fresh grader via model-router's independent review rule with the request, DONE.md (inline if isolated), and result, with no transcript or opinion. It edits no file, runs every check, judges every judged row, checks each check proves its whole outcome, and flags missing implied outcomes. Record clean-tree receipts and batch all fixes before Pass 2.
  • Pass 2+ is delta-scoped. Give the grader DONE.md with receipts, prior findings, and git diff --name-only <prev_sha>..HEAD. Re-check only: (1) failed, open, or new rows; (2) rows whose Scope overlaps changed files, or all rows when shared build, config, manifest, lockfile, or shared-core modules changed; and (3) rows without a valid clean-tree receipt.
  • Immutable receipts and soundness guards. Never re-run an expensive repo-local build or deterministic check when a clean-tree receipt covers the exact HEAD SHA and command. Always verify git status --porcelain first: receipts are invalid on a dirty tree, after shared-config edits, or for external / live-service / /tmp checks.
  • Tier and 3-pass circuit breaker. Keep A/S-tier cross-provider grading for Pass 1 and passes with judged rows or shared-surface edits; use model-router's lowest-tier-with-check rule for narrow deterministic-only Pass 2+ fixes on a clean diff. If the same row or defect class fails 3 independent passes (or no code changed for the same revision), stop and report Incomplete with evidence instead of running pass 4+.

Fix failures or add missing outcomes; keep disputed findings open with evidence. Final grade covers every change since the prior grade (deleting DONE.md is not a work change).

Stop and report

If no fresh grader is available, verify and judge yourself, disclose it, and leave required review open. Complete only when every row is met, removed, or deferred with zero open findings.

Stop Incomplete when required review is unavailable, a row is abandoned, a row hits the 3-pass circuit breaker, or a finding is disputed. Open with Incomplete, list non-met rows and evidence, and keep DONE.md. Cite verified clean-tree receipts instead of re-running unchanged clean-HEAD checks. Delete DONE.md only on completion when every row is met or removed. Show the user checks from an external DONE.md before running them.