Skip to content

Commit 2ab7f86

Browse files
committed
chore(runtime): keep the tracker id out of the classification row's prose
`check:doc-authoring` — a runtime string reaches authors, operators and generated surfaces, none of whom can resolve `#NNNN`. The anchor moves to an adjacent comment, where the reader who can resolve it is already looking. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UHvF5hyiZjnCyExFnfQB8m
1 parent 49fd7d3 commit 2ab7f86

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

packages/runtime/src/dispatcher-error-vocabulary.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@ export const UNREGISTERED_CODE_SITES: readonly UnregisteredCodeSite[] = [
309309
// (no source site — the producer is tenant code; see SANDBOX_AUTHORED_LIMB)
310310

311311
// ── foreign vocabularies: spelled `code`, not an ADR-0112 error.code ────
312+
// [#14553] The navigation-contribution relocation diagnostic.
312313
{
313314
code: 'nav_contribution_group_missing',
314315
file: 'packages/objectql/src/nav-contribution-diagnostics.ts',
@@ -321,9 +322,10 @@ export const UNREGISTERED_CODE_SITES: readonly UnregisteredCodeSite[] = [
321322
'exit 0), it describes an ARTIFACT rather than a request (which app, which package, which ' +
322323
'group id), its severity is `warning` and cannot be anything else, and no path routes it to ' +
323324
'`error.code` — the producer is a read-time FOLD (`applyNavContributions`) and a compile ' +
324-
'step, neither of which throws. #14553 added the diagnostic and deliberately added NO ' +
325-
'refusal: the contribution is still relocated to the app\'s top level and still installs, so ' +
326-
'there is no failing request for a catalog to govern. Hence lowercase and out of the ledger, ' +
325+
'step, neither of which throws. The card that added it added the diagnostic and ' +
326+
'deliberately added NO refusal: the contribution is still relocated to the app\'s top ' +
327+
'level and still installs, so there is no failing request for a catalog to govern. Hence ' +
328+
'lowercase and out of the ledger, ' +
327329
'exactly as D6c prescribes for `metadata-diagnostics.ts` and `build-probes.ts`, whose ' +
328330
'`{ severity, artifact, ref, code, message, fix }` family this record is shaped after. ' +
329331
'Reported here rather than delegated to `check:error-code-casing` because the constant is ' +

0 commit comments

Comments
 (0)