[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CA1KTYS6N4CV0JBEPXK927":3,"skill-same:01M7CA1KTYS6N4CV0JBEPXK927":54},{"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":32,"commitSha":33,"skillDirectory":34,"forksCount":14,"repositoryHtmlUrl":35,"repositoryHomepageUrl":36,"ownerHtmlUrl":37,"ownerBlogUrl":38,"ownerDescription":39,"updatedAt":40,"install":41,"resources":53},"01M7CA1KTYS6N4CV0JBEPXK927","reconcile-signoff",null,"Record a human verdict on one invariant–rule reconciliation. Never choose the verdict or sign multiple pairings together.","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\u002Freconcile-signoff\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: reconcile-signoff\ndescription: \"Record a human verdict on one invariant–rule reconciliation. Never choose the verdict or sign multiple pairings together.\"\ndisable-model-invocation: true\nmetadata:\n  tags: \"doctrine, reconciliation, invariants, human-gate\"\n  bundles: \"crux-docs\"\n  risk_level: \"medium\"\n  requires_access: \"write-tree\"\n  triggers: \"sign off the reconciliation | reconcile INV-NNNN with ADR-NNNN | record the reconciliation verdict | this invariant is compatible with | mark the collision between\"\n  routing_note: \"The single human write path for one doctrine reconciliation pairing: renders the invariant text and the rule text, takes the verdict (compatible | reconciled | collision) and rationale from the user, then upserts a digest-bound record and re-compiles doctrine on explicit confirmation. Human gate — excluded from run-execution autonomy; carries `disable-model-invocation`. Never chooses a verdict; never batch-signs.\"\n---\n\n# Reconcile Sign-off\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 **human sign-off** for one doctrine reconciliation pairing. A doctrine domain renders its belief only when every structurally-declared (ratified-invariant, governing-rule) pairing in it has a digest-current verdict of `compatible` or `reconciled` in the reconciliation ledger. This skill is the ONE write path over that ledger, `\u003Cdocs_dir>\u002Fadrs\u002Fdoctrine\u002Freconciliations.yml`, driven by `scripts\u002Fsignoff-reconciliation.py`. It is the doctrine layer's sibling of `backfill-signoff`: one human gate, an audited write, and a refusal for every state it does not recognize.\n\n**The interpretive judgment is the human's, not the model's.** Do a ratified invariant and a governing rule conflict? The script renders both texts verbatim; the **user** reads them and states the verdict. The three verdicts:\n\n- **compatible** — the two texts do not conflict.\n- **reconciled** — the two texts *appear* to conflict, but a human asserts they are in fact compatible, under an attached rationale (`--rationale` is REQUIRED).\n- **collision** — they conflict. This blocks the domain's belief until the deciding ADR or the invariant is revised.\n\nThe record binds the **current live content digest** — a SHA-256 over the invariant ledger page's `## The invariant` text and the rule text, space-folded. A later edit to either text moves the digest and re-gates the pairing (digest-stale, BROKEN) until it is re-adjudicated against the settled texts. Re-signing an unchanged pairing to the same verdict is an idempotent no-op.\n\n**Excluded from run-execution autonomy — a human gate.** Like `backfill-signoff` and `escalate-arch-runtime`, a running promptbook or dev-cycle must NOT invoke this skill unattended. Its writes are reversible in-repo edits, which a started run otherwise treats as pre-authorized — but that default does not reach here, because the authorization this skill needs is a human reading the two texts and choosing a verdict, and no run plan can pre-supply that. A run that reaches a reconciliation-sign-off step STOPS and hands the pairing to the user. This skill also carries `disable-model-invocation: true`, so the model never auto-selects it; the user invokes it by name.\n\n## Migration disposition for one signed historical pairing\n\nUse this explicit mode when a reviewed migration entry affects an existing\nsigned pairing. Ordinary reconciliation commands and verdicts retain their\nexisting meaning. A migration disposition preserves the signed history and\nrecords the human's instruction for this specific entry.[^migration-disposition]\n\nFirst render a concrete proposal without writing:\n\n```bash\nuv run \"${CRUX_PLUGIN_ROOT}\u002Fscripts\u002Fsignoff-reconciliation.py\" \\\n  --migration-disposition \u003Cbatch-path> --source-identity \u003Cclause-identity> \\\n  --invariant \u003Cslot-A> --handle \u003Cold-handle> --dry-run --repo-root \u003Crepo-root>\n```\n\nRead the proposal before asking the human. Show the member text, old rule text,\nold signed verdict, text digest, normalized row digest, and raw ledger digest.\nShow the complete migration entry and its digest, historical destination,\nsurviving obligations, replacement texts, and each replacement's signature.\nRefusal requires repair before this proposal can be signed. A missing structural\npairing seed requires the ordinary governing process; never invent a seed.\n\nObtain a verbatim explicit human instruction to preserve this one signed\nhistorical pairing and migrate this specific entry. Obtain the human's rationale\nfor that disposition. General run approval, council approval, OpenRouter consent,\nand a reconciliation rationale supply no migration verdict. Never infer the\ninstruction from a rationale token or approve several pairings together.\nReplacement compatibility requires its own ordinary human verdict against its\nown texts. The old verdict never transfers to a replacement.\n\nAfter that human reading and instruction, record the receipt:\n\n```bash\nuv run \"${CRUX_PLUGIN_ROOT}\u002Fscripts\u002Fsignoff-reconciliation.py\" \\\n  --migration-disposition \u003Cbatch-path> --source-identity \u003Cclause-identity> \\\n  --invariant \u003Cslot-A> --handle \u003Cold-handle> \\\n  --human-instruction \u003Cverbatim-human-instruction> --rationale \u003Chuman-rationale> \\\n  [--date YYYY-MM-DD] --repo-root \u003Crepo-root>\n```\n\nThe writer creates one immutable content-addressed receipt under the configured\n`adrs\u002Fmigrations\u002Fdispositions\u002F` directory. It preserves ledger and projection\nbytes. Exact replay is a no-op; conflicting content refuses. Give the resulting\npath and SHA-256 to the migration batch author for its `signed_dispositions`\nreferences. Council reviews the final batch including those references; a\nreceipt alone supplies no migration authority. Human instructions in the receipt\nare recorded local evidence, without a claim of cryptographic authentication.\n\nThis mode remains a human gate. Implementing or testing the producer in synthetic\nfixtures supplies no real human disposition. A real migration waits for the\nspecific instruction and rationale after the proposal is ready.\n\n[^migration-disposition]: rule:authority-migration-is-reviewed-and-source-bound\n\n## When to use\n\n- The user says: \"sign off the reconciliation\", \"reconcile INV-NNNN with ADR-NNNN\", \"record the reconciliation verdict\", \"this invariant is compatible with\", \"mark the collision between\".\n- A doctrine domain rendered **BROKEN** because a pairing is un-adjudicated, and the user is ready to read the texts and decide.\n- A pairing went **digest-stale** after the ADR or invariant text moved, and the user is ready to re-adjudicate against the settled texts.\n\nDo **not** use this skill for:\n- Choosing a verdict on the user's behalf — the verdict is a human judgment; this skill only renders, validates, and writes.\n- Regenerating doctrine as a whole — that is `compile-doctrine`. This skill re-compiles doctrine *inside its own write set* after a sign, because the ledger is a compile input; it is not the general doctrine regenerator.\n- Transitioning an invariant pin (that is `transition-invariant`) or an ADR (that is `transition-adr`).\n- Hand-editing `reconciliations.yml` — refuse. This script is the only write path; a foreign edit red-gates the doctrine drift check and skips the human signature.\n\n## Prerequisites\n\n1. The tree exists and `\u003Cdocs_dir>\u002Fmanifest.yml` is present.\n2. The repo root is resolved (step 0 below).\n3. The invariant is **ratified** and the pairing is a real candidate — the script enforces both (an `observed` invariant, an unknown handle, or a pairing whose invariant does not structurally link to the rule's ADR is refused). You do not pre-check these; you read the script's findings.\n\n## The pipeline\n\n### 0. Resolve per-repo configuration (.bionic.yml)\n\nRun `python3 \"${CRUX_PLUGIN_ROOT}\u002Fscripts\u002Fbionic-config.py\"` from the repo root. On exit 1, STOP and surface the `{\"error\": ...}` payload. Use the returned `docs_dir` wherever this skill says `\u003Cdocs_dir>` (default `bionic`).\n\n### 1. List the pending pairings\n\nThe pending pairings are read from the compiled doctrine index, `\u003Cdocs_dir>\u002Fadrs\u002Fdoctrine\u002Findex.md`. A pairing that needs a human is rendered there like this (the marker is derived from `compile-doctrine.py`'s output shape, which documents it nowhere else):\n\n- Its domain heading ends in **`— BROKEN`**, and the domain carries a `> **BROKEN**` blockquote.\n- Under that domain's `_Reconciliation against ratified invariants:_` table, a row `| INV-NNNN | ADR-NNNN\u002F\u003Cslug> | \u003Cstatus> |` whose **status is `un-adjudicated`** (never signed), **`digest-stale`** (signed, but a text moved since), or **`collision`** (signed as conflicting).\n\nRead the invariant id and the governing handle straight from that row. A row whose status is `compatible` or `reconciled` needs no sign-off. List every pending pairing to the user. If none are pending, say so and STOP — there is nothing to sign.\n\n### 2. Dry-run render — show the two texts\n\nFor the chosen pairing, run the render (which writes nothing):\n\n```bash\nuv run \"${CRUX_PLUGIN_ROOT}\u002Fscripts\u002Fsignoff-reconciliation.py\" \\\n  --invariant INV-NNNN --handle ADR-NNNN\u002F\u003Cslug> --verdict \u003Cverdict> [--rationale TEXT] --dry-run --repo-root \u003Crepo-root>\n```\n\nThe render prints the invariant text verbatim (from `## The invariant`), the rule text verbatim (from the ADR's `governs` block), the live content digest, and the validation report. On a pairing the script would refuse (unknown handle, unratified invariant, missing rationale for `reconciled`, a non-candidate pairing), the render still prints FIRST, then the findings, then exits 1 — read the findings and STOP; do not sign a refused pairing.\n\n### 3. THE USER READS THE TWO TEXTS AND CHOOSES THE VERDICT\n\nPresent both texts to the user and collect the verdict — and, for `reconciled`, the rationale — **from the user**. Do NOT infer or choose a verdict yourself. Do NOT batch several pairings into one decision; each pairing is read and decided on its own. This reading IS the human judgment the doctrine gate exists to require; there is no shortcut.\n\n- `reconciled` requires a rationale (the human's assertion that two apparently-conflicting texts are in fact compatible). The script refuses `reconciled` with no `--rationale`, and refuses a rationale on any other verdict.\n\n### 4. Sign — only on explicit confirmation\n\nAfter the user confirms the verdict (and rationale) for this one pairing, run the real sign:\n\n```bash\nuv run \"${CRUX_PLUGIN_ROOT}\u002Fscripts\u002Fsignoff-reconciliation.py\" \\\n  --invariant INV-NNNN --handle ADR-NNNN\u002F\u003Cslug> --verdict \u003Cverdict> [--rationale TEXT] [--date YYYY-MM-DD] --repo-root \u003Crepo-root>\n```\n\nThe script validates fail-closed, upserts the digest-bound record into `reconciliations.yml` (the ledger is machine-written in full, canonical and sorted), then **re-compiles doctrine inside its own write set** (the ledger is a compile input, so a sign without the re-compile would red the drift gate) and runs the drift check behind it. An unchanged re-sign is a reported no-op. Exit 0 signed \u002F no-op; exit 1 findings (JSON on stdout); exit 2 environment\u002Fcrash (stderr).\n\n### 5. Confirm the post-gate is green\n\nThe script's output ends with the post-gate lines: `compile-doctrine re-derived N files` and `compile-doctrine --dry-run clean`. If the post-gate is red (the ledger write landed but the re-compile is dirty or crashed), the script says so loudly and returns non-zero — surface it and remediate before the next sign-off. Do not work around a red post-gate by hand-editing any surface.\n\n### 6. Record the `adr` operation\n\nThe sign-off changes doctrine state, so record it. Doctrine is an `adrs\u002F` projection, so it rides the `adr` op (there is no dedicated reconciliation op in the enum). Write the entry through the log writer (`\u003Cdocs_dir>\u002FAGENTS.md` §6).[^log-writer] Write the body below to a file outside the tree, then run:\n\n```\nuv run \"${CRUX_PLUGIN_ROOT}\u002Fscripts\u002Foperation-log.py\" append --repo-root \u003Crepo-root> \\\n  --op adr --subject 'reconcile-signoff (INV-NNNN x ADR-NNNN\u002F\u003Cslug> = \u003Cverdict>)' --date YYYY-MM-DD --body-file \u003Cpath>\n```\n\nThe entry it writes at the top of the current month's detail file `\u003Cdocs_dir>\u002Flog\u002FYYYY-MM.md`:\n\n```\n## [YYYY-MM-DD] adr | reconcile-signoff (INV-NNNN x ADR-NNNN\u002F\u003Cslug> = \u003Cverdict>)\n```\n\nBody, 1–3 lines: the pairing, the verdict, and the resulting domain state (believed \u002F still BROKEN with the remaining pending pairings). On a no-op re-sign, record it as a no-op.\n\nA refused append keeps the sign-off's other writes and adds no entry. It refuses for one of three causes: the entry's own body or heading fails validation, a tree fault that names its own fix, or another writer's concurrent change. Fix the named cause, then rerun the append alone (§6).\n\nThen run the commit step of §6, whatever the append's status, because a refused append can still have repaired the operations log:\n\n1. When `restore_paths` is not empty, run `git restore --staged --quiet -- \u003Crestore_paths>`.\n2. When `commit_paths` is not empty, run `git add -- \u003Ccommit_paths>` and then `git commit --only -- \u003Ccommit_paths>`.\n\nThis step commits the log paths only.\n\n### 7. Hand-off\n\nReport the pairing, the signed verdict and date, and the domain's resulting state. If other pairings in the same domain are still pending, name them — the domain renders its belief only when every pairing in it clears.\n\n## Red flags — STOP and reconsider\n\n- About to choose a verdict for the user. NEVER — the verdict is the human judgment this gate exists to capture. Render the texts and ask.\n- About to sign without a dry-run render **in this session**. The rendered texts are the attestation; signing unread is gate-washing.\n- About to batch-sign several pairings in one decision. NEVER — one pairing, one reading, one verdict. Each has its own texts.\n- About to hand-edit `reconciliations.yml`, `adrs\u002Fdoctrine\u002Findex.md`, or `_meta.json` to record or clear a verdict. NEVER — this script is the only write path; a foreign edit red-gates the drift check and skips the signature.\n- About to run this skill unattended inside a promptbook or dev-cycle. NEVER — it is a human gate, excluded from run-execution autonomy; hand the pairing to the user.\n- About to sign a `reconciled` verdict with no rationale, or attach a rationale to a `compatible`\u002F`collision` verdict. The script refuses both — provide the rationale for `reconciled`, and only there.\n- About to leave a red post-gate after a landed sign. Remediate before the next sign-off; do not paper over it.\n\n## Rationalization table\n\n| Excuse | Reality |\n|---|---|\n| \"The two texts obviously don't conflict — I'll just sign it compatible.\" | The verdict is the human's. Render the texts, present them, and let the user decide. Signing on the model's read defeats the gate. |\n| \"Three pairings are pending in this domain — sign them all at once.\" | Each pairing is a distinct (invariant, rule) text pair. Read and decide each on its own; there is no batch verdict. |\n| \"I'll add the record straight to `reconciliations.yml` to save a round-trip.\" | The ledger has ONE write path. A hand-edit red-gates the doctrine drift check and records a verdict nobody signed. |\n| \"A dev-cycle reached a sign-off step; the run authorizes it.\" | It does not. A human reading two texts is the authorization, and no run plan supplies that. The run STOPS and hands it to the user. |\n| \"`reconciled` without a rationale is fine — the compatibility is self-evident.\" | Then the verdict is `compatible`. `reconciled` means apparently-conflicting-but-not, and the rationale is its required justification. |\n\n## Common mistakes\n\n- **Choosing the verdict.** The model renders and writes; the human judges. Never infer a verdict.\n- **Confusing sign-off with compilation.** This skill signs ONE pairing and re-compiles doctrine as a side effect. Regenerating doctrine wholesale is `compile-doctrine`.\n- **Signing a refused pairing.** If the dry-run render lists findings (unknown handle, unratified invariant, non-candidate pairing), STOP — the pairing is not signable as it stands.\n- **Reusing a rationale across verdicts.** A rationale belongs only to `reconciled`; the script refuses it elsewhere.\n- **Ignoring a red post-gate.** The ledger write can land while the re-compile is red; that is reported loudly and must be remediated, not ignored.\n- **Hand-editing the ledger or the doctrine tree.** Both are machine-owned — the ledger by this script, the doctrine index by `compile-doctrine`.\n\n## See also\n\n- `backfill-signoff` — the human-gate skill whose confirm-then-write shape this one mirrors (the governs-backfill sibling).\n- `compile-doctrine` — the doctrine regenerator; this skill re-compiles doctrine inside its own write set after a sign, but is not the general compiler.\n- `transition-invariant` — the human gate that ratifies, rejects, or retires an invariant pin; only a ratified invariant seeds a reconciliation pairing.\n- `\u003Cdocs_dir>\u002Fadrs\u002Fdoctrine\u002Findex.md` — where pending pairings surface as BROKEN domains with `un-adjudicated` \u002F `digest-stale` \u002F `collision` rows.\n\n[^log-writer]: rule:log-entries-go-through-the-log-writer, rule:no-writer-writes-the-legacy-log-file\n","# Reconcile Sign-off\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 **human sign-off** for one doctrine reconciliation pairing. A doctrine domain renders its belief only when every structurally-declared (ratified-invariant, governing-rule) pairing in it has a digest-current verdict of `compatible` or `reconciled` in the reconciliation ledger. This skill is the ONE write path over that ledger, `\u003Cdocs_dir>\u002Fadrs\u002Fdoctrine\u002Freconciliations.yml`, driven by `scripts\u002Fsignoff-reconciliation.py`. It is the doctrine layer's sibling of `backfill-signoff`: one human gate, an audited write, and a refusal for every state it does not recognize.\n\n**The interpretive judgment is the human's, not the model's.** Do a ratified invariant and a governing rule conflict? The script renders both texts verbatim; the **user** reads them and states the verdict. The three verdicts:\n\n- **compatible** — the two texts do not conflict.\n- **reconciled** — the two texts *appear* to conflict, but a human asserts they are in fact compatible, under an attached rationale (`--rationale` is REQUIRED).\n- **collision** — they conflict. This blocks the domain's belief until the deciding ADR or the invariant is revised.\n\nThe record binds the **current live content digest** — a SHA-256 over the invariant ledger page's `## The invariant` text and the rule text, space-folded. A later edit to either text moves the digest and re-gates the pairing (digest-stale, BROKEN) until it is re-adjudicated against the settled texts. Re-signing an unchanged pairing to the same verdict is an idempotent no-op.\n\n**Excluded from run-execution autonomy — a human gate.** Like `backfill-signoff` and `escalate-arch-runtime`, a running promptbook or dev-cycle must NOT invoke this skill unattended. Its writes are reversible in-repo edits, which a started run otherwise treats as pre-authorized — but that default does not reach here, because the authorization this skill needs is a human reading the two texts and choosing a verdict, and no run plan can pre-supply that. A run that reaches a reconciliation-sign-off step STOPS and hands the pairing to the user. This skill also carries `disable-model-invocation: true`, so the model never auto-selects it; the user invokes it by name.\n\n## Migration disposition for one signed historical pairing\n\nUse this explicit mode when a reviewed migration entry affects an existing\nsigned pairing. Ordinary reconciliation commands and verdicts retain their\nexisting meaning. A migration disposition preserves the signed history and\nrecords the human's instruction for this specific entry.[^migration-disposition]\n\nFirst render a concrete proposal without writing:\n\n```bash\nuv run \"${CRUX_PLUGIN_ROOT}\u002Fscripts\u002Fsignoff-reconciliation.py\" \\\n  --migration-disposition \u003Cbatch-path> --source-identity \u003Cclause-identity> \\\n  --invariant \u003Cslot-A> --handle \u003Cold-handle> --dry-run --repo-root \u003Crepo-root>\n```\n\nRead the proposal before asking the human. Show the member text, old rule text,\nold signed verdict, text digest, normalized row digest, and raw ledger digest.\nShow the complete migration entry and its digest, historical destination,\nsurviving obligations, replacement texts, and each replacement's signature.\nRefusal requires repair before this proposal can be signed. A missing structural\npairing seed requires the ordinary governing process; never invent a seed.\n\nObtain a verbatim explicit human instruction to preserve this one signed\nhistorical pairing and migrate this specific entry. Obtain the human's rationale\nfor that disposition. General run approval, council approval, OpenRouter consent,\nand a reconciliation rationale supply no migration verdict. Never infer the\ninstruction from a rationale token or approve several pairings together.\nReplacement compatibility requires its own ordinary human verdict against its\nown texts. The old verdict never transfers to a replacement.\n\nAfter that human reading and instruction, record the receipt:\n\n```bash\nuv run \"${CRUX_PLUGIN_ROOT}\u002Fscripts\u002Fsignoff-reconciliation.py\" \\\n  --migration-disposition \u003Cbatch-path> --source-identity \u003Cclause-identity> \\\n  --invariant \u003Cslot-A> --handle \u003Cold-handle> \\\n  --human-instruction \u003Cverbatim-human-instruction> --rationale \u003Chuman-rationale> \\\n  [--date YYYY-MM-DD] --repo-root \u003Crepo-root>\n```\n\nThe writer creates one immutable content-addressed receipt under the configured\n`adrs\u002Fmigrations\u002Fdispositions\u002F` directory. It preserves ledger and projection\nbytes. Exact replay is a no-op; conflicting content refuses. Give the resulting\npath and SHA-256 to the migration batch author for its `signed_dispositions`\nreferences. Council reviews the final batch including those references; a\nreceipt alone supplies no migration authority. Human instructions in the receipt\nare recorded local evidence, without a claim of cryptographic authentication.\n\nThis mode remains a human gate. Implementing or testing the producer in synthetic\nfixtures supplies no real human disposition. A real migration waits for the\nspecific instruction and rationale after the proposal is ready.\n\n[^migration-disposition]: rule:authority-migration-is-reviewed-and-source-bound\n\n## When to use\n\n- The user says: \"sign off the reconciliation\", \"reconcile INV-NNNN with ADR-NNNN\", \"record the reconciliation verdict\", \"this invariant is compatible with\", \"mark the collision between\".\n- A doctrine domain rendered **BROKEN** because a pairing is un-adjudicated, and the user is ready to read the texts and decide.\n- A pairing went **digest-stale** after the ADR or invariant text moved, and the user is ready to re-adjudicate against the settled texts.\n\nDo **not** use this skill for:\n- Choosing a verdict on the user's behalf — the verdict is a human judgment; this skill only renders, validates, and writes.\n- Regenerating doctrine as a whole — that is `compile-doctrine`. This skill re-compiles doctrine *inside its own write set* after a sign, because the ledger is a compile input; it is not the general doctrine regenerator.\n- Transitioning an invariant pin (that is `transition-invariant`) or an ADR (that is `transition-adr`).\n- Hand-editing `reconciliations.yml` — refuse. This script is the only write path; a foreign edit red-gates the doctrine drift check and skips the human signature.\n\n## Prerequisites\n\n1. The tree exists and `\u003Cdocs_dir>\u002Fmanifest.yml` is present.\n2. The repo root is resolved (step 0 below).\n3. The invariant is **ratified** and the pairing is a real candidate — the script enforces both (an `observed` invariant, an unknown handle, or a pairing whose invariant does not structurally link to the rule's ADR is refused). You do not pre-check these; you read the script's findings.\n\n## The pipeline\n\n### 0. Resolve per-repo configuration (.bionic.yml)\n\nRun `python3 \"${CRUX_PLUGIN_ROOT}\u002Fscripts\u002Fbionic-config.py\"` from the repo root. On exit 1, STOP and surface the `{\"error\": ...}` payload. Use the returned `docs_dir` wherever this skill says `\u003Cdocs_dir>` (default `bionic`).\n\n### 1. List the pending pairings\n\nThe pending pairings are read from the compiled doctrine index, `\u003Cdocs_dir>\u002Fadrs\u002Fdoctrine\u002Findex.md`. A pairing that needs a human is rendered there like this (the marker is derived from `compile-doctrine.py`'s output shape, which documents it nowhere else):\n\n- Its domain heading ends in **`— BROKEN`**, and the domain carries a `> **BROKEN**` blockquote.\n- Under that domain's `_Reconciliation against ratified invariants:_` table, a row `| INV-NNNN | ADR-NNNN\u002F\u003Cslug> | \u003Cstatus> |` whose **status is `un-adjudicated`** (never signed), **`digest-stale`** (signed, but a text moved since), or **`collision`** (signed as conflicting).\n\nRead the invariant id and the governing handle straight from that row. A row whose status is `compatible` or `reconciled` needs no sign-off. List every pending pairing to the user. If none are pending, say so and STOP — there is nothing to sign.\n\n### 2. Dry-run render — show the two texts\n\nFor the chosen pairing, run the render (which writes nothing):\n\n```bash\nuv run \"${CRUX_PLUGIN_ROOT}\u002Fscripts\u002Fsignoff-reconciliation.py\" \\\n  --invariant INV-NNNN --handle ADR-NNNN\u002F\u003Cslug> --verdict \u003Cverdict> [--rationale TEXT] --dry-run --repo-root \u003Crepo-root>\n```\n\nThe render prints the invariant text verbatim (from `## The invariant`), the rule text verbatim (from the ADR's `governs` block), the live content digest, and the validation report. On a pairing the script would refuse (unknown handle, unratified invariant, missing rationale for `reconciled`, a non-candidate pairing), the render still prints FIRST, then the findings, then exits 1 — read the findings and STOP; do not sign a refused pairing.\n\n### 3. THE USER READS THE TWO TEXTS AND CHOOSES THE VERDICT\n\nPresent both texts to the user and collect the verdict — and, for `reconciled`, the rationale — **from the user**. Do NOT infer or choose a verdict yourself. Do NOT batch several pairings into one decision; each pairing is read and decided on its own. This reading IS the human judgment the doctrine gate exists to require; there is no shortcut.\n\n- `reconciled` requires a rationale (the human's assertion that two apparently-conflicting texts are in fact compatible). The script refuses `reconciled` with no `--rationale`, and refuses a rationale on any other verdict.\n\n### 4. Sign — only on explicit confirmation\n\nAfter the user confirms the verdict (and rationale) for this one pairing, run the real sign:\n\n```bash\nuv run \"${CRUX_PLUGIN_ROOT}\u002Fscripts\u002Fsignoff-reconciliation.py\" \\\n  --invariant INV-NNNN --handle ADR-NNNN\u002F\u003Cslug> --verdict \u003Cverdict> [--rationale TEXT] [--date YYYY-MM-DD] --repo-root \u003Crepo-root>\n```\n\nThe script validates fail-closed, upserts the digest-bound record into `reconciliations.yml` (the ledger is machine-written in full, canonical and sorted), then **re-compiles doctrine inside its own write set** (the ledger is a compile input, so a sign without the re-compile would red the drift gate) and runs the drift check behind it. An unchanged re-sign is a reported no-op. Exit 0 signed \u002F no-op; exit 1 findings (JSON on stdout); exit 2 environment\u002Fcrash (stderr).\n\n### 5. Confirm the post-gate is green\n\nThe script's output ends with the post-gate lines: `compile-doctrine re-derived N files` and `compile-doctrine --dry-run clean`. If the post-gate is red (the ledger write landed but the re-compile is dirty or crashed), the script says so loudly and returns non-zero — surface it and remediate before the next sign-off. Do not work around a red post-gate by hand-editing any surface.\n\n### 6. Record the `adr` operation\n\nThe sign-off changes doctrine state, so record it. Doctrine is an `adrs\u002F` projection, so it rides the `adr` op (there is no dedicated reconciliation op in the enum). Write the entry through the log writer (`\u003Cdocs_dir>\u002FAGENTS.md` §6).[^log-writer] Write the body below to a file outside the tree, then run:\n\n```\nuv run \"${CRUX_PLUGIN_ROOT}\u002Fscripts\u002Foperation-log.py\" append --repo-root \u003Crepo-root> \\\n  --op adr --subject 'reconcile-signoff (INV-NNNN x ADR-NNNN\u002F\u003Cslug> = \u003Cverdict>)' --date YYYY-MM-DD --body-file \u003Cpath>\n```\n\nThe entry it writes at the top of the current month's detail file `\u003Cdocs_dir>\u002Flog\u002FYYYY-MM.md`:\n\n```\n## [YYYY-MM-DD] adr | reconcile-signoff (INV-NNNN x ADR-NNNN\u002F\u003Cslug> = \u003Cverdict>)\n```\n\nBody, 1–3 lines: the pairing, the verdict, and the resulting domain state (believed \u002F still BROKEN with the remaining pending pairings). On a no-op re-sign, record it as a no-op.\n\nA refused append keeps the sign-off's other writes and adds no entry. It refuses for one of three causes: the entry's own body or heading fails validation, a tree fault that names its own fix, or another writer's concurrent change. Fix the named cause, then rerun the append alone (§6).\n\nThen run the commit step of §6, whatever the append's status, because a refused append can still have repaired the operations log:\n\n1. When `restore_paths` is not empty, run `git restore --staged --quiet -- \u003Crestore_paths>`.\n2. When `commit_paths` is not empty, run `git add -- \u003Ccommit_paths>` and then `git commit --only -- \u003Ccommit_paths>`.\n\nThis step commits the log paths only.\n\n### 7. Hand-off\n\nReport the pairing, the signed verdict and date, and the domain's resulting state. If other pairings in the same domain are still pending, name them — the domain renders its belief only when every pairing in it clears.\n\n## Red flags — STOP and reconsider\n\n- About to choose a verdict for the user. NEVER — the verdict is the human judgment this gate exists to capture. Render the texts and ask.\n- About to sign without a dry-run render **in this session**. The rendered texts are the attestation; signing unread is gate-washing.\n- About to batch-sign several pairings in one decision. NEVER — one pairing, one reading, one verdict. Each has its own texts.\n- About to hand-edit `reconciliations.yml`, `adrs\u002Fdoctrine\u002Findex.md`, or `_meta.json` to record or clear a verdict. NEVER — this script is the only write path; a foreign edit red-gates the drift check and skips the signature.\n- About to run this skill unattended inside a promptbook or dev-cycle. NEVER — it is a human gate, excluded from run-execution autonomy; hand the pairing to the user.\n- About to sign a `reconciled` verdict with no rationale, or attach a rationale to a `compatible`\u002F`collision` verdict. The script refuses both — provide the rationale for `reconciled`, and only there.\n- About to leave a red post-gate after a landed sign. Remediate before the next sign-off; do not paper over it.\n\n## Rationalization table\n\n| Excuse | Reality |\n|---|---|\n| \"The two texts obviously don't conflict — I'll just sign it compatible.\" | The verdict is the human's. Render the texts, present them, and let the user decide. Signing on the model's read defeats the gate. |\n| \"Three pairings are pending in this domain — sign them all at once.\" | Each pairing is a distinct (invariant, rule) text pair. Read and decide each on its own; there is no batch verdict. |\n| \"I'll add the record straight to `reconciliations.yml` to save a round-trip.\" | The ledger has ONE write path. A hand-edit red-gates the doctrine drift check and records a verdict nobody signed. |\n| \"A dev-cycle reached a sign-off step; the run authorizes it.\" | It does not. A human reading two texts is the authorization, and no run plan supplies that. The run STOPS and hands it to the user. |\n| \"`reconciled` without a rationale is fine — the compatibility is self-evident.\" | Then the verdict is `compatible`. `reconciled` means apparently-conflicting-but-not, and the rationale is its required justification. |\n\n## Common mistakes\n\n- **Choosing the verdict.** The model renders and writes; the human judges. Never infer a verdict.\n- **Confusing sign-off with compilation.** This skill signs ONE pairing and re-compiles doctrine as a side effect. Regenerating doctrine wholesale is `compile-doctrine`.\n- **Signing a refused pairing.** If the dry-run render lists findings (unknown handle, unratified invariant, non-candidate pairing), STOP — the pairing is not signable as it stands.\n- **Reusing a rationale across verdicts.** A rationale belongs only to `reconciled`; the script refuses it elsewhere.\n- **Ignoring a red post-gate.** The ledger write can land while the re-compile is red; that is reported loudly and must be remediated, not ignored.\n- **Hand-editing the ledger or the doctrine tree.** Both are machine-owned — the ledger by this script, the doctrine index by `compile-doctrine`.\n\n## See also\n\n- `backfill-signoff` — the human-gate skill whose confirm-then-write shape this one mirrors (the governs-backfill sibling).\n- `compile-doctrine` — the doctrine regenerator; this skill re-compiles doctrine inside its own write set after a sign, but is not the general compiler.\n- `transition-invariant` — the human gate that ratifies, rejects, or retires an invariant pin; only a ratified invariant seeds a reconciliation pairing.\n- `\u003Cdocs_dir>\u002Fadrs\u002Fdoctrine\u002Findex.md` — where pending pairings surface as BROKEN domains with `un-adjudicated` \u002F `digest-stale` \u002F `collision` rows.\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":31},{"tags":25,"bundles":26,"triggers":27,"risk_level":28,"routing_note":29,"requires_access":30},"doctrine, reconciliation, invariants, human-gate","crux-docs","sign off the reconciliation | reconcile INV-NNNN with ADR-NNNN | record the reconciliation verdict | this invariant is compatible with | mark the collision between","medium","The single human write path for one doctrine reconciliation pairing: renders the invariant text and the rule text, takes the verdict (compatible | reconciled | collision) and rationale from the user, then upserts a digest-bound record and re-compiles doctrine on explicit confirmation. Human gate — excluded from run-execution autonomy; carries `disable-model-invocation`. Never chooses a verdict; never batch-signs.","write-tree",true,"main","dd4f16e7ac12ff940790660ec897677284ae4b6d","crux\u002Fskills\u002Freconcile-signoff","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":42,"prompt":52,"zipAvailable":31},[43,46,49],{"tool":44,"command":45},"npx","npx skills add bionic-coding\u002Fcrux --skill reconcile-signoff",{"tool":47,"command":48},"bunx","bunx skills add bionic-coding\u002Fcrux --skill reconcile-signoff",{"tool":50,"command":51},"pnpm","pnpm dlx skills add bionic-coding\u002Fcrux --skill reconcile-signoff","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fbionic-coding\u002Fcrux\u002Fblob\u002Fmain\u002Fcrux\u002Fskills\u002Freconcile-signoff\u002FSKILL.md",[],[55,62,69,76,83,90],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"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":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"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":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"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":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"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":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"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":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"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",[],[]]