Repository navigation
Closed
Description
Sub-issue of #4113 (scanner calibration).
Problem
- The I6 seed in
scripts/instruction-scan.shmatches per line with a single-line rationale window and no fence or table handling: 6,476 candidate rows on this marketplace, 5 findings survived. Lane dismissal buckets summed to about 2,200 "rationale nearby", 1,170 "positive form already present", 1,400 "not a directive" (descriptive prose, headings, frontmatter, quotes, fences, table cells), and 1,470 withheld under the stopping condition. - I33 (spoke openers describing their own role or loading) produced 118 of 380 retained findings across 38 plugins, all info. Verification corrected 10 diffs and dropped 7 rows as one-line scope notes or index pointers that the row's own Must NOT flag already exempts, so the fence was not applied at lane time.
Change
- I6. Adopt the gate set the sibling detector
docs-hygiene/audit-noise/rule-negation-without-positivemeasures and documents indocs/conventions/detector-findings/README.md: an imperative-opening gate (the prohibition opens the sentence), a paired-positive boundary (instead,rather than,prefer,in place ofin the same sentence exits), soft-wrapped sentence accumulation across paragraph lines, and exclusion of frontmatter, fenced code, and table rows. Report raw and surviving counts in the pre-scan seed line. Update the I6 Detect sentence inreference/criteria.mdand the scanner header to state the current rule (structural exclusions are not criteria fences), and add cases toscripts/instruction-scan.test.sh. - I33. One finding per spoke, keyed under the identity contract (claude-config: audit-instructions execution model, scanner calibration, report contract, and environment fit #4113 unit 3) by an excerpt anchor over the opener sentence with the heading-path discriminator, never a whole-surface anchor (an
s:anchor survives the row's own remediation, perfinding-identity.mdassertion 1.7). The lane brief restates the row's existing Must NOT flag fences (one-line scope note, hub index table, frontmatter). The Phase D report rolls up I33 per plugin in presentation only: a collapsed per-plugin section whose rows keepSurface:Lineand a diff. One class-batched verifier judges the I33 class in Phase C (the "one verifier per surface, not one per finding" rule already permits a per-class batch). The row's tier, authority, Detect, and Remediate are unchanged, and no finding class is exempted from verification.
Acceptance criteria
scripts/instruction-scan.test.shhas passing cases for the imperative-opening gate, the paired-positive boundary, soft-wrapped accumulation, and fence and table exclusion.- On this repository at
2dfaaa40, the I6 seed count falls below 1,000 rows with the five retained findings still seeded; the report states raw and surviving counts. - Lane-brief fixtures with a one-line scope note and a hub index pointer yield zero I33 findings.
- The Phase D report carries a collapsed per-plugin I33 section whose rows keep
Surface:Lineand a diff. scripts/affected-tests.sh --runpasses.
Sources
docs/conventions/detector-findings/README.md, rowdocs-hygiene/audit-noise/rule-negation-without-positive("The imperative-only gate is load-bearing and measured")reference/criteria.mdI6 and I33 rowsplugins/claude-config/skills/audit-pass/reference/finding-identity.md(anchor granularity)docs/PLUGIN-PHILOSOPHY.md"Fresh-eyes checkpoints"
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
No fields configured for Feature.
Activity
kyle-sexton commentedon Sep 23, 2026
This was generated by AI during triage.
Agent Brief
Type: Feature
Summary: Calibrate the pre-scan's bare-prohibition check against a documented gate set, and fix the presentation of self-referential opener findings.
Current behavior:
The pre-scan's bare-prohibition check matches per line with a single-line rationale window and no fencing for code blocks or tables, producing 6,476 candidate rows on this marketplace of which only 5 findings survived, most dismissed for a rationale nearby, a positive form already present, being descriptive prose rather than a directive, or being withheld under the stopping condition. Separately, the self-referential-opener check (a spoke describing its own role or loading) produced 118 of 380 retained findings across 38 plugins, all informational; verification corrected 10 of them and dropped 7 that a one-line scope note or a hub index pointer already exempts under the check's own fencing rule, because that fencing was not applied at lane time.
Desired behavior:
The bare-prohibition check adopts the same gate set the sibling noise-detector's paired-negation rule already measures and documents: an imperative-opening gate (the prohibition must open the sentence), a paired-positive boundary (a same-sentence alternative such as "instead," "rather than," "prefer," or "in place of" exits the match), soft-wrapped sentence accumulation across paragraph line breaks, and exclusion of frontmatter, fenced code, and table rows. The pre-scan reports both the raw and the surviving candidate counts. The self-referential-opener check emits one finding per spoke, keyed by an excerpt anchor over the opener sentence with a heading-path discriminator rather than a whole-surface anchor, and the lane brief restates the check's existing exemptions (a one-line scope note, a hub index pointer, frontmatter) so they are applied before a finding is raised, not after. The report's per-plugin rollup for this check is presentation-only: a collapsed section per plugin whose rows still keep their surface-and-line locator and diff. One verifier judges the whole self-referential-opener class in a single batch rather than one verifier per finding. The check's severity tier, authority, detection rule, and remediation text are unchanged, and no finding class is exempted from verification.
Key interfaces:
Acceptance criteria:
Out of scope:
docs(claude-config): record audit-instructions execution/report contr…
feat(claude-config): I6 docs-hygiene gates and I33 per-spoke fences (#…
feat(claude-config): I6 docs-hygiene gates and I33 per-spoke fences (#…
feat(claude-config): I6 docs-hygiene gates and I33 per-spoke fences (#…
feat(claude-config): I6 docs-hygiene gates and I33 per-spoke fences (#…
3 remaining items
fix(claude-config): dedupe I6 rows per line, skip setext headings, re…
feat(claude-config): fence I6 gate set and per-spoke I33 (#4115) (#4850)
kyle-sexton commentedon Sep 29, 2026
This was generated by AI during triage.
Implemented by #4850 (feat(claude-config): fence I6 gate set and per-spoke I33 (#4115)), merged as a1733b0. Parent #4113 is closed.
docs(claude-config): audit-instructions records the subagent-window c…
chore(claude-config): release 0.52.0
kyle-sexton commentedon Sep 29, 2026
Reopening (closed 2026-09-29T03:53Z as "Implemented by #4850") and relabeling to
status: needs-decision, so the work loop does not re-pick it. This comes from the 2026-09-29 audit of the unattended Cursor PR run.What the audit found
PR #4850's own body says it is a partial delivery: "its AC2 (five previously-retained findings still seed) cannot be verified because those five findings are not recorded anywhere, so #4115 stays open for that check." The issue was closed anyway.
AC2 also asks for an I6 seed count below 1,000 rows. Measured read-only today with
instruction-scan.sh --i6-countson29a36c991(not2dfaaa40, which the AC names):vendor/(1,102 files: skills incl. spokes, agents, commands,.claude/, CLAUDE.md, AGENTS.md)SKILL.md, agents, CLAUDE.md, AGENTS.md onlyThe issue's baseline was 6,476 raw rows. So the count clause holds or fails depending on which files "this repository" means; on the wider set it is not below 1,000.
instruction-scan.test.shpasses all 140 checks, including the imperative-opening gate, paired-positive boundary, soft-wrap accumulation, and fence and table exclusion cases.Decision packet
Question. AC2 requires the five previously retained I6 findings to still seed, but they are recorded nowhere, so it cannot be verified. How should AC2 be settled?
Options.
audit-instructionson the2dfaaa40tree and record the five findings first.Recommendation: a. Basis: the clause is unverifiable by construction (PR #4850 body says so) and the gate cases in
instruction-scan.test.shpass. Owner picks; this is not an owner decision. If a or c is chosen, the owner should also say which file set the "< 1,000" count uses, since the two sets above land on opposite sides of it.Unblocks. Closing #4115 honestly, and with it the last open child claim under #4113.
fix(claude-config): fix audit findings in audit-instructions, unhobbl…
kyle-sexton commentedon Sep 29, 2026
Owner decision (2026-09-29): Option a. Waive the five-finding clause of AC2 (those findings are recorded nowhere and cannot be verified). The I6 seed count is measured over SKILL.md, agents, CLAUDE.md and AGENTS.md only: 695 surviving rows, under 1,000. The 140 checks in instruction-scan.test.sh cover the gate cases.
Next: closing this issue as completed; the last open child claim under #4113 is settled.