.agents/skills/autogoal/assets/templates/goal-repair.md
Objective: Repair a goal-backed workflow that missed an expectation.
Goal plan: {{PLAN_PATH}}
Template: {{TEMPLATE_PATH}}
Expected behavior:
Observed miss:
First checkpoint:
Completion threshold:
Verification surface:
Constraints:
Boundaries:
autogoal repair <expectation> request.Blocked condition:
Start Gates:
| Gate | Applies | Evidence |
|---|---|---|
| Prompt requirements captured before work | pending | pending |
Work Checklist:
Completion Gates:
| Gate | Applies | Required action | Evidence |
|---|---|---|---|
| Root cause recorded | pending | Explain why the miss happened | pending |
| Canonical source repaired | pending | Patch the real source of truth | pending |
| Verification proof | pending | Run named proof or record blocker | pending |
| Autoreview | pending | Review repair against expected behavior, observed miss, and newest user request | pending |
| Goal plan complete | yes | Run node .agents/skills/autogoal/scripts/check-complete.mjs {{PLAN_PATH}} | pending |
Phase / pass table:
| Phase | Status | Evidence | Next |
|---|---|---|---|
| Intake and source read | in_progress | created plan | repair |
| Repair | pending | verification | |
| Verification | pending | closeout | |
| Closeout | pending | final response |
Timeline:
Verification evidence:
Reboot status:
| Question | Answer |
|---|---|
| Where am I? | Intake and source read |
| Where am I going? | Repair, verification, closeout |
| What is the goal? | TODO: Fill from Objective |
| What have I learned? | See Observed miss |
| What have I done? | See Timeline |
Open risks: