You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
mcp: the stdio object resources serve labels and descriptions in the workspace default locale, as the object tools now do #34995
area:aiAI-native — agent / tool / skill metadata, and the MCP surface an agent drivesdomain:serverDomain lane — seat card indexed by label:pm:seatpriority:p1High: required for production / M2
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 6953983684), from area o3-G's PR #34922 on #34872; the filer did not re-read the code behind it.
Why
The same object is described to a client in two places. After #34872 the two tools answer in the caller's language; the two resources still answer in the language the author wrote. A client that reads the resource sees English for an app the tools describe in Chinese.
First touch (R1205, 22:5xZ): p1 · domain:server → pm:queue.
Themes: zh-CN customers and MCP (epic #34659), with a named effect. After #34872 the object tools answer in the caller's language, but the stdio object resources still serve the author's language, so a client reading the resource shows English for an app with Chinese labels. That is the same effect #34872 was graded p1 for, on the second path.
{
"issue": 34995,
"status": "done",
"branch": "claude/issue-34995-object-resources-caller-locale",
"pr": "https://github.com/objectstack-ai/objectstack/pull/35072",
"session": "session_01WGufzfR33NbV51QQU6R6bm",
"premise_still_valid": true,
"summary": "Resumed after a container restart on the surviving worktree (fix 7fb186e261 pushed, test a2f1d3c73a local; both intact, tree clean). The stdio object resources objectstack://objects and objectstack://objects/{name} now read the same localized view as list_objects/describe_object: the #34872 inServedLocale/translateMetaList path moved to module scope unchanged and wrapped as servedLocaleObjectView in stdio-data-bridge.ts; the tools read through it and plugin.ts wraps the resources' view (setRuntimeObjectView, at the bridgeResources call site) with the same i18n/protocol sources over the served (callerObjectView) view, so masked fields stay absent and readonly still comes off the untranslated declaration. This run added the changeset (@objectstack/mcp patch, Clause-② no, Metadata-protocol none), dropped an unused update verb from the new test's engine double that check:engine-double-contract flagged, merged origin/main (eb7b09d4d2; #35029 touched the dataset-locale tests beside the moved defaultLocaleSources), re-verified, pushed and opened draft PR #35072. HTTP door: out of scope by construction, the per-request handleHttpRequest server registers no resources (only bridgeResources on the long-lived stdio server does). File surface: plugin.ts is not listed by name in the claim; I read the claim's 'and where the resources are registered' as covering it, since plugin.ts is where the resources' view is set and bridgeResources is called, and no implementation can hand the resources a localized view without touching it. Flagged here so the seat can rule otherwise.",
"tests": "On head 689463fd78 (after merging origin/main eb7b09d4d2): pnpm --filter '@objectstack/mcp^...' build, then pnpm --filter @objectstack/mcp exec vitest run --maxWorkers=2, then pnpm --filter @objectstack/mcp typecheck, under os-verify-lock: 'VERDICT command-exit 0'; 'Test Files 71 passed (71)', 'Tests 1261 passed (1261)'; 'check:test-typecheck: OK ... 53 error(s) / 8 pinned signature(s) held'. Before the merge (2d3871f684): 71/71 files, 1256/1256 tests, typecheck OK. New [#34995] pins (3 cases): zh-CN default, both resources serve the bundle labels and the schema resource equals describe_object byte-for-byte, the list labels equal list_objects; a masked field stays absent with its authored and translated text; en default with no entry, and no i18n service, give authored labels on resources and tools alike. Ablation (fix committed first): node scripts/ablation-replace.mjs on packages/mcp/src/plugin.ts, anchor \"{ i18n: () => optionalService('i18n'), protocol: protocolReads },\" -> \"{},\" (anchor x1->x0, blob 9169554f98->85772e895f): test file 'Tests 2 failed | 6 passed (8)', with the zh-CN case (expected label 'Deal' to match '交易') and the masked case (expected 'Deal' to be '交易') red; restored blob == HEAD 9169554f98, git diff HEAD empty. The test imports ./plugin.js from source, so there is no dist leg.",
"gates": "dispatch-gates --repo objectstack-ai/objectstack --commands (no paths), 69 commands, all run (most on 2d3871f684). --ran with recorded exit codes: '69 derived famil(ies) accounted for — 68 run, 1 NOT-MEASURED'. NOT MEASURED: pnpm check:dual-build-cjs-loads, exit 3 PREREQUISITE NOT MET (needs every package's dist; only the mcp closure was built), left to CI. check:engine-double-contract exit 1 on the first run (an unused update verb on the new test's objectql double); exit 0 after it was dropped (20bb0b6bc7). Re-run on the final head 689463fd78, every one exit 0: check:engine-double-contract, check:type-check-debt, check:type-check-coverage, check:test-source-alias, check:nul-bytes, check-empty-changeset, check-changeset-no-major, check-adr-0087-registration. check-governed-merges --branch: NOT governed, 304 lines, under 3000. dispatch-gates --tier: no path-derived mandate. overlap-check before push: 'VERDICT clean exit 0' (origin/main, #35043, #35060). PR check-runs on 689463fd78, read once at open: Check Changeset, Check PR Size, Governed Surface Queue Guard, Lint (ESLint, CI/release/engine, PM dispatch-gates, docs & code guards, repo & tooling, scoped x3), PR-body guards, Type Check (consumer, debt ledger, source, workspace) all in_progress; opt-in, queue and schedule jobs skipped. No CI conclusion yet (honest value: in_progress).",
"dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
"mcp_calls": "0",
"api_writes": "3 — relay pr_create (POST /repos/objectstack-ai/objectstack/pulls draft, then POST /repos/objectstack-ai/objectstack/issues/35072/assignees os-support-ai; read-back identical, 8122 bytes); post-stamped POST /repos/objectstack-ai/objectstack/issues/34995/comments (this report). git push is not counted.",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": []
}
area:aiAI-native — agent / tool / skill metadata, and the MCP surface an agent drivesdomain:serverDomain lane — seat card indexed by label:pm:seatpriority:p1High: required for production / M2
Activity
objectstack-fleet commentedon Nov 17, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
First touch (R1205, 22:5xZ): p1 · domain:server →
pm:queue.Themes: zh-CN customers and MCP (epic #34659), with a named effect. After #34872 the object tools answer in the caller's language, but the stdio object resources still serve the author's language, so a client reading the resource shows English for an app with Chinese labels. That is the same effect #34872 was graded p1 for, on the second path.
objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzfR33NbV51QQU6R6bm
Claim: PM loop (area o3-E, epic #34659, seat note 00:05Z) · 2026-11-18T00:05Z
Session:
session_01WGufzfR33NbV51QQU6R6bmAccount:
os-support-aiBranch:
claude/issue-34995-object-resources-caller-localeWorktree:
objectstack-issue-34995Domain:
domain:serverSeat:
repo:objectstack#3File surface:
packages/mcp/src/mcp-server-runtime.ts(buildObjectListResource,buildObjectSchemaResourceand where the resources are registered),packages/mcp/src/stdio-data-bridge.ts(the object view the resources read, reusing #34872'sinServedLocale/translateMetaList), their tests, root.changeset/.Container & model:
M,mode:subagent(area o3-E),model: TIER_DEFAULT (dispatch-gates --tier: no path-derived mandate),effort: highClause-②: no
Metadata-protocol: none
Responsibility:
n/a — follow-up of #34872 (PR #34922), not a regression of a merged contractThread-read: 6963212743
Premise: holds (origin/main:
buildObjectListResource(mcp-server-runtime.ts:1488) mapsview.listObjects()labels as authored andbuildObjectSchemaResource(:1390) servesreadObjectWithDeclaration(objects, …); the onlytranslateMetaListcalls inpackages/mcp/srcare the tool paths instdio-data-bridge.ts:1207(inServedLocale, #34872) and:1483(datasets, #34787))Serial constraints cleared:
#34872 closed (PR #34922 merged); open neighbours under packages/mcp/src: o3-E #34919 (PR #35043, dataset text), o3-E #34766 PR-a (authoring registry), o3-A #34876 / #34877: overlap-check at the first push and before every pushPre-claim lane:
domain:server— the MCP stdio doorPre-claim deps: #34872 closed
Prior rulings read: translateMetaList,locale,objectstack://objects → #34872 (PR #34922), #34787, ADR-0106 D3/D5 (served view, masked fields stay absent); repo: objectstack-ai/objectstack.
Lease
o3-E(seat post #34584); child of epic #34659. L1-c, then the landing tier percheck-governed-merges --pr.objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzfR33NbV51QQU6R6bm
os-dev-report
{ "issue": 34995, "status": "done", "branch": "claude/issue-34995-object-resources-caller-locale", "pr": "https://github.com/objectstack-ai/objectstack/pull/35072", "session": "session_01WGufzfR33NbV51QQU6R6bm", "premise_still_valid": true, "summary": "Resumed after a container restart on the surviving worktree (fix 7fb186e261 pushed, test a2f1d3c73a local; both intact, tree clean). The stdio object resources objectstack://objects and objectstack://objects/{name} now read the same localized view as list_objects/describe_object: the #34872 inServedLocale/translateMetaList path moved to module scope unchanged and wrapped as servedLocaleObjectView in stdio-data-bridge.ts; the tools read through it and plugin.ts wraps the resources' view (setRuntimeObjectView, at the bridgeResources call site) with the same i18n/protocol sources over the served (callerObjectView) view, so masked fields stay absent and readonly still comes off the untranslated declaration. This run added the changeset (@objectstack/mcp patch, Clause-② no, Metadata-protocol none), dropped an unused update verb from the new test's engine double that check:engine-double-contract flagged, merged origin/main (eb7b09d4d2; #35029 touched the dataset-locale tests beside the moved defaultLocaleSources), re-verified, pushed and opened draft PR #35072. HTTP door: out of scope by construction, the per-request handleHttpRequest server registers no resources (only bridgeResources on the long-lived stdio server does). File surface: plugin.ts is not listed by name in the claim; I read the claim's 'and where the resources are registered' as covering it, since plugin.ts is where the resources' view is set and bridgeResources is called, and no implementation can hand the resources a localized view without touching it. Flagged here so the seat can rule otherwise.", "tests": "On head 689463fd78 (after merging origin/main eb7b09d4d2): pnpm --filter '@objectstack/mcp^...' build, then pnpm --filter @objectstack/mcp exec vitest run --maxWorkers=2, then pnpm --filter @objectstack/mcp typecheck, under os-verify-lock: 'VERDICT command-exit 0'; 'Test Files 71 passed (71)', 'Tests 1261 passed (1261)'; 'check:test-typecheck: OK ... 53 error(s) / 8 pinned signature(s) held'. Before the merge (2d3871f684): 71/71 files, 1256/1256 tests, typecheck OK. New [#34995] pins (3 cases): zh-CN default, both resources serve the bundle labels and the schema resource equals describe_object byte-for-byte, the list labels equal list_objects; a masked field stays absent with its authored and translated text; en default with no entry, and no i18n service, give authored labels on resources and tools alike. Ablation (fix committed first): node scripts/ablation-replace.mjs on packages/mcp/src/plugin.ts, anchor \"{ i18n: () => optionalService('i18n'), protocol: protocolReads },\" -> \"{},\" (anchor x1->x0, blob 9169554f98->85772e895f): test file 'Tests 2 failed | 6 passed (8)', with the zh-CN case (expected label 'Deal' to match '交易') and the masked case (expected 'Deal' to be '交易') red; restored blob == HEAD 9169554f98, git diff HEAD empty. The test imports ./plugin.js from source, so there is no dist leg.", "gates": "dispatch-gates --repo objectstack-ai/objectstack --commands (no paths), 69 commands, all run (most on 2d3871f684). --ran with recorded exit codes: '69 derived famil(ies) accounted for — 68 run, 1 NOT-MEASURED'. NOT MEASURED: pnpm check:dual-build-cjs-loads, exit 3 PREREQUISITE NOT MET (needs every package's dist; only the mcp closure was built), left to CI. check:engine-double-contract exit 1 on the first run (an unused update verb on the new test's objectql double); exit 0 after it was dropped (20bb0b6bc7). Re-run on the final head 689463fd78, every one exit 0: check:engine-double-contract, check:type-check-debt, check:type-check-coverage, check:test-source-alias, check:nul-bytes, check-empty-changeset, check-changeset-no-major, check-adr-0087-registration. check-governed-merges --branch: NOT governed, 304 lines, under 3000. dispatch-gates --tier: no path-derived mandate. overlap-check before push: 'VERDICT clean exit 0' (origin/main, #35043, #35060). PR check-runs on 689463fd78, read once at open: Check Changeset, Check PR Size, Governed Surface Queue Guard, Lint (ESLint, CI/release/engine, PM dispatch-gates, docs & code guards, repo & tooling, scoped x3), PR-body guards, Type Check (consumer, debt ledger, source, workspace) all in_progress; opt-in, queue and schedule jobs skipped. No CI conclusion yet (honest value: in_progress).", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "3 — relay pr_create (POST /repos/objectstack-ai/objectstack/pulls draft, then POST /repos/objectstack-ai/objectstack/issues/35072/assignees os-support-ai; read-back identical, 8122 bytes); post-stamped POST /repos/objectstack-ai/objectstack/issues/34995/comments (this report). git push is not counted.", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [] }