Repository navigation
docs(lint): state where the dataset vocabulary advisory's reach ends - #34943
Conversation
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 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufzg1NmbJpZhtiWQkTir
📓 Docs Drift Check
What this run could not see
Coarse fallback — 4 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): |
|
repo:objectstack#3 · os-support-ai · session_01WGufzfWpJ96QY9T7d8DvFg L1: ACCEPT · 2026-11-17T17:23ZHead-sha: c0a15a0 席位核对PR shape. Declaration. Governed / size. Check-runs at c0a15a0. CI was still running when I read it. This verdict holds on the condition that Facts, checked on this head.
Must-fixNone. Should-fix
NotesNone. Next: o3-F folds S1, then the L1-c delta read. No seat L2 is owed. o3-F lands after the delta. |
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 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufzg1NmbJpZhtiWQkTir
|
repo:objectstack#3 · os-support-ai · session_01WGufzfWpJ96QY9T7d8DvFg L1: ACCEPT (delta) · 2026-11-17T17:56ZHead-sha: 0175f27 席位核对Delta. One commit on the same path, +6/-2, all inside the module note. No code moves. CI. It was still running when I read it, and the report says nothing has failed. This verdict holds on the condition that S1 (the label wording): closed. The note now says a shipped dataset answers to its label as served in the caller's locale. That label is either:
Both cases I named are covered. The clause matches #34928's matcher comment at Must-fixNone. Should-fixNone. NotesNone. Next: o3-F lands once the three aggregates are green. No seat L2 is owed. A later push owes an L1-c delta read. |
|
repo:objectstack#3 · os-support-ai · session_01WGufzfWpJ96QY9T7d8DvFg L1: ACCEPT (merge-only) · 2026-11-17T18:23ZHead-sha: 1dc521b 席位核对A clean main merge. The new head is a merge commit:
The PR's own diff is unchanged. The patch-id of the diff from the merge-base to The hop reruns CI after a runner red. That red was not the PR's doing, as o3-F's relay records. The ACCEPT's condition stands: Must-fixNone. Should-fixNone. Next: unchanged from my ACCEPT 6956392973. A later push owes an L1-c delta read. |
|
repo:objectstack#3 · os-support-ai · session_01WGufzg1NmbJpZhtiWQkTir Landing · area o3-F · 2026-11-17T18:48Z
State change: ready for review + auto-merge (merge queue). Card #34875 closes on merge via |
⛔ merge queue 构建失败 — 先分诊,再决定要不要重排队列构建 44156458636 红了。队列跑的是全量套件(PR 侧 CI 只跑 affected 子集), 分类: 失败的 job(日志抽取,best effort):
跨 PR 相同签名(24h,按失败测试文件聚合):
历史信号:
分诊清单:
Generated by Claude Code · merge-queue-triage workflow (#4859) |
|
repo:objectstack#3 · os-support-ai · session_01WGufzg1NmbJpZhtiWQkTir Re-queue · area o3-F · 2026-11-17T20:00Z · head |
⛔ merge queue 构建失败 — 先分诊,再决定要不要重排队列构建 44170231537 红了。队列跑的是全量套件(PR 侧 CI 只跑 affected 子集), 分类: 失败的 job(日志抽取,best effort):
跨 PR 相同签名(24h,按失败测试文件聚合):
历史信号:
分诊清单:
Generated by Claude Code · merge-queue-triage workflow (#4859) |
Requested by Yibo Wang · project thread
Fixes #34875
Clause-②: no
Metadata-protocol: none
维护者速读
dataset-member-no-vocabulary规则的模块注释「Severity and doors」一节末尾加了一段话,说明该规则的覆盖范围到哪里为止。没有任何行为变化。os lint下零告警,卡片要求说明这是设计如此还是规则看不见。读数结论:插件在内核启动时注册的元数据不经过规则运行的任何入口,这一点以前没有写在规则旁边。dist(已构建实测),无需 changeset。回滚即 revert 本 commit。packages/lint/src/validate-dataset-member-vocabulary.ts模块注释最后一段(新增 7 行)。git show c0a15a03 --stat应只见这一个文件 +8 行;读新增段落,核对packages/plugins/plugin-auth/src/auth-plugin.ts中datasets: SystemOverviewDatasets一行。What changes
One paragraph appended to the "Severity and doors" section of the module note in
packages/lint/src/validate-dataset-member-vocabulary.ts. It states where the rule's reach ends: 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. It also states what such a shipped dataset answers to: its name, its label as the platform's translation bundle gives it in the caller's locale, and no synonym unless its source writes one. This is outcome (b) of the card's reading. Comment only, no behaviour change.Each fact was checked against
origin/mainatd576509c8before it was written:packages/plugins/plugin-auth/src/auth-plugin.ts:1164carriesdatasets: SystemOverviewDatasets, inside the manifestregister(...)call at line 1122 ininit()(which spans lines 769 to 1219). It is the only registration site:git grep SystemOverviewDatasetshits that file, the platform-objects barrel, the definition and one test.packages/platform-objectshas noobjectstack.config.*:git ls-files packages/platform-objects | grep objectstack.configanswers exit 1. Control: the same command overpackages/plugins/plugin-authlists itsobjectstack.config.ts.objectstack.config.tspasses onlymanifest,objectsandobjectExtensionstodefineStack. There is nodatasets.packages/platform-objects/src/apps/dashboards/system.datasets.tsdeclares nosynonymsand nodescriptionon any member.service-analytics/src/dataset-term-matcher.ts) compares name, label and synonyms. Both MCP doors pass the dataset list throughtranslateMetaListbefore matching (runtime/src/domains/mcp.ts,mcp/src/stdio-data-bridge.ts), andplatform-objects/src/apps/translations/en.tscarriesdatasets.SYS_NAME.{measures,dimensions}.MEMBER.labelkeys for all seven members.Tests
lint package build + typecheck (head c0a15a0)
No unit test was added and no ablation was run. The diff is a comment, so there is no tested behaviour to pin.
Acceptance notes
skip-changeset. The comment does not ship. Afterpnpm --filter @objectstack/lint build,grep -rl 'Its reach ends at those doors' distgives exit 1. The module docblock it extends also gives zero hits (What the two keys are read for, exit 1), so module docblocks are not emitted at all. Positive control:dataset-member-no-vocabularyis found indist/index.cjs,dist/runtime.jsanddist/rule-explanations.cjs.files[]is["dist","README.md","CHANGELOG.md"].synonymsand adescription, was not done. The reading on the card says what it would cost: translatable description keys in every locale bundle, and a move in the i18n-coverage baseline.Verification
dispatch-gates --commands for the one path, 45 families (head c0a15a0)
--ranreconciliation:45 derived famil(ies) accounted for — 42 run, 3 NOT-MEASURED (3 DERIVED from a recorded exit 3). All 42 measured families exited 0, includingcheck-issue-citations(no issue citations added against d576509c8),check:nul-bytes(OK ... no raw ASCII control bytes),check:doc-authoring,check-affected-docs,check-drift-commentandcheck:published-files.NOT MEASURED, each exit 3 on its own prerequisite. These are left to CI's
Lint & Repo Gates:check-plugin-teardown-shape.mjs --self-test: the positive control is pinned to a commit this shallow clone cannot reach. This only checks the checker itself.check:dual-build-cjs-loads: it needs every package'sdist/, and 99 were absent. The gate covers the whole tree, and building all of it for a comment would have been out of proportion.check:lean-entry-closure: it needspackages/objectql/dist, which is not in the lint closure.overlap-check:VERDICT clean exit 0. The branch merges cleanly with origin/main, and no open PR touches the same file.Generated by Claude Code
repo:objectstack#3 · os-support-ai · session_01WGufzg1NmbJpZhtiWQkTir