Repository navigation
Description
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
- A path cited only under
## References/## Context/ "Motivation" / "Additional context" is not extracted as a modification target. - A path named in an AC bullet is still extracted, including when the same path is also cited under References.
-
detectFileCollisions(#760, #761, #762)returns no collision — no order lines, no warnings, no chain suggestion. - Existing true positives still fire: issues that genuinely name a shared file in their ACs still collide (regression-test with a real pair from the feat(assess): predict file-collision between PROCEED issues from body content #556 tests).
- Tests use verbatim real issue bodies (feat: resume a partially-completed chain from its last good link #760/feat: detect rate-limit failures mid-chain and halt cleanly instead of timeout-cascading #761/feat: lightweight content pre-flight for --chain (AC presence, dependency-order sanity) #762 as the negative), not synthetic fixtures.
-
predicted-collision-detection.md:98is updated — it currently says proximity weighting is unimplemented and deferred.
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
- feat(assess): predict file-collision between PROCEED issues from body content #556 — origin of the detector; named this risk and proposed the mitigation
.claude/skills/assess/references/predicted-collision-detection.md:98— records the deferral and its "until evidence demands it" trigger- feat: lightweight content pre-flight for --chain (AC presence, dependency-order sanity) #762 / PR feat(#762): lightweight content pre-flight for --chain #764 — surfaced the false positive; AC-3 mandated reusing this machinery as-is
- investigate(metrics): chain mode 29% success rate vs 92% single-issue — failure forensics #604 — source of the 17%-at-length≥3 figure the bogus chain suggestion cites
Activity
admarble commentedon Jul 15, 2026
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 → qawith quality loopOrder: 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.admarble commentedon Jul 16, 2026
Pre-run context (2026-07-16, before
sequant run 769 -Q)Both ordering prerequisites have landed — branch from current main (
0c45b2c):753fe4a) added the "Do NOT unify" comment abovestripCodeBlocksAndComments(nowsrc/lib/assess-collision-detect.ts:96).0c45b2c) changed the chain-suggestion string informatCollisionAnnotations— dropped--qa-gate, dated the 17% annotation.Stale evidence in this issue's body
The quoted detector output in Evidence predates #759: the real detector no longer emits
--qa-gateand the annotation now reads17%, 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 inextractPathsFromIssueBody(:146) or a helper beside it — do not fold it intostripCodeBlocksAndComments(which must keep inline backticks for PATH_REGEX) and do not reach fordependency-markers.ts:stripCodeAndComments(different contract; strips inline spans).src/lib/__tests__/assess-collision-detect.test.ts(note the__tests__dir — not adjacent to the source)..claude/skills/,skills/, andtemplates/skills/assess/references/predicted-collision-detection.md. Update all three;npm run lint:skill-syncenforces 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 withgh issue view N --json body -q .body. #760/#761/#762 are closed, so their bodies are stable. Seesrc/lib/workflow/__fixtures__/dependency-markers/for the layout.Design consideration for /spec (AC-1 vs AC-4 tension)
AC-1 lists
## Contextamong 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 namessrc/lib/assess-collision-detect.tsonly in its Context section, yet it is the modification target. Wholesale## Contextexclusion risks killing true positives that AC-4 guards. Two defensible readings:## References, "See also", "Additional context") and keep Context/Proposal — narrower, safer.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.
admarble commentedon Jul 16, 2026
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-preflightUX/warning classes (#762, shipped) andparseDependenciesmarker anchoring (#767, different parser). ✅src/lib/+ skillreferences/×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→ WhenextractPathsFromIssueBody(body)runs → Then the returned set excludesdocs/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 missmatches).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 → Thensrc/foo.tsIS 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.mdonly under## References) → WhendetectFileCollisionsruns over all three → Then result is[](no CollisionResult → no order lines, no warnings, no chainSuggestion viaformatCollisionAnnotations).AC-4: Existing true positive still fires (#556 real pair)
Verification: Unit Test⚠️ Design-critical (see Design Review Q4). #551's
Scenario: Given verbatim #551 + #552 bodies → When
detectFileCollisionsruns → Then exactly one collision onqa/SKILL.md(unchanged from the current passing test atassess-collision-detect.test.ts:200).Assumptions:
qa/SKILL.mdis derived from/qaslash-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/762bodies (matching the existingISSUE_551_BODY/ISSUE_552_BODYconvention).Assumptions: Fetch bodies via
gh issue view <N> --json body; store asISSUE_760_BODYetc. constants.AC-6:
predicted-collision-detection.md:98updated across all 3 mirrorsVerification: 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(ornpm runequivalent) 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)stripBackgroundSections(body)helper (sibling tostripCodeBlocksAndComments, ~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.BACKGROUND_SECTIONSas an exportedReadonlySet<string>nearEXCLUDED_PATHS(ln 25) so it's tunable/documented like the other knobs.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)ISSUE_760_BODY/761/762verbatim fixtures (AC-5).extractPathsFromIssueBody: add the AC-1 negative (References-only path dropped) and AC-2 positive (AC-bullet path survives despite a References citation).detectFileCollisions: add AC-3 (760/761/762 →[]) and re-assert AC-4 (551/552 still oneqa/SKILL.mdcollision) — the existing test at :200 should pass unchanged; treat any change there as a regression.Phase 3: Docs (3 mirrors)
predicted-collision-detection.mdTuning-notes proximity paragraph (AC-6) in all three skill dirs; verify sync.Design Review
extractPathsFromIssueBodyas a pre-extraction strip step, mirroring the existingstripCodeBlocksAndCommentspattern. Do not push section logic into the regexes or intodetectFileCollisions.stripCodeBlocksAndComments→ regex pipeline already in this file (ln 103–105, 148). New helper is a drop-in third strip stage.qa/SKILL.mdcomes from/qain## Summary(not denylisted). If a future refactor addedSummaryto the denylist, AC-4 would break. Also expect: "Is## Contextsafe to exclude wholesale?" — see Open Questions.Open Questions
## Contextwholesale. AC-1 listsContextas 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## Contextbecomes a false negative — acceptable given the issue's stated preference for the blunt version first.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 noteswould be over-excluded; low likelihood, flag in the doc.Feature Quality Planning
All standard checks pass. Notable items:
BACKGROUND_SECTIONSexport is additive).dependency-markers.ts:parseDependenciesis 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
/assessrecommendation.testgenis 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.Label Review
Current:
bugRecommended:
bug(+plannedadded by this phase)Reason: Single-module bug fix with tests + a doc paragraph; no
complex/refactor/uisignals.bug-only correctly skipstestgenand browser testing.Quality Loop: Will auto-enable via
-Qin 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. MakeextractPathsFromIssueBodysection-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:
detectFileCollisions(760,761,762)→[], no order/warn/chain (unit)qa/SKILL.md; existing test at :200 unchanged (unit — load-bearing regression)ISSUE_551_BODYconvention (fixture review)predicted-collision-detection.mdproximity-weighting note across all 3 mirrors; sync 3/3 (manual)Design-critical check: #551's
qa/SKILL.mdis derived from/qain## Summary(not denylisted) — so section-stripping must not touch Summary, or AC-4 regresses. Verify by keeping the :200 test green.Open question: excluding
## Contextwholesale (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.admarble commentedon Jul 16, 2026
Progress update (
/exec) — PR #775Implemented section-aware path extraction.
stripBackgroundSections(composed before the existingstripCodeBlocksAndComments) removes content under any H1/H2 heading whose text prefix-matchesBACKGROUND_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/specplan (broad denylist includingContext/Motivation).AC coverage
assess-collision-detect.test.ts— References-only + Context/Motivation/Additional/See-also casesdetectFileCollisions(#760,#761,#762)→[](no order/warn/chain)[]+ empty annotationsqa/SKILL.md):200collision test unchanged, greenISSUE_760/761/762_BODYfetched viagh issue view(byte-exact)predicted-collision-detection.md:98updated across 3 mirrorslint:skill-sync)Design note (per pre-run comment's AC-1↔AC-4 tension)
The old #552
extractPathsFromIssueBodytest assertedassess/SKILL.mdwas extracted — but that path is cited only under## Motivation — concrete recent miss, and #552 modifiesspec/SKILL.md/qa/SKILL.md, notassess/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 preservesnormalizeSkillMirrorPathcoverage. The AC-4 load-bearing #551/#552 collision test is unchanged — #551'sqa/SKILL.mdderives from/qain## Summary, which is not a background section.Per AC-1's literal denylist,
## Contextis excluded wholesale (a target named only under## Contextbecomes a false negative). Following the issue's stated "blunt version first" preference; the #556 proximity scoring model stays the documented escape hatch.Files changed
src/lib/assess-collision-detect.ts—BACKGROUND_SECTIONSexport +stripBackgroundSectionshelper, composed intoextractPathsFromIssueBodysrc/lib/__tests__/assess-collision-detect.test.ts— verbatim feat: resume a partially-completed chain from its last good link #760/feat: detect rate-limit failures mid-chain and halt cleanly instead of timeout-cascading #761/feat: lightweight content pre-flight for --chain (AC presence, dependency-order sanity) #762 fixtures; AC-1/AC-2/AC-3 tests; corrected feat(spec,qa): detect behavior-rule implementations across skill+runtime touchpoints #552 test + normalization test{.claude,templates,}/skills/assess/references/predicted-collision-detection.md— background-section stripping documented; Tuning-notes proximity paragraph rewritten (3/3 synced)CHANGELOG.md— entry under Unreleased/FixedChecks
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/95Test coverage
Only changed source file is
src/lib/assess-collision-detect.ts, covered bysrc/lib/__tests__/assess-collision-detect.test.ts. No untested changed source files.PR: #775 · Next:
/qaadmarble commentedon Jul 16, 2026
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
extractPathsFromIssueBodyrunsstripBackgroundSections(References/Context/Motivation/Additional context/See also, case-insensitive prefix); unit tests for References-only + all four other headingsdetectFileCollisions(#760,#761,#762)→ no collision[]→collisions=[],orderLines=[],warnings=[],chainSuggestion=undefinedqa/SKILL.md[551,552]; existing:200test unchanged & greenISSUE_760/761/762_BODYare byte-exactgh issue viewoutput; match existingISSUE_551_BODYconventionpredicted-collision-detection.mdproximity note updated across 3 mirrorslint:skill-sync3/3Coverage: 6/6 AC items met.
CI Status
build (22.x)typecheckvalidate-skillsPlugin/Hooks/Structure validationCI 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
any/as anyadded)Test Coverage Analysis
src/lib/assess-collision-detect.tssrc/lib/__tests__/assess-collision-detect.test.ts(20 tests)New non-exported helper
stripBackgroundSectionsis covered via the publicextractPathsFromIssueBodyAPI (Pattern 3 — no tautological tests). Consumerchain-preflight.test.ts(21) still green.Code Review
Strengths:
stripBackgroundSections(stripCodeBlocksAndComments(body)), zero changes to the four downstream regexes. Matches the file's existing strip→match pipeline.###+ subsections stay inside their parent (verified:### Referencesat level 3 does not strip). Prevents a subsection from resurrecting a stripped section..claude/skills/assess/SKILL.mdis cited only under## Motivationand feat(spec,qa): detect behavior-rule implementations across skill+runtime touchpoints #552 does not modify it (its targets arespec/SKILL.md/qa/SKILL.mdper its AC-4). Normalization coverage preserved by a new focused synthetic test.Issues: None blocking.
Minor observations (non-blocking, for the record):
##) headings are matched; a background section written setext-style (Referencesunderlined 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.## Contextwholesale 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
## Context, would mis-classify — both documented, both absent from the current corpus.dependency-markers.ts:parseDependenciesis 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./assessSKILL 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 — HEADa89d4aedb3167c16ac5529636df835e03171a93a, 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-preflightUX andparseDependenciesanchoring untouched. Edge cases (setext,### References, background→foreground reset,## Contextualover-match) exercised directly and behave as designed.Status: Clean
Documentation
[Unreleased] / ### Fixedentry added (fix(assess): path extraction counts cited paths as modification targets, producing phantom collisions #769)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
/docs 769before merge (internal detector change — likely N/A).admarble commentedon Jul 16, 2026
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)
gh issue viewbodies: all three extract[],detectFileCollisions→[], no order lines / warnings / chain suggestionqa/SKILL.mdsignal comes from## Summary(not denylisted) as the spec predicted.claude/skills/,skills/,templates/skills/;lint:skill-sync42/42Adversarial checks that came back clean
stripBackgroundSectionscomposition) fails 5 tests — the new coverage binds to the change, it doesn't pass vacuously.#552 mirror-normalizationtest's expectation flip (assess/SKILL.mdnow absent) is correct — that path appears only under## Motivation — concrete recent miss, i.e. it was itself an instance of the fix(assess): path extraction counts cited paths as modification targets, producing phantom collisions #769 phantom class.normalizeSkillMirrorPathcoverage was preserved via a new foreground test rather than lost.extractPathsFromIssueBody;stripCodeBlocksAndComments(docs: note why the two body-strip helpers must not be unified #770 guard) anddependency-markers.tsuntouched. Strip order (code blocks first) is correct and the comment explains why — a fenced##line can't fake a heading.> ### ⚠️ STATUSbanner doesn't match the heading regex, so its rewritten-AC block stays foreground — right behavior, exercised by the verbatim fixture.chain-preflighttests (the feat: lightweight content pre-flight for --chain (AC presence, dependency-order sanity) #762 pre-flight consumer) pass unchanged; typecheck clean; full CI green.Accepted trade-off (documented, not a defect)
Wholesale
## Contextexclusion 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.
fix(#769): section-aware path extraction; drop background-only citati…
fix(#769): section-aware path extraction; drop background-only citations