Back to Plate

{{TITLE}}

.agents/skills/autogoal/assets/templates/goal-repair.md

53.1.33.4 KB
Original Source

{{TITLE}}

Objective: Repair a goal-backed workflow that missed an expectation.

Goal plan: {{PLAN_PATH}}

Template: {{TEMPLATE_PATH}}

Expected behavior:

  • TODO: State the user expectation or governing workflow rule.

Observed miss:

  • TODO: State what actually happened.

First checkpoint:

  • Before implementation or broad exploration, copy every explicit prompt requirement into this plan as checkable checkpoints: scope, non-goals, timing/duration, stop conditions, deliverables, final handoff sections, verification surface, and success criteria.
  • Do not continue into implementation until this extraction is complete or explicitly marked N/A with reason.

Completion threshold:

  • TODO: Define what proves the repair is complete.

Verification surface:

  • TODO: Name the source audit, regenerated artifact, command, review, or user-visible proof.

Constraints:

  • Repair one expectation narrowly.
  • Patch source-of-truth files, not generated skill mirrors.
  • Do not weaken evidence safety or completion gates just to reduce annoyance.
  • Do not broaden the repair to unrelated skills/templates.

Boundaries:

  • Source of truth: latest autogoal repair <expectation> request.
  • Allowed edit scope: TODO.
  • Derived skill scope: TODO.
  • Non-goals: TODO.

Blocked condition:

  • TODO: Name the missing plan path, skill owner, expected behavior, or user decision that stops autonomous repair.

Start Gates:

GateAppliesEvidence
Prompt requirements captured before workpendingpending

Work Checklist:

  • First checkpoint complete: every explicit prompt requirement, scope boundary, timing constraint, stop condition, deliverable, final handoff section, verification surface, and success criterion is copied into this plan as checkable checkpoints before implementation.
  • Expected behavior and observed miss are concrete.
  • Source of truth for the missed rule is identified.
  • Root cause is recorded before repair.
  • Repair updates the canonical surface.
  • Generated or downstream copies are refreshed only when applicable.
  • Final evidence proves the missed expectation is now satisfied.

Completion Gates:

GateAppliesRequired actionEvidence
Root cause recordedpendingExplain why the miss happenedpending
Canonical source repairedpendingPatch the real source of truthpending
Verification proofpendingRun named proof or record blockerpending
AutoreviewpendingReview repair against expected behavior, observed miss, and newest user requestpending
Goal plan completeyesRun node .agents/skills/autogoal/scripts/check-complete.mjs {{PLAN_PATH}}pending

Phase / pass table:

PhaseStatusEvidenceNext
Intake and source readin_progresscreated planrepair
Repairpendingverification
Verificationpendingcloseout
Closeoutpendingfinal response

Timeline:

  • {{CREATED_AT}}: repair plan created.

Verification evidence:

  • Pending.

Reboot status:

QuestionAnswer
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:

  • Pending.