| name | loop-orchestration |
| description | Use when running a bounded autonomous engineering loop with discovery, planning, execution, verification, repair, and handoff decisions |
Loop Orchestration
Purpose
Run a bounded Discover → Plan → Execute → Verify → Repair feedback cycle.
Procedure
- Load goal, state, memory, permissions, and budgets.
- Validate required configuration.
- Run discovery.
- Require a finite plan.
- Execute approved actions.
- Run independent verification and review.
- If blocking failures exist, invoke bounded repair.
- Detect no-progress/repeated failures.
- Ship only after all required gates pass; otherwise hand off or terminate.
Required outputs
loop_state, transition decision, evidence references, terminal reason.
Safety / quality gates
- Operate within declared scope.
- Produce evidence for material claims.
- Never bypass stop conditions or permission boundaries.
- Update persistent loop memory after meaningful progress.