Skip to content

fix(assess): path extraction counts cited paths as modification targets, producing phantom collisions #769

Closed

Description

@admarble

Context

extractPathsFromIssueBody (src/lib/assess-collision-detect.ts) treats every backtick-quoted path in an issue body as a file the issue will modify. Paths cited as background — under ## References, "Motivation", "Additional context" — are indistinguishable from paths named in an AC.

This is a known, deliberate deferral, not a rediscovery. #556 called the risk out at design time:

Path-extraction false-positive rate. Backtick-quoted paths often appear in issue bodies as references to existing code, not files-to-modify. Mitigation: weight paths by proximity to AC bullets — paths inside - [ ] **AC-N:** blocks score higher than paths in "Motivation" or "Additional context".

and predicted-collision-detection.md:98 recorded the deferral with an explicit trigger:

Proximity weighting is not implemented. ... Adding it is a follow-up if the false-positive rate becomes a problem in practice; leave it out until evidence demands it.

Filing because that evidence now exists.

Evidence

#760, #761 and #762 each cite one doc in their ## References section. None modifies it:

#760: - `docs/reference/chain-mode-analysis-2026-05.md` (#604) — failure taxonomy...
#761: - `docs/reference/chain-mode-analysis-2026-05.md` (#604) — rate-limit exposure classified as structural
#762: - `docs/reference/chain-mode-analysis-2026-05.md` (#604) — 0/5 recorded failures were content-caused

Actual output of the real detector for those three real issues:

Order: 760 → 761 → 762 (docs/reference/chain-mode-analysis-2026-05.md)
⚠ #760  Modifies docs/reference/chain-mode-analysis-2026-05.md (overlaps #761, #762); land sequentially
⚠ #761  Modifies docs/reference/chain-mode-analysis-2026-05.md (overlaps #760, #762); land sequentially
⚠ #762  Modifies docs/reference/chain-mode-analysis-2026-05.md (overlaps #760, #761); land sequentially

Chain: npx sequant run 760 761 762 --chain --qa-gate -Q   # alternative — 3 issues modify docs/reference/chain-mode-analysis-2026-05.md (chain length≥3 historically 1/6 = 17%; ...)

Three issues with zero actual file overlap are reported as a three-way collision. Because the group is ≥3, it also trips the chainSuggestion — so /assess actively recommends a chain whose own historical success rate is 17%, on the strength of all three issues citing the very document that records the 17% figure.

Two consumers, and the pre-flight is the lesser one:

