completion-loop
Completion Loop
Runtime capability contract
The core workflow is cross-agent: it needs repository inspection and editing, test execution, diff review, and honest evidence reporting rather than a particular agent brand. Goal or task-status tools are optional persistence adapters and must not change the completion criteria or authority boundary.
Low-risk work may use the required self-review. When the selected risk tier requires independent review, the runtime must provide a fresh context with tool-enforced read-only access that cannot mutate the workspace or external systems. If that isolation is unavailable, keep the required review pending; do not replace it with same-context role-play or a prompt-only promise.
Enter only for approved execution
This is an execution skill for completing approved implementation or fixes. It fits after investigation and plan approval. A request to think, research, write only a plan, or explain usage remains in that phase even if it mentions this skill. Approval to write a plan is not approval to execute it.
Reuse an approved plan's relevant scope, decisions, and completion criteria; inspect the current repository to confirm they still apply instead of replanning from scratch. A clearly authorized small fix needs no separate planning ceremony: capture a concise execution contract with the fields below. Resolve only missing decisions that materially affect scope, acceptance, or authority.
Approved-plan invocation: /goal Implement the approved plan within its scope and completion criteria. Use $completion-loop.
Small-fix invocation: Use $completion-loop to fix the reproduced cache-key bug and verify it with the existing regression test. Keep public behavior unchanged.
Skill activation alone does not authorize goal creation, a mode switch, commits, or remote work. Honor authority already granted in the conversation; do not request it again.