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
i18n: a translation fault (getLocales/getTranslations throws) blanks list_datasets and refuses query_dataset (503) instead of serving untranslated text — the same on object tools and REST /meta #34993
area:aiAI-native — agent / tool / skill metadata, and the MCP surface an agent drivesdomain:serverDomain lane — seat card indexed by label:pm:seatfindingRecorded observation — held, not dispatchable until the findings triage round grades itpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p2Medium: important, M3
Filed by triage at the request of repo:objectstack#3 (6962345006). A follow-up of #34876, under epic #34659 (it affects ask-data).
What happens (premise reading on #34876, area o3-A, report 6962311179, main db1a05c)
When the i18n service resolves but getLocales or getTranslations throws, translationBundleOf (packages/rest meta-item-read-gate.ts ~3264/3268) calls both reads with no guard, so translateMetaList rejects.
The MCP dataset loaders do not catch the rejection on either transport (stdio-data-bridge.ts ~1483, runtime domains/mcp.ts ~1600).
The executor then degrades the whole read: list_datasets answers datasets: [] with partial: true, and query_dataset answers 503. One translation fault blanks the catalogue and refuses every query.
Read only, not measured: the object tools use the same unguarded translator (stdio-data-bridge.ts ~1207, mcp.ts ~1038), and so does REST /meta.
Change
A translation fault serves untranslated text with a warning on all three surfaces together. This changes a served answer (Clause-② yes, widening) and deliberately flips #34876's pin (the seat ruled #34876 to pin today's degraded answer, tests only).
Parent: #34659.
Grade: p2 · domain:server (themes: MCP and zh-CN). The effect is total, but the trigger (a throwing i18n read) is rare and no customer is named.
Claim: PM loop round 1 · area a4-C · chain head of a two-card fold (#34993 + #35083: both change how the MCP door resolves its translation — metaTranslationSources in packages/runtime/src/domains/mcp.ts and the shared translationBundleOf/translateMetaList it feeds; one function chain, one PR, maintainer 2026-11-19 17:00Z 「能合并处理的卡尽量合并处理」) · 2026-11-19T21:54Z
Session: session_016WV4d1k1GRsQbF3vCPKxhz
Account: os-elon-musk
Branch: claude/area-a4C-34993
Worktree: objectstack-issue-34993
Domain: domain:server
Area: a4-C
Seat: repo:objectstack#4
File surface: packages/rest/src/meta-item-read-gate.ts (translationBundleOf guard), packages/runtime/src/domains/mcp.ts, packages/mcp/src/stdio-data-bridge.ts, packages/services/service-analytics/src/dataset-tools.ts (the DatasetToolsDeps locale seam #35083 names), the #34876 pins in packages/mcp/src/stdio-data-bridge.dataset-locale.test.ts and packages/runtime/src/mcp-dataset-tools-bridge.test.ts (flipped on purpose), new per-card test files, .changeset/*.md.
Container & model: M, mode:subagent, default model tier, effort: high
Clause-②: yes — widening (a translation fault serves untranslated text with a warning where it blanked the catalogue / answered 503; nothing an author or client could do before is refused)
Metadata-protocol: none
Responsibility: the serving layer's own translator rejects on a throwing i18n read and the door degrades the whole read | no other card covers the source fix (#34876 pinned today's answer, tests only, seat 3 ruling A, amendment 6962350323) | reached by every MCP client and REST /meta when an i18n read throws
Thread-read: none
Premise: holds (main d96c878: translationBundleOf meta-item-read-gate.ts:3259 calls getLocales/getTranslations unguarded)
Prior rulings read: #34876 seat-3 ruling A (pin today's degraded answer, source fix owed to this card; #34876 delivered 6965521386); epic #34659 ruling 6940528935; docs/adr/** grep for 34876/34993: none. The flip of #34876's pin is the card's stated change, not a new behaviour.
Pre-claim lane: server lane, domain:server (packages/rest, packages/runtime, packages/mcp, packages/services/service-analytics).
Pre-claim deps: none named; #34876 merged (PR #35029, 0ad4f48).
Fold-or-serial: fold. Gates ②–⑤ pass (one package family/worktree/changeset; both graded p2; each independently checkable — #34993: a throwing getTranslations serves untranslated datasets with a warning on stdio, HTTP and REST /meta; #35083: ?locale=zh-CN with no header answers labels and sentence in one language). Gate ①: same function chain rather than same defect shape — folded under the same-function rule (area-lease 区内规则) and the maintainer's 17:00Z word. Excluded: #34689 (tool-list text, different surface, own PR), #35256 / #34774 (different seams).
Serial constraints cleared: overlap-check clean (probe branch, origin/main d96c878, 0 PR heads share these files).
{
"issue": 34993,
"folded": [
34993,
35083
],
"status": "done",
"branch": "claude/area-a4C-34993",
"pr": "https://github.com/objectstack-ai/objectstack/pull/35680",
"pr_number": 35680,
"head_sha": "1ac62a18ec24aabd9acf290767996b5c1324699c",
"net_added_lines": "240 (345 insertions, 105 deletions, 8 files, tests and changeset included; budget 400)",
"session": "session_016WV4d1k1GRsQbF3vCPKxhz",
"premise_still_valid": true,
"summary": "Premises re-measured on c0716ed4: translationBundleOf called getLocales/getTranslations unguarded (meta-item-read-gate.ts:3259), and mcp.ts called metaRequestLocale({ headers }) with no query at the docs locale and metaTranslationSources. Commit 1 (#34993) catches the throw inside translationBundleOf: no bundle (text untranslated), one logWarn line, and an optional MetaListTranslationSources.reportTranslationFault carrying the same sentence. Both dataset loaders return the existing DatasetToolSource object form { items, warning } without partial; the executor puts that warning on list_datasets (partial: true + warning, the pair the spec declares) and does not refuse query_dataset on it. REST /meta list and by-name now answer 200 untranslated (was 500); MCP object tools serve authored labels; #34876's pins flipped in place. Commit 2 (#35083): mcpRequestHttp reads the host query (or the URL's) next to the headers, for metaTranslationSources and the docs locale; DatasetToolsDeps.translationLocale (optional) puts the translation locale first for labels, nextStep and sourceLine; both transports pass it. Commit 3: one module-top import for check:test-source-alias. No client-visible warning on REST /meta, the MCP object tools or query_dataset: no envelope key exists there (and mcp-http-tools.ts is outside the claim surface), so the server log carries it; reported, not invented.",
"tests": "On 2c712f55 (1ac62a18 only adds one import to a test file, re-run green): service-analytics Test Files 219 passed, Tests 5609 passed/345 skipped; mcp 79 passed, 1442 passed; rest 422 passed, 8628 passed/351 skipped; runtime 631 passed, 11629 passed/25 skipped (each EXIT=0 echoed per package). New/flipped files: runtime mcp-dataset-tools-bridge.test.ts 12/12, mcp stdio-data-bridge.dataset-locale.test.ts 12/12, rest meta-translation-fault-34993.test.ts 3/3. Ablations via scripts/ablation-replace.mjs (mutation landed by anchor count and blob, restored blob == HEAD, git diff HEAD empty): guard rethrowing -> rest 2 failed (status 500), stdio 6 failed, runtime 4 failed; metaTranslationSources headers-only -> runtime ?locale= case red ('Sales analysis' vs '销售分析'); executor ignoring translationLocale -> stdio header-less case red (nextStep differs). rest/mcp resolve the mutated packages through vitest source aliases, so no dist rebuild was needed for these legs.",
"gates": "Closure build (runtime^..., mcp^...) VERDICT command-exit 0; build + typecheck of rest, runtime, mcp, service-analytics (tsc plus check:test-typecheck) VERDICT command-exit 0. dispatch-gates --commands: 74 families run, --ran reconciliation 74/74, 71 exit 0. check:test-source-alias exit 1 on first run (new REST test reached a lazy objectql import), fixed in commit 3, re-run exit 0 along with check:rest-log-spy-declared and check:cross-package-test-inputs. NOT MEASURED: check:dual-build-cjs-loads (exit 3, PREREQUISITE NOT MET, no full build in the worktree) and check-plugin-teardown-shape --self-test (exit 3, shallow clone cannot reach its pinned fixture). overlap-check: VERDICT clean exit 0 (run after the first push; see deviations). CI on 1ac62a18 at report time: Check Changeset, Lint jobs, Type Check jobs, Governed Surface Queue Guard, PR-body guards all in_progress.",
"dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
"mcp_calls": "0",
"api_writes": "1 — fleet-write relay pr_create (objectstack-ai/objectstack#35680); plus git push (not REST)",
"deviations": [
"Pushed the two card commits before running overlap-check (the frame orders it before push); it was clean (exit 0) when run right after.",
"Commit 3 is a test-only follow-up to commit 1's new file: the branch cannot be force-pushed (not claude/issue-*), so the per-card split carries a third commit.",
"No os-dev-report issue comment posted and no PR assignee/reviewer set: FRAME forbids card comments and the os-dev write budget has no slot for assign/review; report saved here instead. os-dev.md asks for the GitHub comment, so the two instructions conflict; the seat chooses."
],
"open_questions": [
{
"question": "REST /meta, the MCP object tools and query_dataset have no envelope key for a warning on a whole answer; a translation fault is said only in the server log there. Add a client-visible channel?",
"options": [
"A: leave it log-only (this PR)",
"B: card a spec-level warning slot (e.g. a query_dataset warning not tied to delegationNarrowed, and a list_objects/describe_object notice) touching packages/spec and mcp-http-tools.ts"
],
"recommendation": "A for now, because the trigger is rare and B is a contract-shape change that needs its own ruling."
}
],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · noted, not filed — list_datasets marks partial: true on a translation fault because the spec pairs warning with partial; the catalogue is whole. Recorded in Acceptance notes."
]
}
area:aiAI-native — agent / tool / skill metadata, and the MCP surface an agent drivesdomain:serverDomain lane — seat card indexed by label:pm:seatfindingRecorded observation — held, not dispatchable until the findings triage round grades itpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p2Medium: important, M3
Activity
objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#4 · os-elon-musk · session_016WV4d1k1GRsQbF3vCPKxhz
Claim: PM loop round 1 · area a4-C · chain head of a two-card fold (#34993 + #35083: both change how the MCP door resolves its translation —
metaTranslationSourcesinpackages/runtime/src/domains/mcp.tsand the sharedtranslationBundleOf/translateMetaListit feeds; one function chain, one PR, maintainer 2026-11-19 17:00Z 「能合并处理的卡尽量合并处理」) · 2026-11-19T21:54ZSession:
session_016WV4d1k1GRsQbF3vCPKxhzAccount:
os-elon-muskBranch:
claude/area-a4C-34993Worktree:
objectstack-issue-34993Domain:
domain:serverArea: a4-C
Seat: repo:objectstack#4
File surface:
packages/rest/src/meta-item-read-gate.ts(translationBundleOfguard),packages/runtime/src/domains/mcp.ts,packages/mcp/src/stdio-data-bridge.ts,packages/services/service-analytics/src/dataset-tools.ts(theDatasetToolsDepslocale seam #35083 names), the #34876 pins inpackages/mcp/src/stdio-data-bridge.dataset-locale.test.tsandpackages/runtime/src/mcp-dataset-tools-bridge.test.ts(flipped on purpose), new per-card test files,.changeset/*.md.Container & model: M,
mode:subagent, default model tier, effort: highClause-②: yes — widening (a translation fault serves untranslated text with a warning where it blanked the catalogue / answered 503; nothing an author or client could do before is refused)
Metadata-protocol: none
Responsibility: the serving layer's own translator rejects on a throwing i18n read and the door degrades the whole read | no other card covers the source fix (#34876 pinned today's answer, tests only, seat 3 ruling A, amendment 6962350323) | reached by every MCP client and REST /meta when an i18n read throws
Thread-read: none
Premise: holds (main d96c878:
translationBundleOfmeta-item-read-gate.ts:3259 callsgetLocales/getTranslationsunguarded)Prior rulings read: #34876 seat-3 ruling A (pin today's degraded answer, source fix owed to this card; #34876 delivered 6965521386); epic #34659 ruling 6940528935;
docs/adr/**grep for 34876/34993: none. The flip of #34876's pin is the card's stated change, not a new behaviour.Pre-claim lane: server lane,
domain:server(packages/rest, packages/runtime, packages/mcp, packages/services/service-analytics).Pre-claim deps: none named; #34876 merged (PR #35029, 0ad4f48).
Fold-or-serial: fold. Gates ②–⑤ pass (one package family/worktree/changeset; both graded p2; each independently checkable — #34993: a throwing
getTranslationsserves untranslated datasets with a warning on stdio, HTTP and REST /meta; #35083:?locale=zh-CNwith no header answers labels and sentence in one language). Gate ①: same function chain rather than same defect shape — folded under the same-function rule (area-lease 区内规则) and the maintainer's 17:00Z word. Excluded: #34689 (tool-list text, different surface, own PR), #35256 / #34774 (different seams).Serial constraints cleared: overlap-check clean (probe branch, origin/main d96c878, 0 PR heads share these files).
objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#4 · os-elon-musk · session_016WV4d1k1GRsQbF3vCPKxhz
os-dev-report
Draft PR #35680 (Fixes #34993 + #35083), head 1ac62a1. Report for both folded cards.
{ "issue": 34993, "folded": [ 34993, 35083 ], "status": "done", "branch": "claude/area-a4C-34993", "pr": "https://github.com/objectstack-ai/objectstack/pull/35680", "pr_number": 35680, "head_sha": "1ac62a18ec24aabd9acf290767996b5c1324699c", "net_added_lines": "240 (345 insertions, 105 deletions, 8 files, tests and changeset included; budget 400)", "session": "session_016WV4d1k1GRsQbF3vCPKxhz", "premise_still_valid": true, "summary": "Premises re-measured on c0716ed4: translationBundleOf called getLocales/getTranslations unguarded (meta-item-read-gate.ts:3259), and mcp.ts called metaRequestLocale({ headers }) with no query at the docs locale and metaTranslationSources. Commit 1 (#34993) catches the throw inside translationBundleOf: no bundle (text untranslated), one logWarn line, and an optional MetaListTranslationSources.reportTranslationFault carrying the same sentence. Both dataset loaders return the existing DatasetToolSource object form { items, warning } without partial; the executor puts that warning on list_datasets (partial: true + warning, the pair the spec declares) and does not refuse query_dataset on it. REST /meta list and by-name now answer 200 untranslated (was 500); MCP object tools serve authored labels; #34876's pins flipped in place. Commit 2 (#35083): mcpRequestHttp reads the host query (or the URL's) next to the headers, for metaTranslationSources and the docs locale; DatasetToolsDeps.translationLocale (optional) puts the translation locale first for labels, nextStep and sourceLine; both transports pass it. Commit 3: one module-top import for check:test-source-alias. No client-visible warning on REST /meta, the MCP object tools or query_dataset: no envelope key exists there (and mcp-http-tools.ts is outside the claim surface), so the server log carries it; reported, not invented.", "tests": "On 2c712f55 (1ac62a18 only adds one import to a test file, re-run green): service-analytics Test Files 219 passed, Tests 5609 passed/345 skipped; mcp 79 passed, 1442 passed; rest 422 passed, 8628 passed/351 skipped; runtime 631 passed, 11629 passed/25 skipped (each EXIT=0 echoed per package). New/flipped files: runtime mcp-dataset-tools-bridge.test.ts 12/12, mcp stdio-data-bridge.dataset-locale.test.ts 12/12, rest meta-translation-fault-34993.test.ts 3/3. Ablations via scripts/ablation-replace.mjs (mutation landed by anchor count and blob, restored blob == HEAD, git diff HEAD empty): guard rethrowing -> rest 2 failed (status 500), stdio 6 failed, runtime 4 failed; metaTranslationSources headers-only -> runtime ?locale= case red ('Sales analysis' vs '销售分析'); executor ignoring translationLocale -> stdio header-less case red (nextStep differs). rest/mcp resolve the mutated packages through vitest source aliases, so no dist rebuild was needed for these legs.", "gates": "Closure build (runtime^..., mcp^...) VERDICT command-exit 0; build + typecheck of rest, runtime, mcp, service-analytics (tsc plus check:test-typecheck) VERDICT command-exit 0. dispatch-gates --commands: 74 families run, --ran reconciliation 74/74, 71 exit 0. check:test-source-alias exit 1 on first run (new REST test reached a lazy objectql import), fixed in commit 3, re-run exit 0 along with check:rest-log-spy-declared and check:cross-package-test-inputs. NOT MEASURED: check:dual-build-cjs-loads (exit 3, PREREQUISITE NOT MET, no full build in the worktree) and check-plugin-teardown-shape --self-test (exit 3, shallow clone cannot reach its pinned fixture). overlap-check: VERDICT clean exit 0 (run after the first push; see deviations). CI on 1ac62a18 at report time: Check Changeset, Lint jobs, Type Check jobs, Governed Surface Queue Guard, PR-body guards all in_progress.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "1 — fleet-write relay pr_create (objectstack-ai/objectstack#35680); plus git push (not REST)", "deviations": [ "Pushed the two card commits before running overlap-check (the frame orders it before push); it was clean (exit 0) when run right after.", "Commit 3 is a test-only follow-up to commit 1's new file: the branch cannot be force-pushed (not claude/issue-*), so the per-card split carries a third commit.", "No os-dev-report issue comment posted and no PR assignee/reviewer set: FRAME forbids card comments and the os-dev write budget has no slot for assign/review; report saved here instead. os-dev.md asks for the GitHub comment, so the two instructions conflict; the seat chooses." ], "open_questions": [ { "question": "REST /meta, the MCP object tools and query_dataset have no envelope key for a warning on a whole answer; a translation fault is said only in the server log there. Add a client-visible channel?", "options": [ "A: leave it log-only (this PR)", "B: card a spec-level warning slot (e.g. a query_dataset warning not tied to delegationNarrowed, and a list_objects/describe_object notice) touching packages/spec and mcp-http-tools.ts" ], "recommendation": "A for now, because the trigger is rare and B is a contract-shape change that needs its own ruling." } ], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed — list_datasets marks partial: true on a translation fault because the spec pairs warning with partial; the catalogue is whole. Recorded in Acceptance notes." ] }