Repository navigation
Closed
Labels
area:aiAI-native — agent / tool / skill metadata, and the MCP surface an agent drivesdomain:serverDomain lane — seat card indexed by label:pm:seatpriority:p2Medium: important, M3
Description
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, verbatim: 「你应该负责立卡,对方只是派发处理」. The gap was reported by the dispatching seat repo:objectstack#3 on #34659 (comment 6953691671), from area o3-F's reading on #34875 (6953644384); the filer did not re-read the code behind it.
Why
An administrator who asks "how many users do we have" or 「有多少用户」 in their own words should reach the platform's own governed metric. The platform now advises every app author to give a metric its business words and a definition, and its own seven members have neither; the advisory cannot see them, so nothing says so.
Evidence
- Per the reading: the five System Overview datasets (7 bare members) are registered only through plugin-auth's runtime manifest at kernel start (
auth-plugin.ts:1164), which none of the vocabulary rule's doors sees. reading first: are the platform's own system datasets out of the vocabulary advisory's reach by design #34875 closes by stating that reach in the rule's module note. - Per the reading: those members still match on their name, and on a bundle label in the caller's locale.
- On a live hosted environment this session listed them:
user_count"Users",org_count"Organizations",session_count"Sessions",event_count"Events", none with a synonym or a description.
Scope
- Each of the seven members gains
synonyms(the words an administrator types, Chinese and English) and a one-sentencedescription, with bundle entries inpackages/platform-objects. The i18n baseline moves with it; the PR states by how much. - No change to the rule's reach.
Done when
list_datasets({ terms: ['用户数'] })and({ terms: ['how many users'] })each behave as the members' declared words say, with a pin.
Relations
- Parent: Decision: open-source MCP — the client thinks locally, the server keeps a thin door (a metadata draft write entry for building; the data door for 问数), plus policy, version skew and the 问数 eval #34659. Related: reading first: are the platform's own system datasets out of the vocabulary advisory's reach by design #34875, datasets: a measure or dimension published with neither synonyms nor a description gets an advisory, and the build skills write both in the user's language #34718, examples: dataset members carry a description and bundle translations, not synonyms alone #34873. Suggested grade: p3; no user is blocked.
Metadata
Metadata
Assignees
Labels
area:aiAI-native — agent / tool / skill metadata, and the MCP surface an agent drivesdomain:serverDomain lane — seat card indexed by label:pm:seatpriority:p2Medium: important, M3
Activity
objectstack-fleet commentedon Nov 17, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
First touch (R1199, 16:5xZ): p2 · domain:server →
pm:queue.Theme: MCP / 问数 and epic #34659. The System Overview datasets' seven members gain synonyms and a description, so an ask over the platform's own datasets resolves. The filer suggested p3. In a focus theme without a direct effect the grade is p2.
objectstack-fleet commentedon Nov 17, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzi3ezPzTysQPDEjmVz
Claim: PM loop round 2 · 2026-11-17T21:22Z
Session:
session_01WGufzi3ezPzTysQPDEjmVzAccount:
os-support-aiBranch:
claude/issue-34921-system-overview-dataset-wordsWorktree:
objectstack-issue-34921Domain:
domain:serverSeat:
repo:objectstack#3File surface:
packages/platform-objects/src/apps/dashboards/system.datasets.ts, thedatasets.*rows of the locale bundles inpackages/platform-objects/src/apps/translations/(hand-written<locale>.tsand their*.source-hashes*.ts/ generated companions, regenerated by their generators, not hand-edited), the platform-objects i18n baseline the PR measures, one pin test (packages/services/service-analyticsdataset-tools / term-matcher tests, or platform-objects tests, wherever the System Overview datasets reachlist_datasetswithout new wiring), root.changeset/Container & model:
S,mode:subagent,model: TIER_DEFAULT (no path-derived mandate on these paths),effort: high(server card, outside the console effort trial; seat 21:19Z)Clause-②: no
Metadata-protocol: none
Responsibility:
objectstack packages/platform-objects system.datasets.ts (the five System Overview datasets, seven members: user_count, org_count, session_count, package_count, event_count, action, user_id, declare no synonyms and no description) | none | an administrator asking "how many users" / 「有多少用户」 through list_datasets or the ask-data skillsThread-read: 6954795597
Premise: holds on origin/main fb5c42d:
system.datasets.tsdeclares the seven members with name + label only (nullLabelon user_id); the spec's dataset member schema already carriessynonyms(dataset-tools.zod.ts:116/140, matched in every language at once) and the translation group already addressesdatasets.<name>.measures|dimensions.<m>.description(translation.zod.ts:1323-1326); synonyms are authored once in every language, never bundled (ADR-0149 D1,translation.zod.ts:1073); no spec, protocol or rule change is neededSerial constraints cleared:
no open PR touches system.datasets.ts (58 open PRs checked); the locale bundles are shared, so overlap-check before every pushPre-claim lane:
domain:server— epic #34659 p2, seat-assigned to this area (seat 21:19Z; area o3-G had it pencilled, not claimed, seat told it)Pre-claim deps: none; related #34875 (vocabulary rule reach note), #34718, #34873
Prior rulings read: dataset synonyms,system overview datasets,ADR-0149 D1 → ADR-0149 D1 (synonyms untranslated, authored in every language); thread: none
Ruling-ref: none (seat dispatch 21:19Z)
Scope: each of the seven members gains
synonyms(the words an administrator types, Chinese and English at least, per ADR-0149 D1 in the one authored array) and a one-sentencedescription; the descriptions get bundle entries underdatasets.<name>.measures|dimensions.<m>.descriptionin every shipped locale the bundles carry; the i18n baseline moves and the PR states by how much. No change to the vocabulary rule's reach. Done whenlist_datasets({ terms: ['用户数'] })and({ terms: ['how many users'] })each resolve as the declared words say, with a pin (and a control: a term no member declares still misses). Any need for a spec, schema or rule change ⇒ stop and report.Lease
o3-D(seat post #34584).objectstack-fleet commentedon Nov 17, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzi3ezPzTysQPDEjmVz
os-dev-report
{ "issue": 34921, "status": "done", "branch": "claude/issue-34921-system-overview-dataset-words", "pr": "https://github.com/objectstack-ai/objectstack/pull/34992", "session": "session_01WGufzi3ezPzTysQPDEjmVz", "premise_still_valid": true, "summary": "Premise held on origin/main fb5c42d10. The seven members had a name and a label only, and the spec already carried synonyms and the datasets.*.description bundle slot, so no spec, schema or rule change was needed. All seven System Overview members (user_count, org_count, session_count, package_count, event_count; dimensions action and user_id) now declare synonyms in Chinese and English, in one authored array that no bundle carries (ADR-0149 D1), plus a one-sentence description. Each description has a hand-translated bundle row in all 11 Setup locales, and each translated locale records the new paths' source digest in its LOCALE.source-hashes.ts (computed with collectSourceHashes(en); the existing label digests reproduce byte for byte). No generated file moved. The matcher is equality after normalizeDatasetTerm, so I wrote the administrator's phrasing ('how many users', '有多少用户') as synonyms beside the lifted-term forms ('用户数', 'user count'); the PR explains what the matcher does with longer multi-word terms (no hit, only near candidates). No synonym is a word of another measure across the five datasets in any locale, and that is pinned. The one cross-member equality is 「用户」: a user_count synonym and also the existing zh-CN label of the user_id dimension. A dimension match alone picks no number. The i18n coverage baseline moved by 0: the platform-objects entry is 0 before and after, because the extract config declares no datasets. The pin lives in packages/rest, the package that already depends on both platform-objects and service-analytics, so it needed no new wiring.", "tests": "head 82b53be53. NEW packages/rest/src/system-overview-dataset-vocabulary.test.ts feeds the real SystemOverviewDatasets, localized by the real SetupAppTranslations via translateDataset, to the real list_datasets of an AnalyticsServicePlugin-booted service. Run: pnpm --filter @objectstack/rest exec vitest run --maxWorkers=2 src/system-overview-dataset-vocabulary.test.ts -> Test Files 1 passed, Tests 8 passed. Cases under en and zh-CN: '用户数' and 'how many users' each match exactly sys_user_metrics.measures.user_count on synonym with no candidates; control ['营收','revenue'] matches nothing and has no candidates; plus zh-CN description served from the bundle. EXTENDED platform-objects system-overview-dataset-translations.test.ts with a top-level describe: seven members carry a zh and an en synonym and a description; full DatasetSchema.safeParse is green; no synonym is another measure's word in any locale; en descriptions are verbatim; no locale serves the English description. pnpm --filter @objectstack/platform-objects test -> Test Files 123 passed, Tests 2060 passed. platform-objects typecheck exit 0. rest typecheck exit 0 (test layer 0 files/0 errors). ABLATION via scripts/ablation-replace.mjs: deleted user_count's synonyms array, rebuilt platform-objects, then ablation-dist-preflight 'total users' --absent exit 0. Mutant run exit 1 with 4 failed / 4 passed: the four user_count synonym cases went red; listing, controls and description stayed green. Restore: 'ok restored: blob == HEAD (b3d478488ce5) and git diff HEAD is empty'; after a rebuild the preflight found the marker present in 4 dist files with a clean tree, and the suite went back to 8/8. Not run locally: the rest of the @objectstack/rest suite (this PR adds one test file there and changes no rest source; CI Test Core runs it); declared narrowing.", "gates": "node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack derived 63 families (merge base fb5c42d10, tree 82b53be53). All 63 ran locally, with exit codes captured before any pipe. On the first pass 60 exited 0 and 3 exited 3 (PREREQUISITE NOT MET). Each of the three was re-run once its prerequisite held and exited 0: check:i18n after building the CLI and extract closure ('OK (10 package(s) — all bundles in sync, no undeclared authoring keys)'); check:dual-build-cjs-loads after a full turbo build ('124 published require entry point(s) across 72 package(s) load'); check-plugin-teardown-shape --self-test after fetching its pinned fixture commit into the shallow clone ('48 cases pass'). Dist readers re-run after the full build, all exit 0: check:dts-closure, check:published-files, check:lean-entry-closure, check:sourcemap-no-sources-content, check-dts-emitted --self-test. --ran reconciliation: '63 derived, 63 run, 0 NOT-MEASURED, 0 UNRUN' exit 0. Also: check-i18n-coverage 'OK (14 config(s), 423 baselined untranslated string(s), none new)' exit 0. overlap-check VERDICT clean exit 0 before each push (origin/main and #34799, which shares the locale bundles). PR check-runs: in_progress when this report was written; not awaited, per contract.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "2 writes, 3 REST requests. (1) Relay pr_create (dispatch fw-20261117T221725Z-85420c, run 44188578187): POST /repos/objectstack-ai/objectstack/pulls (draft) and POST /repos/objectstack-ai/objectstack/issues/34992/assignees [os-support-ai]; the read-back says 10989 bytes sent and stored, identical. (2) post-stamped: POST /repos/objectstack-ai/objectstack/issues/34921/comments (this os-dev-report). git push is not a REST write and is not counted.", "open_questions": [ { "question": "Standing-text conflict: the dispatch asked the PR body to end with an HTML-comment signature ('signed: ...' inside comment markers), but os-dev.md forbids HTML comments in anything posted to GitHub because the sanitizer eats them. Which wins?", "options": [ "A: the os-dev.md rule wins. Keep the plain-text 'signed: repo:objectstack#3 · os-support-ai · session_01WGufzi3ezPzTysQPDEjmVz' line that ends the body now", "B: the seat adds the comment-form signature itself" ], "recommendation": "A, because os-dev.md says the standing file wins any conflict with a dispatch, and a plain line survives the sanitizer" } ], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted in the PR, not filed: the synonyms are Simplified Chinese and English only, and normalizeDatasetTerm does not fold Traditional to Simplified, so a zh-Hant administrator's 「使用者數」 matches only the zh-Hant label 「使用者」 and only in that locale. This is a vocabulary choice, not a defect.", "carrier: none · noted in the PR, not filed: the platform-objects i18n coverage ratchet's 0 does not cover datasets.* rows, because its extract config declares no datasets. The new descriptions are held by system-overview-dataset-translations.test.ts instead." ] }objectstack-fleet commentedon Nov 17, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzi3ezPzTysQPDEjmVz
Claim amendment · 2026-11-17T22:25Z
Amends claim 6961389476 (area o3-D, same session, same branch
claude/issue-34921-system-overview-dataset-words), per L1 6962771575 S1. The File surface names the pin's package:packages/rest/src/system-overview-dataset-vocabulary.test.ts(new test file only; no rest source).@objectstack/restalready depends on both@objectstack/platform-objectsand@objectstack/service-analytics, so the real System Overview datasets reach the reallist_datasetsthere with no new wiring, which is the claim's own placement rule. Everything else in 6961389476 stands.objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzi3ezPzTysQPDEjmVz
Closed by merge · 2026-11-18T00:50Z
PR #34992 merged at 2026-11-18T00:47Z (
Fixes #34921). The seven System Overview members (user_count, org_count, session_count, package_count, event_count; dimensions action, user_id) now declare Chinese and Englishsynonymsin one authored array (ADR-0149 D1) and a one-sentencedescription, translated in all 11 Setup locales.list_datasets({ terms: ['用户数'] })and({ terms: ['how many users'] })each matchsys_user_metrics.measures.user_counton synonym, with a control that misses (pinned inpackages/rest, claim amendment 6962789643). L1 ACCEPT 6962771575 (review of record). Nits kept in the record: package_count's zh label 「安装」 is not among its synonyms; a zh-CN['用户']pin would hold the dimension-plus-measure reading. Noted, not filed: zh-Hant terms are not folded to Simplified bynormalizeDatasetTerm.pm:dispatchedandlease:o3-Dremoved.