| name | implementation-execution |
| description | Use when implementing an approved BES SPEC.md or a TASK.md slice (after decomposition). Keeps edits scoped to approved scope, preserves user work, updates directly coupled tests/docs, surfaces (does not silently swallow) scope drift. Requires SPEC at status: approved (owner-set) or later. Do not implement against draft / needs-revision / approved-pending-owner specs. |
| license | internal-only |
| compatibility | ["copilot","claude","bes-fleet"] |
| allowed-tools | [] |
| metadata | {"bes_provenance":{"origin":"internal","source_urls":[],"borrowed_from":[],"upstream_status":"not-applicable","last_audited":"2026-06-05T00:00:00.000Z","audit_cadence":"annual","adoption_status":"bes-native","security_review":"not-required","notes":"BES fleet-native skill."},"bes_tool_surface":{"scripts":"none","network":false,"dependencies":[],"secrets":[],"allowed_tools":[],"risk_notes":"No skill-local executable helper scripts."}} |
Implementation Execution
Use only after a spec is approved by the owner or controlling workflow.
Steps
- Re-read the approved
SPEC.md.
- Re-read the repo
AGENTS.md and relevant docs.
- Confirm branch/worktree state with
git status --short --branch.
- Edit only files named by the spec or directly required by the change.
- Use
diagnosis before fixing unclear failures, flaky behavior,
regressions, broken commands, or unknown root causes.
- Use
tdd for behavior changes when a focused automated or scripted
check can express the desired behavior without exceeding spec scope.
- For substantial approved specs, use
approved-spec-decomposition to
split vertical HITL/AFK slices before dispatching workers. Slices
remain subordinate to SPEC.md.
- If the approved scope calls for a prototype, make it explicitly
throwaway: answer one question, keep state in memory by default,
provide one command to run it, and delete or absorb it before
completion.
- Add or update tests before or with production changes when behavior
changes and the approved spec's verification method supports it.
- Keep unrelated refactors out of scope.
- Run the spec acceptance commands.
- Prepare the completion report requested by the spec.
Stop Conditions
- New facts materially change scope.
- Required files contain unrelated local changes that make safe editing
ambiguous.
- Verification requires unavailable secrets or infrastructure.
- The spec's acceptance criteria are not testable.
- The spec requires the agent to invent product, design, quality, release, or
acceptance criteria.
- Diagnosis shows the root cause requires behavior outside approved scope.
- Decomposition cannot produce bounded ownership or clear acceptance
evidence for a worker slice.
Hard Rules
- Preserve unrelated user changes.
- Do not silently expand scope.
- Do not convert agent opinions into implementation authority.
- Do not leave prototype code in the production path unless the
approved SPEC explicitly absorbs it.
- Do not bypass hooks, CI, or verification gates.
- Do not claim completion without fresh verification evidence.