From c0a15a03df02ceca4f8567cef5d811492d900ee5 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 17 Nov 2026 16:58:44 +0000 Subject: [PATCH 1/2] docs(lint): state where the dataset vocabulary advisory's reach ends The module note named the doors the rule runs on but not what reaches none of them: datasets a plugin contributes at kernel start, such as the platform's System Overview datasets, are never read, and what such a dataset answers to is its name and its bundle-translated label. Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01WGufzg1NmbJpZhtiWQkTir --- packages/lint/src/validate-dataset-member-vocabulary.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/lint/src/validate-dataset-member-vocabulary.ts b/packages/lint/src/validate-dataset-member-vocabulary.ts index 31d46e12ed1..e8382e7e53f 100644 --- a/packages/lint/src/validate-dataset-member-vocabulary.ts +++ b/packages/lint/src/validate-dataset-member-vocabulary.ts @@ -44,6 +44,14 @@ * advisory on the save response, never a refusal. Reads only the dataset's own * members, so it is safe on a pre- or post-parse stack and on the per-write * snapshot. + * + * Its reach ends at those doors. Metadata a plugin contributes at kernel + * start, such as the platform's System Overview datasets that plugin-auth + * registers through its runtime manifest (`datasets: SystemOverviewDatasets`), + * is neither an authored stack nor a publish-door write, so the advisory never + * reads it. A dataset the platform ships answers to its name and to its label + * as the platform's translation bundle gives it in the caller's locale, and to + * no synonym unless its source writes one. */ import { collectionEntries } from './collection-entries.js'; From 0175f27a2ec36687f238c988affc89603948612d Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 17 Nov 2026 17:52:24 +0000 Subject: [PATCH 2/2] docs(lint): the platform dataset's label clause names its locale chain The reach note said a platform dataset answers to its label "as the platform's translation bundle gives it in the caller's locale". That left out two cases the resolver serves. lookupDatasetMemberAttr walks the requested locale through the platform locale ladder (variant expansion included), then the deployment's declared fallback locale (metaTranslateOptions), skipped when the caller's locale is the authored one. Where the bundle has no entry, the authored label is served and matched. The clause now states both, worded like the matcher comment in the sibling ADR-0149 correction. Comment only. Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01WGufzg1NmbJpZhtiWQkTir --- packages/lint/src/validate-dataset-member-vocabulary.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/lint/src/validate-dataset-member-vocabulary.ts b/packages/lint/src/validate-dataset-member-vocabulary.ts index e8382e7e53f..42fec0ea3ef 100644 --- a/packages/lint/src/validate-dataset-member-vocabulary.ts +++ b/packages/lint/src/validate-dataset-member-vocabulary.ts @@ -50,8 +50,12 @@ * registers through its runtime manifest (`datasets: SystemOverviewDatasets`), * is neither an authored stack nor a publish-door write, so the advisory never * reads it. A dataset the platform ships answers to its name and to its label - * as the platform's translation bundle gives it in the caller's locale, and to - * no synonym unless its source writes one. + * as served in the caller's locale: the one translation-bundle label resolved + * along the resolver's locale chain (the requested locale by the platform + * locale ladder, variant expansion included, then the deployment's declared + * fallback locale, skipped when the caller's locale is the authored one), or + * the authored label where the bundle carries none. It answers to no synonym + * unless its source writes one. */ import { collectionEntries } from './collection-entries.js';