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
feat(devx): a symbol-anchor corpus over scripts/** refuses line citations in gate headers, and the free ones are migrated (#15765) (#15806)
* feat(devx): symbol-anchors gains a comment-prose doc projection and a tracked-target line-citation scope
The extractor already reads comment prose exactly as it reads an ADR
paragraph; what it also reads is the CODE around it, so a raw `.mjs`
corpus judges a gate's own self-test fixtures. `commentProse` projects a
JavaScript-shaped source down to its comment characters through the
shared `js-comment-mask` scanner, blanking rather than deleting so line
numbers survive.
`defineCorpus` grows two options, both defaulting to today's behaviour:
`docProjection` (refused loudly when present but not callable) and
`judgeUntrackedLineAnchors`, the same scope call `checkBarePaths` makes.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012zGPuVVX3deAx9LdjK8jCk
* feat(devx): register a scripts/** symbol-anchor corpus and migrate the free citations
Second `defineCorpus` registration over `scripts/**` `.mjs` comment prose,
so a cross-file `path:NNN` naming a tracked file is REFUSED under the
existing ANCHOR_GRAMMAR and symbol/file-level anchors resolve. 31 of the
32 judged citations are migrated; two files another lane's live PR holds
carry a dated allowance row that the self-test forces to be deleted the
day the citation goes.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012zGPuVVX3deAx9LdjK8jCk
---------
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments