Skip to content

Commit bcff249

Browse files
committed
fix(check-adr-0087): spell the engine anchors repo-relative in the new prose
`check:scripts-symbol-anchors` reads `engine.ts#findOne` as a real anchor and finds no tracked file at that path. The two new citations now use the full repo-relative path, or an elided one that is not anchor-shaped. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MkQhmuuJAVDjmeWNixwDDH
1 parent e293388 commit bcff249

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

scripts/check-adr-0087-registration.mjs

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2025,9 +2025,11 @@ const MEMBER_PATH_RE = new RegExp(`^${IDENT}(?:\\.${IDENT})*$`);
20252025
* than that refusal — writable but wrong — so `dotted` references are resolved
20262026
* STRUCTURALLY (`resolveMemberPath`) and refused, never guessed, when the walk
20272027
* finds zero or more than one candidate. A leading segment names an object
2028-
* literal or a CLASS (#17279): reading only the first left `engine.ts#ObjectRepository.findOne`
2029-
* unwritable while the bare `engine.ts#findOne` answered about `ObjectQL.findOne`,
2030-
* which is #15627's defect surviving its own fix on the other container kind. ⛔ A line number is never the
2028+
* literal or a CLASS (#17279): reading only the first left the dotted spelling on
2029+
* `packages/objectql/src/engine.ts#ObjectRepository` unwritable, while the bare
2030+
* `packages/objectql/src/engine.ts#delete` answered about `ObjectQL.delete` — a
2031+
* member the diff never touched, which is #15627's own defect surviving its fix on
2032+
* the container kind that fix did not cover. ⛔ A line number is never the
20312033
* disambiguator: this file's line numbers were measured to rot within one day.
20322034
*
20332035
* @returns {{ path: string, symbol: string, segments: string[], dotted: boolean }|null}
@@ -5157,9 +5159,9 @@ function selfTest() {
51575159
//
51585160
// Measured on `packages/objectql/src/engine.ts` (PR #17255, two members narrowed
51595161
// on the exported class `ObjectRepository`):
5160-
// bare `engine.ts#delete` -> `ObjectQL.delete`, a member the
5162+
// bare `…/engine.ts#delete` -> `ObjectQL.delete`, a member the
51615163
// diff never touched
5162-
// dotted `engine.ts#ObjectRepository.delete` -> "no `ObjectRepository` object
5164+
// dotted `…/engine.ts#ObjectRepository.delete` -> "no `ObjectRepository` object
51635165
// literal is declared"
51645166
// Neither spelling could address the member, so the category the PR belonged to
51655167
// was unclaimable BY the PR -- the #16571 failure class, one container kind over.

0 commit comments

Comments
 (0)