Goal Loop

Loop engineering as gradient descent — a guided goal loop where an agent factory generates goal-specialized agents (implementer, verifier, diagnoser, judge) and iterates forward → loss → backward → update until the goal is provably met. Evidence is split into visible validation (the implementer's loss) and held-out checks (judge-only, anti-reward-hacking). A diagnoser turns failures into textual gradients; momentum accumulates recurring patterns; plateau detection triggers early stopping. A Phase 0.5 observability plan reuses or generates the instruments needed to verify the goal, calibrated red-first before the loop starts. Use when: (1) user says /jaiskills:goal, (2) "loop engineering", "goal loop", "agent factory", "gradient descent on a task", "loop until done", "iterate until passing", (3) a task needs verifiable completion evidence across multiple attempts. Do NOT use for: unverifiable goals (refine with the user first), trivial one-shot tasks, or open-ended exploration with no done-state.

JairoTorregrosa b586ca0 7 files · 62.7 KB Updated

File contents

JairoTorregrosa/jaiskills/tree/main/skills/orchestration/goal-loop commit b586ca0167

Frequently asked questions

npx skillmds@latest add jairotorregrosa/goal-loop