[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77M4H8FXWZ2F5Q0J7JZHGJ5":3,"skill-same:01M77M4H8FXWZ2F5Q0J7JZHGJ5":65},{"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":29,"commitSha":30,"skillDirectory":31,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":6,"ownerHtmlUrl":34,"ownerBlogUrl":35,"ownerDescription":36,"updatedAt":37,"install":38,"resources":50},"01M77M4H8FXWZ2F5Q0J7JZHGJ5","audit",null,"Audits a repository's existing enforcement surface (hooks, agent instructions, CI lanes, gate scripts, branch protection, forge apps, integrations) and reports which mechanisms no longer earn their keep; security-class items cap at flag-for-human. Read-only. Use when the user asks whether their CI, hooks or gates are overengineered or still earn their keep. Not for proposing new automation.","melodic-software\u002Fclaude-code-plugins","melodic-software","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F58273638?v=4","01M77JVQTXNGKCE4MDFY2BC936","Melodic Software","01M77JVQVN9QDWKAH6W03ANP76",30,"MIT","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Foverengineering\u002Fskills\u002Faudit\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\ndescription: \"Audits a repository's existing enforcement surface (hooks, agent instructions, CI lanes, gate scripts, branch protection, forge apps, integrations) and reports which mechanisms no longer earn their keep; security-class items cap at flag-for-human. Read-only. Use when the user asks whether their CI, hooks or gates are overengineered or still earn their keep. Not for proposing new automation.\"\nargument-hint: \"[--unattended] [--medium \u003Cvalue>] [layer ...]\"\nuser-invocable: true\ndisable-model-invocation: false\nmetadata:\n  workflow-stage: anytime\n  summary: Audit the enforcement surface for mechanisms no longer earning their carry cost\n---\n\n**Arguments.** `[--unattended] [--medium \u003Cvalue>] [layer ...]`. Layer: agent-hooks|agent-instructions|repo-hooks|vcs-hooks|ci-lanes|gate-scripts|satellite-workflows|branch-protection|forge-apps|external-integrations|all (default: all). `--medium` governs only the rendered-view offer ([report-template.md](context\u002Freport-template.md), Layer 3).\n\n## Repository context. Gather first\n\nRun each as its own Bash call, never combined into one invocation:\n\n- Branch, `git symbolic-ref --quiet --short HEAD`\n- Shallow clone, `git rev-parse --is-shallow-repository`\n\nTreat a failure (not a repository, git unavailable) as an unknown value and carry on.\n\n## Purpose\n\nWalk the enforcement surface that governs work in this repository and report which mechanisms still\nearn their carry cost. Every incumbent is a retirement candidate until evidence earns its keep, and\nsilence is not evidence in either direction.\n\nWhich automation is MISSING is `\u002Fharness-config:audit-automation-gaps`'s question. Route a gap that\nsurfaces mid-walk there when that plugin is installed; otherwise record it in the findings artifact\nas an observation for the human. This walk never proposes new automation.\n\n**The surface is everything that governs work here, wherever it is registered**, including settings\nscopes merged from outside the tree and forge controls in a control plane. Out-of-repo items are\naudited like any other; only their remediation changes, to a delegation (§12).\n\nRead `${CLAUDE_PLUGIN_ROOT}\u002Fcontext\u002Fscrutiny-method.md` before judging anything and cite its sections\nin findings rather than paraphrasing them: the verdict ladder (§6), evidence tiers (§2), the three\nliveness questions (§3), intent reconstruction (§4), rediscovery (§5), protected classes and their\ncap (§7), UNPROVEN triage (§8), analogical thresholds (§9), scope boundary (§10), rollback ladder\n(§11), ownership (§12). Every bare `§N` in this skill and its context files is a section of that\ndocument. Shared docs sit under `${CLAUDE_PLUGIN_ROOT}\u002Fcontext\u002F` and `${CLAUDE_PLUGIN_ROOT}\u002Freference\u002F`;\nthis skill's own docs sit under `${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Faudit\u002Fcontext\u002F`.\n\n## Read-only contract\n\n**This skill reports only. It never mutates the surface it walks.** No hook disabled, no workflow\nedited, no gate script deleted, no setting changed, no branch rule touched, not even a formatting fix\nin a file it read.\n\nThe one write is the **findings artifact**, at the memory-tier home\n`${CLAUDE_PLUGIN_ROOT}\u002Fcontext\u002Ffindings-artifact.md` \"Where it lives\" defines, a self-ignored scratch\nroot outside tracked content. Immediately after resolving the home (step 1 of \"Before the walk\"),\nand before any layer is walked, say: *\"Read-only pass; the only file written is the findings artifact\nat `\u003Cresolved path>`.\"*\n\n**A run with no branch identity writes nothing at all**, and says instead: *\"Read-only pass; no\nbranch identity resolved, so no findings artifact is written.\"* See \"A detached checkout has no\nbranch identity\".\n\n**Writing the artifact from a delegated run.** Some harnesses refuse a report-shaped filename from a\ndelegated executor. The sanctioned route: write the full content with the file-write tool to a\nneutral filename in the artifact's directory, then rename it to the contract filename. An\n`--unattended` run takes this route from its first write; an attended run writes the contract filename\ndirectly and switches at the first refusal. The route covers every write of the artifact, each\nper-layer checkpoint included. **Never write the artifact's content through the shell.** Where\nneither route is available, say so and stop.\n\n**One auxiliary write is sanctioned**: the once-per-session self-ignore guard, creating the memory\nroot's own `.gitignore` (announced) when absent, never the consumer's root `.gitignore`. Nothing else\nis written.\n\nExecuting a finding belongs to `overengineering:realign`, behind an explicit per-item human gate.\nName it as the next step; never start it unasked.\n\n## Arguments\n\nParse `$ARGUMENTS`, after taking out `--unattended` wherever it appears:\n\n- **Layer scope**: one or more of the **ten enforcement layers** in\n  `${CLAUDE_PLUGIN_ROOT}\u002Fcontext\u002Ffindings-artifact.md`'s vocabulary, `agent-hooks` through\n  `external-integrations`; default `all`, meaning those ten and never the justification lane's five.\n  Asked for one of the five, refuse and name `\u002Foverengineering:justify`, which owns them one target\n  at a time. Record exactly the layers walked in the artifact's `scope`: merge rule 3 reads `scope`\n  to close a prior finding as gone, so a layer recorded but not walked closes another producer's\n  rows, and a layer absent from `scope` was not walked rather than found empty. Layer-scoped passes\n  are the supported way to cover a large surface; they compose by stable finding id.\n- **`--unattended`**, anywhere in the arguments: for low-confidence intent (§4), record\n  `OPEN-INTENT`, ask nothing, guess nothing. **Attended is the default**; the caller passes the flag,\n  and the mode is never inferred. The bare word `unattended` is not this flag and not a focus hint:\n  stop and name `--unattended`.\n- Anything else is a free-text focus hint (a path, a mechanism name). It narrows attention, not the\n  layer scope; a hint that matches nothing is reported.\n\n## Before the walk\n\n1. **Resolve the branch identity, then the artifact home.** Read the branch call's exit status.\n   **`HEAD` is never a branch identity**, and neither is a failed call; \"A detached checkout has no\n   branch identity\" governs what an unresolved identity declines, decided here. With an identity,\n   compose the home per `findings-artifact.md` \"Where it lives\"; any other path writes where\n   `realign` never looks. **Then emit the read-only opening line.** An `--unattended` run then probes\n   the write path before walking: with the file-write tool, write a neutral file in the artifact's\n   directory, rename it to a second neutral name there, and delete exactly that second path (the\n   file-write tool's delete where offered, else one shell removal of that path). Never rename onto the\n   contract filename. The probe leaves no file behind on success and, removal included, is part of\n   the findings-artifact write, not another auxiliary write. A run with no branch identity has\n   nothing to probe. When the write, rename or\n   delete is refused, try no other route: name the refusal and every probe path still on disk, and\n   stop before walking.\n2. **Resolve consumer configuration**: protected categories, threshold overrides, observation window\n   and suppression entries from the consuming repo's `.claude\u002Foverengineering.md` through the\n   config-cascade layering, per `${CLAUDE_PLUGIN_ROOT}\u002Freference\u002Fconsumer-config.md`. All layers\n   absent is valid: bundled defaults apply, and the run says so. Name a personal layer that\n   materially shapes output.\n3. **Load the prior artifact** if present. Write `Status: OPEN` on a finding not seen before and\n   carry every other status forward verbatim; never advance, downgrade or clear one.\n4. **Assess evidence availability** per tier (§2), naming the probe for each, the shallow-clone probe\n   included. This leads the report, ahead of any finding (§8).\n5. **Exclude** the consumer's `.claude\u002Foverengineering.md` from the scan set.\n\n## The walk\n\n[skills\u002Faudit\u002Fcontext\u002Fsurface-walk.md](context\u002Fsurface-walk.md) carries the layer-by-layer walk in the\nartifact's enum order: each layer's discovery probes and evidence sources, the custody and\nshallow-clone reads, the container granularity rule, and the per-layer write. Read it at the start\nof the walk, not per layer.\n\n- **Write the artifact per layer, as the walk proceeds**, so a run that runs out of context leaves\n  its completed layers persisted for a later pass to merge into.\n- **Re-read the artifact from disk immediately before each write** and merge against that copy: the\n  second producer's rows sit in layers this walk never visits, and a stale merge drops them with no\n  closure row (`findings-artifact.md` \"Re-run merge semantics\").\n- **Answer the three liveness questions independently for every item** (§3).\n\n## Verdicts and evidence\n\nEvery verdict is one of §6's tokens, argued in carry cost (§1), and **cites at least one empirical\nsource or is UNPROVEN naming the tier consulted and whether it was silent or unavailable** (§2).\nDocumentation, headers and rationale text are claims to verify, never evidence; doc-only support is\nmarked unverified.\n\nAn existing check is held to the enforcement ladder's guardrail criterion: read\n[the Guardrail criterion section](https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fdocs\u002Fcontracts\u002Fenforcement-ladder\u002FREADME.md#guardrail-criterion)\nlive. **Recheck trigger**: the ladder's major version changes.\n\nProtected items are audited in full: §7 caps the recommendation, not the scrutiny, and uncertain\nprotection status counts as protected. A threshold that fires is cited with its source and its\nanalogical label verbatim (§9); a threshold the consumer disabled is not cited at all, and the\nqualitative bar carries the argument instead.\n\n## Intent checkpoints\n\nWhen intent reconstruction scores MEDIUM or LOW (§4):\n\n- **Attended (default)**: ask checkpoint questions, recommendation first, one small numbered set,\n  batched. Use `planning:interview`'s mechanics when installed, otherwise ask inline.\n- **Unattended**: record `OPEN-INTENT` and move on. Never invent an intent.\n\n\"I don't know\" is accepted: it routes the item to §8's empirical track with intent recorded as\nunrecovered.\n\n## Neighbor routing\n\nEvery route is **presence-gated**: check the plugin is installed, else take the inline fallback.\nRecord the route and the presence answer in the finding's `Routed-to`.\n\n| Finding class | Route (presence-gated) | Inline fallback when absent |\n|---|---|---|\n| Instruction *text* that is stale, over-prescriptive, or contradicts another surface | `harness-config:audit-instructions` | Keep the finding in `agent-instructions` with its evidence; report the wording, do not rewrite it |\n| An agent-layer standing-instruction ablation the evidence cannot settle | `harness-config:unhobble` | Route the item to §8's bounded ablation batch at rung 1 of §11, with the observation window and its end date recorded |\n| The operator asks what to *add* rather than retire | `harness-config:audit-automation-gaps` | Say prospective additions are outside this skill's contract, and record no finding for them |\n| A plugin component that does not do what its manifest or description says | `plugin-quality:audit` | Report an ordinary liveness finding (§3) on the component and stop there |\n\n## Incumbent-first\n\nBefore proposing any remediation, search for an existing owner: a mechanism in this repo that covers\nthe concern, a native platform feature that covers it now (with §5's dated tech-drift check), or a\nneighbor surface whose contract holds it. Ownership resolves through §12; ownerless is not a valid\nterminal state.\n\n## Custody is detected, never assumed\n\nAssume no organization, forge, CI system, branch name or harness; the ten layers are forge-neutral\nand every probe resolves what the consumer declares. Identify a managed, vendored or synced file, a\nreferenced shared workflow, or an organization-level policy from the consumer's own declarations (a\nsync manifest, a code-owners entry, a maintained header, a documented upstream). Where custody is\nupstream, remediation is a delegation (§12), never an in-repo edit.\n\n## The report\n\n[skills\u002Faudit\u002Fcontext\u002Freport-template.md](context\u002Freport-template.md) owns the output shape: the\nfindings artifact as the single source of truth, an inline terminal summary always, and a rendered\nHTML view only as a presence-gated extra. Fields, ids, ordering, the spine\u002Fprose split and merge\nsemantics belong to `findings-artifact.md`.\n\nThis lane writes `schema: 2` and `mode: walk`, and omits `targets`. It reads `schema: 1` and\n`schema: 2` artifacts; anything else stops the run with a visible message. Merging into schema 1\nupgrades it; a row carried forward untouched keeps no `Basis`, displayed as\n`not recorded (schema 1)` until re-evaluated. Every finding carries `Basis`: `measured` where a\ntier-1–4 citation supports the verdict; `class-inferred` where it rests on §6's non-derivable-oracle\nclause or a §7 class match and every consult was silent or tier-5-only; `unexamined` only with\n`UNPROVEN`. Where both `class-inferred` and `unexamined` fit, `class-inferred` wins: the\ndiscriminator is what the verdict rests on. The `check` constituent of every id this lane derives\ncarries `audit` as its producer segment.\n\n## A detached checkout has no branch identity\n\n`git rev-parse --abbrev-ref HEAD` answers `HEAD` on a detached checkout; `HEAD` keys every ref to one\nhome and passes `realign`'s branch-match check against any other ref, which is why the branch call\nuses `git symbolic-ref`. Scheduled runners commonly check out detached. When the identity does not\nresolve:\n\n- **Prefer a logical ref the environment supplies**, only once it is a real branch name. Name no\n  vendor's variables. Before it keys a home or fills `branch:`:\n  1. **Normalize** it to `git symbolic-ref --short`'s form: strip a leading `refs\u002Fheads\u002F` and only\n     that, so `refs\u002Fheads\u002Fmain` and `main` give the same home.\n  2. **Validate** it: refuse it if empty, if any path segment is `.` or `..` (the slug keeps `.`, so\n     `..` would escape the home), or if `git check-ref-format --branch -- \u003Cvalue>` exits non-zero.\n\n  A value failing either step is absent. A value that passes is the identity for both the home and\n  `branch:`, and the report says it came from the environment.\n- **Otherwise persist nothing and say why**: \"detached checkout, no logical ref supplied; no branch\n  identity, so no findings artifact is written\". Never fall back to `HEAD`, the commit sha, or\n  whatever home the slug produces.\n- **Never write `branch: HEAD`, and never write the key empty or absent.** Decline the whole artifact.\n\n**Detached in a repository and no checkout are different stops.** With **no checkout** (`git\nrev-parse --show-toplevel` fails) there is no surface to audit: stop, and do not walk the working\ndirectory as if it were a repository. A **detached checkout inside a repository** still walks and\nemits the inline summary; only the persisted write is declined, stated in place of the opening\nline's path. When that summary is the only record, it lists **every** finding, not the template's\ncapped top findings.\n\n## Spoke paths\n\nThe `context\u002F` files write the plugin's root directory as `\u003Cplugin-root>`, which is\n`${CLAUDE_PLUGIN_ROOT}`. Substitute it before running a command or writing it into a brief.\n[`${CLAUDE_PLUGIN_ROOT}\u002Freference\u002Fspoke-paths.md` § Spoke paths](${CLAUDE_PLUGIN_ROOT}\u002Freference\u002Fspoke-paths.md#spoke-paths)\nrecords why and holds the pointer.\n\n## Next\n\n`\u002Foverengineering:realign`. It executes accepted findings from this run's artifact.\n\n## Gotchas\n\n- **A layer-scoped pass is not a retirement of what it did not look at.** Findings in unwalked layers\n  are carried forward untouched and marked not re-evaluated this run.\n- **A zero is not a measurement.** For hook-, transform- and gate-shaped items, no recorded\n  invocations is the expected reading for one that works and is heavily used (§5).\n- **Two copies, one wired.** Where a guard exists in a local and a packaged form, name which copy the\n  verdict is about; the rationale often lives with the copy that no longer fires.\n- **A control used in a comparison gets its own liveness read** before the comparison is admitted\n  (§2).\n- **Never recommend weakening the practices whose output is the evidence** (§10): tests, review, type\n  checking, the build, and the record-keeping that makes tiers 1 and 2 readable.\n","**Arguments.** `[--unattended] [--medium \u003Cvalue>] [layer ...]`. Layer: agent-hooks|agent-instructions|repo-hooks|vcs-hooks|ci-lanes|gate-scripts|satellite-workflows|branch-protection|forge-apps|external-integrations|all (default: all). `--medium` governs only the rendered-view offer ([report-template.md](context\u002Freport-template.md), Layer 3).\n\n## Repository context. Gather first\n\nRun each as its own Bash call, never combined into one invocation:\n\n- Branch, `git symbolic-ref --quiet --short HEAD`\n- Shallow clone, `git rev-parse --is-shallow-repository`\n\nTreat a failure (not a repository, git unavailable) as an unknown value and carry on.\n\n## Purpose\n\nWalk the enforcement surface that governs work in this repository and report which mechanisms still\nearn their carry cost. Every incumbent is a retirement candidate until evidence earns its keep, and\nsilence is not evidence in either direction.\n\nWhich automation is MISSING is `\u002Fharness-config:audit-automation-gaps`'s question. Route a gap that\nsurfaces mid-walk there when that plugin is installed; otherwise record it in the findings artifact\nas an observation for the human. This walk never proposes new automation.\n\n**The surface is everything that governs work here, wherever it is registered**, including settings\nscopes merged from outside the tree and forge controls in a control plane. Out-of-repo items are\naudited like any other; only their remediation changes, to a delegation (§12).\n\nRead `${CLAUDE_PLUGIN_ROOT}\u002Fcontext\u002Fscrutiny-method.md` before judging anything and cite its sections\nin findings rather than paraphrasing them: the verdict ladder (§6), evidence tiers (§2), the three\nliveness questions (§3), intent reconstruction (§4), rediscovery (§5), protected classes and their\ncap (§7), UNPROVEN triage (§8), analogical thresholds (§9), scope boundary (§10), rollback ladder\n(§11), ownership (§12). Every bare `§N` in this skill and its context files is a section of that\ndocument. Shared docs sit under `${CLAUDE_PLUGIN_ROOT}\u002Fcontext\u002F` and `${CLAUDE_PLUGIN_ROOT}\u002Freference\u002F`;\nthis skill's own docs sit under `${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Faudit\u002Fcontext\u002F`.\n\n## Read-only contract\n\n**This skill reports only. It never mutates the surface it walks.** No hook disabled, no workflow\nedited, no gate script deleted, no setting changed, no branch rule touched, not even a formatting fix\nin a file it read.\n\nThe one write is the **findings artifact**, at the memory-tier home\n`${CLAUDE_PLUGIN_ROOT}\u002Fcontext\u002Ffindings-artifact.md` \"Where it lives\" defines, a self-ignored scratch\nroot outside tracked content. Immediately after resolving the home (step 1 of \"Before the walk\"),\nand before any layer is walked, say: *\"Read-only pass; the only file written is the findings artifact\nat `\u003Cresolved path>`.\"*\n\n**A run with no branch identity writes nothing at all**, and says instead: *\"Read-only pass; no\nbranch identity resolved, so no findings artifact is written.\"* See \"A detached checkout has no\nbranch identity\".\n\n**Writing the artifact from a delegated run.** Some harnesses refuse a report-shaped filename from a\ndelegated executor. The sanctioned route: write the full content with the file-write tool to a\nneutral filename in the artifact's directory, then rename it to the contract filename. An\n`--unattended` run takes this route from its first write; an attended run writes the contract filename\ndirectly and switches at the first refusal. The route covers every write of the artifact, each\nper-layer checkpoint included. **Never write the artifact's content through the shell.** Where\nneither route is available, say so and stop.\n\n**One auxiliary write is sanctioned**: the once-per-session self-ignore guard, creating the memory\nroot's own `.gitignore` (announced) when absent, never the consumer's root `.gitignore`. Nothing else\nis written.\n\nExecuting a finding belongs to `overengineering:realign`, behind an explicit per-item human gate.\nName it as the next step; never start it unasked.\n\n## Arguments\n\nParse `$ARGUMENTS`, after taking out `--unattended` wherever it appears:\n\n- **Layer scope**: one or more of the **ten enforcement layers** in\n  `${CLAUDE_PLUGIN_ROOT}\u002Fcontext\u002Ffindings-artifact.md`'s vocabulary, `agent-hooks` through\n  `external-integrations`; default `all`, meaning those ten and never the justification lane's five.\n  Asked for one of the five, refuse and name `\u002Foverengineering:justify`, which owns them one target\n  at a time. Record exactly the layers walked in the artifact's `scope`: merge rule 3 reads `scope`\n  to close a prior finding as gone, so a layer recorded but not walked closes another producer's\n  rows, and a layer absent from `scope` was not walked rather than found empty. Layer-scoped passes\n  are the supported way to cover a large surface; they compose by stable finding id.\n- **`--unattended`**, anywhere in the arguments: for low-confidence intent (§4), record\n  `OPEN-INTENT`, ask nothing, guess nothing. **Attended is the default**; the caller passes the flag,\n  and the mode is never inferred. The bare word `unattended` is not this flag and not a focus hint:\n  stop and name `--unattended`.\n- Anything else is a free-text focus hint (a path, a mechanism name). It narrows attention, not the\n  layer scope; a hint that matches nothing is reported.\n\n## Before the walk\n\n1. **Resolve the branch identity, then the artifact home.** Read the branch call's exit status.\n   **`HEAD` is never a branch identity**, and neither is a failed call; \"A detached checkout has no\n   branch identity\" governs what an unresolved identity declines, decided here. With an identity,\n   compose the home per `findings-artifact.md` \"Where it lives\"; any other path writes where\n   `realign` never looks. **Then emit the read-only opening line.** An `--unattended` run then probes\n   the write path before walking: with the file-write tool, write a neutral file in the artifact's\n   directory, rename it to a second neutral name there, and delete exactly that second path (the\n   file-write tool's delete where offered, else one shell removal of that path). Never rename onto the\n   contract filename. The probe leaves no file behind on success and, removal included, is part of\n   the findings-artifact write, not another auxiliary write. A run with no branch identity has\n   nothing to probe. When the write, rename or\n   delete is refused, try no other route: name the refusal and every probe path still on disk, and\n   stop before walking.\n2. **Resolve consumer configuration**: protected categories, threshold overrides, observation window\n   and suppression entries from the consuming repo's `.claude\u002Foverengineering.md` through the\n   config-cascade layering, per `${CLAUDE_PLUGIN_ROOT}\u002Freference\u002Fconsumer-config.md`. All layers\n   absent is valid: bundled defaults apply, and the run says so. Name a personal layer that\n   materially shapes output.\n3. **Load the prior artifact** if present. Write `Status: OPEN` on a finding not seen before and\n   carry every other status forward verbatim; never advance, downgrade or clear one.\n4. **Assess evidence availability** per tier (§2), naming the probe for each, the shallow-clone probe\n   included. This leads the report, ahead of any finding (§8).\n5. **Exclude** the consumer's `.claude\u002Foverengineering.md` from the scan set.\n\n## The walk\n\n[skills\u002Faudit\u002Fcontext\u002Fsurface-walk.md](context\u002Fsurface-walk.md) carries the layer-by-layer walk in the\nartifact's enum order: each layer's discovery probes and evidence sources, the custody and\nshallow-clone reads, the container granularity rule, and the per-layer write. Read it at the start\nof the walk, not per layer.\n\n- **Write the artifact per layer, as the walk proceeds**, so a run that runs out of context leaves\n  its completed layers persisted for a later pass to merge into.\n- **Re-read the artifact from disk immediately before each write** and merge against that copy: the\n  second producer's rows sit in layers this walk never visits, and a stale merge drops them with no\n  closure row (`findings-artifact.md` \"Re-run merge semantics\").\n- **Answer the three liveness questions independently for every item** (§3).\n\n## Verdicts and evidence\n\nEvery verdict is one of §6's tokens, argued in carry cost (§1), and **cites at least one empirical\nsource or is UNPROVEN naming the tier consulted and whether it was silent or unavailable** (§2).\nDocumentation, headers and rationale text are claims to verify, never evidence; doc-only support is\nmarked unverified.\n\nAn existing check is held to the enforcement ladder's guardrail criterion: read\n[the Guardrail criterion section](https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fdocs\u002Fcontracts\u002Fenforcement-ladder\u002FREADME.md#guardrail-criterion)\nlive. **Recheck trigger**: the ladder's major version changes.\n\nProtected items are audited in full: §7 caps the recommendation, not the scrutiny, and uncertain\nprotection status counts as protected. A threshold that fires is cited with its source and its\nanalogical label verbatim (§9); a threshold the consumer disabled is not cited at all, and the\nqualitative bar carries the argument instead.\n\n## Intent checkpoints\n\nWhen intent reconstruction scores MEDIUM or LOW (§4):\n\n- **Attended (default)**: ask checkpoint questions, recommendation first, one small numbered set,\n  batched. Use `planning:interview`'s mechanics when installed, otherwise ask inline.\n- **Unattended**: record `OPEN-INTENT` and move on. Never invent an intent.\n\n\"I don't know\" is accepted: it routes the item to §8's empirical track with intent recorded as\nunrecovered.\n\n## Neighbor routing\n\nEvery route is **presence-gated**: check the plugin is installed, else take the inline fallback.\nRecord the route and the presence answer in the finding's `Routed-to`.\n\n| Finding class | Route (presence-gated) | Inline fallback when absent |\n|---|---|---|\n| Instruction *text* that is stale, over-prescriptive, or contradicts another surface | `harness-config:audit-instructions` | Keep the finding in `agent-instructions` with its evidence; report the wording, do not rewrite it |\n| An agent-layer standing-instruction ablation the evidence cannot settle | `harness-config:unhobble` | Route the item to §8's bounded ablation batch at rung 1 of §11, with the observation window and its end date recorded |\n| The operator asks what to *add* rather than retire | `harness-config:audit-automation-gaps` | Say prospective additions are outside this skill's contract, and record no finding for them |\n| A plugin component that does not do what its manifest or description says | `plugin-quality:audit` | Report an ordinary liveness finding (§3) on the component and stop there |\n\n## Incumbent-first\n\nBefore proposing any remediation, search for an existing owner: a mechanism in this repo that covers\nthe concern, a native platform feature that covers it now (with §5's dated tech-drift check), or a\nneighbor surface whose contract holds it. Ownership resolves through §12; ownerless is not a valid\nterminal state.\n\n## Custody is detected, never assumed\n\nAssume no organization, forge, CI system, branch name or harness; the ten layers are forge-neutral\nand every probe resolves what the consumer declares. Identify a managed, vendored or synced file, a\nreferenced shared workflow, or an organization-level policy from the consumer's own declarations (a\nsync manifest, a code-owners entry, a maintained header, a documented upstream). Where custody is\nupstream, remediation is a delegation (§12), never an in-repo edit.\n\n## The report\n\n[skills\u002Faudit\u002Fcontext\u002Freport-template.md](context\u002Freport-template.md) owns the output shape: the\nfindings artifact as the single source of truth, an inline terminal summary always, and a rendered\nHTML view only as a presence-gated extra. Fields, ids, ordering, the spine\u002Fprose split and merge\nsemantics belong to `findings-artifact.md`.\n\nThis lane writes `schema: 2` and `mode: walk`, and omits `targets`. It reads `schema: 1` and\n`schema: 2` artifacts; anything else stops the run with a visible message. Merging into schema 1\nupgrades it; a row carried forward untouched keeps no `Basis`, displayed as\n`not recorded (schema 1)` until re-evaluated. Every finding carries `Basis`: `measured` where a\ntier-1–4 citation supports the verdict; `class-inferred` where it rests on §6's non-derivable-oracle\nclause or a §7 class match and every consult was silent or tier-5-only; `unexamined` only with\n`UNPROVEN`. Where both `class-inferred` and `unexamined` fit, `class-inferred` wins: the\ndiscriminator is what the verdict rests on. The `check` constituent of every id this lane derives\ncarries `audit` as its producer segment.\n\n## A detached checkout has no branch identity\n\n`git rev-parse --abbrev-ref HEAD` answers `HEAD` on a detached checkout; `HEAD` keys every ref to one\nhome and passes `realign`'s branch-match check against any other ref, which is why the branch call\nuses `git symbolic-ref`. Scheduled runners commonly check out detached. When the identity does not\nresolve:\n\n- **Prefer a logical ref the environment supplies**, only once it is a real branch name. Name no\n  vendor's variables. Before it keys a home or fills `branch:`:\n  1. **Normalize** it to `git symbolic-ref --short`'s form: strip a leading `refs\u002Fheads\u002F` and only\n     that, so `refs\u002Fheads\u002Fmain` and `main` give the same home.\n  2. **Validate** it: refuse it if empty, if any path segment is `.` or `..` (the slug keeps `.`, so\n     `..` would escape the home), or if `git check-ref-format --branch -- \u003Cvalue>` exits non-zero.\n\n  A value failing either step is absent. A value that passes is the identity for both the home and\n  `branch:`, and the report says it came from the environment.\n- **Otherwise persist nothing and say why**: \"detached checkout, no logical ref supplied; no branch\n  identity, so no findings artifact is written\". Never fall back to `HEAD`, the commit sha, or\n  whatever home the slug produces.\n- **Never write `branch: HEAD`, and never write the key empty or absent.** Decline the whole artifact.\n\n**Detached in a repository and no checkout are different stops.** With **no checkout** (`git\nrev-parse --show-toplevel` fails) there is no surface to audit: stop, and do not walk the working\ndirectory as if it were a repository. A **detached checkout inside a repository** still walks and\nemits the inline summary; only the persisted write is declined, stated in place of the opening\nline's path. When that summary is the only record, it lists **every** finding, not the template's\ncapped top findings.\n\n## Spoke paths\n\nThe `context\u002F` files write the plugin's root directory as `\u003Cplugin-root>`, which is\n`${CLAUDE_PLUGIN_ROOT}`. Substitute it before running a command or writing it into a brief.\n[`${CLAUDE_PLUGIN_ROOT}\u002Freference\u002Fspoke-paths.md` § Spoke paths](${CLAUDE_PLUGIN_ROOT}\u002Freference\u002Fspoke-paths.md#spoke-paths)\nrecords why and holds the pointer.\n\n## Next\n\n`\u002Foverengineering:realign`. It executes accepted findings from this run's artifact.\n\n## Gotchas\n\n- **A layer-scoped pass is not a retirement of what it did not look at.** Findings in unwalked layers\n  are carried forward untouched and marked not re-evaluated this run.\n- **A zero is not a measurement.** For hook-, transform- and gate-shaped items, no recorded\n  invocations is the expected reading for one that works and is heavily used (§5).\n- **Two copies, one wired.** Where a guard exists in a local and a packaged form, name which copy the\n  verdict is about; the rationale often lives with the copy that no longer fires.\n- **A control used in a comparison gets its own liveness read** before the comparison is admitted\n  (§2).\n- **Never recommend weakening the practices whose output is the evidence** (§10): tests, review, type\n  checking, the build, and the record-keeping that makes tiers 1 and 2 readable.\n",{"metadata":24,"description":7,"argument-hint":27,"user-invocable":28,"disable-model-invocation":20},{"summary":25,"workflow-stage":26},"Audit the enforcement surface for mechanisms no longer earning their carry cost","anytime","[--unattended] [--medium \u003Cvalue>] [layer ...]",true,"main","d0e68c3f36b92a1d6381f0ba0060d7a0b8b886c5","plugins\u002Foverengineering\u002Fskills\u002Faudit",7,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins","https:\u002F\u002Fgithub.com\u002Fmelodic-software","https:\u002F\u002Fmelodicsoftware.com","Independent software studio building developer tools, automation, and application services, with roots in music.","2026-11-15 05:15:06",{"source":8,"skillName":5,"commands":39,"prompt":49,"zipAvailable":28},[40,43,46],{"tool":41,"command":42},"npx","npx skills add melodic-software\u002Fclaude-code-plugins --skill audit",{"tool":44,"command":45},"bunx","bunx skills add melodic-software\u002Fclaude-code-plugins --skill audit",{"tool":47,"command":48},"pnpm","pnpm dlx skills add melodic-software\u002Fclaude-code-plugins --skill audit","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Foverengineering\u002Fskills\u002Faudit\u002FSKILL.md",[51,57,61],{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"context\u002Freport-template.md","REFERENCE","参考文档",9506,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Foverengineering\u002Fskills\u002Faudit\u002Fcontext\u002Freport-template.md",{"path":58,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":59,"sourceHtmlUrl":60},"context\u002Fsurface-walk.md",21096,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Foverengineering\u002Fskills\u002Faudit\u002Fcontext\u002Fsurface-walk.md",{"path":62,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":63,"sourceHtmlUrl":64},"evals\u002Fevals.json",25733,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Foverengineering\u002Fskills\u002Faudit\u002Fevals\u002Fevals.json",[66,73,80,87,92,99],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7DYYDG31B9YX7N9MB9QW2GW","track","Backlog reads through the bound tracker: search open and closed items, view one item with its comments and state history. Use when another skill searches or reads tracker items.","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fsession-flow\u002Fevals\u002Frecall-still-reports-reopened-bug\u002Fwork-items-stub\u002Fskills\u002Ftrack\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7DYXVBAVG3NV30PA7GKW9Q6","reviewer-media","Reviewer media for one pull request: decides whether it needs a narrated walkthrough, builds the storyboard from \u002Freview:explain-change's digest, has \u002Fexplainer-video:produce render it and hands the manifest to \u002Fsource-control:pull-request media. Use when asked for 'reviewer media', 'a walkthrough video for this PR', 'a produced video of this change', or when pull-request ready or monitor hands a PR over.","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Freview\u002Fskills\u002Freviewer-media\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7DYRZ5YD44AMYH26YR25GZ8","route","Model and effort per agent role (orchestrator, worker, verifier, retrieval) for a multi-agent run, resolved through the bundled defaults and the user, team and personal override config layers into fenced JSON with single-agent and fan-out variants and the layer behind each value. Use when asked 'which model for the subagents', 'route the roles' or 'model routing', or before a skill passes a role's model on a spawn.","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdiscovery\u002Fevals\u002Fex-model-pin-without-override\u002Fmulti-agent-stub\u002Fskills\u002Froute\u002FSKILL.md",[],[],{"skillNo":88,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M7DYRTVT4FWTGDJY0HCCFJMZ","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdiscovery\u002Fevals\u002Fex-model-override-from-route\u002Fmulti-agent-stub\u002Fskills\u002Froute\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":19},"01M7DYNZC8PNW3T27V2ADKECKJ","principles","Module-design vocabulary for architecture findings, and the checks built on it. Use when: 'what is a deep module', 'what is a seam', 'deep vs shallow module', 'what is the deletion test', 'leverage and locality', 'module design vocabulary', 'which word do we use for X in architecture findings'. Scanning a codebase for friction is \u002Farchitecture:improve.","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Farchitecture\u002Fskills\u002Fprinciples\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":19},"01M7DYNMCZNEWBFHV9KTSS6H60","write","Structured five-field bug report (title, steps to reproduce, expected vs actual, justified severity, suggested fix location) from an informal description, read-only. Use when the user names a defect they observed, or asks for one written up ('report a bug', 'file a bug', 'write this up as a bug').","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Farchitecture\u002Fevals\u002Fdeepening-defect-goes-to-bugs-write\u002Fbugs-stub\u002Fskills\u002Fwrite\u002FSKILL.md",[],[]]