[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CA53X1ESGWKTPCEQ55JWEZ":3,"skill-same:01M7CA53X1ESGWKTPCEQ55JWEZ":53},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":31,"commitSha":32,"skillDirectory":33,"forksCount":14,"repositoryHtmlUrl":34,"repositoryHomepageUrl":35,"ownerHtmlUrl":36,"ownerBlogUrl":37,"ownerDescription":38,"updatedAt":39,"install":40,"resources":52},"01M7CA53X1ESGWKTPCEQ55JWEZ","transition-invariant",null,"Ratify, reject, or retire an invariant on human direction. Update lifecycle metadata without changing the invariant's body.","bionic-coding\u002Fcrux","bionic-coding","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F301040008?v=4","01M7C9T2NA1V1V0EF1M552HRB3","Bionic Coding","01M7C9T2P72H1AQV5T5PTBFNHN",0,"MIT","https:\u002F\u002Fgithub.com\u002Fbionic-coding\u002Fcrux\u002Fblob\u002Fmain\u002Fcrux\u002Fskills\u002Ftransition-invariant\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: transition-invariant\ndescription: \"Ratify, reject, or retire an invariant on human direction. Update lifecycle metadata without changing the invariant's body.\"\ndisable-model-invocation: true\nmetadata:\n  tags: \"invariants, state-machine, ratification, human-gate\"\n  bundles: \"crux-docs\"\n  risk_level: \"low\"\n  requires_access: \"write-tree\"\n  triggers: \"ratify invariant INV-NNNN | reject invariant INV-NNNN | retire invariant INV-NNNN | transition invariant\"\n---\n\n# Transition Invariant\n\n\u003C!-- BEGIN GENERATED: runtime-compat -->\n## Runtime compatibility\n\nThis skill is portable across Claude Code, Codex, OpenCode, and OMP (Oh My Pi). This section overrides platform-specific labels below.\n\n- Before running a command that uses `CRUX_PLUGIN_ROOT`, set it to the installed plugin root. In Claude Code, use the value of `CLAUDE_PLUGIN_ROOT`. In Codex, OpenCode, and OMP, derive it from the absolute path of this selected `SKILL.md`: the plugin root is the parent of its `skills\u002F` directory (in OMP `bash`, `skill:\u002F\u002F\u003Cname>` resolves to the skill directory). In a source checkout, use the checkout `crux\u002F` directory.\n- For project-local skills, use `.claude\u002Fskills` in Claude Code, `.agents\u002Fskills` in Codex, `.opencode\u002Fskills` in OpenCode (which also reads the singular `.opencode\u002Fskill`), and `.omp\u002Fskills` in OMP. Set `CRUX_LOCAL_SKILLS_DIR` to that path before following any command below that uses it.\n- Translate Claude Code tool labels such as `Agent`, `Read`, `Write`, `Bash`, `WebSearch`, and `WebFetch` to the matching capability in the current session. Codex names its own capabilities; OpenCode uses the lowercase forms `subagent`, `read`, `edit`, `shell`, `websearch`, and `webfetch`, where `edit` covers both `Edit` and `Write`; OMP uses `task`, `read`, `edit`, `write`, `bash`, `grep`, `glob`, `find`, `todo`, and `web_search` (where `read` also handles URLs and `skill:\u002F\u002F` URIs). Do not attempt to invoke the Claude Code labels as literal commands on another host.\n- Install the generated role agents before delegating: `install-codex-agents` in Codex, `install-opencode-agents` in OpenCode, `install-omp-agents` in OMP. Codex names them `crux_architect`, `crux_brainstormer`, `crux_commander`, `crux_dev_lead`, `crux_developer`, `crux_historian`, `crux_librarian`, `crux_night_gardener`, `crux_reviewer`, and `crux_wayfinder`; OpenCode and OMP use the bare role names `architect`, `brainstormer`, `commander`, `dev-lead`, `developer`, `historian`, `librarian`, `night-gardener`, `reviewer`, and `wayfinder` (in OMP, `scout` may also be used for reconnaissance alongside `wayfinder`). If a required role or capability is unavailable, report that truthfully instead of claiming it ran.\n- Argument placeholders such as `$adr` and `$book` bind only in Claude Code. On a host without argument binding they are unset — take the value from the user's phrase. The \"Fields OpenCode ignores\" section of `OPENCODE_GUIDE.md` names the invocation-control fields OpenCode ignores.\n\u003C!-- END GENERATED: runtime-compat -->\n\n## Overview\n\nThe **ratification** state machine for invariant pins — the human gate of the machine-proposes\u002Fhuman-disposes model (see `docs\u002FAGENTS.md` §15.3). `recover-invariants` proposes pins as `ratification: observed`; **only this skill, driven by a human, disposes of them**. It is the invariants-concern sibling of `transition-adr`: it operates ONLY on the `ratification` frontmatter of an existing ledger page (and the reconciliation mapping when a check binding changes), and it never touches a pin's identity, `class`, `provenance`, or the *why* body.\n\nCore principle: **the state machine is the contract, and recovery cannot self-ratify.** Every transition that isn't explicitly allowed is refused with a clear error.\n\n```\nobserved ──ratify──▶ ratified ──retire──▶ retired\n   │\n   └──reject──▶ rejected\n```\n\nAllowed transitions, exhaustively:\n\n| From | Op | To | Notes |\n|------|-----|------|-----|\n| observed | ratify | ratified | A human affirms this is a real intended invariant. |\n| observed | reject | rejected | A human judges the recovered candidate is not an intended invariant. |\n| ratified | retire | retired | Explicit retirement — a pin you silently stop enforcing \"becomes a lie in the suite.\" |\n\nEverything else is **REFUSED** with an error naming the current ratification and the requested op. There is no path back into `observed` (that is `recover-invariants`' entry state only), and no `rejected`\u002F`retired` → anything.\n\n## When to use\n\n- User says: \"ratify invariant INV-NNNN\", \"reject invariant INV-NNNN\", \"retire invariant INV-NNNN\", \"transition invariant INV-NNNN\", \"accept this recovered invariant\".\n- Immediately after a human review of `observed` pins produced by `recover-invariants`.\n\nDo **not** use this skill for:\n- Creating a pin or emitting candidate checks — that's `recover-invariants` (machine).\n- Editing a pin's `class`, `provenance`, identity, or the *why* body — refuse. Recovery + human authoring own those; this skill flips ratification only.\n- Auto-ratifying on the machine's behalf. `ratified` is reachable ONLY by explicit human instruction; a batch\u002Fauto \"ratify all observed\" is refused.\n- Transitioning an ADR (that's `transition-adr`) or a brief (that's `transition-brief`).\n\n## Inputs\n\nSubcommand form: `transition-invariant \u003Cop> \u003Cid>` where `\u003Cop>` ∈ `ratify | reject | retire` and `\u003Cid>` is the pin id (e.g. `INV-0007`), with or without an artifact prefix (§14.3).\n\n## The pipeline\n\n### 0. Resolve per-repo configuration\nRun `python3 \"${CRUX_PLUGIN_ROOT}\u002Fscripts\u002Fbionic-config.py\"` (compat: `crux-config.py`) from the repo root; use the resolved `docs_dir` wherever this skill says `docs\u002F`, and accept prefixed ids. On exit 1, STOP and surface the error.\n\n### 1. Resolve the pin\n- Locate the ledger page `\u003Cdocs_dir>\u002Finvariants\u002F\u003Cslug>.md` whose frontmatter `id` equals `\u003Cid>` (glob the concern dir; match on `id`, not filename guesswork). Zero or multiple matches → STOP with a BROKEN error.\n- Read the page. Parse frontmatter. Read the current `ratification`.\n\n### 2. Validate the transition\nLook up `(current_ratification, op)` in the allowed table. If absent → REFUSE with a clear message. Specific refusals:\n- `(observed, retire)` → \"Only a `ratified` invariant can be retired; an `observed` candidate is rejected, not retired.\"\n- `(ratified, ratify)` \u002F already in destination → \"INV-NNNN is already `${current}`; no-op refused.\"\n- any `rejected`\u002F`retired` source → \"The ratification lifecycle is forward-only out of `observed`\u002F`ratified`; a revived invariant is a new pin (`recover-invariants` or human authoring).\"\n\n### 3. Mutate ONLY the ratification frontmatter\n`${TODAY}` = today's date.\n- Set `ratification: \u003Cnew_state>` on the ledger page.\n- Do NOT touch `id`, `class`, `provenance`, `verification`, `related_adrs`, `related_briefs`, `checks`, or the body. Read the body bytes between the closing `---` and EOF and rewrite them identically.\n- Preserve frontmatter key order + formatting outside the one mutated key.\n\n### 4. Reconciliation consistency (audited write)\n- The reconciliation manifest (`docs\u002FAGENTS.md` §15.4) maps checks → pins and holds `last_result`. This skill does not change `last_result`, but on `reject`\u002F`retire` it MUST leave the reconciliation consistent: a `rejected`\u002F`retired` pin's checks are no longer durable-trusted. Do not delete checks (recovery\u002Fhuman owns the suite), but ensure `audit-docs` will not read a `rejected`\u002F`retired` pin as a live ratified one — the ledger `ratification` is the source of truth (§15.1), so the frontmatter change in §3 is sufficient; verify no reconciliation entry contradicts it (a check still mapped to the pin is fine; the pin's ratification governs the audit rules).\n- This is the bidirectional\u002Faudited half mirroring `transition-adr`'s supersession write: ledger + reconciliation must not disagree. If they would, STOP and surface (never leave drift).\n\n### 5. Update indexes\n- `\u003Cdocs_dir>\u002Finvariants\u002Findex.md`: update the pin's row (new ratification). The index **visibly marks** non-`ratified` pins (observed\u002Frejected\u002Fretired are not hidden — survey-debt must be legible).\n- `docs\u002Findex.md`: the `## Invariants (N)` count is unchanged on a transition (the pin still exists); update `_Last updated:`.\n\n### 6. Record the `invariant` operation\nWrite the entry through the log writer (`docs\u002FAGENTS.md` §6).[^log-writer] Write the body (pin id, class, the transition, one line) to a file outside the tree, then run:\n```\nuv run \"${CRUX_PLUGIN_ROOT}\u002Fscripts\u002Foperation-log.py\" append --repo-root \u003Crepo-root> \\\n  --op invariant --subject 'INV-NNNN: \u003Cold> → \u003Cnew>' --date YYYY-MM-DD --body-file \u003Cpath>\n```\nThe entry it writes at the top of the current month's detail file `docs\u002Flog\u002FYYYY-MM.md`:\n```\n## [YYYY-MM-DD] invariant | INV-NNNN: \u003Cold> → \u003Cnew>\n```\nThe `invariant` op is a first-class member of the `docs\u002FAGENTS.md` §6 op enum (both the current-writer and historical-reader regexes) — emit it directly. A refused append keeps this skill's other writes and adds no entry: fix the cause it names, then rerun the append alone (§6). Then run the commit step of §6 over the result's `commit_paths` and `restore_paths`.\n\n### 7. Hand off\nConfirm the new ratification + file path. Remind: recovery cannot reach `ratified` — this human act is the only path. For `ratify`, note the pin now participates in CHK-INV-DECORATION\u002FFAILING (it must have a resolvable, passing check or it becomes a detectable defect). For `retire`, note the pin is explicitly no longer enforced.\n\n## Verification checklist\n\n- [ ] Exactly one pin resolved by `id`.\n- [ ] The transition was one of the three allowed; any other refused with a clear message.\n- [ ] Ledger `ratification` equals the new state; **no other frontmatter field or body byte changed**.\n- [ ] Reconciliation and ledger do not disagree after the write.\n- [ ] `\u003Cdocs_dir>\u002Finvariants\u002Findex.md` row updated; the pin remains visibly marked if non-`ratified`.\n- [ ] `docs\u002Findex.md` `## Invariants (N)` count unchanged; `_Last updated:` bumped.\n- [ ] The current month's detail file `docs\u002Flog\u002FYYYY-MM.md` has the transition entry at the top, written by `operation-log.py append`.\n- [ ] No pin was ratified without an explicit human instruction (no auto\u002Fbatch ratify).\n\n## Red flags — STOP and reconsider\n\n- About to ratify without explicit human instruction (e.g. \"ratify all observed\"). The whole safety invariant is that ratification is a human, per-pin act. Refuse batch\u002Fauto ratify.\n- About to edit a pin's `class`, `provenance`, `checks`, or *why* body. This skill flips ONLY `ratification`.\n- About to move a pin back to `observed`, or out of `rejected`\u002F`retired`. Forward-only; a revived invariant is a new pin.\n- About to leave the reconciliation disagreeing with the ledger. Ledger wins; keep them consistent or STOP.\n- About to delete checks from `\u003Cdocs_dir>\u002Finvariants\u002Fchecks\u002F` on a reject\u002Fretire. Not this skill's job — the ledger ratification governs the audit; the suite is owned by recovery\u002Fhuman authoring.\n\n## Rationalization table\n\n| Excuse | Reality |\n|--------|---------|\n| \"The candidate is obviously a real invariant — I'll ratify it as part of recovery.\" | Recovery NEVER ratifies. `ratified` is reachable only by an explicit human transition. That is the safety invariant. |\n| \"I'll retire this observed pin nobody wants.\" | `observed` candidates are *rejected*, not retired. Retirement is for a previously-*ratified* pin you're explicitly ceasing to enforce. |\n| \"While flipping ratification I'll fix the pin's class.\" | This skill mutates only `ratification`. Class\u002Fprovenance\u002Fbody corrections are recovery\u002Fhuman-authoring's job. |\n| \"The reconciliation disagrees but the ledger looks right — I'll ship it.\" | Ledger wins, but you must not LEAVE drift. Reconcile or STOP; an audited write is both-or-neither. |\n\n## See also\n\n- `recover-invariants` — the machine that proposes `observed` pins this skill disposes of.\n- `transition-adr` — the ADR state machine this mirrors (frontmatter-only mutation, clear refusals, audited write).\n- `audit-docs` — the CHK-INV rules (`docs\u002FAGENTS.md` §15.5) that read the ratification this skill sets.\n- `docs\u002FAGENTS.md` §15 — the invariants-concern contract (ledger schema, axes, reconciliation, audit rules).\n\n[^log-writer]: rule:log-entries-go-through-the-log-writer, rule:no-writer-writes-the-legacy-log-file\n","# Transition Invariant\n\n\u003C!-- BEGIN GENERATED: runtime-compat -->\n## Runtime compatibility\n\nThis skill is portable across Claude Code, Codex, OpenCode, and OMP (Oh My Pi). This section overrides platform-specific labels below.\n\n- Before running a command that uses `CRUX_PLUGIN_ROOT`, set it to the installed plugin root. In Claude Code, use the value of `CLAUDE_PLUGIN_ROOT`. In Codex, OpenCode, and OMP, derive it from the absolute path of this selected `SKILL.md`: the plugin root is the parent of its `skills\u002F` directory (in OMP `bash`, `skill:\u002F\u002F\u003Cname>` resolves to the skill directory). In a source checkout, use the checkout `crux\u002F` directory.\n- For project-local skills, use `.claude\u002Fskills` in Claude Code, `.agents\u002Fskills` in Codex, `.opencode\u002Fskills` in OpenCode (which also reads the singular `.opencode\u002Fskill`), and `.omp\u002Fskills` in OMP. Set `CRUX_LOCAL_SKILLS_DIR` to that path before following any command below that uses it.\n- Translate Claude Code tool labels such as `Agent`, `Read`, `Write`, `Bash`, `WebSearch`, and `WebFetch` to the matching capability in the current session. Codex names its own capabilities; OpenCode uses the lowercase forms `subagent`, `read`, `edit`, `shell`, `websearch`, and `webfetch`, where `edit` covers both `Edit` and `Write`; OMP uses `task`, `read`, `edit`, `write`, `bash`, `grep`, `glob`, `find`, `todo`, and `web_search` (where `read` also handles URLs and `skill:\u002F\u002F` URIs). Do not attempt to invoke the Claude Code labels as literal commands on another host.\n- Install the generated role agents before delegating: `install-codex-agents` in Codex, `install-opencode-agents` in OpenCode, `install-omp-agents` in OMP. Codex names them `crux_architect`, `crux_brainstormer`, `crux_commander`, `crux_dev_lead`, `crux_developer`, `crux_historian`, `crux_librarian`, `crux_night_gardener`, `crux_reviewer`, and `crux_wayfinder`; OpenCode and OMP use the bare role names `architect`, `brainstormer`, `commander`, `dev-lead`, `developer`, `historian`, `librarian`, `night-gardener`, `reviewer`, and `wayfinder` (in OMP, `scout` may also be used for reconnaissance alongside `wayfinder`). If a required role or capability is unavailable, report that truthfully instead of claiming it ran.\n- Argument placeholders such as `$adr` and `$book` bind only in Claude Code. On a host without argument binding they are unset — take the value from the user's phrase. The \"Fields OpenCode ignores\" section of `OPENCODE_GUIDE.md` names the invocation-control fields OpenCode ignores.\n\u003C!-- END GENERATED: runtime-compat -->\n\n## Overview\n\nThe **ratification** state machine for invariant pins — the human gate of the machine-proposes\u002Fhuman-disposes model (see `docs\u002FAGENTS.md` §15.3). `recover-invariants` proposes pins as `ratification: observed`; **only this skill, driven by a human, disposes of them**. It is the invariants-concern sibling of `transition-adr`: it operates ONLY on the `ratification` frontmatter of an existing ledger page (and the reconciliation mapping when a check binding changes), and it never touches a pin's identity, `class`, `provenance`, or the *why* body.\n\nCore principle: **the state machine is the contract, and recovery cannot self-ratify.** Every transition that isn't explicitly allowed is refused with a clear error.\n\n```\nobserved ──ratify──▶ ratified ──retire──▶ retired\n   │\n   └──reject──▶ rejected\n```\n\nAllowed transitions, exhaustively:\n\n| From | Op | To | Notes |\n|------|-----|------|-----|\n| observed | ratify | ratified | A human affirms this is a real intended invariant. |\n| observed | reject | rejected | A human judges the recovered candidate is not an intended invariant. |\n| ratified | retire | retired | Explicit retirement — a pin you silently stop enforcing \"becomes a lie in the suite.\" |\n\nEverything else is **REFUSED** with an error naming the current ratification and the requested op. There is no path back into `observed` (that is `recover-invariants`' entry state only), and no `rejected`\u002F`retired` → anything.\n\n## When to use\n\n- User says: \"ratify invariant INV-NNNN\", \"reject invariant INV-NNNN\", \"retire invariant INV-NNNN\", \"transition invariant INV-NNNN\", \"accept this recovered invariant\".\n- Immediately after a human review of `observed` pins produced by `recover-invariants`.\n\nDo **not** use this skill for:\n- Creating a pin or emitting candidate checks — that's `recover-invariants` (machine).\n- Editing a pin's `class`, `provenance`, identity, or the *why* body — refuse. Recovery + human authoring own those; this skill flips ratification only.\n- Auto-ratifying on the machine's behalf. `ratified` is reachable ONLY by explicit human instruction; a batch\u002Fauto \"ratify all observed\" is refused.\n- Transitioning an ADR (that's `transition-adr`) or a brief (that's `transition-brief`).\n\n## Inputs\n\nSubcommand form: `transition-invariant \u003Cop> \u003Cid>` where `\u003Cop>` ∈ `ratify | reject | retire` and `\u003Cid>` is the pin id (e.g. `INV-0007`), with or without an artifact prefix (§14.3).\n\n## The pipeline\n\n### 0. Resolve per-repo configuration\nRun `python3 \"${CRUX_PLUGIN_ROOT}\u002Fscripts\u002Fbionic-config.py\"` (compat: `crux-config.py`) from the repo root; use the resolved `docs_dir` wherever this skill says `docs\u002F`, and accept prefixed ids. On exit 1, STOP and surface the error.\n\n### 1. Resolve the pin\n- Locate the ledger page `\u003Cdocs_dir>\u002Finvariants\u002F\u003Cslug>.md` whose frontmatter `id` equals `\u003Cid>` (glob the concern dir; match on `id`, not filename guesswork). Zero or multiple matches → STOP with a BROKEN error.\n- Read the page. Parse frontmatter. Read the current `ratification`.\n\n### 2. Validate the transition\nLook up `(current_ratification, op)` in the allowed table. If absent → REFUSE with a clear message. Specific refusals:\n- `(observed, retire)` → \"Only a `ratified` invariant can be retired; an `observed` candidate is rejected, not retired.\"\n- `(ratified, ratify)` \u002F already in destination → \"INV-NNNN is already `${current}`; no-op refused.\"\n- any `rejected`\u002F`retired` source → \"The ratification lifecycle is forward-only out of `observed`\u002F`ratified`; a revived invariant is a new pin (`recover-invariants` or human authoring).\"\n\n### 3. Mutate ONLY the ratification frontmatter\n`${TODAY}` = today's date.\n- Set `ratification: \u003Cnew_state>` on the ledger page.\n- Do NOT touch `id`, `class`, `provenance`, `verification`, `related_adrs`, `related_briefs`, `checks`, or the body. Read the body bytes between the closing `---` and EOF and rewrite them identically.\n- Preserve frontmatter key order + formatting outside the one mutated key.\n\n### 4. Reconciliation consistency (audited write)\n- The reconciliation manifest (`docs\u002FAGENTS.md` §15.4) maps checks → pins and holds `last_result`. This skill does not change `last_result`, but on `reject`\u002F`retire` it MUST leave the reconciliation consistent: a `rejected`\u002F`retired` pin's checks are no longer durable-trusted. Do not delete checks (recovery\u002Fhuman owns the suite), but ensure `audit-docs` will not read a `rejected`\u002F`retired` pin as a live ratified one — the ledger `ratification` is the source of truth (§15.1), so the frontmatter change in §3 is sufficient; verify no reconciliation entry contradicts it (a check still mapped to the pin is fine; the pin's ratification governs the audit rules).\n- This is the bidirectional\u002Faudited half mirroring `transition-adr`'s supersession write: ledger + reconciliation must not disagree. If they would, STOP and surface (never leave drift).\n\n### 5. Update indexes\n- `\u003Cdocs_dir>\u002Finvariants\u002Findex.md`: update the pin's row (new ratification). The index **visibly marks** non-`ratified` pins (observed\u002Frejected\u002Fretired are not hidden — survey-debt must be legible).\n- `docs\u002Findex.md`: the `## Invariants (N)` count is unchanged on a transition (the pin still exists); update `_Last updated:`.\n\n### 6. Record the `invariant` operation\nWrite the entry through the log writer (`docs\u002FAGENTS.md` §6).[^log-writer] Write the body (pin id, class, the transition, one line) to a file outside the tree, then run:\n```\nuv run \"${CRUX_PLUGIN_ROOT}\u002Fscripts\u002Foperation-log.py\" append --repo-root \u003Crepo-root> \\\n  --op invariant --subject 'INV-NNNN: \u003Cold> → \u003Cnew>' --date YYYY-MM-DD --body-file \u003Cpath>\n```\nThe entry it writes at the top of the current month's detail file `docs\u002Flog\u002FYYYY-MM.md`:\n```\n## [YYYY-MM-DD] invariant | INV-NNNN: \u003Cold> → \u003Cnew>\n```\nThe `invariant` op is a first-class member of the `docs\u002FAGENTS.md` §6 op enum (both the current-writer and historical-reader regexes) — emit it directly. A refused append keeps this skill's other writes and adds no entry: fix the cause it names, then rerun the append alone (§6). Then run the commit step of §6 over the result's `commit_paths` and `restore_paths`.\n\n### 7. Hand off\nConfirm the new ratification + file path. Remind: recovery cannot reach `ratified` — this human act is the only path. For `ratify`, note the pin now participates in CHK-INV-DECORATION\u002FFAILING (it must have a resolvable, passing check or it becomes a detectable defect). For `retire`, note the pin is explicitly no longer enforced.\n\n## Verification checklist\n\n- [ ] Exactly one pin resolved by `id`.\n- [ ] The transition was one of the three allowed; any other refused with a clear message.\n- [ ] Ledger `ratification` equals the new state; **no other frontmatter field or body byte changed**.\n- [ ] Reconciliation and ledger do not disagree after the write.\n- [ ] `\u003Cdocs_dir>\u002Finvariants\u002Findex.md` row updated; the pin remains visibly marked if non-`ratified`.\n- [ ] `docs\u002Findex.md` `## Invariants (N)` count unchanged; `_Last updated:` bumped.\n- [ ] The current month's detail file `docs\u002Flog\u002FYYYY-MM.md` has the transition entry at the top, written by `operation-log.py append`.\n- [ ] No pin was ratified without an explicit human instruction (no auto\u002Fbatch ratify).\n\n## Red flags — STOP and reconsider\n\n- About to ratify without explicit human instruction (e.g. \"ratify all observed\"). The whole safety invariant is that ratification is a human, per-pin act. Refuse batch\u002Fauto ratify.\n- About to edit a pin's `class`, `provenance`, `checks`, or *why* body. This skill flips ONLY `ratification`.\n- About to move a pin back to `observed`, or out of `rejected`\u002F`retired`. Forward-only; a revived invariant is a new pin.\n- About to leave the reconciliation disagreeing with the ledger. Ledger wins; keep them consistent or STOP.\n- About to delete checks from `\u003Cdocs_dir>\u002Finvariants\u002Fchecks\u002F` on a reject\u002Fretire. Not this skill's job — the ledger ratification governs the audit; the suite is owned by recovery\u002Fhuman authoring.\n\n## Rationalization table\n\n| Excuse | Reality |\n|--------|---------|\n| \"The candidate is obviously a real invariant — I'll ratify it as part of recovery.\" | Recovery NEVER ratifies. `ratified` is reachable only by an explicit human transition. That is the safety invariant. |\n| \"I'll retire this observed pin nobody wants.\" | `observed` candidates are *rejected*, not retired. Retirement is for a previously-*ratified* pin you're explicitly ceasing to enforce. |\n| \"While flipping ratification I'll fix the pin's class.\" | This skill mutates only `ratification`. Class\u002Fprovenance\u002Fbody corrections are recovery\u002Fhuman-authoring's job. |\n| \"The reconciliation disagrees but the ledger looks right — I'll ship it.\" | Ledger wins, but you must not LEAVE drift. Reconcile or STOP; an audited write is both-or-neither. |\n\n## See also\n\n- `recover-invariants` — the machine that proposes `observed` pins this skill disposes of.\n- `transition-adr` — the ADR state machine this mirrors (frontmatter-only mutation, clear refusals, audited write).\n- `audit-docs` — the CHK-INV rules (`docs\u002FAGENTS.md` §15.5) that read the ratification this skill sets.\n- `docs\u002FAGENTS.md` §15 — the invariants-concern contract (ledger schema, axes, reconciliation, audit rules).\n\n[^log-writer]: rule:log-entries-go-through-the-log-writer, rule:no-writer-writes-the-legacy-log-file\n",{"name":5,"metadata":24,"description":7,"disable-model-invocation":30},{"tags":25,"bundles":26,"triggers":27,"risk_level":28,"requires_access":29},"invariants, state-machine, ratification, human-gate","crux-docs","ratify invariant INV-NNNN | reject invariant INV-NNNN | retire invariant INV-NNNN | transition invariant","low","write-tree",true,"main","dd4f16e7ac12ff940790660ec897677284ae4b6d","crux\u002Fskills\u002Ftransition-invariant","https:\u002F\u002Fgithub.com\u002Fbionic-coding\u002Fcrux","https:\u002F\u002Fbionic-coding.com\u002Fcrux\u002F","https:\u002F\u002Fgithub.com\u002Fbionic-coding","https:\u002F\u002Fbionic-coding.com","Durable intent, disposable code.","2026-11-12 09:36:33",{"source":8,"skillName":5,"commands":41,"prompt":51,"zipAvailable":30},[42,45,48],{"tool":43,"command":44},"npx","npx skills add bionic-coding\u002Fcrux --skill transition-invariant",{"tool":46,"command":47},"bunx","bunx skills add bionic-coding\u002Fcrux --skill transition-invariant",{"tool":49,"command":50},"pnpm","pnpm dlx skills add bionic-coding\u002Fcrux --skill transition-invariant","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fbionic-coding\u002Fcrux\u002Fblob\u002Fmain\u002Fcrux\u002Fskills\u002Ftransition-invariant\u002FSKILL.md",[],[54,61,68,75,82,89],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7CA5PH4JT2V5WBTA5ZPJNS8","whiteboarding","Explore an idea through docs-informed dialogue before committing to a design. Capture the exploration for later filing as a brief.","https:\u002F\u002Fgithub.com\u002Fbionic-coding\u002Fcrux\u002Fblob\u002Fmain\u002Fcrux\u002Fskills\u002Fwhiteboarding\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7CA5GZPSVNJJZYQMF0JT3EH","verify-code-docs","Check generated code documentation against source and report drift without regenerating it.","https:\u002F\u002Fgithub.com\u002Fbionic-coding\u002Fcrux\u002Fblob\u002Fmain\u002Fcrux\u002Fskills\u002Fverify-code-docs\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7CA5A4HA73VF91N8VY6SDBN","transition-observation","Apply a human disposition to an observation's lifecycle state without changing its claim or body.","https:\u002F\u002Fgithub.com\u002Fbionic-coding\u002Fcrux\u002Fblob\u002Fmain\u002Fcrux\u002Fskills\u002Ftransition-observation\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7CA4Y2VC25NFZE0XJZ47VSX","transition-decision","Apply a human ratify, reject, or defer verdict to a recovered decision candidate; ratification creates a Proposed ADR or observation.","https:\u002F\u002Fgithub.com\u002Fbionic-coding\u002Fcrux\u002Fblob\u002Fmain\u002Fcrux\u002Fskills\u002Ftransition-decision\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7CA4QD9RFDC379VD9DNK90D","transition-brief","Publish or abandon a draft brief, updating lifecycle metadata and indexes without changing its body.","https:\u002F\u002Fgithub.com\u002Fbionic-coding\u002Fcrux\u002Fblob\u002Fmain\u002Fcrux\u002Fskills\u002Ftransition-brief\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M7CA4G9Z884TD07VBAQGCMNE","transition-adr","Accept, deprecate, supersede, or retract an existing ADR, or promote in-run guidance on the owner's instruction (\"promote ADR-NNNN: rules N\"). Update status and relationships without changing its narrative body.","https:\u002F\u002Fgithub.com\u002Fbionic-coding\u002Fcrux\u002Fblob\u002Fmain\u002Fcrux\u002Fskills\u002Ftransition-adr\u002FSKILL.md",[],[]]