/odin-run:cybernetic-loopfrom ODIN Run
Bounded recovery loop for falsifiable invariants outside the happy path. Applies candidate patches within a scoped working tree, reverting on failure, and returns terminal status.
Ships in ODIN Run. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
| Field | Bound contract |
|---|---|
| Trigger | Use only when the caller names one falsifiable invariant outside the prior happy path, such as reorganization, peer-to-peer behavior, or index recovery, together with one finite patch budget. Do not use this workflow for normal feature delivery or as a universal retry loop. |
| Authority | Reversible local: writes only budgeted candidate patches within the bounded local working-tree scope recorded before mutation; rollback is restoring the pre-run checkpoint byte-for-byte, including any pre-existing state. No remote mutation. |
| Side effect | Mutates the working tree only through candidate patches applied after the checkpoint. Keep a candidate only when the full frozen check set shows that at least one failing check now passes and no previously passing check fails; otherwise revert that candidate. On non-convergence, revert every retained candidate to the checkpoint. |
| Done | Return exactly one terminal status: already-holds when the full frozen check set passes before mutation; restored when all frozen checks pass together in one run within budget; or non-converged after restoring the checkpoint and returning the run transcript. |
Use only the literal run concepts invariant, executable check set, patch budget, candidate patch, check result, checkpoint, and run transcript; do not reinterpret the procedure through control-theory metaphors.
non-converged with an unavailable recovery mechanism. Done when: the checkpoint can restore every byte in the bounded scope, or the run stops as non-converged.already-holds without changing the working tree. Done when: all check results are recorded, or already-holds is returned.restored only if every frozen check passes together. Otherwise stop as non-converged if the budget is exhausted, an equivalent failure repeats, check results oscillate between prior states, any frozen check becomes unavailable, or restoration requires scope widening. Done when: restored is returned or non-converged is declared with a named stop class.non-converged stop, restore the whole bounded scope to the checkpoint before returning the complete run transcript. If restoration itself fails, report that recovery failure explicitly and do not claim a terminal success status. Done when: the bounded scope is restored to the checkpoint and the run transcript is returned, or recovery failure is reported.invalid-input: stop before mutation when the invariant is not singular, falsifiable, or outside the prior happy path, or when the patch budget is not a finite positive integer.unavailable-check: a check that cannot be compiled or executed makes the run non-converged; restore the checkpoint if mutation occurred.repeated-equivalent-failure, oscillation, budget-exhaustion, and scope-widening: stop immediately as non-converged and restore the whole run to its checkpoint.candidate-regression: when a candidate fails to improve at least one failing check or causes any passing check to fail, revert that candidate; the attempt still consumes budget.recovery-failure: return the failed restoration operation and remaining working-tree delta explicitly. Never report already-holds, restored, or a clean non-converged rollback unless the corresponding state was observed.No partial retained patch is an output of non-converged; its only valid working-tree state is the checkpoint state.
The frozen run contract and one terminal record: already-holds (pre-mutation check results, no patch attempted), restored (candidate patches, budget, check results, final passing run), or non-converged (stop class, all patches and results, budget consumed, checkpoint-restoration proof).
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub outlinedriven/odin-claude-plugin --plugin odin-run46 skills in this plugin
/append-run-logUse when a completed agent run must be recorded as durable, queryable evidence. Not for remote, credential, publish, deploy, or irreversible changes./artifact-arenaUse when asked to run /artifact-arena to generate and judge competing artifact implementations. Not for remote, credential, publish, deploy, or irreversible changes./audit-loop-scaffoldUse when loop scaffold files have drifted from their provenance-pinned templates. Not for remote, credential, publish, deploy, or irreversible changes.Other plugins' skills for the same job