22 lines
2.1 KiB
Markdown
22 lines
2.1 KiB
Markdown
---
|
|
description: Execute the latest approved plan
|
|
agent: builder
|
|
model: github-copilot/gpt-5.4
|
|
---
|
|
|
|
Execute the latest approved plan for: $ARGUMENTS
|
|
|
|
1. Read the latest matching `plans/<slug>` note with `Status: approved`.
|
|
2. Create or update `executions/<slug>` with the structured sections defined in `AGENTS.md` (Plan, Execution State, Lane Claims, Last Verified State, Verification Ledger). Set `Status: in_progress` before changing code.
|
|
3. Before parallel fan-out, populate Lane Claims with owner, status, claimed files/areas, dependencies, and exit conditions. Overlapping claimed files/areas or sequential verification dependencies forbid parallel fan-out.
|
|
4. Delegate implementation to `coder`, verification to `tester`, review to `reviewer`, and docs or memory updates to `librarian` where appropriate.
|
|
5. Builder owns commit creation during `/build`: create automatic commits at meaningful completed implementation checkpoints.
|
|
6. Reuse existing git safety rules and avoid destructive git behavior; do not add push automation.
|
|
7. If no new changes exist at a checkpoint, skip commit creation rather than creating empty or duplicate commits.
|
|
8. Record verification evidence in the Verification Ledger using the compact shape (Goal, Mode, Command/Check, Result, Key Evidence, Artifacts, Residual Risk). Default to `smoke` for intermediate checkpoints; require `full` before final completion or setting status to `done`.
|
|
9. Follow the plan exactly. If the plan is contradictory, missing a dependency, or fails verification twice, stop, capture evidence, set the execution note to blocked, and send the work back to `planner`.
|
|
10. Before creating the final completion commit, clean up temporary artifacts generated during the build (e.g., scratch files, screenshots, logs, transient reports, caches). Intended committed deliverables are not cleanup targets.
|
|
11. Finish by creating a final completion commit when changes remain, then update Last Verified State and set the execution note to `Status: done` or `Status: blocked` and summarize what changed.
|
|
|
|
Automatic commits are required during `/build` as defined above.
|