[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77VD8R0XTN3E4MA51PCYQ6H":3,"skill-same:01M77VD8R0XTN3E4MA51PCYQ6H":45},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M77VD8R0XTN3E4MA51PCYQ6H","adr_gate",null,"ADR Gate — evaluates after non-trivial tasks whether an ADR is warranted; creates it in the tenant knowledge base through `kb.py new decision` (the shared knowledge-gate mechanism, judged by `kb check`) when yes, names the skip reason when no, requires three-level analysis (conceptual\u002Fstructural\u002Fimplementation), emits ADR-0264 decision-graph frontmatter (depends_on\u002Frelated\u002Fpaths\u002Fdocs — the three-layer Code\u002FDocs\u002FADR graph) so scripts\u002Fadr_graph.py can traverse it, and generates E2E tests for every new structural invariant so LDD has a loss signal.","CorvinLabs\u002FCorvinOS","CorvinLabs","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F289506478?v=4","01M77VCHYED8C391HPBTNYP0HS","01M77VCHZ5K92DH3W6SPN8Y4P2",25,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FCorvinLabs\u002FCorvinOS\u002Fblob\u002Fmain\u002Fcorvin_operator\u002Fbundle\u002Fskills\u002Fldd\u002Fadr_gate\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: adr_gate\ndescription: ADR Gate — evaluates after non-trivial tasks whether an ADR is warranted; creates it in the tenant knowledge base through `kb.py new decision` (the shared knowledge-gate mechanism, judged by `kb check`) when yes, names the skip reason when no, requires three-level analysis (conceptual\u002Fstructural\u002Fimplementation), emits ADR-0264 decision-graph frontmatter (depends_on\u002Frelated\u002Fpaths\u002Fdocs — the three-layer Code\u002FDocs\u002FADR graph) so scripts\u002Fadr_graph.py can traverse it, and generates E2E tests for every new structural invariant so LDD has a loss signal.\n---\n\n# ADR Gate — Architectural Decision Record discipline\n\nApply this gate once at the END of any non-trivial implementation task, immediately before declaring \"done.\" Most tasks will not produce an ADR — that is the correct and expected outcome.\n\n## The bar is HIGH\n\nThe default answer is: **no ADR needed.** An ADR is only warranted when a future contributor would be genuinely confused about *why* the system works a certain way — and that confusion would cost them real time or lead them to inadvertently break a structural invariant.\n\n**Do NOT write an ADR for:**\n- Bug fixes with no design decision (one obvious fix, no real alternative)\n- Pure refactors where behaviour is unchanged\n- Config value or threshold changes\n- Test additions or fixes\n- Documentation, comment, or copy changes\n- UI tweaks, renaming, small cleanups\n- Anything trivially reversible without data migration or cross-repo coordination\n\n## Write an ADR only when BOTH conditions hold\n\n**Condition A — A real design choice was made:**\nYou chose A over B, and that choice non-trivially constrains future code. There was a genuine alternative.\n\n**Condition B — At least one structural trigger applies:**\n- New or changed protocol, wire format, audit schema field, MCP tool contract, or CLI flag shape\n- New security or compliance mechanism (anything touching L10, L16, L34, L35, GDPR, EU AI Act)\n- Irreversible or hard-to-reverse default: fail-open\u002Fclosed, deny\u002Fallow, opt-in\u002Fopt-out\n- Decision binds two or more repos (e.g. Corvin + Adapter + Cloud)\n- New layer-level mechanism, plugin contract, or cross-layer invariant\n\n**Gut-check:** *\"Would a capable new contributor, six months from now, spend hours puzzling over why this works this way — or worse, accidentally undo it?\"*\n- Likely yes: write the ADR\n- Probably not: skip it\n\n## Three-level analysis (mandatory)\n\nBefore deciding whether to write an ADR — and when writing one — think through all three levels explicitly. A decision described at only one level is an incomplete record; the missing levels will drift independently until someone breaks something.\n\n**Conceptual level** — What is the core principle or idea being decided? What mental model does this create for future contributors? What rule of thumb or invariant follows from this choice that a reader should carry in their head?\n\n**Structural level** — How does this decision constrain the architecture? Which layers, interfaces, protocols, contracts, or cross-repo boundaries does it shape? What cannot be changed without revisiting this decision?\n\n**Implementation level** — What specific code, config, runtime behaviour, file layout, or schema shape is locked in? What does a developer need to know concretely to implement something that respects this decision?\n\nAll three levels must appear explicitly in the ADR's **Context** and **Decision** sections. If one level has nothing to say (rare), name that explicitly — e.g. *\"Implementation level: no specific shape is locked in beyond the structural constraint above.\"*\n\n\u003C!-- knowledge-gate-mechanism:begin -->\n## Writing it: the shared knowledge-gate mechanism\n\nADR Gate and Concept Gate answer different questions (a decision versus a working method),\nbut they write through ONE mechanism and their artifacts are judged by ONE rule source.\n\n**The knowledge base is this tenant's own: `{{KB_DIR}}`** — the repository the console's task\nboard and Knowledge Graph panel project (created by the Knowledge Graph plugin on every install;\nan operator's `CORVIN_KB_REPO` overrides it). Every command below names its `kb.py` by that exact\nabsolute path: the path gate pins it (a relative path, `~`, `$VAR` or `cd` + `scripts\u002Fkb.py` is\nrefused). If the path does not exist yet, the plugin is disabled for this tenant — say so, never\nwrite the files by hand.\n\n1. **Find first.** `{{PYTHON}} {{KB_PY}} find \u003Cwords> --type decision`\n   (or `--type concept`) and `kb.py show \u003Cid>`. An existing entry is amended with a dated note\n   under its Status, never duplicated.\n2. **Create with `kb new`, never by hand.**\n   `{{PYTHON}} {{KB_PY}} new decision --title \"...\"`\n   (or `new concept`), with `--link rel=target` for every real relation. It numbers across the\n   whole corpus, writes `id`\u002F`uid`\u002F`title`\u002F`status`\u002F`created`\u002F`links`, refuses a link that does not\n   resolve to exactly one entity, and commits in the knowledge base. Never pick a number with `ls`:\n   canonical names are `ADR-NNNN-...`, so a `^[0-9]{4}` scan sees only legacy files and returns a\n   number that is already taken. Never commit to Corvin-ADR: it is frozen (ADR-2205), and\n   `kb check` reports any commit there as `W02_frozen_source_written`. Call `kb.py` by this\n   absolute path — the path gate pins it.\n3. **Fill the body and the type's own frontmatter** (below), then commit it in the knowledge base\n   (`git -C {{KB_DIR}} add \u003Cfile> && git -C {{KB_DIR}} commit -m \"...\"`).\n4. **Validate against the one rule source.**\n   `{{PYTHON}} {{KB_PY}} check` must report\n   `blocking: 0`. The console's Quality Gates page (`\u002Fconsole\u002Fapp\u002Fquality`) runs this same\n   `kb check` over the same checkout: an `error` finding is shown as fail, a `warning` (for\n   example the G1-G4 readiness gates) as warn. There is no second rule table to satisfy.\n5. **Work that follows from it is a task in the same KB** — never a note in chat, never a board card\n   typed by hand: `{{PYTHON}} {{KB_PY}} new task --title \"...\" --epic E-NNN --dod \"...\"` (an epic\n   needs `--initiative I-NN`; `new initiative --title \"...\"` starts one). Status changes ONLY via\n   `{{PYTHON}} {{KB_PY}} task T-NNNN in_progress|blocked|done|cancelled [--reason ...] [--dod ...]`\n   (done needs a definition of done; a code task also needs its G5 evidence). The board shows it\n   within seconds.\n\u003C!-- knowledge-gate-mechanism:end -->\n\n## How to write the ADR\n\n**Step 1** — Run the shared mechanism above with `kb.py new decision`. It writes\n`decisions\u002FADR-NNNN-short-kebab-title.md`; do not choose the number or the file name yourself.\n\n**Step 2** — Complete the file `kb new` created. Every ADR\ncarries **both** the human-facing prose header **and** a machine-readable frontmatter\nblock (ADR-0264 — \"ADR Decision Graph\"): the frontmatter is what makes an ADR a node a\ncoding agent can traverse to instead of a document it must have already read.\n\n```markdown\n---\nid: ADR-XXXX\nstatus: proposed          # proposed | accepted | superseded | frozen\nsupersedes: []            # ADR ids this one fully replaces\ndepends_on: []            # structural prerequisites — read these first\nrelated: []               # associative, non-blocking cross-references\ncommits: []               # git SHAs implementing this, filled in at merge\npaths:                    # CODE globs this ADR structurally constrains\n  - \"path\u002For\u002Fglob\u002F**\"\ndocs:                     # DOCUMENTATION globs describing this decision\n  - \"docs\u002Fclaude-ref\u002Fsome-file.md\"\n---\n\n# ADR-XXXX — [Title]\n\n**Status:** Accepted\n**Date:** YYYY-MM-DD\n**Deciders:** shumway\n\n## Context\n\n[What situation, constraint, or requirement forced a decision here?]\n\n## Decision\n\n[What was decided. Direct statement.]\n\n## Consequences\n\n### Positive\n-\n\n### Negative \u002F Trade-offs\n-\n\n### Alternatives considered\n\n[What else was evaluated and why it was rejected.]\n```\n\nDo NOT hand-fill `superseded_by` — leave it absent. It is derived automatically (by\n`scripts\u002Fadr_graph.py`, see ADR-0264) from every OTHER ADR's `supersedes` field, so the\nnode being superseded never needs editing after the fact.\n\nPopulate `depends_on`\u002F`related` with real ADR ids only when a real relationship exists;\nan empty list is the correct default for a freestanding decision. `paths` and `docs` are\ntwo SEPARATE surfaces, not one merged list: `paths` is the code this decision constrains\n(matched by `scripts\u002Fadr_graph.py adrs_for_path()`), `docs` is the documentation that\nexplains it to a reader — exactly the artifacts the `docs-as-definition-of-done` skill\nkeeps in sync (matched by `adrs_for_doc()`). An empty or inaccurate list in either makes\nthis ADR invisible to that specific traversal, not merely undocumented.\n\n**Step 3** — Commit the completed file in the knowledge base and validate (shared mechanism, step 4):\n\n```bash\ngit -C {{KB_DIR}} add decisions\u002FADR-NNNN-short-kebab-title.md\ngit -C {{KB_DIR}} commit -m \"adr: ADR-NNNN — [title]\"\n{{PYTHON}} {{KB_PY}} check   # blocking: 0\n```\n\n**Step 4** — If the ADR documents a load-bearing mechanism in Corvin, add a one-line reference at the end of the relevant CLAUDE.md section:\n\n```\n→ ADR: `corvin_decisions\u002Fdecisions\u002FADR-NNNN-short-title.md`\n```\n\nThis prose pointer stays — it is what a human skimming CLAUDE.md sees — but it is no\nlonger the only way to find this ADR from the code. `paths:` in Step 2's frontmatter is\nthe machine-readable equivalent: run `python3 scripts\u002Fadr_graph.py \u003Cpath>` from a\nCorvinOS checkout to confirm the new ADR is actually discoverable from the code it\nconstrains before moving on. If the ADR also has a documented surface (a\n`docs\u002Fclaude-ref\u002F*.md` page, a CLAUDE.md section) beyond this one pointer line, add it to\n`docs:` too and check it with `--doc \u003Cpath>` — this is the same query\n`docs-as-definition-of-done` runs before editing a doc, so an ADR with an accurate `docs:`\nlist gets found from that direction as well, not just from code.\n\nA generated (not hand-authored) ADR — e.g. Plugin-Builder's per-plugin classification\nADR (`core\u002Fplugins\u002Fplugin_builder\u002Fgenerators\u002Fadr.py`) — carries this same frontmatter\nschema too, with a plugin-scoped `id` (`{plugin_id}-ADR-0001`, never a bare `ADR-NNNN`,\nwhich is reserved for this repo's own sequence) and `related` pointing into the real\nCorvin-Knowledge corpus. Any new document-generator that produces an ADR-shaped artifact\nshould follow this same convention rather than emitting unstructured prose.\n\n**Step 5 — E2E tests for the ADR's mechanism (LDD loss signal)**\n\nImmediately after writing the ADR, ask: *\"Can I write one or more E2E tests that would FAIL if this mechanism broke or was accidentally reverted?\"*\n\nIf yes, write the test(s) — this is the LDD loss signal for the new invariant. Rules:\n\n- **Real subprocess, real filesystem, real bwrap** — no mocks for anything touching security, forge, policy, or audit (per `per_subtask_e2e` layer). Mocks are only acceptable for pure protocol-shape tests where the real runtime is unavailable.\n- **Name to the ADR:** prefix the test file with the ADR number, e.g. `test_adr_0068_egress_lockdown.py`. This makes regressions immediately traceable.\n- **One test per structural invariant** stated in the ADR's \"Must NOT do\" list. Each invariant is a distinct test case.\n- **Register in the suite:** add the new file to `operator\u002Fbridges\u002Frun-all-tests.sh` (or the relevant sub-suite) so it runs on every `git push`.\n- **Commit together** with the implementation, not as a follow-up — a structural decision without a sensor is an untested invariant.\n\nIf an E2E test is genuinely infeasible (external system unavailable at test time, hardware dependency, etc.), name the reason explicitly — e.g. *\"No E2E test — requires live TSA endpoint; covered by contract test in `test_adr_0073_tsa_contract.py`.\"* Never skip silently.\n\n**Why this matters for LDD:** The outer loop of LDD (`loop-driven-engineering`) drives refinement via measurable loss. An ADR that ships without a test provides no loss signal — drift goes undetected until a human notices. E2E tests convert structural guarantees into machine-checkable facts.\n\n## When you skip the ADR\n\nWrite one sentence — e.g. *\"No ADR — bug fix, no design decision.\"*\nDo not leave the gate result implicit. A named skip is as valid as a written ADR.\n\nIf the ADR is skipped but the task introduced observable new behavior, still evaluate Step 5 independently: E2E tests are warranted for significant behavior changes even without a formal ADR.\n","# ADR Gate — Architectural Decision Record discipline\n\nApply this gate once at the END of any non-trivial implementation task, immediately before declaring \"done.\" Most tasks will not produce an ADR — that is the correct and expected outcome.\n\n## The bar is HIGH\n\nThe default answer is: **no ADR needed.** An ADR is only warranted when a future contributor would be genuinely confused about *why* the system works a certain way — and that confusion would cost them real time or lead them to inadvertently break a structural invariant.\n\n**Do NOT write an ADR for:**\n- Bug fixes with no design decision (one obvious fix, no real alternative)\n- Pure refactors where behaviour is unchanged\n- Config value or threshold changes\n- Test additions or fixes\n- Documentation, comment, or copy changes\n- UI tweaks, renaming, small cleanups\n- Anything trivially reversible without data migration or cross-repo coordination\n\n## Write an ADR only when BOTH conditions hold\n\n**Condition A — A real design choice was made:**\nYou chose A over B, and that choice non-trivially constrains future code. There was a genuine alternative.\n\n**Condition B — At least one structural trigger applies:**\n- New or changed protocol, wire format, audit schema field, MCP tool contract, or CLI flag shape\n- New security or compliance mechanism (anything touching L10, L16, L34, L35, GDPR, EU AI Act)\n- Irreversible or hard-to-reverse default: fail-open\u002Fclosed, deny\u002Fallow, opt-in\u002Fopt-out\n- Decision binds two or more repos (e.g. Corvin + Adapter + Cloud)\n- New layer-level mechanism, plugin contract, or cross-layer invariant\n\n**Gut-check:** *\"Would a capable new contributor, six months from now, spend hours puzzling over why this works this way — or worse, accidentally undo it?\"*\n- Likely yes: write the ADR\n- Probably not: skip it\n\n## Three-level analysis (mandatory)\n\nBefore deciding whether to write an ADR — and when writing one — think through all three levels explicitly. A decision described at only one level is an incomplete record; the missing levels will drift independently until someone breaks something.\n\n**Conceptual level** — What is the core principle or idea being decided? What mental model does this create for future contributors? What rule of thumb or invariant follows from this choice that a reader should carry in their head?\n\n**Structural level** — How does this decision constrain the architecture? Which layers, interfaces, protocols, contracts, or cross-repo boundaries does it shape? What cannot be changed without revisiting this decision?\n\n**Implementation level** — What specific code, config, runtime behaviour, file layout, or schema shape is locked in? What does a developer need to know concretely to implement something that respects this decision?\n\nAll three levels must appear explicitly in the ADR's **Context** and **Decision** sections. If one level has nothing to say (rare), name that explicitly — e.g. *\"Implementation level: no specific shape is locked in beyond the structural constraint above.\"*\n\n\u003C!-- knowledge-gate-mechanism:begin -->\n## Writing it: the shared knowledge-gate mechanism\n\nADR Gate and Concept Gate answer different questions (a decision versus a working method),\nbut they write through ONE mechanism and their artifacts are judged by ONE rule source.\n\n**The knowledge base is this tenant's own: `{{KB_DIR}}`** — the repository the console's task\nboard and Knowledge Graph panel project (created by the Knowledge Graph plugin on every install;\nan operator's `CORVIN_KB_REPO` overrides it). Every command below names its `kb.py` by that exact\nabsolute path: the path gate pins it (a relative path, `~`, `$VAR` or `cd` + `scripts\u002Fkb.py` is\nrefused). If the path does not exist yet, the plugin is disabled for this tenant — say so, never\nwrite the files by hand.\n\n1. **Find first.** `{{PYTHON}} {{KB_PY}} find \u003Cwords> --type decision`\n   (or `--type concept`) and `kb.py show \u003Cid>`. An existing entry is amended with a dated note\n   under its Status, never duplicated.\n2. **Create with `kb new`, never by hand.**\n   `{{PYTHON}} {{KB_PY}} new decision --title \"...\"`\n   (or `new concept`), with `--link rel=target` for every real relation. It numbers across the\n   whole corpus, writes `id`\u002F`uid`\u002F`title`\u002F`status`\u002F`created`\u002F`links`, refuses a link that does not\n   resolve to exactly one entity, and commits in the knowledge base. Never pick a number with `ls`:\n   canonical names are `ADR-NNNN-...`, so a `^[0-9]{4}` scan sees only legacy files and returns a\n   number that is already taken. Never commit to Corvin-ADR: it is frozen (ADR-2205), and\n   `kb check` reports any commit there as `W02_frozen_source_written`. Call `kb.py` by this\n   absolute path — the path gate pins it.\n3. **Fill the body and the type's own frontmatter** (below), then commit it in the knowledge base\n   (`git -C {{KB_DIR}} add \u003Cfile> && git -C {{KB_DIR}} commit -m \"...\"`).\n4. **Validate against the one rule source.**\n   `{{PYTHON}} {{KB_PY}} check` must report\n   `blocking: 0`. The console's Quality Gates page (`\u002Fconsole\u002Fapp\u002Fquality`) runs this same\n   `kb check` over the same checkout: an `error` finding is shown as fail, a `warning` (for\n   example the G1-G4 readiness gates) as warn. There is no second rule table to satisfy.\n5. **Work that follows from it is a task in the same KB** — never a note in chat, never a board card\n   typed by hand: `{{PYTHON}} {{KB_PY}} new task --title \"...\" --epic E-NNN --dod \"...\"` (an epic\n   needs `--initiative I-NN`; `new initiative --title \"...\"` starts one). Status changes ONLY via\n   `{{PYTHON}} {{KB_PY}} task T-NNNN in_progress|blocked|done|cancelled [--reason ...] [--dod ...]`\n   (done needs a definition of done; a code task also needs its G5 evidence). The board shows it\n   within seconds.\n\u003C!-- knowledge-gate-mechanism:end -->\n\n## How to write the ADR\n\n**Step 1** — Run the shared mechanism above with `kb.py new decision`. It writes\n`decisions\u002FADR-NNNN-short-kebab-title.md`; do not choose the number or the file name yourself.\n\n**Step 2** — Complete the file `kb new` created. Every ADR\ncarries **both** the human-facing prose header **and** a machine-readable frontmatter\nblock (ADR-0264 — \"ADR Decision Graph\"): the frontmatter is what makes an ADR a node a\ncoding agent can traverse to instead of a document it must have already read.\n\n```markdown\n---\nid: ADR-XXXX\nstatus: proposed          # proposed | accepted | superseded | frozen\nsupersedes: []            # ADR ids this one fully replaces\ndepends_on: []            # structural prerequisites — read these first\nrelated: []               # associative, non-blocking cross-references\ncommits: []               # git SHAs implementing this, filled in at merge\npaths:                    # CODE globs this ADR structurally constrains\n  - \"path\u002For\u002Fglob\u002F**\"\ndocs:                     # DOCUMENTATION globs describing this decision\n  - \"docs\u002Fclaude-ref\u002Fsome-file.md\"\n---\n\n# ADR-XXXX — [Title]\n\n**Status:** Accepted\n**Date:** YYYY-MM-DD\n**Deciders:** shumway\n\n## Context\n\n[What situation, constraint, or requirement forced a decision here?]\n\n## Decision\n\n[What was decided. Direct statement.]\n\n## Consequences\n\n### Positive\n-\n\n### Negative \u002F Trade-offs\n-\n\n### Alternatives considered\n\n[What else was evaluated and why it was rejected.]\n```\n\nDo NOT hand-fill `superseded_by` — leave it absent. It is derived automatically (by\n`scripts\u002Fadr_graph.py`, see ADR-0264) from every OTHER ADR's `supersedes` field, so the\nnode being superseded never needs editing after the fact.\n\nPopulate `depends_on`\u002F`related` with real ADR ids only when a real relationship exists;\nan empty list is the correct default for a freestanding decision. `paths` and `docs` are\ntwo SEPARATE surfaces, not one merged list: `paths` is the code this decision constrains\n(matched by `scripts\u002Fadr_graph.py adrs_for_path()`), `docs` is the documentation that\nexplains it to a reader — exactly the artifacts the `docs-as-definition-of-done` skill\nkeeps in sync (matched by `adrs_for_doc()`). An empty or inaccurate list in either makes\nthis ADR invisible to that specific traversal, not merely undocumented.\n\n**Step 3** — Commit the completed file in the knowledge base and validate (shared mechanism, step 4):\n\n```bash\ngit -C {{KB_DIR}} add decisions\u002FADR-NNNN-short-kebab-title.md\ngit -C {{KB_DIR}} commit -m \"adr: ADR-NNNN — [title]\"\n{{PYTHON}} {{KB_PY}} check   # blocking: 0\n```\n\n**Step 4** — If the ADR documents a load-bearing mechanism in Corvin, add a one-line reference at the end of the relevant CLAUDE.md section:\n\n```\n→ ADR: `corvin_decisions\u002Fdecisions\u002FADR-NNNN-short-title.md`\n```\n\nThis prose pointer stays — it is what a human skimming CLAUDE.md sees — but it is no\nlonger the only way to find this ADR from the code. `paths:` in Step 2's frontmatter is\nthe machine-readable equivalent: run `python3 scripts\u002Fadr_graph.py \u003Cpath>` from a\nCorvinOS checkout to confirm the new ADR is actually discoverable from the code it\nconstrains before moving on. If the ADR also has a documented surface (a\n`docs\u002Fclaude-ref\u002F*.md` page, a CLAUDE.md section) beyond this one pointer line, add it to\n`docs:` too and check it with `--doc \u003Cpath>` — this is the same query\n`docs-as-definition-of-done` runs before editing a doc, so an ADR with an accurate `docs:`\nlist gets found from that direction as well, not just from code.\n\nA generated (not hand-authored) ADR — e.g. Plugin-Builder's per-plugin classification\nADR (`core\u002Fplugins\u002Fplugin_builder\u002Fgenerators\u002Fadr.py`) — carries this same frontmatter\nschema too, with a plugin-scoped `id` (`{plugin_id}-ADR-0001`, never a bare `ADR-NNNN`,\nwhich is reserved for this repo's own sequence) and `related` pointing into the real\nCorvin-Knowledge corpus. Any new document-generator that produces an ADR-shaped artifact\nshould follow this same convention rather than emitting unstructured prose.\n\n**Step 5 — E2E tests for the ADR's mechanism (LDD loss signal)**\n\nImmediately after writing the ADR, ask: *\"Can I write one or more E2E tests that would FAIL if this mechanism broke or was accidentally reverted?\"*\n\nIf yes, write the test(s) — this is the LDD loss signal for the new invariant. Rules:\n\n- **Real subprocess, real filesystem, real bwrap** — no mocks for anything touching security, forge, policy, or audit (per `per_subtask_e2e` layer). Mocks are only acceptable for pure protocol-shape tests where the real runtime is unavailable.\n- **Name to the ADR:** prefix the test file with the ADR number, e.g. `test_adr_0068_egress_lockdown.py`. This makes regressions immediately traceable.\n- **One test per structural invariant** stated in the ADR's \"Must NOT do\" list. Each invariant is a distinct test case.\n- **Register in the suite:** add the new file to `operator\u002Fbridges\u002Frun-all-tests.sh` (or the relevant sub-suite) so it runs on every `git push`.\n- **Commit together** with the implementation, not as a follow-up — a structural decision without a sensor is an untested invariant.\n\nIf an E2E test is genuinely infeasible (external system unavailable at test time, hardware dependency, etc.), name the reason explicitly — e.g. *\"No E2E test — requires live TSA endpoint; covered by contract test in `test_adr_0073_tsa_contract.py`.\"* Never skip silently.\n\n**Why this matters for LDD:** The outer loop of LDD (`loop-driven-engineering`) drives refinement via measurable loss. An ADR that ships without a test provides no loss signal — drift goes undetected until a human notices. E2E tests convert structural guarantees into machine-checkable facts.\n\n## When you skip the ADR\n\nWrite one sentence — e.g. *\"No ADR — bug fix, no design decision.\"*\nDo not leave the gate result implicit. A named skip is as valid as a written ADR.\n\nIf the ADR is skipped but the task introduced observable new behavior, still evaluate Step 5 independently: E2E tests are warranted for significant behavior changes even without a formal ADR.\n",{"name":5,"description":7},"main","3f28cfd9b82326ff325e645ff041589c3220d813","corvin_operator\u002Fbundle\u002Fskills\u002Fldd\u002Fadr_gate",4,"https:\u002F\u002Fgithub.com\u002FCorvinLabs\u002FCorvinOS","https:\u002F\u002Fcorvin-labs.com, https:\u002F\u002Fwww.youtube.com\u002F@Corvin-Labs","https:\u002F\u002Fgithub.com\u002FCorvinLabs","2026-11-14 23:30:13",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add CorvinLabs\u002FCorvinOS --skill adr_gate",{"tool":37,"command":38},"bunx","bunx skills add CorvinLabs\u002FCorvinOS --skill adr_gate",{"tool":40,"command":41},"pnpm","pnpm dlx skills add CorvinLabs\u002FCorvinOS --skill adr_gate","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FCorvinLabs\u002FCorvinOS\u002Fblob\u002Fmain\u002Fcorvin_operator\u002Fbundle\u002Fskills\u002Fldd\u002Fadr_gate\u002FSKILL.md",true,[],[46,53,59,65,72,78],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":18},"01M77VGAEV6EQA3C62F78EDHQ3","voice","Voice mode for Claude Code — automatically reads assistant replies aloud via TTS, with German\u002FEnglish auto-detection and optional summarization for long responses. Trigger when the user mentions voice, vorlesen, sprachausgabe, TTS, \"speak\", \"say it out loud\", or asks about \u002Fvoice-* commands.","https:\u002F\u002Fgithub.com\u002FCorvinLabs\u002FCorvinOS\u002Fblob\u002Fmain\u002Fcorvin_operator\u002Fvoice\u002Fskills\u002Fvoice\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":18},"01M77VG6N69YBC0CR0TSMGXHTV","paper-generator-orchestrator","https:\u002F\u002Fgithub.com\u002FCorvinLabs\u002FCorvinOS\u002Fblob\u002Fmain\u002Fcorvin_operator\u002Fskills\u002Fpaper-generator-orchestrator\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":18},"01M77VG3DTRSZ1C4N57KNFARD5","academic-paper-generation","https:\u002F\u002Fgithub.com\u002FCorvinLabs\u002FCorvinOS\u002Fblob\u002Fmain\u002Fcorvin_operator\u002Fskills\u002Facademic-paper-generation\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M77VFXA58C38HG5K5J4Q67MF","forge","Forge schema-bound, sandboxed tools at runtime. Paired with the cowork `forge` persona for chat-driven use in the voice-skill bridge. Use when you would otherwise write the same Bash snippet ≥3× with different parameters, when you need precise numerical results over a dataset, or when the user wants reproducible\u002Fdeterministic output written to a file.","https:\u002F\u002Fgithub.com\u002FCorvinLabs\u002FCorvinOS\u002Fblob\u002Fmain\u002Fcorvin_operator\u002Fforge\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M77VFTJ8KS80R6PVPTBH4CWV","cowork","https:\u002F\u002Fgithub.com\u002FCorvinLabs\u002FCorvinOS\u002Fblob\u002Fmain\u002Fcorvin_operator\u002Fcowork\u002Fskills\u002Fcowork\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M77VFQTC6WR708YMVHAKQWWN","quality-layer-control","Toggle quality disciplines (ADR Gate, docs-as-definition-of-done, etc.) on or off globally","https:\u002F\u002Fgithub.com\u002FCorvinLabs\u002FCorvinOS\u002Fblob\u002Fmain\u002Fcorvin_operator\u002Fbundle\u002Fskills\u002Fquality-layer-control\u002FSKILL.md",[],[]]