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
[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
Related: #35008 (the UI half, p1), #34976.
Grade: p2 · domain:spec. Theme: zh-CN and MCP (agents edit metadata through the door). It changes a served contract, so it waits for the maintainer.
A 把对象的还原逻辑推广到所有可翻译类型。 保存时把"和原文不同、但正好等于某种语言译文"的文字还原成原文,并给一条 info 提示,和对象现在的行为一致。它保护所有先读后存的客户端。风险是一个已知的边角:作者故意把原文改成和译文一字不差时会被还原(对象上已经接受了这个边角,见 protocol-translated-echo.ts:57-64)。工作量大,每种类型都要写一套按 key 对齐数组的逆向比对,现有实现完全是按对象的字段结构写的(protocol-translated-echo.ts:124-127、:231-400),不能直接复用。
B 只写文档。 几乎零成本、零风险,但不防任何事。出错是静默的,要等别的语言的读者发现,AI 和脚本也不一定读文档。
C 读到译文就不许存回。 接口并不知道请求体是怎么读来的,要判断"这是译文"只能做和 A 同样的比对。所以 C 的成本和 A 相当,却把"自动修好"换成"拒绝保存",会让现有脚本直接报错。只有在不信任自动还原时才值得选。
D 符合行业通行做法,应作为主线:自家界面一律读 /layers,把 #35008 和剩余几个入口排查完,成本低风险低。但写入者包含脚本、SDK 和 AI 代理,D 管不到它们,所以仍建议保留 A 作为保存门兜底(并顺带修复存量),可分批做、先覆盖 app/view/dashboard/report 这类最常被整篇回存的类型。不建议 C:成本与 A 相当,只换来报错。若要压成本,可先只做 D + 文档,A 排后;风险是外部客户端回写译文仍无人拦。
Maintainer 2026-11-18 01:23:24Z, verbatim: 「D」. This answers the seat's follow-up review on this card, where D means editing reads return source text.
Route D: every edit surface of ours reads the authored source, never the translated runtime read. No server-side save-door restore (A) for now. C is not taken.
Pin each fixed surface: a zh-CN edit then save stores the source text unchanged.
Add a guard so a new edit surface cannot quietly read the translated /meta answer, if a cheap one exists (for example a lint or test over save-door callers). Otherwise write down why not.
Out of scope by the ruling: making external SDK, script and agent clients read source (the server cannot force it), and repairing already-polluted rows. Both stay open as known limits.
pm:awaiting-maintainer comes off; the card is dispatched to seat 3 area o3-I, after #35008.
Claim: PM loop round 2 · area o3-I · 2026-11-18T01:59Z
Session: session_01WGufzi6WQ71HhZSLSvHhdF (area o3-I)
Account: os-support-ai
Branch: claude/issue-35054-edit-surfaces-read-source (more claude/issue-35054-<surface> branches as Part-of PRs if the audit finds many)
Worktree: objectstack-issue-35054
Domain: domain:spec
Seat: repo:objectstack#3
Ruling: maintainer route D (2026-11-18T01:23Z, recorded 6966131460). Every edit surface of ours fills its edit buffer from the authored read (/layers via authoredBuffer, ui/packages/data-objectstack/src/authored-layers.ts:79), never the translated /meta answer. No save-door restore. External clients and polluted-row repair are out of scope
Audit list (to verify first, each judged live in zh-CN or by code where no live path renders): (1) ui/packages/plugin-designerCreateAppPage / EditAppPage; (2) console AppManagementPage; (3) console PublicFormsPage; (4) useNavigationSync; (5) the list-view config save, ui/packages/app-shell/src/views/objectViewViewCrud.tsx ~:121 handleViewConfigSave with ViewConfigPanel and its draft-bar resume (not folded into #35008, PR #35080); (6) a census of every other UI caller of the save door (persistRuntimeMetadata, saveMetaItem, PUT /meta/) so nothing is left off the list
File surface: the UI files of each surface the audit confirms, and their tests; a guard (a test or lint over save-door callers) if a cheap one exists, else a written reason on this card; changesets. No server, spec or save-door change. Stop on breach and report
Container & model: S, mode:subagent, model: TIER_DEFAULT, effort: high
Clause-②: no
Metadata-protocol: none
Responsibility: objectstack ui: some edit surfaces seed their buffer from the translated /meta read, so a zh-CN save stores the translation as source | none | zh-CN admins and builders editing in the console
Thread-read: 6966131460
Premise: holds for ReportView (live reading 6965012558, fixed in PR #35080); the other surfaces are unverified, which is this card's first step. Static lead on the list view: the served zh-CN view label is translated and buildViewConfigSaveBody keeps the draft label seeded from the served activeView (os-dev 6966669307)
Pins: per fixed surface, a zh-CN edit then save stores the source text unchanged (control: the edited field changes), plus an ablation
Serial constraints cleared: overlap-check.mjs before each push; overlaps PR #35080 only by pattern (authoredBuffer), not by file unless the audit says so
Pre-claim lane: domain:spec — the save door's UI callers; seat 3 routed the card to o3-I after #35008 (2026-11-18T01:25Z)
Pre-claim deps: no Blocked-by:
Prior rulings read: maintainer D 6966131460; seat reviews 6965194248 and 6966000815; ADR-0005 appendix (c) (the write path persists the body verbatim); thread: 6966131460
Lease: lease:o3-I
Claim: PM loop round 1 · area o1-B · 2026-11-18T03:43Z · resumes seat 3's started work (hand-off 6968120998)
Session: session_01JQwxbYRqkDAGuse5Wqbohi
Account: os-warren
Branch: claude/issue-35054-app-surfaces (PR #35104, Part of #35054, app family, built) and claude/issue-35054-view-surfaces (PR 2, Closes #35054: hand-off items 1–4)
Worktree: objectstack-issue-35054
Domain: domain:spec (label kept; every path below is under ui/**)
Seat: repo:objectstack#1
Ruling: maintainer route D (recorded 6966131460). Every edit surface of ours fills its edit buffer from the authored read, never the translated /meta answer. No save-door restore. External clients and polluted-row repair are out of scope.
File surface: PR #35104 as pushed (22 files under ui/apps/console, ui/packages/app-shell, ui/packages/data-objectstack, ui/packages/plugin-designer). PR 2: ui/packages/app-shell/src/views/objectViewViewCrud.tsx with ViewConfigPanel and its draft-bar resume, the adapter updateView callers (Manage views Rename / Pin / Set default), ui/apps/consolePublicFormsPage, pairObjectActions, ui/packages/app-shell/src/views/ReportView.tsx (served draft into authoredBuffer, amendment 6966850751), a guard over the save-door callers (test or lint) or a written reason on this card, their tests, root .changeset/. No server, spec or save-door change. Stop on breach and report.
Container & model: M, mode:subagent, model: TIER_DEFAULT (dispatch-gates --tier: no path-derived mandate), effort: high
Clause-②: no
Metadata-protocol: none
Responsibility: objectstack ui: edit surfaces seed their buffer from the translated /meta read, so a zh-CN save stores the translation as source | none | zh-CN admins and builders editing apps, views, forms and reports in the console
Thread-read: 6968120998
Premise: holds (audit 6967127192: seven surfaces confirmed live in zh-CN or by code; app family fixed and measured in os-dev report 6968071958)
Serial constraints cleared: PR #35080 is on main (dcbb36334e); PR 2 is cut from origin/main, not stacked on #35104; overlap-check.mjs before each push
Resume-from: claude/issue-35054-app-surfaces@c8820cf23f
Pre-claim lane: ui/** only (route D's UI callers) → stays in this lane under area-lease 留道, area o1-B
Pre-claim deps: no Blocked-by:; #35080 merged
Prior rulings read: maintainer D 6966131460; seat reviews 6965194248, 6966000815; ADR-0005 appendix (c); check-prior-rulings --card 35054: 407 keyword hits, none answers route D's question differently; thread: 6968120998
Lease: lease:o1-B
Addendum to report 6968071958 · PR #35104 Test UI red at c8820cf
{
"issue": 35054,
"status": "done",
"branch": "claude/issue-35054-app-surfaces",
"pr": "https://github.com/objectstack-ai/objectstack/pull/35104",
"head_sha": "d5e92500365eb0ddd7d8d396273be5c5f73f3b46",
"session": "session_01JQwxbYRqkDAGuse5Wqbohi",
"premise_still_valid": true,
"cause": "test double, not a regression: both suites drive useNavigationSync through an adapter double with no getAuthoredItem, so storedApp() found no stored app, said navigationSync.updateFailed and wrote nothing (saveItem 0 calls). The behaviour under test is unchanged.",
"fix": "commit d5e9250036 (tests only): usePublishAllDrafts.navigationWrites-28680 and ResourceEditPage.navigationWrites-28680 adapters gain getAuthoredItem answering the listed app as the stored one, as #35104 already did for useNavigationSync.test and useNavigationSync.labelInherits-9868. No assertion changed or removed.",
"tests": "cd ui && pnpm exec vitest run (the two 28680 files + the five #35104 pins: UnpublishedAppBar, useNavigationSync, AppManagementPage, EditAppPage authoredApp-35054, getAuthoredItem-35054): Test Files 7 passed (7), Tests 20 passed (20), lock VERDICT command-exit 0. Control leg: the two files restored to c8820cf23f's doubles (git restore --source=HEAD~1, then git checkout HEAD, git diff HEAD empty): exactly the 4 CI-named tests red, 4 failed | 4 passed (8), lock VERDICT command-exit 1.",
"gates": "node scripts/pm/overlap-check.mjs at d5e9250036: VERDICT clean exit 0 (origin/main ab1c734a72 merges cleanly). Push fast-forward c8820cf2..d5e92500, no force, no rebase. CI on the new head: in_progress at writing.",
"mcp_calls": "0",
"api_writes": "1 — POST issues/35054/comments (this addendum, post-stamped)"
}
Addendum 2 to report 6968071958 (after addendum 6968639263) · PR #35104 "Test-source alias gate" red at d5e9250
{
"issue": 35054,
"status": "done",
"branch": "claude/issue-35054-app-surfaces",
"pr": "https://github.com/objectstack-ai/objectstack/pull/35104",
"head_sha": "66375b96",
"session": "session_01JQwxbYRqkDAGuse5Wqbohi",
"premise_still_valid": true,
"cause": "editing the two navigationWrites-28680 suites (d5e9250036) put them under check:test-source-alias's source reach: each reaches a dynamic import('@objectstack/lint') inside a function body (usePublishAllDrafts.ts -> capabilityLint.ts:52; ResourceEditPage.tsx -> clientValidation.ts -> celAuthoring.ts:281,:388). Pre-existing reach, newly judged because the files were edited.",
"fix": "commit 66375b96 (tests only): a module-top side-effect import '@objectstack/lint' in each of the two files, the gate's own prescription and the pattern ReportView.authoredEditBuffer-35008 uses. The source keeps its dynamic import. No assertion changed.",
"tests": "node scripts/check-test-source-alias.mjs at 66375b96: exit 0 (before the fix at d5e92500: exit 1 naming exactly the two files). cd ui && pnpm exec vitest run on the two files: Test Files 2 passed (2), Tests 8 passed (8), lock VERDICT command-exit 0.",
"gates": "node scripts/pm/overlap-check.mjs at 66375b96: VERDICT clean exit 0. Push fast-forward d5e92500..66375b96, no force, no rebase. CI on the new head: in_progress at writing.",
"mcp_calls": "0",
"api_writes": "1 — POST issues/35054/comments (this addendum, post-stamped)"
}
{
"issue": 35054,
"status": "done",
"branch": "claude/issue-35054-view-surfaces",
"pr": "https://github.com/objectstack-ai/objectstack/pull/35126",
"session": "session_01JQwxbYRqkDAGuse5Wqbohi",
"premise_still_valid": true,
"summary": "Route D, view family plus the rest of the hand-off. The view config panel, its draft-bar resume, adapter updateView (Rename/Pin/Set default), Public Forms Publish/Edit, Studio pair actions and the report quick edit now seed from the layered (authored) read through authoredBuffer/authoredPublished. An unserved pending draft, or an item with nothing stored, is refused and nothing is written. The panel's live preview now relays only fields the admin changed, because its buffer is the stored view while the host previews the served one. No getAuthoredItem copy was needed, so this is not serialized behind #35104. No server, spec or save-door change.",
"tests": "At head 383f8590, under os-verify-lock from ui/. Pin set: 25 files / 190 tests passed. data-objectstack updateView suites: 4 / 44 passed. Panel+ObjectView set: 98 files, 838 passed and 1 failed (12418 harness missing /layers); fixed, then 41/41. 10694: 17/17. 11583: rerun passed. Ablations A1-A6 each red (A1 4F, A2 1F, A2b 1F, A3 1F, A4 2F after a first no-op attempt, A5 1F, A6 2F/15P), each restored with blob == HEAD and git diff HEAD empty.",
"gates": "40 derived families run locally, all exit 0 except check:test-source-alias (exit 1 at 33979a29, fixed in 383f8590, rerun exit 0). --ran reconciles 40/40/0/0. CI check-runs on PR #35126 were in_progress when this report was written.",
"dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm",
"mcp_calls": "0",
"api_writes": "4: POST dispatches (fleet-write pr_create -> PR #35126); this os-dev-report comment; and earlier the 2 #35104 addendum comments via post-stamped",
"open_questions": [
{
"question": "Public Forms reads the stored form view with metadataClient.layered + authoredPublished (primitives on main). Should it switch to ObjectStackAdapter.getAuthoredItem once #35104 lands?",
"options": [
"A: keep the layered primitives (no serialization)",
"B: follow-up after #35104 to use getAuthoredItem"
],
"recommendation": "A, because the result is the same authored read and no merge order is imposed"
}
],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · item 4 guard: no cheap syntactic guard exists over MetadataClient.save callers; the reason is in the PR body Acceptance notes, so nothing was filed"
]
}
PR #35104 (Part of #35054, app family) merged as b2d4355290 at 2026-11-18T06:27Z. The card stays open and claimed for PR #35126 (Closes #35054, L1 ACCEPT 6970847215), which lands next on L1's S1 option (a).
Route D is delivered in two PRs: #35104 (app family, b2d4355290) and #35126 (view family, Public Forms, pair actions, ReportView served draft, guard reason; b1eb500dc7), whose Closes #35054 closed this card. Close-out by area o1-B (claim 6968360584; L1-a ACCEPT 6969195748 and 6970847215 + delta 6970996231). pm:dispatched and lease:o1-B removed. Follow-up filed: #35115 (package-less app writes, review follow-ups of PR #35104). Left as notes, not filed: #35126 N1 (one failing per-row layered read fails the whole pair-action list), N2 (one /layers read per listed action). Out of scope per hand-off 6968120998: the CreateAppPage generatedEntryLabel residual (seat 3 sent it to triage).
Activity
objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG
席位复核(fable,只读,对照 origin/main 743308b)· 2026-11-18T00:29Z
#35054 保存接口要不要对所有可翻译类型还原"翻译回声"
一句话问题
用中文读出一份报告、仪表盘或页面,原样存回去,中文译文就被当成原文存进库里,之后英文读者也看到中文,而且接口不给任何提示。只有"对象"类型有防护。
事实核对
packages/metadata-protocol/src/protocol-discovery-and-bases.ts:1138,另一处在:1185)。ui/packages/data-objectstack/src/authored-layers.ts:79-81、:89-98)。packages/mcp/src/plugin.ts:318-321,packages/mcp/src/stdio-data-bridge.ts:1179-1207)。默认语言是中文的工作区里,AI 读到的就是中文。选项对比
protocol-translated-echo.ts:57-64)。工作量大,每种类型都要写一套按 key 对齐数组的逆向比对,现有实现完全是按对象的字段结构写的(protocol-translated-echo.ts:124-127、:231-400),不能直接复用。推荐:A,同时顺手做 B
这是静默的数据损坏,而且影响的是别的语言的读者,靠文档防不住;C 花同样的力气却更打扰调用方。A 和对象已有的行为一致,调用方不用改任何代码,还能通过提示知道发生了什么。B 的那句文档成本很低,应当一起写上。
条件有三个:
卡片上不准确的地方
packages/spec/src/system/i18n-resolver.ts:2018-2046)。除对象外是 11 种。卡片漏了 view、action、picklist、position、permission 这 5 种。它们同样被翻译、同样没有防护(同一个:1138的判断),只是读码时没实测。标题说"每一种可翻译类型",正文却只列了 7 种,A 的工作量因此被低估。protocol-translated-echo.ts里"只对对象"。更准确的说法是:类型判断在protocol-discovery-and-bases.ts:1138,protocol-translated-echo.ts是按对象结构写的纯函数。不影响结论,但说明 A 不是"放开一个开关",而是要新写各类型的比对。objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG
席位复核(fable):维护者追问 · 2026-11-18T01:15Z
维护者 2026-11-18 01:11Z 追问:只有管理员能改吗?编辑界面是不是不该返回译文?A 风险成本高吗?主流系统怎么做?
1. 只有管理员能改吗?
基本是,但"管理员"不只是坐在界面前的人。
manage_metadata(或系统身份 isSystem),别无他路:packages/metadata-core/src/meta-write-capability.ts:91-104;REST 保存门 packages/rest/src/rest-server.ts:4076-4082;另一条传输 packages/runtime/src/domains/meta.ts:1323。metadata:write授权范围的令牌才拿到建模工具,API key 和普通会话拿不到(packages/mcp/src/mcp-server-runtime.ts:1677-1683)。manage_metadata是可分配的能力(spec/src/security/capabilities.ts:43),可以通过自定义权限集发给"应用搭建者";持有者名下的 API key、CLI/SDK 脚本同样能写。所以写入者 = 平台管理员 + 被授权的搭建者 + 他们的脚本/AI 代理。人数少,但自动化客户端占比不低。2. 编辑读取是否干脆不返回译文(方案 D)?
方向正确,而且已经做了大半,但单靠 D 堵不住全部。
GET /meta/:type/:name/layers返回作者原文,不翻译;前端统一规则在 ui/packages/data-objectstack/src/authored-layers.ts:79(说明见 :6-35)。GET /meta是给运行时显示用的,按 Accept-Language → ?locale= → 默认语言翻译(packages/rest/src/meta-item-read-gate.ts:3208-3233),没有"原文"开关。3. 风险与成本
4. 主流系统怎么做
共同点:原文与译文分开存,编辑配置改的是基础语言,译文走单独通道。
localeCode.translation文件),属于翻译工作台,不在组件本体里:https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_translations.htm 【推断】因此元数据 API 读组件得到的是主标签,存回不会带入译文。结论与推荐
D 符合行业通行做法,应作为主线:自家界面一律读 /layers,把 #35008 和剩余几个入口排查完,成本低风险低。但写入者包含脚本、SDK 和 AI 代理,D 管不到它们,所以仍建议保留 A 作为保存门兜底(并顺带修复存量),可分批做、先覆盖 app/view/dashboard/report 这类最常被整篇回存的类型。不建议 C:成本与 A 相当,只换来报错。若要压成本,可先只做 D + 文档,A 排后;风险是外部客户端回写译文仍无人拦。
objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG
Maintainer ruling (recorded) · 2026-11-18T01:23Z
Maintainer 2026-11-18 01:23:24Z, verbatim: 「D」. This answers the seat's follow-up review on this card, where D means editing reads return source text.
Route D: every edit surface of ours reads the authored source, never the translated runtime read. No server-side save-door restore (A) for now. C is not taken.
Scope of this card under D:
/layersviaauthoredBuffer, the rule atui/packages/data-objectstack/src/authored-layers.ts:79). Known candidates from the review, not yet verified: plugin-designerCreateAppPage/EditAppPage, consoleAppManagementPage/PublicFormsPage,useNavigationSync, and the list-view config save (objectViewViewCrud.tsx:121) if 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 does not already fold it. The ReportView quick edit is 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./metaanswer, if a cheap one exists (for example a lint or test over save-door callers). Otherwise write down why not.Out of scope by the ruling: making external SDK, script and agent clients read source (the server cannot force it), and repairing already-polluted rows. Both stay open as known limits.
pm:awaiting-maintainercomes off; the card is dispatched to seat 3 area o3-I, after #35008.objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzi6WQ71HhZSLSvHhdF
Claim: PM loop round 2 · area o3-I · 2026-11-18T01:59Z
Session:
session_01WGufzi6WQ71HhZSLSvHhdF(area o3-I)Account:
os-support-aiBranch:
claude/issue-35054-edit-surfaces-read-source(moreclaude/issue-35054-<surface>branches asPart-ofPRs if the audit finds many)Worktree:
objectstack-issue-35054Domain:
domain:specSeat:
repo:objectstack#3Ruling: maintainer route D (2026-11-18T01:23Z, recorded 6966131460). Every edit surface of ours fills its edit buffer from the authored read (
/layersviaauthoredBuffer,ui/packages/data-objectstack/src/authored-layers.ts:79), never the translated/metaanswer. No save-door restore. External clients and polluted-row repair are out of scopeAudit list (to verify first, each judged live in zh-CN or by code where no live path renders): (1)
ui/packages/plugin-designerCreateAppPage/EditAppPage; (2) consoleAppManagementPage; (3) consolePublicFormsPage; (4)useNavigationSync; (5) the list-view config save,ui/packages/app-shell/src/views/objectViewViewCrud.tsx~:121handleViewConfigSavewithViewConfigPaneland its draft-bar resume (not folded into #35008, PR #35080); (6) a census of every other UI caller of the save door (persistRuntimeMetadata,saveMetaItem, PUT/meta/) so nothing is left off the listFile surface: the UI files of each surface the audit confirms, and their tests; a guard (a test or lint over save-door callers) if a cheap one exists, else a written reason on this card; changesets. No server, spec or save-door change. Stop on breach and report
Container & model:
S,mode:subagent,model: TIER_DEFAULT,effort: highClause-②: no
Metadata-protocol: none
Responsibility:
objectstack ui: some edit surfaces seed their buffer from the translated /meta read, so a zh-CN save stores the translation as source | none | zh-CN admins and builders editing in the consoleThread-read: 6966131460
Premise: holds for ReportView (live reading 6965012558, fixed in PR #35080); the other surfaces are unverified, which is this card's first step. Static lead on the list view: the served zh-CN view label is translated and
buildViewConfigSaveBodykeeps the draft label seeded from the servedactiveView(os-dev 6966669307)Pins: per fixed surface, a zh-CN edit then save stores the source text unchanged (control: the edited field changes), plus an ablation
Serial constraints cleared:
overlap-check.mjsbefore each push; overlaps PR #35080 only by pattern (authoredBuffer), not by file unless the audit says soPre-claim lane:
domain:spec— the save door's UI callers; seat 3 routed the card to o3-I after #35008 (2026-11-18T01:25Z)Pre-claim deps: no
Blocked-by:Prior rulings read: maintainer D 6966131460; seat reviews 6965194248 and 6966000815; ADR-0005 appendix (c) (the write path persists the body verbatim); thread: 6966131460
Lease:
lease:o3-I6 remaining items
objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbYRqkDAGuse5Wqbohi
Claim: PM loop round 1 · area o1-B · 2026-11-18T03:43Z · resumes seat 3's started work (hand-off 6968120998)
Session:
session_01JQwxbYRqkDAGuse5WqbohiAccount:
os-warrenBranch:
claude/issue-35054-app-surfaces(PR #35104,Part of #35054, app family, built) andclaude/issue-35054-view-surfaces(PR 2,Closes #35054: hand-off items 1–4)Worktree:
objectstack-issue-35054Domain:
domain:spec(label kept; every path below is underui/**)Seat:
repo:objectstack#1Ruling: maintainer route D (recorded 6966131460). Every edit surface of ours fills its edit buffer from the authored read, never the translated
/metaanswer. No save-door restore. External clients and polluted-row repair are out of scope.File surface: PR #35104 as pushed (22 files under
ui/apps/console,ui/packages/app-shell,ui/packages/data-objectstack,ui/packages/plugin-designer). PR 2:ui/packages/app-shell/src/views/objectViewViewCrud.tsxwithViewConfigPaneland its draft-bar resume, the adapterupdateViewcallers (Manage views Rename / Pin / Set default),ui/apps/consolePublicFormsPage,pairObjectActions,ui/packages/app-shell/src/views/ReportView.tsx(served draft intoauthoredBuffer, amendment 6966850751), a guard over the save-door callers (test or lint) or a written reason on this card, their tests, root.changeset/. No server, spec or save-door change. Stop on breach and report.Container & model:
M,mode:subagent,model: TIER_DEFAULT (dispatch-gates --tier: no path-derived mandate),effort: highClause-②: no
Metadata-protocol: none
Responsibility:
objectstack ui: edit surfaces seed their buffer from the translated /meta read, so a zh-CN save stores the translation as source | none | zh-CN admins and builders editing apps, views, forms and reports in the consoleThread-read: 6968120998
Premise: holds (audit 6967127192: seven surfaces confirmed live in zh-CN or by code; app family fixed and measured in os-dev report 6968071958)
Serial constraints cleared: PR #35080 is on main (
dcbb36334e); PR 2 is cut from origin/main, not stacked on #35104;overlap-check.mjsbefore each pushResume-from:
claude/issue-35054-app-surfaces@c8820cf23fPre-claim lane:
ui/**only (route D's UI callers) → stays in this lane under area-lease 留道, areao1-BPre-claim deps: no
Blocked-by:; #35080 mergedPrior rulings read: maintainer D 6966131460; seat reviews 6965194248, 6966000815; ADR-0005 appendix (c);
check-prior-rulings --card 35054: 407 keyword hits, none answers route D's question differently; thread: 6968120998Lease:
lease:o1-Bobjectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbYRqkDAGuse5Wqbohi
os-dev-report
Addendum to report 6968071958 · PR #35104 Test UI red at c8820cf
{ "issue": 35054, "status": "done", "branch": "claude/issue-35054-app-surfaces", "pr": "https://github.com/objectstack-ai/objectstack/pull/35104", "head_sha": "d5e92500365eb0ddd7d8d396273be5c5f73f3b46", "session": "session_01JQwxbYRqkDAGuse5Wqbohi", "premise_still_valid": true, "cause": "test double, not a regression: both suites drive useNavigationSync through an adapter double with no getAuthoredItem, so storedApp() found no stored app, said navigationSync.updateFailed and wrote nothing (saveItem 0 calls). The behaviour under test is unchanged.", "fix": "commit d5e9250036 (tests only): usePublishAllDrafts.navigationWrites-28680 and ResourceEditPage.navigationWrites-28680 adapters gain getAuthoredItem answering the listed app as the stored one, as #35104 already did for useNavigationSync.test and useNavigationSync.labelInherits-9868. No assertion changed or removed.", "tests": "cd ui && pnpm exec vitest run (the two 28680 files + the five #35104 pins: UnpublishedAppBar, useNavigationSync, AppManagementPage, EditAppPage authoredApp-35054, getAuthoredItem-35054): Test Files 7 passed (7), Tests 20 passed (20), lock VERDICT command-exit 0. Control leg: the two files restored to c8820cf23f's doubles (git restore --source=HEAD~1, then git checkout HEAD, git diff HEAD empty): exactly the 4 CI-named tests red, 4 failed | 4 passed (8), lock VERDICT command-exit 1.", "gates": "node scripts/pm/overlap-check.mjs at d5e9250036: VERDICT clean exit 0 (origin/main ab1c734a72 merges cleanly). Push fast-forward c8820cf2..d5e92500, no force, no rebase. CI on the new head: in_progress at writing.", "mcp_calls": "0", "api_writes": "1 — POST issues/35054/comments (this addendum, post-stamped)" }objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbYRqkDAGuse5Wqbohi
os-dev-report
Addendum 2 to report 6968071958 (after addendum 6968639263) · PR #35104 "Test-source alias gate" red at d5e9250
{ "issue": 35054, "status": "done", "branch": "claude/issue-35054-app-surfaces", "pr": "https://github.com/objectstack-ai/objectstack/pull/35104", "head_sha": "66375b96", "session": "session_01JQwxbYRqkDAGuse5Wqbohi", "premise_still_valid": true, "cause": "editing the two navigationWrites-28680 suites (d5e9250036) put them under check:test-source-alias's source reach: each reaches a dynamic import('@objectstack/lint') inside a function body (usePublishAllDrafts.ts -> capabilityLint.ts:52; ResourceEditPage.tsx -> clientValidation.ts -> celAuthoring.ts:281,:388). Pre-existing reach, newly judged because the files were edited.", "fix": "commit 66375b96 (tests only): a module-top side-effect import '@objectstack/lint' in each of the two files, the gate's own prescription and the pattern ReportView.authoredEditBuffer-35008 uses. The source keeps its dynamic import. No assertion changed.", "tests": "node scripts/check-test-source-alias.mjs at 66375b96: exit 0 (before the fix at d5e92500: exit 1 naming exactly the two files). cd ui && pnpm exec vitest run on the two files: Test Files 2 passed (2), Tests 8 passed (8), lock VERDICT command-exit 0.", "gates": "node scripts/pm/overlap-check.mjs at 66375b96: VERDICT clean exit 0. Push fast-forward d5e92500..66375b96, no force, no rebase. CI on the new head: in_progress at writing.", "mcp_calls": "0", "api_writes": "1 — POST issues/35054/comments (this addendum, post-stamped)" }objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbYRqkDAGuse5Wqbohi
os-dev-report
{ "issue": 35054, "status": "done", "branch": "claude/issue-35054-view-surfaces", "pr": "https://github.com/objectstack-ai/objectstack/pull/35126", "session": "session_01JQwxbYRqkDAGuse5Wqbohi", "premise_still_valid": true, "summary": "Route D, view family plus the rest of the hand-off. The view config panel, its draft-bar resume, adapter updateView (Rename/Pin/Set default), Public Forms Publish/Edit, Studio pair actions and the report quick edit now seed from the layered (authored) read through authoredBuffer/authoredPublished. An unserved pending draft, or an item with nothing stored, is refused and nothing is written. The panel's live preview now relays only fields the admin changed, because its buffer is the stored view while the host previews the served one. No getAuthoredItem copy was needed, so this is not serialized behind #35104. No server, spec or save-door change.", "tests": "At head 383f8590, under os-verify-lock from ui/. Pin set: 25 files / 190 tests passed. data-objectstack updateView suites: 4 / 44 passed. Panel+ObjectView set: 98 files, 838 passed and 1 failed (12418 harness missing /layers); fixed, then 41/41. 10694: 17/17. 11583: rerun passed. Ablations A1-A6 each red (A1 4F, A2 1F, A2b 1F, A3 1F, A4 2F after a first no-op attempt, A5 1F, A6 2F/15P), each restored with blob == HEAD and git diff HEAD empty.", "gates": "40 derived families run locally, all exit 0 except check:test-source-alias (exit 1 at 33979a29, fixed in 383f8590, rerun exit 0). --ran reconciles 40/40/0/0. CI check-runs on PR #35126 were in_progress when this report was written.", "dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "4: POST dispatches (fleet-write pr_create -> PR #35126); this os-dev-report comment; and earlier the 2 #35104 addendum comments via post-stamped", "open_questions": [ { "question": "Public Forms reads the stored form view with metadataClient.layered + authoredPublished (primitives on main). Should it switch to ObjectStackAdapter.getAuthoredItem once #35104 lands?", "options": [ "A: keep the layered primitives (no serialization)", "B: follow-up after #35104 to use getAuthoredItem" ], "recommendation": "A, because the result is the same authored read and no merge order is imposed" } ], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · item 4 guard: no cheap syntactic guard exists over MetadataClient.save callers; the reason is in the PR body Acceptance notes, so nothing was filed" ] }objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbYRqkDAGuse5Wqbohi
PR #35104 (
Part of #35054, app family) merged asb2d4355290at 2026-11-18T06:27Z. The card stays open and claimed for PR #35126 (Closes #35054, L1 ACCEPT 6970847215), which lands next on L1's S1 option (a).objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbYRqkDAGuse5Wqbohi
Closed by merge · 2026-11-18T06:52Z
Route D is delivered in two PRs: #35104 (app family,
b2d4355290) and #35126 (view family, Public Forms, pair actions, ReportView served draft, guard reason;b1eb500dc7), whoseCloses #35054closed this card. Close-out by area o1-B (claim 6968360584; L1-a ACCEPT 6969195748 and 6970847215 + delta 6970996231).pm:dispatchedandlease:o1-Bremoved. Follow-up filed: #35115 (package-less app writes, review follow-ups of PR #35104). Left as notes, not filed: #35126 N1 (one failing per-row layered read fails the whole pair-action list), N2 (one /layers read per listed action). Out of scope per hand-off 6968120998: the CreateAppPagegeneratedEntryLabelresidual (seat 3 sent it to triage).