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
reading first: Studio's edit-and-save round trip in a non-source locale may store the served translation as the source label for book, page, dashboard, report, app, dataset and mapping (the translated-echo restore covers object only) #35008
domain:specDomain lane — seat card indexed by label:pm:seatfindingRecorded observation — held, not dispatchable until the findings triage round grades itpriority:p1High: required for production / M2
Filed by triage at the request of repo:objectstack#3 (mailbox #32588, 6963190753), from the seat's L2 on PR #34976 (#34939 part 1, PASS). This is an unmeasured question outside that diff.
The question
The save door's translated-echo restore (packages/metadata-protocol/src/protocol-translated-echo.ts) covers object bodies only.
Any other translated type edited in Studio by GET → edit → PUT of the whole body, in a non-source locale, might store the served translation as its source label. The types are book, page, dashboard, report, app and dataset, and with #34976 also mapping.
The review did not establish whether Studio's generic editor reads the translated document for these types. This is a question, not a shown defect.
Done when
A live reading in a non-source locale (zh-CN over an en-source package) shows, for each type, whether the round trip stores the translation as the source text. If it does, the card names the fix route: widen the restore, or have the editor read the source document.
Grade: p2 · domain:spec, reading first. Theme: zh-CN customers. Raise it to p1 if the reading confirms it: a zh-CN admin's ordinary edit would silently overwrite source text.
Claim: PM loop round 2 · area o3-I · 2026-11-17T23:43Z
Session: session_01WGufzi6WQ71HhZSLSvHhdF (area o3-I)
Account: os-support-ai
Branch: claude/issue-35008-translated-echo-reading (reading only; no PR unless the seat rules a route)
Worktree: objectstack-issue-35008
Domain: domain:spec
Seat: repo:objectstack#3
File surface: none — a live reading. The outcome is one reading comment on this card; any probe script stays in the worktree. A fix route goes to the seat for a ruling before any build
Container & model: S, mode:subagent, model: TIER_DEFAULT, effort: high
Clause-②: no (reading)
Metadata-protocol: none
Responsibility: objectstack: the save door restores translated echoes for object bodies only (protocol-discovery-and-bases.ts restoreTranslatedObjectEchoes) | none | a zh-CN admin editing book, page, dashboard, report, app, dataset or mapping in Studio over an en-source package
Thread-read: none
Premise: static read on origin/main4443014 makes it plausible: the console's fetch sets Accept-Language on every API call (ui/packages/auth/src/createAuthenticatedFetch.ts:146), the /meta read translates those types (METADATA_DOCUMENT_TRANSLATORS in packages/spec/src/system/i18n-resolver.ts), and the restore returns any non-object body unchanged. Whether each Studio editor reads through the translated path is what the live reading settles
Method: boot an en-source package with zh-CN translations, set the session to zh-CN, and for each type (book, page, dashboard, report, app, dataset, mapping) do one Studio edit-and-save of an unrelated property, then read the stored row (en session and the raw row) and record whether any label became the translation
Serial constraints cleared: reading only, nothing pushed to main
Pre-claim lane: domain:spec — the /meta save door in packages/metadata-protocol; seat 3 routed the card to o3-I (2026-11-17T22:59Z)
Pre-claim deps: no Blocked-by:
Prior rulings read: ADR-0029 D9.2a (comparison-based provenance the restore runs backwards), ADR-0005 appendix (c) (write path persists the body verbatim), #29673 (the object restore); thread: none
Lease: lease:o3-I
Reading taken 2026-11-18T00:19Z on origin/maina841e26 (the claim's anchor 4443014 plus four unrelated commits; none touches packages/metadata-protocol, packages/rest translation, ui/packages/data-objectstack or the Studio editors). Live boot: showcase (--fresh), console on Vite (DEV_PROXY_TARGET to that boot), Playwright Chromium with locale: zh-CN; every captured write carried accept-language: zh-CN and the Studio chrome rendered in Chinese.
Answer to the card's question: no. None of the six Studio editors stores the served translation as source text. Every editor seeds its buffer from the untranslated layered read (GET /meta/TYPE/NAME/layers), not from the translated served read. A sibling console door that is not Studio does store it (report, below).
Fixture
Writable en-source package com.qa.tr (POST /packages, project scope) holding copies of showcase items under qatr_* names (page, dashboard, report, dataset, book) plus a small app, and a runtime-authored translation item qatr_zh_cn (locale zh-CN) in the same package. Control before any edit: every item's zh-CN served read is translated (for example page label 我的工作, dashboard widget 任务总数, report blocks 未完成任务/已完成任务, app nav 我的工作/工作区, dataset measure 任务数, book groups 入门/导览), its en read and its /layers read are the en source. Second leg: the read-only showcase itself, edited through Customize into com.example.showcase.custom.
Studio legs (Studio editor, unrelated edit, autosave draft, then publish)
type
editor (path)
PUT body vs stored source
stored, writable leg, after Studio publish (raw + en read; pair drafts not published)
verdict
page
Interfaces pillar (writable) and Customize (showcase)
only description changed (+ overrides on the pair)
label My Work, header subtitle en
no echo
dashboard
Interfaces pillar and Customize
only description
label Chart Gallery, widget titles en
no echo
report
Interfaces pillar and Customize
only description
label and both block labels en
no echo
app
All metadata generic page, and the Interfaces nav pane (writable and showcase pair)
only description / identical to source
label QA Translate App, nav labels en
no echo
dataset
All metadata generic page (writable), StudioBundleItemEditor via Customize (showcase)
only description
label Task Metrics, measure Tasks, dimension descriptions en
no echo
book
All metadata generic page (writable); locked with no Customize door on the read-only showcase
only description
label Showcase Manual, groups en
no echo
mapping
not measured live: on main mapping has no translator (METADATA_DOCUMENT_TRANSLATORS has no mapping key), so nothing is translated to echo; PR 34976 (open) adds mapping: translateMapping to that table, and the editor gate below derives from the same set
n/a
n/a
NOT MEASURED
Read paths (a841e26): ui/packages/data-objectstack/src/authored-layers.ts:79editsAuthoredLayers(type) is TRANSLATABLE_METADATA_TYPES.has(type); consumers StudioDesignSurface.tsx:3171 (page/dashboard/report), :2819 (app nav), StudioBundleItemEditor.tsx:334 (dataset on a read-only base), metadata-admin/ResourceEditPage.tsx:1514 and :2151 (generic page: app, book, dataset). With no pending draft each falls back to layered.effective ?? code, which the layered read serves untranslated (measured: zh-CN /layers returns My Work, Hours by Status (Summary), Showcase, Showcase Manual where the served read returns the translations).
Server door control leg (shows why the client defence matters)
GET each item as a zh-CN caller is served it, change description, PUT it back mode=draft: all six types answer 200 with no advisory, and the stored draft and its en read carry the translations (page label 我的工作, dashboard 图表画廊/任务总数, report 任务概览(联合)/未完成任务, app 翻译测试应用/我的工作, dataset 任务指标/任务数, book 示例手册/入门). The restore is object-only at packages/metadata-protocol/src/protocol-discovery-and-bases.ts:1138 (and :1185). Drafts discarded afterwards.
Confirmed sibling door: the console's in-app report quick-edit
/apps/com.qa.tr/report/qatr_task_overview, admin button 编辑, change 描述, 保存. The config panel opens seeded with the served translation (display name field 任务概览(联合), description 将多个任务子报表堆叠在一个联合视图中。). The captured PUT /api/v1/meta/report/qatr_task_overview?mode=draft differs from the stored source at label (Task Overview (Joined) to 任务概览(联合)), blocks.0.label (Open Tasks to 未完成任务), blocks.1.label (Completed Tasks to 已完成任务) besides the edited description. After publish, the en read serves 任务概览(联合) and the zh block titles: every non-zh reader now sees Chinese. Source: ui/packages/app-shell/src/views/ReportView.tsx:60 seeds from useMetadata().reports (the translated list), :222setEditSchema(reportData), :200persistRuntimeMetadata('report', …, schema). Reach: writable packages only; the same edit on the read-only showcase report is refused 403 (save into the pair).
Fix routes for the confirmed door (not built)
(b) the editor reads the source document: ReportView seeds editSchema from client.layered('report', name, { packageId }) through the existing authoredBuffer, keeping the served report for display. Small, ui-only, the same contract the Studio editors already follow. Recommended, because the producer of the off-contract body is this client.
(a) widen the save door's restore to every translatable type's inverse. Protects every GET-then-PUT client (SDK, scripts, agents) as the door leg shows it is needed, but it is a save-door behaviour change across seven types with keyed array matching (blocks by name, widgets by id, nav by id, measures by name, groups by key); a decision for the seat, not part of this reading.
Grade
The card's own trigger ("a zh-CN admin's ordinary edit would silently overwrite source text") is met, but by the console report quick-edit, not by Studio. Recommendation: re-scope to the ReportView door at p1 (or file it as its own p1 card and close this one as answered).
{
"issue": 35008,
"status": "reading",
"branch": "claude/issue-35008-translated-echo-reading",
"pr": null,
"session": "session_01WGufzi6WQ71HhZSLSvHhdF",
"premise_still_valid": false,
"summary": "Live zh-CN reading on a841e26b23: no Studio editor (page, dashboard, report, app, dataset, book; writable package and showcase Customize) stores the served translation; all seed from the untranslated /layers read via editsAuthoredLayers. The save door itself stores translations verbatim for all six types (GET-then-PUT control leg). The console's in-app report quick-edit (ReportView) DOES store them: label and block labels became zh-CN and the en read served Chinese after publish. Mapping not measured (no translator on main).",
"tests": "No code change. Live legs: Studio PUT bodies captured by Playwright and deep-diffed against /layers (only the edited description differs, all six types, both legs); door leg 6/6 types stored zh text; ReportView leg stored label + blocks[0..1].label as zh, en read after publish served zh.",
"gates": "n/a: reading, no diff. Build of the showcase and console closures under os-verify-lock: VERDICT command-exit 0.",
"dogfood_battery": "n/a: no PR",
"mcp_calls": "0",
"api_writes": "1: POST issues/35008/comments (this reading, via post-stamped.mjs)",
"open_questions": [
{
"question": "How should the ReportView translated-echo defect be fixed, and should the save door also restore translated echoes for non-object types?",
"options": ["B: ReportView seeds its edit buffer from the layered read via authoredBuffer (ui only)", "A: widen the save-door restore to every translatable type", "A+B: B now, A as its own decision card"],
"recommendation": "B now (producer-side fix, same contract the Studio editors follow); A only by a seat ruling, since it changes save-door behaviour for seven types"
},
{
"question": "Re-scope this card to the ReportView door at p1, or close it as answered and file a new p1 card?",
"options": ["Re-scope #35008 to p1", "Close as answered, file new p1 card"],
"recommendation": "File new p1 card: the Studio question is answered no, and the defect lives in a different package surface"
}
],
"security_findings": "none",
"out_of_scope_findings": [
"class: a · reach: console /apps/APP/report/NAME, 编辑 then 保存 in a zh-CN session on a writable package, then en GET /meta/report/NAME serves the zh label and block titles · evidence: this comment, ReportView.tsx:60/:200/:222 · dedupe words: ReportView translated label, report quick-edit zh-CN, persistRuntimeMetadata translated, config panel served report",
"carrier: none · the in-app list-view config save (objectViewViewCrud.tsx:121, type view, outside this card's type list) has the same runtime-save shape; not measured, noted only"
]
}
Amends claim 6964358665 after the live reading 6965012558. Seat 3 ruled A+B at 2026-11-18T00:21Z: re-scope this card to the in-app report quick edit (triage regrades it to p1 and files A, the save door's restore for every translatable type, as its own decision card). This card builds B.
Scope: ReportView (ui/packages/app-shell/src/views/ReportView.tsx ~:60/:200/:222) fills its edit buffer from the layered (untranslated) read through the existing authoredBuffer path, the rule the Studio editors already follow; the served report stays the display copy. The list-view config save (ui/packages/app-shell/src/views/objectViewViewCrud.tsx ~:121, type view) is measured in the same reading and folded in only if it is the same mechanism; otherwise reported to the seat.
Branch: claude/issue-35008-reportview-layered-edit (the reading branch was never pushed).
File surface: ReportView.tsx and its test(s); objectViewViewCrud.tsx and its test(s) only if folded; one changeset. No server or spec change. Stop on breach and report.
Pins: a zh-CN quick edit then save stores the source label and block labels unchanged, and an en reader is served the source; plus a live before/after.
Regraded p2 → p1, re-scoped (00:2xZ), on the reading (area o3-I, 6965012558). The card's own p1 trigger is met, though on a different surface than the card first named:
Studio does not echo translations for any of the six types; every editor fills its buffer from the untranslated /layers read.
The in-app report quick edit (ReportView.tsx:60/:200/:222) fills its edit schema from the translated useMetadata().reports. An admin who presses 编辑 then 保存 in zh-CN stores the Chinese label and block labels as source, and English readers see Chinese after publish.
The list-view config save (objectViewViewCrud.tsx:121, type view) may do the same. o3-I measures it on this card and folds it in if it is the same mechanism.
Seat route B: ReportView fills its buffer from client.layered via authoredBuffer, the rule Studio follows (ui only). The door-side defence for SDK, script and agent clients is a separate decision card.
Theme: zh-CN customers, with a named effect (an ordinary admin edit overwrites source text). The domain:spec label stays; the fix is ui.
Build report: fix B (report quick edit edits the authored report)
Report taken 2026-11-18T01:56Z at head ae31401e36, draft PR #35080.
{
"issue": 35008,
"status": "done",
"branch": "claude/issue-35008-reportview-layered-edit",
"pr": "https://github.com/objectstack-ai/objectstack/pull/35080",
"session": "session_01WGufzi6WQ71HhZSLSvHhdF",
"premise_still_valid": true,
"summary": "Fix B. The report page's Edit button now seeds the edit buffer from the untranslated layered read, `metadataClient.layered('report', name, { packageId: servedPackageId(reportData) })` passed through the existing `authoredBuffer`. That is the pending draft as stored, else the published report, with no `_` decorations. The served, translated report stays the display copy. If the layered read fails or holds nothing, the editor stays closed and a toast names the failure. A close with no landed save puts the served copy back as the preview. A second route had to close as well: ReportConfigPanel passed `onResume` to RuntimeDraftBar, and that resume handed the inspector the SERVED (translated) draft. It is removed, because the host now seeds the draft as stored. That edit goes beyond the declared file surface (ReportView.tsx and its tests); ablation 2 shows it is needed. Measured live in zh-CN: the before leg (origin/main) PUT stored label 任务概览(联合) and blocks 未完成任务/已完成任务, and after publish the en read served them. The after leg (this branch) PUT changed only the edited description, and after publish the en read served Task Overview (Joined) / Open Tasks / Completed Tasks. On the read-only showcase pair the editor opens, the save answers 403 with the save-into-pair message, and the toast reads 保存失败 followed by that message. That outcome is unchanged. The list-view config save is not folded in; see out_of_scope_findings.",
"tests": "Head ae31401e36. Command: `cd ui && pnpm exec vitest run --maxWorkers=2 packages/app-shell/src/views/ReportView packages/app-shell/src/views/ReportConfigPanel packages/app-shell/src/views/RuntimeDraftBar`. Result: Test Files 11 passed (11), Tests 43 passed (43), VERDICT command-exit 0. `pnpm --filter @object-ui/app-shell run type-check` (tsc plus tsconfig.test.json): VERDICT command-exit 0. The new file ReportView.authoredEditBuffer-35008.test.tsx has 3 cases: source labels stored and description changed (control); pending draft edited as stored; layered refusal opens nothing. ReportView.saveRefusal-11583.test.tsx was adapted: its doubles gain a `layered` read, and no assertion changed. Ablation 1, with the fix committed at d6675d5293, re-seeded the buffer from reportData: cases 1 and 2 went RED ('expected 任务概览(联合) to be Task Overview (Joined)'), 2 failed and 1 passed, exit 1, as the header predicted. Restored with blob 82d995a6a1d1 == HEAD and git diff HEAD empty. Ablation 2 restored the panel's onResume: only case 2 went RED, 1 failed and 2 passed, exit 1. Restored with blob adeed6e83d37 == HEAD. The first ablation-2 attempt was a no-op: its replacement contained its own anchor, so ablation-replace.mjs refused it and restored the file, and nothing ran. The retry used a new anchor and its landing was confirmed. No dist build was needed, because the console and the vitest suite both resolve app-shell to src. The full app-shell suite (2319 files) is narrowed to CI's Test UI lane.",
"gates": "`node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack` derived 38 commands. All 38 ran, plus `pnpm check:changeset-fixed`, whose roster sits under .changeset. Every exit code is 0 on the final record. `--ran` with exit codes gave: '38 derived famil(ies) accounted for — 38 run, 0 NOT-MEASURED (a DERIVED zero ...)'. Two reds on the first run: (1) `pnpm check:test-source-alias` exited 1 on 5b37669150, because both edited test files reach a dynamic import('@objectstack/lint'). It was fixed in ae31401e36 with a module-top `import '@objectstack/lint'` and re-ran at exit 0. (2) `pnpm --dir ui exec vitest run scripts/` was killed by SIGKILL when the shared box ran out of memory, so that run measured nothing. It re-ran with --maxWorkers=2 under the lock: 171 files passed and 2 skipped, 5077 tests passed and 2 skipped, exit 0. After ae31401e36 these re-ran at exit 0: test-source-alias, undeclared-dep-imports, nul-bytes, cross-package-test-inputs, type-check-coverage, type-check-debt, tier-file-adoption, refd-timer-probe, engine-double-contract. overlap-check before both pushes gave VERDICT clean exit 0, the second against origin/main a3e216efae. CI check-runs on PR 35080: in_progress at report time and not read. Type-check lanes, artifact rosters and wide families are CI's.",
"dogfood_battery": "n/a — no `!` in the PR title and Clause-②: no (no narrowing arm)",
"mcp_calls": "0",
"api_writes": "3 relay strokes: (1) earlier reading round, POST /repos/objectstack-ai/objectstack/issues/35008/comments (comment 6965012558) via post-stamped; (2) pr_create via fleet-write dispatch (POST /repos/objectstack-ai/objectstack/dispatches, which executed POST /pulls giving #35080 draft, then POST /issues/35080/assignees [os-support-ai]); (3) this os-dev-report, POST /issues/35008/comments via post-stamped. git push, not REST: the branch to ae31401e36.",
"deviations": [
"File surface breach, declared in the PR: ReportConfigPanel.tsx (one prop removed). The draft-bar resume is a second route by which the served translation reaches the save body.",
"Both legs published through the REST publish endpoint, not the UI publish sheet.",
"The base is eb7b09d4d2. origin/main has since moved to a3e216efae, and overlap-check says it merges cleanly. Not merged into the branch.",
"The full app-shell suite is narrowed to CI. Locally, the 11-file report and draft-bar slice ran.",
"The vite restart command matched its own shell in a `ps | grep` kill loop and killed that shell (exit 144). The only thing lost was a vite that was already being replaced. vite was relaunched with a recorded pid."
],
"open_questions": [
{
"question": "The list-view config save (objectViewViewCrud handleViewConfigSave, type view) likely has the same defect. Should it be filed as its own card, or folded into the option-A door decision?",
"options": [
"A: a separate client card. Seed ViewConfigPanel's draft and buildViewConfigSaveBody from the layered view, and drop the ViewConfigPanel draft-bar resume. Medium effort.",
"B: no client card. Let the option-A door restore (every translatable type) cover views. Zero client effort, but it depends on that decision landing."
],
"recommendation": "A first, after a live repro. Inside my timebox the settings view action did not render on this boot's view toolbar, so the defect is unmeasured live. A repro with that panel open decides it."
}
],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: seat repo:objectstack#3 (the claim amendment said to report to the seat) · list-view config save (objectViewViewCrud.tsx handleViewConfigSave, type view). NOT MEASURED live: no settings view action rendered on /apps/com.qa.tr/showcase_task/view/showcase_task.qatr_list. Static evidence: the served zh-CN view label is translated (翻译测试列表 for stored 'QA Task List'); buildViewConfigSaveBody keeps the draft label seeded from the served activeView; the ViewConfigPanel resume reads the served draft. The fix is a different shape from this PR's, so it is not folded in · dedupe words: ViewConfigPanel translated label, view config save zh-CN, buildViewConfigSaveBody label, objectViewViewCrud persistRuntimeMetadata"
]
}
Claim amendment (file surface) · #35008 · PR #35080 at head ae31401e36 · 2026-11-18T01:58Z
Amends claim 6964358665 (scope amendment 6965053582). One more path is forced by the fix:
ui/packages/app-shell/src/views/ReportConfigPanel.tsx: one prop is removed. The panel passed onResume to RuntimeDraftBar, and that resume handed the inspector the served (translated) draft: a second route by which the translation reaches the save body. The host now seeds the draft as stored, so the resume goes. The os-dev's ablation 2 (6966669307) restores the prop and the pending-draft pin goes red. Same rule as lint: ai-skill-tool-unresolved warns on read_file and create_upload_link, which the MCP door serves — PLATFORM_PROVIDED_TOOL_NAMES lacks them #34948's amendments (seat 3, the claim-amendment route).
Claim: PM loop round 2 · area o3-I · 2026-11-18T02:01Z (restated for the build branch)
Session: session_01WGufzi6WQ71HhZSLSvHhdF (area o3-I)
Account: os-support-ai
Branch: claude/issue-35008-reportview-layered-edit
Worktree: objectstack-issue-35008
Domain: domain:spec
Seat: repo:objectstack#3
Restates: claim 6964358665 (reading branch, never pushed), scope amendment 6965053582 and surface amendment 6966697599, for PR #35080
File surface: ui/packages/app-shell/src/views/ReportView.tsx and its tests, ui/packages/app-shell/src/views/ReportConfigPanel.tsx (one prop, amendment 6966697599), one changeset. No server or spec change. Stop on breach and report
Container & model: S, mode:subagent, model: TIER_DEFAULT, effort: medium
Clause-②: no
Metadata-protocol: none
Responsibility: objectstack ui: the report quick edit seeded its buffer from the translated report, so a zh-CN save stored translations as source | none | zh-CN admins editing a report from the report page
Thread-read: 6965012558
Premise: confirmed live by the reading 6965012558; route B per seat 3 (2026-11-18T00:21Z)
Serial constraints cleared: overlap-check.mjs before each push
Pre-claim lane: domain:spec — the save door's UI caller; seat 3 re-scoped the card to o3-I (2026-11-18T00:21Z)
Pre-claim deps: no Blocked-by:
Prior rulings read: seat 3 A+B with B now (2026-11-18T00:21Z); maintainer D on #35054 (6966131460); thread: 6965012558
Lease: lease:o3-I
Landed · area o3-I · 2026-11-18T02:44Z
PR #35080 merged as dcbb36334e52efa2f5bf83ced6e96ef675e7a1b4 (L1-e ACCEPT 6966802131). The report page's quick edit now reads the authored source. The card is closed as completed, and its lease and dispatch state are removed. The rest of route D (the other edit surfaces, the list-view save, and L1's nit N1 on authoredBuffer) is #35054, held by o3-I.
domain:specDomain lane — seat card indexed by label:pm:seatfindingRecorded observation — held, not dispatchable until the findings triage round grades itpriority:p1High: required for production / M2
Activity
objectstack-fleet commentedon Nov 17, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzi6WQ71HhZSLSvHhdF
Claim: PM loop round 2 · area o3-I · 2026-11-17T23:43Z
Session:
session_01WGufzi6WQ71HhZSLSvHhdF(area o3-I)Account:
os-support-aiBranch:
claude/issue-35008-translated-echo-reading(reading only; no PR unless the seat rules a route)Worktree:
objectstack-issue-35008Domain:
domain:specSeat:
repo:objectstack#3File surface: none — a live reading. The outcome is one reading comment on this card; any probe script stays in the worktree. A fix route goes to the seat for a ruling before any build
Container & model:
S,mode:subagent,model: TIER_DEFAULT,effort: highClause-②: no (reading)
Metadata-protocol: none
Responsibility:
objectstack: the save door restores translated echoes for object bodies only (protocol-discovery-and-bases.ts restoreTranslatedObjectEchoes) | none | a zh-CN admin editing book, page, dashboard, report, app, dataset or mapping in Studio over an en-source packageThread-read: none
Premise: static read on
origin/main4443014 makes it plausible: the console's fetch sets Accept-Language on every API call (ui/packages/auth/src/createAuthenticatedFetch.ts:146), the/metaread translates those types (METADATA_DOCUMENT_TRANSLATORSinpackages/spec/src/system/i18n-resolver.ts), and the restore returns any non-object body unchanged. Whether each Studio editor reads through the translated path is what the live reading settlesMethod: boot an en-source package with zh-CN translations, set the session to zh-CN, and for each type (book, page, dashboard, report, app, dataset, mapping) do one Studio edit-and-save of an unrelated property, then read the stored row (en session and the raw row) and record whether any label became the translation
Serial constraints cleared: reading only, nothing pushed to main
Pre-claim lane:
domain:spec— the/metasave door inpackages/metadata-protocol; seat 3 routed the card to o3-I (2026-11-17T22:59Z)Pre-claim deps: no
Blocked-by:Prior rulings read: ADR-0029 D9.2a (comparison-based provenance the restore runs backwards), ADR-0005 appendix (c) (write path persists the body verbatim), #29673 (the object restore); thread: none
Lease:
lease:o3-Iobjectstack-fleet commentedon Nov 18, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzi6WQ71HhZSLSvHhdF
os-dev-report
Reading: zh-CN edit-and-save round trip, per type
Reading taken 2026-11-18T00:19Z on
origin/maina841e26 (the claim's anchor 4443014 plus four unrelated commits; none touchespackages/metadata-protocol,packages/resttranslation,ui/packages/data-objectstackor the Studio editors). Live boot: showcase (--fresh), console on Vite (DEV_PROXY_TARGETto that boot), Playwright Chromium withlocale: zh-CN; every captured write carriedaccept-language: zh-CNand the Studio chrome rendered in Chinese.Answer to the card's question: no. None of the six Studio editors stores the served translation as source text. Every editor seeds its buffer from the untranslated layered read (
GET /meta/TYPE/NAME/layers), not from the translated served read. A sibling console door that is not Studio does store it (report, below).Fixture
Writable en-source package
com.qa.tr(POST /packages, project scope) holding copies of showcase items underqatr_*names (page, dashboard, report, dataset, book) plus a small app, and a runtime-authoredtranslationitemqatr_zh_cn(locale zh-CN) in the same package. Control before any edit: every item's zh-CN served read is translated (for example page label我的工作, dashboard widget任务总数, report blocks未完成任务/已完成任务, app nav我的工作/工作区, dataset measure任务数, book groups入门/导览), its en read and its/layersread are the en source. Second leg: the read-only showcase itself, edited through Customize intocom.example.showcase.custom.Studio legs (Studio editor, unrelated edit, autosave draft, then publish)
descriptionchanged (+overrideson the pair)My Work, header subtitle endescriptionChart Gallery, widget titles endescriptiondescription/ identical to sourceQA Translate App, nav labels endescriptionTask Metrics, measureTasks, dimension descriptions endescriptionShowcase Manual, groups enmainmapping has no translator (METADATA_DOCUMENT_TRANSLATORShas nomappingkey), so nothing is translated to echo; PR 34976 (open) addsmapping: translateMappingto that table, and the editor gate below derives from the same setRead paths (a841e26):
ui/packages/data-objectstack/src/authored-layers.ts:79editsAuthoredLayers(type)isTRANSLATABLE_METADATA_TYPES.has(type); consumersStudioDesignSurface.tsx:3171(page/dashboard/report),:2819(app nav),StudioBundleItemEditor.tsx:334(dataset on a read-only base),metadata-admin/ResourceEditPage.tsx:1514and:2151(generic page: app, book, dataset). With no pending draft each falls back tolayered.effective ?? code, which the layered read serves untranslated (measured: zh-CN/layersreturnsMy Work,Hours by Status (Summary),Showcase,Showcase Manualwhere the served read returns the translations).Server door control leg (shows why the client defence matters)
GET each item as a zh-CN caller is served it, change
description, PUT it backmode=draft: all six types answer 200 with no advisory, and the stored draft and its en read carry the translations (page label我的工作, dashboard图表画廊/任务总数, report任务概览(联合)/未完成任务, app翻译测试应用/我的工作, dataset任务指标/任务数, book示例手册/入门). The restore is object-only atpackages/metadata-protocol/src/protocol-discovery-and-bases.ts:1138(and:1185). Drafts discarded afterwards.Confirmed sibling door: the console's in-app report quick-edit
/apps/com.qa.tr/report/qatr_task_overview, admin button 编辑, change 描述, 保存. The config panel opens seeded with the served translation (display name field任务概览(联合), description将多个任务子报表堆叠在一个联合视图中。). The capturedPUT /api/v1/meta/report/qatr_task_overview?mode=draftdiffers from the stored source atlabel(Task Overview (Joined)to任务概览(联合)),blocks.0.label(Open Tasksto未完成任务),blocks.1.label(Completed Tasksto已完成任务) besides the edited description. After publish, the en read serves任务概览(联合)and the zh block titles: every non-zh reader now sees Chinese. Source:ui/packages/app-shell/src/views/ReportView.tsx:60seeds fromuseMetadata().reports(the translated list),:222setEditSchema(reportData),:200persistRuntimeMetadata('report', …, schema). Reach: writable packages only; the same edit on the read-only showcase report is refused 403 (save into the pair).Fix routes for the confirmed door (not built)
editSchemafromclient.layered('report', name, { packageId })through the existingauthoredBuffer, keeping the served report for display. Small, ui-only, the same contract the Studio editors already follow. Recommended, because the producer of the off-contract body is this client.Grade
The card's own trigger ("a zh-CN admin's ordinary edit would silently overwrite source text") is met, but by the console report quick-edit, not by Studio. Recommendation: re-scope to the ReportView door at p1 (or file it as its own p1 card and close this one as answered).
{ "issue": 35008, "status": "reading", "branch": "claude/issue-35008-translated-echo-reading", "pr": null, "session": "session_01WGufzi6WQ71HhZSLSvHhdF", "premise_still_valid": false, "summary": "Live zh-CN reading on a841e26b23: no Studio editor (page, dashboard, report, app, dataset, book; writable package and showcase Customize) stores the served translation; all seed from the untranslated /layers read via editsAuthoredLayers. The save door itself stores translations verbatim for all six types (GET-then-PUT control leg). The console's in-app report quick-edit (ReportView) DOES store them: label and block labels became zh-CN and the en read served Chinese after publish. Mapping not measured (no translator on main).", "tests": "No code change. Live legs: Studio PUT bodies captured by Playwright and deep-diffed against /layers (only the edited description differs, all six types, both legs); door leg 6/6 types stored zh text; ReportView leg stored label + blocks[0..1].label as zh, en read after publish served zh.", "gates": "n/a: reading, no diff. Build of the showcase and console closures under os-verify-lock: VERDICT command-exit 0.", "dogfood_battery": "n/a: no PR", "mcp_calls": "0", "api_writes": "1: POST issues/35008/comments (this reading, via post-stamped.mjs)", "open_questions": [ { "question": "How should the ReportView translated-echo defect be fixed, and should the save door also restore translated echoes for non-object types?", "options": ["B: ReportView seeds its edit buffer from the layered read via authoredBuffer (ui only)", "A: widen the save-door restore to every translatable type", "A+B: B now, A as its own decision card"], "recommendation": "B now (producer-side fix, same contract the Studio editors follow); A only by a seat ruling, since it changes save-door behaviour for seven types" }, { "question": "Re-scope this card to the ReportView door at p1, or close it as answered and file a new p1 card?", "options": ["Re-scope #35008 to p1", "Close as answered, file new p1 card"], "recommendation": "File new p1 card: the Studio question is answered no, and the defect lives in a different package surface" } ], "security_findings": "none", "out_of_scope_findings": [ "class: a · reach: console /apps/APP/report/NAME, 编辑 then 保存 in a zh-CN session on a writable package, then en GET /meta/report/NAME serves the zh label and block titles · evidence: this comment, ReportView.tsx:60/:200/:222 · dedupe words: ReportView translated label, report quick-edit zh-CN, persistRuntimeMetadata translated, config panel served report", "carrier: none · the in-app list-view config save (objectViewViewCrud.tsx:121, type view, outside this card's type list) has the same runtime-save shape; not measured, noted only" ] }objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzi6WQ71HhZSLSvHhdF
Claim amendment (scope) · #35008 · 2026-11-18T00:21Z
Amends claim 6964358665 after the live reading 6965012558. Seat 3 ruled A+B at 2026-11-18T00:21Z: re-scope this card to the in-app report quick edit (triage regrades it to p1 and files A, the save door's restore for every translatable type, as its own decision card). This card builds B.
ReportView(ui/packages/app-shell/src/views/ReportView.tsx~:60/:200/:222) fills its edit buffer from the layered (untranslated) read through the existingauthoredBufferpath, the rule the Studio editors already follow; the served report stays the display copy. The list-view config save (ui/packages/app-shell/src/views/objectViewViewCrud.tsx~:121, typeview) is measured in the same reading and folded in only if it is the same mechanism; otherwise reported to the seat.claude/issue-35008-reportview-layered-edit(the reading branch was never pushed).ReportView.tsxand its test(s);objectViewViewCrud.tsxand its test(s) only if folded; one changeset. No server or spec change. Stop on breach and report.S,mode:subagent,model: TIER_DEFAULT,effort: medium.objectstack-fleet commentedon Nov 18, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Regraded p2 → p1, re-scoped (00:2xZ), on the reading (area o3-I, 6965012558). The card's own p1 trigger is met, though on a different surface than the card first named:
/layersread.ReportView.tsx:60/:200/:222) fills its edit schema from the translateduseMetadata().reports. An admin who presses 编辑 then 保存 in zh-CN stores the Chinese label and block labels as source, and English readers see Chinese after publish.objectViewViewCrud.tsx:121, type view) may do the same. o3-I measures it on this card and folds it in if it is the same mechanism.Seat route B: ReportView fills its buffer from
client.layeredviaauthoredBuffer, the rule Studio follows (ui only). The door-side defence for SDK, script and agent clients is a separate decision card.Theme: zh-CN customers, with a named effect (an ordinary admin edit overwrites source text). The
domain:speclabel stays; the fix is ui.objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzi6WQ71HhZSLSvHhdF
os-dev-report
Build report: fix B (report quick edit edits the authored report)
Report taken 2026-11-18T01:56Z at head
ae31401e36, draft PR #35080.{ "issue": 35008, "status": "done", "branch": "claude/issue-35008-reportview-layered-edit", "pr": "https://github.com/objectstack-ai/objectstack/pull/35080", "session": "session_01WGufzi6WQ71HhZSLSvHhdF", "premise_still_valid": true, "summary": "Fix B. The report page's Edit button now seeds the edit buffer from the untranslated layered read, `metadataClient.layered('report', name, { packageId: servedPackageId(reportData) })` passed through the existing `authoredBuffer`. That is the pending draft as stored, else the published report, with no `_` decorations. The served, translated report stays the display copy. If the layered read fails or holds nothing, the editor stays closed and a toast names the failure. A close with no landed save puts the served copy back as the preview. A second route had to close as well: ReportConfigPanel passed `onResume` to RuntimeDraftBar, and that resume handed the inspector the SERVED (translated) draft. It is removed, because the host now seeds the draft as stored. That edit goes beyond the declared file surface (ReportView.tsx and its tests); ablation 2 shows it is needed. Measured live in zh-CN: the before leg (origin/main) PUT stored label 任务概览(联合) and blocks 未完成任务/已完成任务, and after publish the en read served them. The after leg (this branch) PUT changed only the edited description, and after publish the en read served Task Overview (Joined) / Open Tasks / Completed Tasks. On the read-only showcase pair the editor opens, the save answers 403 with the save-into-pair message, and the toast reads 保存失败 followed by that message. That outcome is unchanged. The list-view config save is not folded in; see out_of_scope_findings.", "tests": "Head ae31401e36. Command: `cd ui && pnpm exec vitest run --maxWorkers=2 packages/app-shell/src/views/ReportView packages/app-shell/src/views/ReportConfigPanel packages/app-shell/src/views/RuntimeDraftBar`. Result: Test Files 11 passed (11), Tests 43 passed (43), VERDICT command-exit 0. `pnpm --filter @object-ui/app-shell run type-check` (tsc plus tsconfig.test.json): VERDICT command-exit 0. The new file ReportView.authoredEditBuffer-35008.test.tsx has 3 cases: source labels stored and description changed (control); pending draft edited as stored; layered refusal opens nothing. ReportView.saveRefusal-11583.test.tsx was adapted: its doubles gain a `layered` read, and no assertion changed. Ablation 1, with the fix committed at d6675d5293, re-seeded the buffer from reportData: cases 1 and 2 went RED ('expected 任务概览(联合) to be Task Overview (Joined)'), 2 failed and 1 passed, exit 1, as the header predicted. Restored with blob 82d995a6a1d1 == HEAD and git diff HEAD empty. Ablation 2 restored the panel's onResume: only case 2 went RED, 1 failed and 2 passed, exit 1. Restored with blob adeed6e83d37 == HEAD. The first ablation-2 attempt was a no-op: its replacement contained its own anchor, so ablation-replace.mjs refused it and restored the file, and nothing ran. The retry used a new anchor and its landing was confirmed. No dist build was needed, because the console and the vitest suite both resolve app-shell to src. The full app-shell suite (2319 files) is narrowed to CI's Test UI lane.", "gates": "`node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack` derived 38 commands. All 38 ran, plus `pnpm check:changeset-fixed`, whose roster sits under .changeset. Every exit code is 0 on the final record. `--ran` with exit codes gave: '38 derived famil(ies) accounted for — 38 run, 0 NOT-MEASURED (a DERIVED zero ...)'. Two reds on the first run: (1) `pnpm check:test-source-alias` exited 1 on 5b37669150, because both edited test files reach a dynamic import('@objectstack/lint'). It was fixed in ae31401e36 with a module-top `import '@objectstack/lint'` and re-ran at exit 0. (2) `pnpm --dir ui exec vitest run scripts/` was killed by SIGKILL when the shared box ran out of memory, so that run measured nothing. It re-ran with --maxWorkers=2 under the lock: 171 files passed and 2 skipped, 5077 tests passed and 2 skipped, exit 0. After ae31401e36 these re-ran at exit 0: test-source-alias, undeclared-dep-imports, nul-bytes, cross-package-test-inputs, type-check-coverage, type-check-debt, tier-file-adoption, refd-timer-probe, engine-double-contract. overlap-check before both pushes gave VERDICT clean exit 0, the second against origin/main a3e216efae. CI check-runs on PR 35080: in_progress at report time and not read. Type-check lanes, artifact rosters and wide families are CI's.", "dogfood_battery": "n/a — no `!` in the PR title and Clause-②: no (no narrowing arm)", "mcp_calls": "0", "api_writes": "3 relay strokes: (1) earlier reading round, POST /repos/objectstack-ai/objectstack/issues/35008/comments (comment 6965012558) via post-stamped; (2) pr_create via fleet-write dispatch (POST /repos/objectstack-ai/objectstack/dispatches, which executed POST /pulls giving #35080 draft, then POST /issues/35080/assignees [os-support-ai]); (3) this os-dev-report, POST /issues/35008/comments via post-stamped. git push, not REST: the branch to ae31401e36.", "deviations": [ "File surface breach, declared in the PR: ReportConfigPanel.tsx (one prop removed). The draft-bar resume is a second route by which the served translation reaches the save body.", "Both legs published through the REST publish endpoint, not the UI publish sheet.", "The base is eb7b09d4d2. origin/main has since moved to a3e216efae, and overlap-check says it merges cleanly. Not merged into the branch.", "The full app-shell suite is narrowed to CI. Locally, the 11-file report and draft-bar slice ran.", "The vite restart command matched its own shell in a `ps | grep` kill loop and killed that shell (exit 144). The only thing lost was a vite that was already being replaced. vite was relaunched with a recorded pid." ], "open_questions": [ { "question": "The list-view config save (objectViewViewCrud handleViewConfigSave, type view) likely has the same defect. Should it be filed as its own card, or folded into the option-A door decision?", "options": [ "A: a separate client card. Seed ViewConfigPanel's draft and buildViewConfigSaveBody from the layered view, and drop the ViewConfigPanel draft-bar resume. Medium effort.", "B: no client card. Let the option-A door restore (every translatable type) cover views. Zero client effort, but it depends on that decision landing." ], "recommendation": "A first, after a live repro. Inside my timebox the settings view action did not render on this boot's view toolbar, so the defect is unmeasured live. A repro with that panel open decides it." } ], "security_findings": "none", "out_of_scope_findings": [ "carrier: seat repo:objectstack#3 (the claim amendment said to report to the seat) · list-view config save (objectViewViewCrud.tsx handleViewConfigSave, type view). NOT MEASURED live: no settings view action rendered on /apps/com.qa.tr/showcase_task/view/showcase_task.qatr_list. Static evidence: the served zh-CN view label is translated (翻译测试列表 for stored 'QA Task List'); buildViewConfigSaveBody keeps the draft label seeded from the served activeView; the ViewConfigPanel resume reads the served draft. The fix is a different shape from this PR's, so it is not folded in · dedupe words: ViewConfigPanel translated label, view config save zh-CN, buildViewConfigSaveBody label, objectViewViewCrud persistRuntimeMetadata" ] }objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzi6WQ71HhZSLSvHhdF
Claim amendment (file surface) · #35008 · PR #35080 at head
ae31401e36· 2026-11-18T01:58ZAmends claim 6964358665 (scope amendment 6965053582). One more path is forced by the fix:
ui/packages/app-shell/src/views/ReportConfigPanel.tsx: one prop is removed. The panel passedonResumetoRuntimeDraftBar, and that resume handed the inspector the served (translated) draft: a second route by which the translation reaches the save body. The host now seeds the draft as stored, so the resume goes. The os-dev's ablation 2 (6966669307) restores the prop and the pending-draft pin goes red. Same rule as lint:ai-skill-tool-unresolvedwarns onread_fileandcreate_upload_link, which the MCP door serves — PLATFORM_PROVIDED_TOOL_NAMES lacks them #34948's amendments (seat 3, the claim-amendment route).objectViewViewCrud.tsx) is NOT folded in: it was not reproduced live, and its fix has a different shape. It belongs to [Decision] Should the metadata save door restore translated echoes for every translatable type (not only object), so a GET-as-zh-CN then PUT from an SDK, script or agent cannot store translations as source? #35054's audit, which names it.objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzi6WQ71HhZSLSvHhdF
Claim: PM loop round 2 · area o3-I · 2026-11-18T02:01Z (restated for the build branch)
Session:
session_01WGufzi6WQ71HhZSLSvHhdF(area o3-I)Account:
os-support-aiBranch:
claude/issue-35008-reportview-layered-editWorktree:
objectstack-issue-35008Domain:
domain:specSeat:
repo:objectstack#3Restates: claim 6964358665 (reading branch, never pushed), scope amendment 6965053582 and surface amendment 6966697599, for PR #35080
File surface:
ui/packages/app-shell/src/views/ReportView.tsxand its tests,ui/packages/app-shell/src/views/ReportConfigPanel.tsx(one prop, amendment 6966697599), one changeset. No server or spec change. Stop on breach and reportContainer & model:
S,mode:subagent,model: TIER_DEFAULT,effort: mediumClause-②: no
Metadata-protocol: none
Responsibility:
objectstack ui: the report quick edit seeded its buffer from the translated report, so a zh-CN save stored translations as source | none | zh-CN admins editing a report from the report pageThread-read: 6965012558
Premise: confirmed live by the reading 6965012558; route B per seat 3 (2026-11-18T00:21Z)
Serial constraints cleared:
overlap-check.mjsbefore each pushPre-claim lane:
domain:spec— the save door's UI caller; seat 3 re-scoped the card to o3-I (2026-11-18T00:21Z)Pre-claim deps: no
Blocked-by:Prior rulings read: seat 3 A+B with B now (2026-11-18T00:21Z); maintainer D on #35054 (6966131460); thread: 6965012558
Lease:
lease:o3-Iobjectstack-fleet commentedon Nov 18, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzi6WQ71HhZSLSvHhdF
Landed · area o3-I · 2026-11-18T02:44Z
PR #35080 merged as
dcbb36334e52efa2f5bf83ced6e96ef675e7a1b4(L1-e ACCEPT 6966802131). The report page's quick edit now reads the authored source. The card is closed as completed, and its lease and dispatch state are removed. The rest of route D (the other edit surfaces, the list-view save, and L1's nit N1 onauthoredBuffer) is #35054, held by o3-I.feat(console): the report builder — one page to build or edit a report (