[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CA5A4HA73VF91N8VY6SDBN":3,"skill-same:01M7CA5A4HA73VF91N8VY6SDBN":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},"01M7CA5A4HA73VF91N8VY6SDBN","transition-observation",null,"Apply a human disposition to an observation's lifecycle state without changing its claim or 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-observation\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: transition-observation\ndescription: \"Apply a human disposition to an observation's lifecycle state without changing its claim or body.\"\ndisable-model-invocation: true\nmetadata:\n  tags: \"observations, state-machine, ratification, human-gate\"\n  bundles: \"crux-docs\"\n  risk_level: \"low\"\n  requires_access: \"write-tree\"\n  triggers: \"ratify observation OBS-NNNN | reject observation OBS-NNNN | retire observation OBS-NNNN | mark observation OBS-NNNN decided | transition observation\"\n---\n\n# Transition Observation\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 **lifecycle** state machine for observation records — the human gate of the machine-proposes\u002Fhuman-disposes model (see `docs\u002FAGENTS.md` §17.2). `propose-observation` and `transition-decision ratify --as observation` write records as `status: observed`; **nothing but a human disposes of them**, through one of exactly two routes: this skill, the only single-record route, and `survey-signoff`, the only batch route (`docs\u002FAGENTS.md` §17.5). It is the observations-concern sibling of `transition-invariant`: it operates ONLY on the lifecycle frontmatter of an existing record, and it never touches the record's claim or its body.\n\nCore principle: **the state machine is the contract, and nothing but a human sets a state past `observed`.** Every transition that is not explicitly allowed is refused with a clear error.\n\n```\nobserved ──ratify──▶ ratified ──retire──▶ retired\n   │                     │\n   │                     └──decide──▶ decided\n   └──reject──▶ rejected\n```\n\nAllowed transitions, exhaustively (the §17.2 table):\n\n| From | Op | To | Notes |\n|------|-----|------|-----|\n| observed | ratify | ratified | A human affirms the record describes the code. |\n| observed | reject | rejected | A human judges the record wrong or not worth keeping. |\n| ratified | retire | retired | The code moved away from what the record describes. |\n| ratified | decide | decided | A human authored an ADR for the same rule; `decided_by` names it. |\n\nEverything else is **REFUSED** with an error naming the current status and the requested op. The lifecycle is forward-only: there is no path back into `observed` (that is the on-ramps' entry state only), and no `rejected`\u002F`retired`\u002F`decided` → anything. A revived observation is a new record.\n\n**The immutable claim.** A ratified record's claim never changes; `docs\u002FAGENTS.md` §17.2 names exactly which fields the claim spans, and this skill reads that list there rather than carrying a second copy. When a re-mine finds the same `anchor_id` carrying different text or different evidence, it opens a successor candidate; the human ratifies the successor and retires its predecessor here, or rejects it. Revision is not a state this gate admits.\n\n## When to use\n\n- User says: \"ratify observation OBS-NNNN\", \"reject observation OBS-NNNN\", \"retire observation OBS-NNNN\", \"mark observation OBS-NNNN decided\", \"transition observation OBS-NNNN\", \"this observation is now an ADR\".\n- Immediately after a human review of `observed` records produced by `propose-observation` or by `transition-decision ratify --as observation`.\n- After a re-mine reports a stale anchor: the code moved, and the human retires the record here. Anchor loss is a signal, never a transition.\n- After `propose-adr` records the same rule as a decision: `decide` links the record to the ADR as its provenance trail.\n\nDo **not** use this skill for:\n- Creating a record — that is `propose-observation` (reconstructed ramp) or `transition-decision ratify --as observation` (mined ramp).\n- Editing a record's claim (the fields `docs\u002FAGENTS.md` §17.2 names), its `id`, its `title`, or its body — refuse. A changed claim is a successor record, never an edit.\n- Auto-ratifying on the machine's behalf. `ratified` is reachable ONLY by explicit, per-record human instruction; a batch or automatic \"ratify all observed\" is refused. A human who wants to dispose of many records in one reading uses `survey-signoff`, the batch sign-off over a sheet they filled in (`docs\u002FAGENTS.md` §17.5) — a separate human gate, never this skill in a loop.\n- Transitioning an ADR (`transition-adr`), a brief (`transition-brief`), an invariant pin (`transition-invariant`), or a decision candidate (`transition-decision`).\n\n## Inputs\n\nSubcommand form: `transition-observation \u003Cop> \u003Cid>` where `\u003Cop>` ∈ `ratify | reject | retire | decide` and `\u003Cid>` is the record id (e.g. `OBS-0007`), with or without an artifact prefix (§14.3).\n\n- `--decided-by ADR-NNNN` — required for `decide`, refused for every other op. The id of the ADR that records this rule as a decision, with or without an artifact prefix.\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 record\n- Locate the file under `\u003Cdocs_dir>\u002Fobservations\u002F` whose frontmatter `id` equals `\u003Cid>` (glob the concern dir; match on `id`, not filename guesswork; accept the dual-form spelling `([A-Z][A-Z0-9]{1,9}-)?OBS-(\\d{4})`). Zero or multiple matches → STOP with a BROKEN error.\n- Read the file. Parse frontmatter. Read the current `status`.\n- The frontmatter contract is `docs\u002FAGENTS.md` §17.1; this skill reads the fields it mutates by name from there and restates none of it.\n\n### 2. Validate the transition\nLook up `(current_status, op)` in the allowed table. If absent → REFUSE with a message naming the current status and the requested op. Specific refusals:\n- `(observed, retire)` → \"Only a `ratified` observation can be retired; an `observed` record is rejected, not retired.\"\n- `(observed, decide)` → \"Only a `ratified` observation can be decided; ratify it first, or reject it.\"\n- `(ratified, ratify)` \u002F already in destination → \"OBS-NNNN is already `${current}`; no-op refused.\"\n- any `rejected`\u002F`retired`\u002F`decided` source → \"The observation lifecycle is forward-only out of `observed`\u002F`ratified`; a revived observation is a new record (`propose-observation` or `transition-decision ratify --as observation`).\"\n- a batch or wildcard id, or an instruction to ratify more than one record → REFUSE. Ratification is a per-record human act. Name the alternative in the refusal: a batch is reviewed on a sheet and signed by `survey-signoff`, never approximated by repeating this gate.\n\nOp-specific preconditions:\n- `ratify`: every `evidence` entry must resolve on disk. A ratified record that cites an unresolvable path is BROKEN under `docs\u002FAGENTS.md` §17.3 CHK-OBS-EVIDENCE, so refuse rather than ratify into a defect; name the path.\n- `decide`: `--decided-by` is required. Resolve it under `\u003Cdocs_dir>\u002Fadrs\u002F` **and** `\u003Cdocs_dir>\u002Fadrs\u002Farchive\u002F` by frontmatter `id` (dual-form spelling accepted). If no file resolves → REFUSE: \"`decide` requires an ADR that exists on disk; `${decided_by}` does not resolve.\" This gate never creates the ADR — that is `propose-adr`.\n\n### 3. Mutate ONLY the lifecycle frontmatter\n`${TODAY}` = today's date.\n- Set `status: \u003Cnew_state>`.\n- Set `date: ${TODAY}`.\n- Set the one `*_date` field that matches the new state to `${TODAY}` (§17.1 names it). Every other date field keeps its value.\n- On `decide` only: set `decided_by: ${decided_by}`.\n- Those are the ONLY keys this skill writes. **Every other frontmatter key, whatever §17.1 lists, keeps its bytes**, and so does every body byte between the closing `---` and EOF. State the rule this way round — an allow-list of four keys, not a deny-list of the rest — so a field added to §17.1 is immutable here by default rather than by a list somebody remembered to extend.\n- Preserve frontmatter key order + formatting outside the mutated keys.\n\n### 4. Successor consistency (audited write)\n- On `retire`, check whether a record in `observed` or `ratified` carries the same `anchor_id`. If one does, name it in the hand-off: the retirement makes it the sole live record on that anchor.\n- On `ratify`, if another `ratified` record carries the same `anchor_id`, STOP and surface it: two live claims on one anchor is the drift the immutable-claim rule exists to prevent. The human retires the predecessor first, then ratifies the successor.\n- The rule these two steps enforce is **CHK-OBS-ANCHOR**, stated in `docs\u002FAGENTS.md` §17.2\u002F§17.3 and checked by `check_observations.py`: `anchor_id` matches `^[0-9a-f]{16}$`, and no two `observed`\u002F`ratified` records share one. This skill applies it at write time; it does not own it, and it carries no second copy of it. The audit finds after the fact what this gate refuses beforehand — the same relationship `transition-invariant` has with its reconciliation check. If the write would leave two live claims on one anchor, STOP.\n\n### 5. Update indexes\n- `\u003Cdocs_dir>\u002Fobservations\u002Findex.md`: update the record's row (new status; `decided_by` where the index carries it). The index **visibly marks** non-`ratified` records (observed\u002Frejected\u002Fretired\u002Fdecided are not hidden — survey debt must be legible).\n- `docs\u002Findex.md`: the `## Observations (N)` count is unchanged on a transition (the record still exists); update `_Last updated:`.\n\n### 6. Record the `observation` operation\nWrite the entry through the log writer (`docs\u002FAGENTS.md` §6).[^log-writer] Write the body (record id, the transition, one line; on `decide`, the `decided_by` id) 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 observation --subject 'OBS-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] observation | OBS-NNNN: \u003Cold> → \u003Cnew>\n```\nThe `observation` op is a 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 status + file path. Remind: no scan, scaffold, or re-mine reaches `ratified`. Two human routes reach it and no third does — this skill is the only **single-record** route, and `survey-signoff` is the only **batch** route (`docs\u002FAGENTS.md` §17.5). For `ratify`, note the record's claim is now immutable.\n\nThen tell the user to regenerate both projections, in this order:\n\n```bash\nuv run \"${CRUX_PLUGIN_ROOT}\u002Fscripts\u002Fsummarize-adrs.py\"\nuv run \"${CRUX_PLUGIN_ROOT}\u002Fscripts\u002Fcompile-doctrine.py\"\n```\n\nBoth projections read the ratified observation records (field contract: `docs\u002FAGENTS.md` §17.1) and hash them, so `ratify`, `retire`, and `decide` each drift `\u003Cdocs_dir>\u002Fadrs\u002Fsummaries\u002F` and `\u003Cdocs_dir>\u002Fadrs\u002Fdoctrine\u002F`. The order is fixed because doctrine is compiled from the summaries projection. Skipping a step leaves drift that the matching `--dry-run` gate reports and that CI fails on — both jobs watch the observations concern.\n\nFor `retire` or `decide`, note the record's disposition; on `decide`, the summaries projection resolves the record's handle onto the deciding ADR's handles. For `retire`, name any successor candidate awaiting ratification.\n\n## Verification checklist\n\n- [ ] Exactly one record resolved by `id`.\n- [ ] The transition was one of the four allowed; any other refused with a message naming the current status and the op.\n- [ ] `status` equals the new state; `date` and the one matching `*_date` equal today; on `decide`, `decided_by` names an ADR that resolves on disk.\n- [ ] **No other frontmatter key and no body byte changed** — diff the file and confirm the only differing lines are `status`, `date`, the one matching `*_date`, and (on `decide`) `decided_by`.\n- [ ] No two live (`observed`\u002F`ratified`) records share an `anchor_id` after the write, or the write was refused.\n- [ ] `\u003Cdocs_dir>\u002Fobservations\u002Findex.md` row updated; the record remains visibly marked if non-`ratified`.\n- [ ] `docs\u002Findex.md` `## Observations (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 under the `observation` op, written by `operation-log.py append`.\n- [ ] No record was ratified without an explicit per-record human instruction (no auto\u002Fbatch ratify).\n- [ ] Any batch request was redirected to `survey-signoff` rather than served here one record at a time.\n\n## Red flags — STOP and reconsider\n\n- About to ratify without explicit human instruction (e.g. \"ratify all observed\", or ratifying inside a scan, a scaffold, or a cycle run). The whole safety property is that ratification is a human, per-record act. Refuse batch\u002Fauto ratify. Redirect a batch request to `survey-signoff`; a loop over this gate is not a batch sign-off and leaves no receipt.\n- About to edit a record's `governs`, `evidence`, `anchor_id`, `provenance`, or body \"while I'm in here\". This skill flips ONLY the lifecycle fields. A changed claim is a successor record.\n- About to move a record back to `observed`, or out of `rejected`\u002F`retired`\u002F`decided`. Forward-only; a revived observation is a new record.\n- About to `decide` against an ADR id that does not resolve on disk, or to create the ADR yourself. Refuse; `propose-adr` creates ADRs, and `decide` runs after it.\n- About to `retire` a record because a re-mine reported a stale anchor, without a human saying so. The signal is the machine's; the transition is the human's.\n- About to ratify a record whose `evidence` path no longer resolves. That ratifies into a BROKEN finding; refuse and name the path.\n- About to leave two `ratified` records on one `anchor_id`. Retire the predecessor first.\n\n## Rationalization table\n\n| Excuse | Reality |\n|--------|---------|\n| \"The record is obviously right — I'll ratify it as part of the scaffold \u002F the re-mine \u002F the cycle.\" | Nothing but a human sets a state past `observed`. `ratified` is reachable only by an explicit per-record transition. That is the safety property. |\n| \"I'll retire this observed record nobody wants.\" | `observed` records are *rejected*, not retired. Retirement is for a previously-*ratified* record whose code moved. |\n| \"The re-mine says the anchor is stale, so I'll retire it automatically.\" | Anchor loss is a signal, never a transition. The human retires through this gate. |\n| \"While flipping status I'll fix the rule text — it's slightly off.\" | The claim is immutable. A changed claim is a successor record: ratify the successor, retire the predecessor. |\n| \"The user wrote the ADR in their head — I'll `decide` now and they'll file it later.\" | `decide` requires an ADR that resolves on disk. `propose-adr` first; `decide` after. |\n| \"Twelve records look fine — I'll ratify them in one pass to save the user time.\" | One record, one instruction, one transition. A batch ratify is refused. The batch route exists and is `survey-signoff`: a human fills in a review sheet and signs it under one receipt. |\n\n## See also\n\n- `propose-observation` — the reconstructed on-ramp that writes `observed` records this skill disposes of.\n- `transition-decision` — the mined on-ramp (`ratify --as observation`) and the gate for decision candidates.\n- `recover-decisions` — the miner whose re-mine proposes successor candidates and stale-anchor signals, and never touches a record.\n- `survey-signoff` — the only batch route past `observed`: one human sign-off over one human-filled review sheet, under one digest-bound receipt.\n- `survey-sheet` — the scaffold that writes the review sheet `survey-signoff` signs.\n- `transition-invariant` — the invariants state machine this mirrors (frontmatter-only mutation, clear refusals, audited write).\n- `propose-adr` — creates the ADR a `decide` transition names.\n- `audit-docs` — the CHK-OBS rules (`docs\u002FAGENTS.md` §17.3) that read the status this skill sets.\n- `docs\u002FAGENTS.md` §17 — the observations-concern contract (§17.1 frontmatter schema, §17.2 lifecycle, writer boundary, and immutable claim, §17.3 audit rules).\n- The observation-record decision this implements (see the ADR log).\n\n[^log-writer]: rule:log-entries-go-through-the-log-writer, rule:no-writer-writes-the-legacy-log-file\n","# Transition Observation\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 **lifecycle** state machine for observation records — the human gate of the machine-proposes\u002Fhuman-disposes model (see `docs\u002FAGENTS.md` §17.2). `propose-observation` and `transition-decision ratify --as observation` write records as `status: observed`; **nothing but a human disposes of them**, through one of exactly two routes: this skill, the only single-record route, and `survey-signoff`, the only batch route (`docs\u002FAGENTS.md` §17.5). It is the observations-concern sibling of `transition-invariant`: it operates ONLY on the lifecycle frontmatter of an existing record, and it never touches the record's claim or its body.\n\nCore principle: **the state machine is the contract, and nothing but a human sets a state past `observed`.** Every transition that is not explicitly allowed is refused with a clear error.\n\n```\nobserved ──ratify──▶ ratified ──retire──▶ retired\n   │                     │\n   │                     └──decide──▶ decided\n   └──reject──▶ rejected\n```\n\nAllowed transitions, exhaustively (the §17.2 table):\n\n| From | Op | To | Notes |\n|------|-----|------|-----|\n| observed | ratify | ratified | A human affirms the record describes the code. |\n| observed | reject | rejected | A human judges the record wrong or not worth keeping. |\n| ratified | retire | retired | The code moved away from what the record describes. |\n| ratified | decide | decided | A human authored an ADR for the same rule; `decided_by` names it. |\n\nEverything else is **REFUSED** with an error naming the current status and the requested op. The lifecycle is forward-only: there is no path back into `observed` (that is the on-ramps' entry state only), and no `rejected`\u002F`retired`\u002F`decided` → anything. A revived observation is a new record.\n\n**The immutable claim.** A ratified record's claim never changes; `docs\u002FAGENTS.md` §17.2 names exactly which fields the claim spans, and this skill reads that list there rather than carrying a second copy. When a re-mine finds the same `anchor_id` carrying different text or different evidence, it opens a successor candidate; the human ratifies the successor and retires its predecessor here, or rejects it. Revision is not a state this gate admits.\n\n## When to use\n\n- User says: \"ratify observation OBS-NNNN\", \"reject observation OBS-NNNN\", \"retire observation OBS-NNNN\", \"mark observation OBS-NNNN decided\", \"transition observation OBS-NNNN\", \"this observation is now an ADR\".\n- Immediately after a human review of `observed` records produced by `propose-observation` or by `transition-decision ratify --as observation`.\n- After a re-mine reports a stale anchor: the code moved, and the human retires the record here. Anchor loss is a signal, never a transition.\n- After `propose-adr` records the same rule as a decision: `decide` links the record to the ADR as its provenance trail.\n\nDo **not** use this skill for:\n- Creating a record — that is `propose-observation` (reconstructed ramp) or `transition-decision ratify --as observation` (mined ramp).\n- Editing a record's claim (the fields `docs\u002FAGENTS.md` §17.2 names), its `id`, its `title`, or its body — refuse. A changed claim is a successor record, never an edit.\n- Auto-ratifying on the machine's behalf. `ratified` is reachable ONLY by explicit, per-record human instruction; a batch or automatic \"ratify all observed\" is refused. A human who wants to dispose of many records in one reading uses `survey-signoff`, the batch sign-off over a sheet they filled in (`docs\u002FAGENTS.md` §17.5) — a separate human gate, never this skill in a loop.\n- Transitioning an ADR (`transition-adr`), a brief (`transition-brief`), an invariant pin (`transition-invariant`), or a decision candidate (`transition-decision`).\n\n## Inputs\n\nSubcommand form: `transition-observation \u003Cop> \u003Cid>` where `\u003Cop>` ∈ `ratify | reject | retire | decide` and `\u003Cid>` is the record id (e.g. `OBS-0007`), with or without an artifact prefix (§14.3).\n\n- `--decided-by ADR-NNNN` — required for `decide`, refused for every other op. The id of the ADR that records this rule as a decision, with or without an artifact prefix.\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 record\n- Locate the file under `\u003Cdocs_dir>\u002Fobservations\u002F` whose frontmatter `id` equals `\u003Cid>` (glob the concern dir; match on `id`, not filename guesswork; accept the dual-form spelling `([A-Z][A-Z0-9]{1,9}-)?OBS-(\\d{4})`). Zero or multiple matches → STOP with a BROKEN error.\n- Read the file. Parse frontmatter. Read the current `status`.\n- The frontmatter contract is `docs\u002FAGENTS.md` §17.1; this skill reads the fields it mutates by name from there and restates none of it.\n\n### 2. Validate the transition\nLook up `(current_status, op)` in the allowed table. If absent → REFUSE with a message naming the current status and the requested op. Specific refusals:\n- `(observed, retire)` → \"Only a `ratified` observation can be retired; an `observed` record is rejected, not retired.\"\n- `(observed, decide)` → \"Only a `ratified` observation can be decided; ratify it first, or reject it.\"\n- `(ratified, ratify)` \u002F already in destination → \"OBS-NNNN is already `${current}`; no-op refused.\"\n- any `rejected`\u002F`retired`\u002F`decided` source → \"The observation lifecycle is forward-only out of `observed`\u002F`ratified`; a revived observation is a new record (`propose-observation` or `transition-decision ratify --as observation`).\"\n- a batch or wildcard id, or an instruction to ratify more than one record → REFUSE. Ratification is a per-record human act. Name the alternative in the refusal: a batch is reviewed on a sheet and signed by `survey-signoff`, never approximated by repeating this gate.\n\nOp-specific preconditions:\n- `ratify`: every `evidence` entry must resolve on disk. A ratified record that cites an unresolvable path is BROKEN under `docs\u002FAGENTS.md` §17.3 CHK-OBS-EVIDENCE, so refuse rather than ratify into a defect; name the path.\n- `decide`: `--decided-by` is required. Resolve it under `\u003Cdocs_dir>\u002Fadrs\u002F` **and** `\u003Cdocs_dir>\u002Fadrs\u002Farchive\u002F` by frontmatter `id` (dual-form spelling accepted). If no file resolves → REFUSE: \"`decide` requires an ADR that exists on disk; `${decided_by}` does not resolve.\" This gate never creates the ADR — that is `propose-adr`.\n\n### 3. Mutate ONLY the lifecycle frontmatter\n`${TODAY}` = today's date.\n- Set `status: \u003Cnew_state>`.\n- Set `date: ${TODAY}`.\n- Set the one `*_date` field that matches the new state to `${TODAY}` (§17.1 names it). Every other date field keeps its value.\n- On `decide` only: set `decided_by: ${decided_by}`.\n- Those are the ONLY keys this skill writes. **Every other frontmatter key, whatever §17.1 lists, keeps its bytes**, and so does every body byte between the closing `---` and EOF. State the rule this way round — an allow-list of four keys, not a deny-list of the rest — so a field added to §17.1 is immutable here by default rather than by a list somebody remembered to extend.\n- Preserve frontmatter key order + formatting outside the mutated keys.\n\n### 4. Successor consistency (audited write)\n- On `retire`, check whether a record in `observed` or `ratified` carries the same `anchor_id`. If one does, name it in the hand-off: the retirement makes it the sole live record on that anchor.\n- On `ratify`, if another `ratified` record carries the same `anchor_id`, STOP and surface it: two live claims on one anchor is the drift the immutable-claim rule exists to prevent. The human retires the predecessor first, then ratifies the successor.\n- The rule these two steps enforce is **CHK-OBS-ANCHOR**, stated in `docs\u002FAGENTS.md` §17.2\u002F§17.3 and checked by `check_observations.py`: `anchor_id` matches `^[0-9a-f]{16}$`, and no two `observed`\u002F`ratified` records share one. This skill applies it at write time; it does not own it, and it carries no second copy of it. The audit finds after the fact what this gate refuses beforehand — the same relationship `transition-invariant` has with its reconciliation check. If the write would leave two live claims on one anchor, STOP.\n\n### 5. Update indexes\n- `\u003Cdocs_dir>\u002Fobservations\u002Findex.md`: update the record's row (new status; `decided_by` where the index carries it). The index **visibly marks** non-`ratified` records (observed\u002Frejected\u002Fretired\u002Fdecided are not hidden — survey debt must be legible).\n- `docs\u002Findex.md`: the `## Observations (N)` count is unchanged on a transition (the record still exists); update `_Last updated:`.\n\n### 6. Record the `observation` operation\nWrite the entry through the log writer (`docs\u002FAGENTS.md` §6).[^log-writer] Write the body (record id, the transition, one line; on `decide`, the `decided_by` id) 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 observation --subject 'OBS-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] observation | OBS-NNNN: \u003Cold> → \u003Cnew>\n```\nThe `observation` op is a 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 status + file path. Remind: no scan, scaffold, or re-mine reaches `ratified`. Two human routes reach it and no third does — this skill is the only **single-record** route, and `survey-signoff` is the only **batch** route (`docs\u002FAGENTS.md` §17.5). For `ratify`, note the record's claim is now immutable.\n\nThen tell the user to regenerate both projections, in this order:\n\n```bash\nuv run \"${CRUX_PLUGIN_ROOT}\u002Fscripts\u002Fsummarize-adrs.py\"\nuv run \"${CRUX_PLUGIN_ROOT}\u002Fscripts\u002Fcompile-doctrine.py\"\n```\n\nBoth projections read the ratified observation records (field contract: `docs\u002FAGENTS.md` §17.1) and hash them, so `ratify`, `retire`, and `decide` each drift `\u003Cdocs_dir>\u002Fadrs\u002Fsummaries\u002F` and `\u003Cdocs_dir>\u002Fadrs\u002Fdoctrine\u002F`. The order is fixed because doctrine is compiled from the summaries projection. Skipping a step leaves drift that the matching `--dry-run` gate reports and that CI fails on — both jobs watch the observations concern.\n\nFor `retire` or `decide`, note the record's disposition; on `decide`, the summaries projection resolves the record's handle onto the deciding ADR's handles. For `retire`, name any successor candidate awaiting ratification.\n\n## Verification checklist\n\n- [ ] Exactly one record resolved by `id`.\n- [ ] The transition was one of the four allowed; any other refused with a message naming the current status and the op.\n- [ ] `status` equals the new state; `date` and the one matching `*_date` equal today; on `decide`, `decided_by` names an ADR that resolves on disk.\n- [ ] **No other frontmatter key and no body byte changed** — diff the file and confirm the only differing lines are `status`, `date`, the one matching `*_date`, and (on `decide`) `decided_by`.\n- [ ] No two live (`observed`\u002F`ratified`) records share an `anchor_id` after the write, or the write was refused.\n- [ ] `\u003Cdocs_dir>\u002Fobservations\u002Findex.md` row updated; the record remains visibly marked if non-`ratified`.\n- [ ] `docs\u002Findex.md` `## Observations (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 under the `observation` op, written by `operation-log.py append`.\n- [ ] No record was ratified without an explicit per-record human instruction (no auto\u002Fbatch ratify).\n- [ ] Any batch request was redirected to `survey-signoff` rather than served here one record at a time.\n\n## Red flags — STOP and reconsider\n\n- About to ratify without explicit human instruction (e.g. \"ratify all observed\", or ratifying inside a scan, a scaffold, or a cycle run). The whole safety property is that ratification is a human, per-record act. Refuse batch\u002Fauto ratify. Redirect a batch request to `survey-signoff`; a loop over this gate is not a batch sign-off and leaves no receipt.\n- About to edit a record's `governs`, `evidence`, `anchor_id`, `provenance`, or body \"while I'm in here\". This skill flips ONLY the lifecycle fields. A changed claim is a successor record.\n- About to move a record back to `observed`, or out of `rejected`\u002F`retired`\u002F`decided`. Forward-only; a revived observation is a new record.\n- About to `decide` against an ADR id that does not resolve on disk, or to create the ADR yourself. Refuse; `propose-adr` creates ADRs, and `decide` runs after it.\n- About to `retire` a record because a re-mine reported a stale anchor, without a human saying so. The signal is the machine's; the transition is the human's.\n- About to ratify a record whose `evidence` path no longer resolves. That ratifies into a BROKEN finding; refuse and name the path.\n- About to leave two `ratified` records on one `anchor_id`. Retire the predecessor first.\n\n## Rationalization table\n\n| Excuse | Reality |\n|--------|---------|\n| \"The record is obviously right — I'll ratify it as part of the scaffold \u002F the re-mine \u002F the cycle.\" | Nothing but a human sets a state past `observed`. `ratified` is reachable only by an explicit per-record transition. That is the safety property. |\n| \"I'll retire this observed record nobody wants.\" | `observed` records are *rejected*, not retired. Retirement is for a previously-*ratified* record whose code moved. |\n| \"The re-mine says the anchor is stale, so I'll retire it automatically.\" | Anchor loss is a signal, never a transition. The human retires through this gate. |\n| \"While flipping status I'll fix the rule text — it's slightly off.\" | The claim is immutable. A changed claim is a successor record: ratify the successor, retire the predecessor. |\n| \"The user wrote the ADR in their head — I'll `decide` now and they'll file it later.\" | `decide` requires an ADR that resolves on disk. `propose-adr` first; `decide` after. |\n| \"Twelve records look fine — I'll ratify them in one pass to save the user time.\" | One record, one instruction, one transition. A batch ratify is refused. The batch route exists and is `survey-signoff`: a human fills in a review sheet and signs it under one receipt. |\n\n## See also\n\n- `propose-observation` — the reconstructed on-ramp that writes `observed` records this skill disposes of.\n- `transition-decision` — the mined on-ramp (`ratify --as observation`) and the gate for decision candidates.\n- `recover-decisions` — the miner whose re-mine proposes successor candidates and stale-anchor signals, and never touches a record.\n- `survey-signoff` — the only batch route past `observed`: one human sign-off over one human-filled review sheet, under one digest-bound receipt.\n- `survey-sheet` — the scaffold that writes the review sheet `survey-signoff` signs.\n- `transition-invariant` — the invariants state machine this mirrors (frontmatter-only mutation, clear refusals, audited write).\n- `propose-adr` — creates the ADR a `decide` transition names.\n- `audit-docs` — the CHK-OBS rules (`docs\u002FAGENTS.md` §17.3) that read the status this skill sets.\n- `docs\u002FAGENTS.md` §17 — the observations-concern contract (§17.1 frontmatter schema, §17.2 lifecycle, writer boundary, and immutable claim, §17.3 audit rules).\n- The observation-record decision this implements (see the ADR log).\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},"observations, state-machine, ratification, human-gate","crux-docs","ratify observation OBS-NNNN | reject observation OBS-NNNN | retire observation OBS-NNNN | mark observation OBS-NNNN decided | transition observation","low","write-tree",true,"main","dd4f16e7ac12ff940790660ec897677284ae4b6d","crux\u002Fskills\u002Ftransition-observation","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-observation",{"tool":46,"command":47},"bunx","bunx skills add bionic-coding\u002Fcrux --skill transition-observation",{"tool":49,"command":50},"pnpm","pnpm dlx skills add bionic-coding\u002Fcrux --skill transition-observation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fbionic-coding\u002Fcrux\u002Fblob\u002Fmain\u002Fcrux\u002Fskills\u002Ftransition-observation\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},"01M7CA53X1ESGWKTPCEQ55JWEZ","transition-invariant","Ratify, reject, or retire an invariant on human direction. Update lifecycle metadata without changing the invariant's body.","https:\u002F\u002Fgithub.com\u002Fbionic-coding\u002Fcrux\u002Fblob\u002Fmain\u002Fcrux\u002Fskills\u002Ftransition-invariant\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",[],[]]