You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs(adr): ADR 0003's corpus rule does not scope the sweep to a hook's actual deployment surface #1438
needs-humanHuman-in-the-loop required; autonomous sessions must not resolve items carrying this.needs-owner-decisionAwaiting a human or maintainer judgment call.
ADR 0003 (merged in #1357) requires a guard to measure firing rate and precision "on the real corpus, at real scale" before shipping default-on. It never says whose corpus.
For a PostToolUse guard shipped inside a plugin, that omission matters. The guard does not execute here — it executes in arbitrary consuming repositories, whose document, path, and command distributions can differ substantially from this marketplace's. A sweep across this repo's 975 tracked markdown files establishes precision for this repo. A guard can clear that bar here and then over-fire for every consumer.
The evidence the ADR itself cites illustrates the gap: asserted-path-verify's dominant failure class was consumer-project config paths (.claude/**) that a doc describes for a consuming repo and that a marketplace correctly lacks. That is precisely a deployment-scope mismatch, and the rule as written would not have caught it in the general case.
Direction (no open decision)
Amend decision rule 1 so the corpus requirement names the guard's deployment scope rather than the authoring repo. Two readings satisfy it and the ADR should say which:
A guard whose matcher explicitly confines it to this marketplace may measure here.
A guard that ships default-on into consumer projects measures against corpora representative of that deployment scope — and states which corpora, since a single-repo sweep is not evidence about them.
Acceptance
Rule 1 distinguishes "the authoring repo's corpus" from "the guard's deployment surface"
The asserted-path-verify consumer-config finding is cited as the motivating case
No restatement of docs/conventions/hook-precision/README.md
Classification: needs-decision, human-gated. This is an ADR-scope interpretation question (does ADR 0003's "real corpus, at real scale" requirement mean the plugin author's own corpus, or every consuming repository's?) — a normative-policy-document question, not a code defect. Routing to a human/maintainer judgment call rather than resolving it inline.
needs-humanHuman-in-the-loop required; autonomous sessions must not resolve items carrying this.needs-owner-decisionAwaiting a human or maintainer judgment call.
Activity
kyle-sexton commentedon Jul 26, 2026
This was generated by AI during triage.
Classification: needs-decision, human-gated. This is an ADR-scope interpretation question (does ADR 0003's "real corpus, at real scale" requirement mean the plugin author's own corpus, or every consuming repository's?) — a normative-policy-document question, not a code defect. Routing to a human/maintainer judgment call rather than resolving it inline.
docs(adr): scope verification-guard corpus to deployment surface
docs(adr): scope verification-guard corpus to deployment surface (#2304)