Consumer Effect
/assess (SKILL.md:216 instructs the agent to call these functions) Bogus "land sequentially" advice + a chain recommendation. Pre-dates #762.
--chain pre-flight (#762) A spurious file-overlap-order warning; fatal under --strict-preflight.

A ## References section is near-universal in this repo's issues, and sibling issues routinely cite the same background doc — which is exactly the shape that collides.

Proposal

Implement the mitigation #556 already designed: make extraction section-aware.

Cheapest version first — exclude paths that appear only in background sections (## References, ## Context, "Motivation", "Additional context", "See also"). A path named only under References is a citation; a path named in an AC bullet is a target.

The fuller #556 design (score by proximity to - [ ] **AC-N:** bullets, threshold the score) is available if simple section exclusion proves too blunt. Prefer the simple version until evidence demands the scoring model — the same discipline that (correctly) deferred this in the first place.

Acceptance Criteria

Out of scope

The --strict-preflight UX and the pre-flight's warning classes (#762, shipped); parseDependencies marker anchoring (#767 — related false-positive class, different parser).

References

Activity

  1. added
    bug
    on Jul 15, 2026
  2. admarble commented on Jul 15, 2026

    @admarble
    ContributorAuthor

    Assessment

    → PROCEED — Section-aware path extraction; ACs are concrete and the code matches the report.

    Verified extractPathsFromIssueBody (src/lib/assess-collision-detect.ts:146) already strips code blocks/comments but has no section awareness, so the cited-path class described here is live.

    Workflow: exec → qa with quality loop

    npx sequant run 769 -Q --phases exec,qa
    

    Order: land PR #770 first — it modifies src/lib/assess-collision-detect.ts.

    ⚠ AC-6 edits predicted-collision-detection.md, which is mirrored across three skill dirs; update all three.

  3. admarble commented on Jul 16, 2026

    @admarble
    ContributorAuthor

    Pre-run context (2026-07-16, before sequant run 769 -Q)

    Both ordering prerequisites have landed — branch from current main (0c45b2c):

    Stale evidence in this issue's body

    The quoted detector output in Evidence predates #759: the real detector no longer emits --qa-gate and the annotation now reads 17%, predates the #748/#749 fixes. AC-3 ("no collision at all") is unaffected, but do not write tests asserting the body's verbatim chain-suggestion string — assert absence of collisions, per the AC.

    Current anchors (verified today)

    • stripCodeBlocksAndComments — src/lib/assess-collision-detect.ts:103, with the docs: note why the two body-strip helpers must not be unified #770 divergence guard at :96. Section-awareness belongs in extractPathsFromIssueBody (:146) or a helper beside it — do not fold it into stripCodeBlocksAndComments (which must keep inline backticks for PATH_REGEX) and do not reach for dependency-markers.ts:stripCodeAndComments (different contract; strips inline spans).
    • Tests live at src/lib/__tests__/assess-collision-detect.test.ts (note the __tests__ dir — not adjacent to the source).
    • The deferral note AC-6 updates is line 98 in all three mirrored copies: .claude/skills/, skills/, and templates/skills/assess/references/predicted-collision-detection.md. Update all three; npm run lint:skill-sync enforces sync. Read each file independently before editing (they can drift in whitespace).

    AC-5 fixture pattern

    Follow #767's precedent: byte-verbatim fixtures under a __fixtures__/ dir, fetched with gh issue view N --json body -q .body. #760/#761/#762 are closed, so their bodies are stable. See src/lib/workflow/__fixtures__/dependency-markers/ for the layout.

    Design consideration for /spec (AC-1 vs AC-4 tension)

    AC-1 lists ## Context among excluded sections, but this repo's issues routinely name the file-to-modify in Context or Proposal prose rather than in AC bullets — this issue's own body names src/lib/assess-collision-detect.ts only in its Context section, yet it is the modification target. Wholesale ## Context exclusion risks killing true positives that AC-4 guards. Two defensible readings:

    1. Exclude only citation-shaped sections (## References, "See also", "Additional context") and keep Context/Proposal — narrower, safer.
    2. Exclude Context too, relying on AC-bullet paths for true positives — matches AC-1's literal text but verify AC-4's real-pair regression still fires before committing to it.

    Pick one deliberately in /spec and say why; if the AC-4 regression pair stops colliding under reading 2, that's the AC's suggested design violating its own requirement — implement the requirement (no phantom collisions, true positives intact) and flag the divergence.

  4. admarble commented on Jul 16, 2026

    @admarble
    ContributorAuthor

    Complexity: Standard (6 ACs, 2 directories: src/lib/, skills/**/references/)

    AC Quality Check

    All 6 ACs are concrete and measurable — each names a specific function call, real issue numbers, or a specific file:line. No vague/unmeasurable/open-ended patterns. AC-3, AC-4, AC-5 are directly executable as unit tests. No title/body tension. ✅


    Scope Assessment

    Non-Goals: Present ("## Out of scope") — excludes --strict-preflight UX/warning classes (#762, shipped) and parseDependencies marker anchoring (#767, different parser). ✅

    Metric Value Status
    Feature count 1 (section-aware path extraction) ✅
    AC items 6 ✅
    Directory spread 2 (src/lib/ + skill references/ ×3 mirrors) ✅

    Verdict: ✅ SCOPE_OK — one function's behavior + its test + one doc paragraph. Tightly bounded.


    Acceptance Criteria

    AC-1: Path cited only in a background section is not extracted

    Verification: Unit Test
    Scenario: Given an issue body citing `docs/x.md` only under ## References → When extractPathsFromIssueBody(body) runs → Then the returned set excludes docs/x.md.
    Assumptions: Background-section denylist = References, Context, Motivation, Additional context, See also (heading match is case-insensitive and prefix-based, so ## Motivation — concrete recent miss matches).

    AC-2: Path in an AC bullet still extracted even when also cited under References

    Verification: Unit Test
    Scenario: Given a body naming `src/foo.ts` in a - [ ] **AC-N:** bullet AND under ## References → When extraction runs → Then src/foo.ts IS in the set.
    Assumptions: Satisfied naturally by "strip background sections, then extract" — the AC-bullet occurrence survives in the retained foreground text.

    AC-3: Real #760/#761/#762 trio returns no collision

    Verification: Unit Test
    Scenario: Given verbatim bodies of #760/#761/#762 (each citing docs/reference/chain-mode-analysis-2026-05.md only under ## References) → When detectFileCollisions runs over all three → Then result is [] (no CollisionResult → no order lines, no warnings, no chainSuggestion via formatCollisionAnnotations).

    AC-4: Existing true positive still fires (#556 real pair)

    Verification: Unit Test
    Scenario: Given verbatim #551 + #552 bodies → When detectFileCollisions runs → Then exactly one collision on qa/SKILL.md (unchanged from the current passing test at assess-collision-detect.test.ts:200).
    Assumptions: ⚠️ Design-critical (see Design Review Q4). #551's qa/SKILL.md is derived from /qa slash-command mentions in ## Summary/## Motivation, not a backtick PATH_REGEX match. Summary is not on the denylist, so the signal survives; Motivation is denylisted but redundant. The design must confirm this by re-running the existing test, not just the new negatives.

    AC-5: Tests use verbatim real issue bodies, not synthetic fixtures

    Verification: Manual (fixture review) + Unit
    Scenario: New negative fixtures are the actual gh issue view 760/761/762 bodies (matching the existing ISSUE_551_BODY/ISSUE_552_BODY convention).
    Assumptions: Fetch bodies via gh issue view <N> --json body; store as ISSUE_760_BODY etc. constants.

    AC-6: predicted-collision-detection.md:98 updated across all 3 mirrors

    Verification: Manual Test
    Scenario: The "Tuning notes → Proximity weighting is not implemented" paragraph is rewritten to state that section-aware background exclusion is now implemented (the cheapest version), with proximity scoring still deferred. Applied identically to .claude/skills/, templates/skills/, skills/; scripts/check-skill-sync.ts (or npm run equivalent) reports 3/3.
    Assumptions: Do NOT hand-edit dist/marketplace/... (build output). Also update the "Step 1 of the extraction" prose near line 90 if it now needs a Step 0/pre-strip mention.


    Implementation Plan

    Phase 1: Core logic (src/lib/assess-collision-detect.ts)

    1. Add a stripBackgroundSections(body) helper (sibling to stripCodeBlocksAndComments, ~ln 103). It removes content under any H2 heading whose text prefix-matches the background denylist, from that heading up to the next #/## (same-or-higher level) heading or EOF. Case-insensitive.
    2. Define BACKGROUND_SECTIONS as an exported ReadonlySet<string> near EXCLUDED_PATHS (ln 25) so it's tunable/documented like the other knobs.
    3. Compose it in extractPathsFromIssueBody (ln 148): const cleaned = stripBackgroundSections(stripCodeBlocksAndComments(body));. Everything downstream (PATH_REGEX, 3-dir slash/SKILL_FILE derivation) then operates on foreground-only text — no per-mechanism changes needed.

    Phase 2: Tests (src/lib/__tests__/assess-collision-detect.test.ts)

    1. Add ISSUE_760_BODY/761/762 verbatim fixtures (AC-5).
    2. extractPathsFromIssueBody: add the AC-1 negative (References-only path dropped) and AC-2 positive (AC-bullet path survives despite a References citation).
    3. detectFileCollisions: add AC-3 (760/761/762 → []) and re-assert AC-4 (551/552 still one qa/SKILL.md collision) — the existing test at :200 should pass unchanged; treat any change there as a regression.

    Phase 3: Docs (3 mirrors)

    1. Rewrite the predicted-collision-detection.md Tuning-notes proximity paragraph (AC-6) in all three skill dirs; verify sync.

    Design Review

    1. Where does this logic belong? In extractPathsFromIssueBody as a pre-extraction strip step, mirroring the existing stripCodeBlocksAndComments pattern. Do not push section logic into the regexes or into detectFileCollisions.
    2. Simplest correct approach? "A path appears only in background sections" ⟺ "the path does not appear in the foreground." So instead of tracking per-path section membership, just strip background sections before extracting — one helper, zero changes to the four downstream regexes. Rejected: per-match section tagging (more code, same result); the full feat(assess): predict file-collision between PROCEED issues from body content #556 proximity-scoring model (issue explicitly says defer it until this proves too blunt).
    3. What existing pattern does this follow? The stripCodeBlocksAndComments → regex pipeline already in this file (ln 103–105, 148). New helper is a drop-in third strip stage.
    4. What would a senior reviewer challenge? "Won't stripping background sections kill the feat(qa): require detection-pattern verification for skill regex/grep/awk changes #551/feat(spec,qa): detect behavior-rule implementations across skill+runtime touchpoints #552 true positive?" — No, and this is the load-bearing check: feat(qa): require detection-pattern verification for skill regex/grep/awk changes #551's qa/SKILL.md comes from /qa in ## Summary (not denylisted). If a future refactor added Summary to the denylist, AC-4 would break. Also expect: "Is ## Context safe to exclude wholesale?" — see Open Questions.

    Open Questions

    1. Excluding ## Context wholesale. AC-1 lists Context as a background section, but some issues put target paths only under ## Context. Recommendation: follow the AC literally (exclude it) since the false-positive cost is the documented problem and the fuller AC-proximity model remains the escape hatch. Impact if wrong: a genuine target mentioned only in ## Context becomes a false negative — acceptable given the issue's stated preference for the blunt version first.
    2. Heading match strictness. Prefix-match (startsWith) vs exact. Recommendation: prefix + case-insensitive, to catch ## Motivation — concrete recent miss (real, in feat(spec,qa): detect behavior-rule implementations across skill+runtime touchpoints #552). Impact if wrong: a section like ## Contextual API notes would be over-excluded; low likelihood, flag in the doc.

    Feature Quality Planning

    All standard checks pass. Notable items:

    • No new dependencies, no API-surface change (helper is internal; BACKGROUND_SECTIONS export is additive).
    • Regression safety hinges on the existing :200 test staying green (AC-4) — call it out in the PR description.
    • No sibling site to fix in this file: extraction is centralized in one function. The analogous false-positive class in dependency-markers.ts:parseDependencies is explicitly out of scope (fix: parseDependencies matches prose mentions and silently reorders runs #767, already fixed separately).

    Recommended Workflow

    Phases: exec → qa
    Quality Loop: enabled (-Q)
    Reasoning: Matches the prior /assess recommendation. testgen is skippable here — the test file already exists with an established fixture convention, and AC-5 fully specifies the exact (verbatim-body) fixtures to add, so stubs add no value. Quality loop on because it's detection-logic where a subtle scoping error (AC-4) silently degrades true-positive coverage.

    npx sequant run 769 -Q --phases exec,qa
    

    Label Review

    Current: bug
    Recommended: bug (+ planned added by this phase)
    Reason: Single-module bug fix with tests + a doc paragraph; no complex/refactor/ui signals. bug-only correctly skips testgen and browser testing.
    Quality Loop: Will auto-enable via -Q in the run command; scope is SCOPE_OK so it won't auto-trip on scope grounds.


    --- DRAFT GITHUB ISSUE COMMENT (PLAN) ---

    Plan (/spec) — Standard, SCOPE_OK. Make extractPathsFromIssueBody section-aware so paths cited only in background sections stop producing phantom collisions.

    Approach: Add a stripBackgroundSections(body) helper (denylist H2s: References, Context, Motivation, Additional context, See also) and compose it before existing extraction: stripBackgroundSections(stripCodeBlocksAndComments(body)). "Only in background" ⟺ "absent from foreground," so one pre-strip stage covers every AC with no changes to the downstream regexes.

    AC coverage:

    Design-critical check: #551's qa/SKILL.md is derived from /qa in ## Summary (not denylisted) — so section-stripping must not touch Summary, or AC-4 regresses. Verify by keeping the :200 test green.

    Open question: excluding ## Context wholesale (per AC-1) can false-negative a target named only there — following the AC literally; the fuller #556 proximity model stays deferred as the escape hatch.

    Workflow: npx sequant run 769 -Q --phases exec,qa (testgen skippable — fixtures fully specified by AC-5). Blocker PR #770 (touched this file) merged, so no ordering constraint remains.

  5. added
    planned
    on Jul 16, 2026
  6. admarble commented on Jul 16, 2026

    @admarble
    ContributorAuthor

    Progress update (/exec) — PR #775

    Implemented section-aware path extraction. stripBackgroundSections (composed before the existing stripCodeBlocksAndComments) removes content under any H1/H2 heading whose text prefix-matches BACKGROUND_SECTIONS (References, Context, Motivation, Additional context, See also — case-insensitive), so a path cited only as background stops counting as a modification target. Followed the approved /spec plan (broad denylist including Context/Motivation).

    AC coverage

    AC Description Status Evidence
    AC-1 Background-only path not extracted ✅ assess-collision-detect.test.ts — References-only + Context/Motivation/Additional/See-also cases
    AC-2 AC-bullet path still extracted even when also under References ✅ same file, AC-2 test
    AC-3 detectFileCollisions(#760,#761,#762) → [] (no order/warn/chain) ✅ verbatim-body test; asserts [] + empty annotations
    AC-4 #556 true positive still fires (#551/#552 → qa/SKILL.md) ✅ existing :200 collision test unchanged, green
    AC-5 Verbatim real issue bodies as fixtures ✅ ISSUE_760/761/762_BODY fetched via gh issue view (byte-exact)
    AC-6 predicted-collision-detection.md:98 updated across 3 mirrors ✅ 3/3 synced (lint:skill-sync)

    Design note (per pre-run comment's AC-1↔AC-4 tension)

    The old #552 extractPathsFromIssueBody test asserted assess/SKILL.md was extracted — but that path is cited only under ## Motivation — concrete recent miss, and #552 modifies spec/SKILL.md/qa/SKILL.md, not assess/SKILL.md. That assertion was itself the false-positive class #769 targets. It was updated to assert the corrected behavior (path dropped), and a focused synthetic test preserves normalizeSkillMirrorPath coverage. The AC-4 load-bearing #551/#552 collision test is unchanged — #551's qa/SKILL.md derives from /qa in ## Summary, which is not a background section.

    Per AC-1's literal denylist, ## Context is excluded wholesale (a target named only under ## Context becomes a false negative). Following the issue's stated "blunt version first" preference; the #556 proximity scoring model stays the documented escape hatch.

    Files changed

    Checks

    • npm run build ✅ · npm run lint ✅ · npm run lint:skill-sync ✅ (42 synced, 0 diverged)
    • vitest — assess-collision-detect 20/20, chain-preflight 21/21, lib suite 95/95

    Test coverage

    Only changed source file is src/lib/assess-collision-detect.ts, covered by src/lib/__tests__/assess-collision-detect.test.ts. No untested changed source files.

    PR: #775 · Next: /qa

  7. admarble commented on Jul 16, 2026

    @admarble
    ContributorAuthor

    QA Review for Issue #769

    Standalone full-weight pass. Verdict verified empirically against freshly-fetched issue bodies (not just the committed fixtures) to guard against fixture drift.

    AC Coverage

    AC Description Status Evidence
    AC-1 Path cited only under a background section not extracted ✅ MET extractPathsFromIssueBody runs stripBackgroundSections (References/Context/Motivation/Additional context/See also, case-insensitive prefix); unit tests for References-only + all four other headings
    AC-2 AC-bullet path still extracted even when also under References ✅ MET unit test: foreground AC occurrence survives, References-only sibling dropped
    AC-3 detectFileCollisions(#760,#761,#762) → no collision ✅ MET empirical (fresh gh bodies): all three extract [] → collisions=[], orderLines=[], warnings=[], chainSuggestion=undefined
    AC-4 Existing #556 true positive still fires ✅ MET empirical: #551/#552 → exactly one collision on qa/SKILL.md [551,552]; existing :200 test unchanged & green
    AC-5 Verbatim real issue bodies as fixtures ✅ MET ISSUE_760/761/762_BODY are byte-exact gh issue view output; match existing ISSUE_551_BODY convention
    AC-6 predicted-collision-detection.md proximity note updated across 3 mirrors ✅ MET Tuning-notes paragraph rewritten (no longer "not implemented"); lint:skill-sync 3/3

    Coverage: 6/6 AC items met.

    CI Status

    Check State Impact
    build (22.x) ✅ pass (2m8s) ✅ MET
    typecheck ✅ pass ✅ MET
    validate-skills ✅ pass ✅ MET
    Plugin/Hooks/Structure validation ✅ pass ✅ MET

    CI Summary: 8 passed, 0 pending, 0 failed. (build matrix was pending at QA start; re-polled to green — not markdown-only, so it was correctly treated as gating.)

    Quality Metrics

    Metric Value Status
    Type issues (any/as any added) 0 OK
    Deleted tests 0 OK
    Files changed 6 OK
    Lines +306 / −23 OK
    Skill 3-dir sync 3/3 OK

    Test Coverage Analysis

    Changed File Tier Has Tests?
    src/lib/assess-collision-detect.ts Standard ✅ src/lib/__tests__/assess-collision-detect.test.ts (20 tests)

    New non-exported helper stripBackgroundSections is covered via the public extractPathsFromIssueBody API (Pattern 3 — no tautological tests). Consumer chain-preflight.test.ts (21) still green.

    Code Review

    Strengths:

    Issues: None blocking.

    Minor observations (non-blocking, for the record):

    • Setext headings not recognized. Only ATX (##) headings are matched; a background section written setext-style (References underlined with ----) would not be stripped, re-leaking a cited path. No sequant issue uses setext headings (all use ATX), so this is theoretical — a candidate robustness follow-up, not a gap.
    • ## Context wholesale exclusion is a deliberate, AC-mandated tradeoff: a target named only under ## Context (as this very issue's body does) becomes a false negative. Documented in the tuning notes; the feat(assess): predict file-collision between PROCEED issues from body content #556 proximity-scoring model is the deferred escape hatch. Implemented as specified.
    • ## Contextual…-style prefix over-match is documented in the tuning notes (Open Question 2). Acceptable.

    Risk Assessment

    • Likely failure mode: A future issue using a setext-style background heading, or naming its sole target only under ## Context, would mis-classify — both documented, both absent from the current corpus.
    • Not tested: Setext-heading handling (no corpus need). Every other path is covered.
    • Sibling sites considered: The analogous false-positive class in dependency-markers.ts:parseDependencies is explicitly out of scope (already fixed in fix: parseDependencies matches prose mentions and silently reorders runs #767). Extraction is centralized in one function — no in-file sibling site.
    • Sibling-line audit: none — single-function change; the two other consumers (/assess SKILL prose, chain-preflight.ts) call the fixed function unchanged and benefit automatically.

    Adversarial Re-Read

    Findings: No blocking gaps, because: (1) ran the implementation against the verbatim #760/#761/#762 and #551/#552 fixtures fetched fresh from gh — AC-3 yields [] and AC-4 still collides, so neither is fixture-dependent; (2) the "evidence" here is post-fix validation (fresh bodies through the compiled function), not a pre-fix repro; (3) process state clean — HEAD a89d4aedb3167c16ac5529636df835e03171a93a, 0 behind origin/main, no uncommitted work; (4) sibling sites cited above (cross-file: parseDependencies/#767 out of scope; in-file: none); (5) issue Non-Goals honored — --strict-preflight UX and parseDependencies anchoring untouched. Edge cases (setext, ### References, background→foreground reset, ## Contextual over-match) exercised directly and behave as designed.

    Status: Clean

    Documentation

    Verdict: READY_FOR_MERGE

    All 6 ACs met (verified empirically against fresh issue bodies, not only committed fixtures), CI fully green, no any/deleted-tests/dead-export regressions, 3-dir sync intact, CHANGELOG present. Code is minimal and correctly composed. The minor observations above are documented tradeoffs, not unmet criteria.

    Next Steps

    1. Merge PR fix(#769): section-aware path extraction; drop background-only citations #775.
    2. Optional: run /docs 769 before merge (internal detector change — likely N/A).
  8. added
    ready-for-review
    on Jul 16, 2026
  9. admarble commented on Jul 16, 2026

    @admarble
    ContributorAuthor

    Independent QA — second look (PR #775, a89d4ae)

    Full adversarial pass on top of the in-pipeline READY_FOR_MERGE. Concur: READY_FOR_MERGE. No gaps found — first second-look this cycle with nothing to fix.

    AC verification (all independently reproduced, not taken from the pipeline)

    AC Method Result
    AC-1 background-only path dropped New unit tests + live dogfood ✅
    AC-2 AC-bullet path survives References citation Unit test ✅
    AC-3 #760/#761/#762 → no collision Fixture test and real detector over live gh issue view bodies: all three extract [], detectFileCollisions → [], no order lines / warnings / chain suggestion ✅
    AC-4 #551/#552 true positive intact Existing collision test untouched by the diff and passing; #551's qa/SKILL.md signal comes from ## Summary (not denylisted) as the spec predicted ✅
    AC-5 verbatim fixtures Eval'd the three template-literal fixtures out of the test source and diffed against live bodies — byte-verbatim (CRLF-normalized) ✅
    AC-6 doc updated ×3 mirrors Tuning note + Step 1 prose rewritten identically in .claude/skills/, skills/, templates/skills/; lint:skill-sync 42/42 ✅

    Adversarial checks that came back clean

    Accepted trade-off (documented, not a defect)

    Wholesale ## Context exclusion means a target named only in Context (as in #769's own body) is now a false negative. The spec chose this deliberately (Open Q #1), the tuning note documents it with the escape hatch (per-path proximity scoring), and AC-4 pins the boundary. No action needed until evidence demands the scoring model — same discipline that deferred this in #556.

    Verdict: READY_FOR_MERGE — concurring second look; no changes requested.

  10. added a commit that references this issue on Jul 16, 2026
  11. added a commit that references this issue on Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugplannedready-for-review

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions