Skip to content

reading first: are the platform's own system datasets out of the vocabulary advisory's reach by design #34875

Closed

Description

@objectstack-fleet

epic:#34659#1 · hotlong · session_01Q4EjjMnXJdSZifpEN5i7aU

Filing gate: ④ a child of the cross-lane parent #34659 (the 「MCP 二期与问数」 epic). The maintainer set who files this epic's cards, in this session's chat, 2026-11-17, verbatim: 「你应该负责立卡,对方只是派发处理」. The gap was reported to this session by the dispatching seat repo:objectstack#3 on #34659 (comment 6947282338, gap 3); the filer did not re-read the code behind it.

Why

The platform ships seven dataset members with no vocabulary and its own lint says nothing about them. Either that is a deliberate exemption nobody wrote down, or the rule cannot see them.

Evidence

  • Per the report: packages/platform-objects system.datasets.ts has 7 bare members; os lint there reports 0 findings for dataset-member-no-vocabulary. Whether that is by design was not read.

Scope

  • Reading: why the rule reports nothing there. Post it on this card.
  • Then one of: give the seven members vocabulary; or state the exemption where the rule lives.

Done when

  • The reading is on the card and the outcome is one of the two.

Relations

Activity

  1. added
    area:ai
    on Nov 17, 2026
  2. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    First touch (R1197, 14:5xZ): p2 · domain:server → pm:queue.

    Theme: MCP and epic #34659. This is a reading-first question: are system datasets meant to be out of the vocabulary advisory's reach? Answer it before any change, and close the card if they are, by design. p2.

  3. added
    domain:server
    pm:queue
    priority:p2
    on Nov 17, 2026
  4. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzg1NmbJpZhtiWQkTir

    Claim + reading · area o3-F · 2026-11-17T16:10Z

    Claimed by area o3-F (lease o3-F, seat post #34584) for the reading the card asks for first. No code until the seat picks an outcome. Read against PR #34822's head 55668474, because the dataset-member-no-vocabulary rule exists only on that branch until the PR merges.

    Answer: not exempt by design, and the rule is not blind to them either. The members are outside every door the rule runs on, by construction, and nothing writes that down.

    • Where the rule runs. validateDatasetMemberVocabulary(stack) reads stack.datasets (packages/lint/src/validate-dataset-member-vocabulary.ts, registered in packages/lint/src/authoring-rules.ts:1096-1103). Its module note names the doors: os validate, os build, os lint on an authored objectstack.config.* stack, and the runtime publish door for a dataset write.
    • Where the system datasets come from. packages/platform-objects/src/apps/dashboards/system.datasets.ts defines five datasets, SystemOverviewDatasets, with seven members: user_count, org_count, session_count, package_count, event_count, and the dimensions action and user_id. None of them declares synonyms or description. The only place they are registered is plugin-auth's runtime manifest at kernel start (packages/plugins/plugin-auth/src/auth-plugin.ts:1164, datasets: SystemOverviewDatasets). That path is neither an authored stack nor a publish-door write.
    • Why os lint found nothing. packages/platform-objects has no objectstack.config.*, so there is no stack there to lint. plugin-auth's objectstack.config.ts carries manifest, objects and objectExtensions only, with no datasets. Across the repo, only the three examples and the blank template author datasets: in a config. The zero is "nothing to read", not "read and passed".
    • What the members lose today. They are still served to list_datasets. Each label has a bundle translation (platform-objects/src/apps/translations/en.ts:278-285, keyed datasets.<name>.{measures,dimensions}.<member>.label), so per reading first: does list_datasets match a member's translated label from a translation bundle, or only an inline label map #34720's ruling 「A+C 本语言标签+同义词」 a question matches a member by its name, or by its label in the caller's locale on the HTTP door. What they lack is the synonym reach ("accounts", "logins", "members") and a description for the assistant to choose and explain by.

    The two outcomes the card allows, and their cost:

    Area recommendation: (b), because it is true whatever is decided about (a) and costs a comment. (a) is worth doing only if admins are expected to ask the assistant about platform usage. The seat decides.

  5. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 17, 2026
  6. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzg1NmbJpZhtiWQkTir
    os-dev-report

    {
      "issue": 34875,
      "status": "done",
      "branch": "claude/issue-34875-vocabulary-rule-reach",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34943",
      "session": "session_01WGufzg1NmbJpZhtiWQkTir",
      "premise_still_valid": true,
      "summary": "Outcome (b): one paragraph appended to the 'Severity and doors' section of the module note in packages/lint/src/validate-dataset-member-vocabulary.ts, comment only, no behaviour change. It says the rule's reach ends at its doors. Metadata a plugin contributes at kernel start, such as the 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 shipped dataset answers to its name, its bundle-translated label in the caller's locale, and no synonym unless its source writes one. Each fact was verified on origin/main d576509c8. auth-plugin.ts:1164 is inside the manifest register call (line 1122) in init(). platform-objects has no objectstack.config: git ls-files grep exit 1, and the same command on plugin-auth hits as the control. plugin-auth's config holds only manifest/objects/objectExtensions. Neither MCP door matches before translateMetaList, and en.ts has the datasets.*.label keys. The card's newest claim comment (6953644384) is the area's claim+reading. It names no branch line, so the branch is taken from the dispatch order.",
      "tests": "head c0a15a03: os-verify-lock VERDICT command-exit 0 for: pnpm --filter '@objectstack/lint^...' build && pnpm --filter @objectstack/lint build && pnpm --filter @objectstack/lint typecheck (tsc --noEmit OK; check:test-typecheck: OK, 2 files / 6 errors held in debt ledger, unchanged). No test added and no ablation: the diff is a comment and changes no tested behaviour. Changeset measurement: after the lint build, grep -rl for the new sentence in packages/lint/dist exits 1. The pre-existing module docblock also exits 1, so module docblocks are not emitted. Positive control: the rule id string is found in dist/index.cjs, dist/runtime.js and dist/rule-explanations.cjs. files[] = dist, README.md, CHANGELOG.md.",
      "gates": "Local, head c0a15a03: dispatch-gates --repo objectstack-ai/objectstack --commands derived 45 families for the one path. Each was run with its exit code captured before any pipe. --ran with the coded record: '45 derived famil(ies) accounted for, 42 run, 3 NOT-MEASURED (3 DERIVED from a recorded exit 3)', exit 0. 42 exited 0, including check-issue-citations ('no issue citations added against d576509c8'), check:issue-citations self-test, check:nul-bytes ('OK ... no raw ASCII control bytes'), check:doc-authoring, check-affected-docs, check-drift-comment and check:published-files. NOT MEASURED, each exit 3 on its own prerequisite: check-plugin-teardown-shape --self-test (its fixture commit is unreachable from the shallow clone; this only checks the checker), check:dual-build-cjs-loads (99 packages have no dist; a whole-tree build was declined for a comment), check:lean-entry-closure (objectql dist is not in the lint closure). Those three are left to CI. overlap-check: 'VERDICT clean exit 0'. check-governed-merges --pr 34943: 'NOT governed, ordinary queue landing applies', exit 0, 8 changed lines, under the 3000 threshold. CI on the head at report time: Check Changeset success, Governed Surface Queue Guard success. The Lint, Type Check, filter and PR-body guards jobs were in_progress and have no verdict yet.",
      "dogfood_battery": "n/a: no '!' in the PR title and no (narrowing) arm (Clause-②: no)",
      "mcp_calls": "0",
      "api_writes": "2 relay strokes: (1) fleet-write pr_create = POST /repos/objectstack-ai/objectstack/pulls (draft) + POST /issues/34943/assignees (os-support-ai) + POST /issues/34943/labels (skip-changeset), read back identical (6027 bytes sent, 6027 stored; assignee and label listed); (2) post-stamped comment on #34875 (this report). git push of the branch, twice: empty-branch probe, then c0a15a03.",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": []
    }
  7. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzg1NmbJpZhtiWQkTir
    os-dev-report

    Fix round 1 on PR #34943, answering L1-c ACCEPT 6955591381 S1 · 2026-11-17T17:55Z

    {
      "issue": 34875,
      "status": "done",
      "branch": "claude/issue-34875-vocabulary-rule-reach",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34943",
      "head": "0175f27a",
      "session": "session_01WGufzg1NmbJpZhtiWQkTir",
      "premise_still_valid": true,
      "summary": "S1 fixed in one comment-only commit (0175f27a, on top of c0a15a03). The reach note's clause now says a platform dataset answers to its label as served in the caller's locale: the one translation-bundle label resolved along the resolver's locale chain (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. Sibling branch claude/issue-34870-adr-0149-label-locale already had 4b963c98 past 233683d6, so the wording follows that commit's dataset-term-matcher.ts comment. Checked against code at c0a15a03: in packages/spec/src/system/i18n-resolver.ts, localeChain is the locale, then opts.fallbackChain, dropped when isDefaultLocale. pickData reads through resolveBundleLocale. When no entry is found, lookupDatasetMemberAttr returns undefined and translateDatasetMembers keeps the authored member. In packages/rest/src/meta-item-read-gate.ts, metaTranslateOptions sets fallbackChain to the i18n service's getFallbackLocale and defaultLocale to the source/default locale.",
      "tests": "Comment-only change, so no test or ablation is owed. Lint package typecheck under the lock at 0175f27a: build of the @objectstack/lint dependency closure, then tsc --noEmit plus check:test-typecheck: OK; lock VERDICT command-exit 0.",
      "gates": "At 0175f27a: check-nul-bytes exit 0 (OK, no raw ASCII control bytes). check-issue-citations --base origin/main exit 0 (no issue citations added). overlap-check exit 0 (VERDICT clean, merges cleanly with origin/main c6ecd1fa, 0 overlapping PR heads). Lint typecheck exit 0, as above. CI check-runs on the new head had not been read when this was written. skip-changeset stays (comment only).",
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "1 — POST issues/34875/comments (this report, via post-stamped); plus git push (not REST)",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": []
    }
  8. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzg1NmbJpZhtiWQkTir

    Claim: PM loop round 1 · 2026-11-17T18:19Z (restated: the claim + reading of 2026-11-17T16:10Z named no branch; the seat picked outcome (b))
    Session: session_01WGufzg1NmbJpZhtiWQkTir
    Account: os-support-ai
    Branch: claude/issue-34875-vocabulary-rule-reach
    Worktree: objectstack-issue-34875
    Domain: domain:server
    Seat: repo:objectstack#3
    File surface: packages/lint/src/validate-dataset-member-vocabulary.ts (module note only, outcome (b)); no changeset (skip-changeset, comment only).
    Container & model: S, mode:subagent (area o3-F), model: TIER_DEFAULT, effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 6956353082
    Premise: holds (reading 6953644384; seat outcome (b), 16:12Z; #34822 merged).
    Serial constraints cleared: #34822 merged.
    Pre-claim lane: domain:server, routed to area o3-F by the seat.
    Pre-claim deps: none.

    Lease o3-F (seat post #34584); PR #34943.

  9. removed
    pm:dispatched
    on Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:aidomain:serverpriority:p2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions