Repository navigation
Description
repo:objectstack#3 · os-support-ai · session_01WGufzufqmKuir7GiTdwGd3Z
③ topic child · Source: topic #36890 (maintainer epic). Part of #36890.
Governs: #24586 ruling A (6270097840: move-only slices, serial with in-flight PRs) and ruling 6597555122 item 3 (a test or gate that reads the file by path gains the new module in its reading list in the same PR); continues #29988, whose landing note left "seam rows 7–10 (the four whole pillars)" for a later card.
为什么
专题后面的左侧菜单(1-3)和三张设计器全屏卡(3-1、3-2、3-3)都要改 ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.tsx(11,505 行),外加在途的 #36726、#36660、#36513 和暂停的 PR #36784。不先拆,这些卡只能串行,关键路径拉长(fable 评审,专题 #36890)。
今天(读代码确认,主干 0819cab)
DataPillar(SDS:5616)、AutomationsPillar(SDS:8426)、AccessPillar(SDS:10528)是文件里独立导出的函数,外壳通过属性传publishNonce、readOnly、customization等(SDS:1928-1970)。- 按名字引用它们的测试文件:
DataPillar81 个、AutomationsPillar45 个、AccessPillar17 个。SDS保留再导出,这些测试不用改。
要做的
- 把三个分区函数(及只属于它们的辅助)各搬到
SD/下自己的文件,只搬不改:逻辑、属性、行为不变,搬走的文本除导入和export外逐字一致。 StudioDesignSurface.tsx保留再导出,外部导入路径不变。- 按路径读这个文件的测试或检查脚本,在同一个 PR 里把新模块加进读取列表。
- 开工前读一遍改这个文件的在途 PR(至少 Studio「界面」整栏作废:顶部导航去掉「界面」,原来在里面改的东西各有去处;前置的运行界面入口全部落地后再摘 #36502、Studio 对象页「表单」页签改成「字段布局」:只编辑对象的字段分组,不再读写表单视图;安装来的对象存到 .custom 的排布里 #36505、Studio Save: the object extension, hook, action and flow editors still publish unpinned, so two admins saving one of them, the later save silently overwrites the earlier (after #36601) #36726、feat(studio): design an object's public forms in Studio's Form tab #36784),按 [Decision] Split the platform's largest, fastest-growing source files (protocol.ts 32,428 lines, +10,002 in 30 days) the way rest-server.ts was split, or leave them #24586 的串行规则排;合并后在这几张卡上各留一句「已拆,变基到新文件」。
不做的
- 不改任何行为,不删任何代码(删除归 4-1 和各设计器卡)。
验收
- 全量 UI 测试与类型检查通过;对
SDS的 diff 只有删除和再导出;新文件里的函数体与原文逐字一致(PR 里附比对方法)。 SDS降到约 5,600 行以下。
Blocked-by: #36502
Blocked-by: #36505
Grading: area:ux · Task · build hygiene (one 11.5k-line file serialises five cards) · fleet throughput on this topic · evidence: read from code (counts). Topic child; blocker rule applies to the cards that list this one ⇒ p2.
Dedupe: StudioDesignSurface split (88 hits; #29988 closed, slices 1–4 landed; no open card for the pillars).
Reader: seat repo:objectstack#3, one os-dev card, move-only. Size M. Metadata-protocol: none. Wave 1 (after #36502 and #36505 merge).
Activity
objectstack-fleet commentedon Nov 24, 2026
repo:objectstack#3 · os-support-ai · session_01WGufziBCAytAzzCu3iPBFR
Claim: PM loop round 1
Session:
session_01WGufziBCAytAzzCu3iPBFRAccount:
os-support-aiBranch:
claude/issue-36893-sds-pillar-split(slice 1: Automations + Access; slice 2, DataPillar, on its own branchclaude/issue-36893-sds-data-pillarafter #36505 / PR #36888 lands)Worktree:
objectstack-issue-36893Domain:
domain:uiSeat:
repo:objectstack#3Area: ux-E
File surface:
ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.tsx(deletions + re-exports only), new filesui/packages/app-shell/src/views/studio-design/AutomationsPillar.tsxandAccessPillar.tsx(names the dev may adjust and state in the PR) holding the moved text, and any test or check script that reads SDS by path (ruling 6597555122 item 3); no behaviour change (stop on breach; explain in the report)Container & model:
M,mode:subagent,model: default — dispatch-gates.mjs --tier: "Model tier — no path-derived mandate",effort: highClause-②: no
Metadata-protocol: none
Responsibility: n/a — not a defect card
Thread-read: none
Premise: corrected by measurement, route unchanged (read on origin/main 3f568c1, after #36884: SDS is now 7,948 lines, not 11,505;
DataPillar:2059,AutomationsPillar:4869,AccessPillar:6971 are still separate exported functions)Pre-claim lane: repo:objectstack seat 3 area ux-E (epic #36890); every path under
ui/packages/app-shell/src/views/studio-design/,domain:ui,area:uxPre-claim deps:
Blocked-by: #36502holds: PR #36884 merged 3f568c1 (2026-11-24 09:18Z) and #36502 is closed out.Blocked-by: #36505is still open (PR #36888 was dequeued on a conflict with #36884). The seat route (record 7126715974, 2026-11-24 08:54Z) splits this card into move-only slices, one per pillar: Automations and Access now, DataPillar after #36505 lands. Slice 1 therefore does not wait on #36505, sopm:blockedcomes off.Prior rulings read: card's own
Governs:#24586 ruling A (6270097840: move-only slices, serial with in-flight PRs) and ruling 6597555122 item 3 (a by-path reader gains the new module in the same PR); check-prior-rulings --card 36893 --paths SDS: 16 surface hit lines in SDS (code comments citing earlier rulings on behaviour that a move leaves unchanged), tree terms 28 hits, none on file layout; thread: noneSerial constraints cleared: StudioDesignSurface.tsx slot 1 of 2 granted by the seat (09:21Z); slot 2 = #36505 / PR #36888 merge round. Open PRs that edit SDS: #36888 (#36505, its edits are in DataPillar's object Form tab, outside slice 1's text) and #36784 (paused, public forms). same-day churn on SDS: 3f568c1 (#36884), f115a66. The dev runs overlap-check against both before every push.
Size: move-only, so additions + deletions roughly double the moved text. Slice 1 alone moves ~3,000 lines, which is ~6,000 changed lines. The card total is well past 3,000, so per the seat's 08:51Z rule every slice is Tier H and goes to the seat for the maintainer.
objectstack-fleet commentedon Nov 24, 2026
repo:objectstack#3 · os-support-ai · session_01WGufziBCAytAzzCu3iPBFR
os-dev-report
Stamp: 2026-11-24T09:34Z
{ "issue": 36893, "status": "blocked", "branch": "claude/issue-36893-sds-pillar-split", "remote_head": "2cc62485ec6f86a967eb224deb032e8aabe7b84e", "pr": null, "session": "session_01WGufziBCAytAzzCu3iPBFR", "Dev-effort": "high", "Rounds": 1, "premise_still_valid": true, "summary": "Stopped on the dispatch's own rule 6: overlap-check reports a textual conflict with PR #36888 (#36505). The move itself is done and pushed as one commit (2cc62485e on the branch). AutomationsPillar with readPublishedFlowNames moved to studio-design/AutomationsPillar.tsx. AccessPillar with NewSimilarStrip, NEW_SIMILAR_ARRIVAL_STATE, readNewSimilarArrival and StudioNameLabel (used only by AccessPillar) moved to studio-design/AccessPillar.tsx. The moved text is byte-identical apart from imports. No export was added or removed: both pillars were already exported, and the helpers stay private to their module. No helper is shared with DataPillar or the shell, so nothing went to a shared module and there is no cycle: the new files import nothing from StudioDesignSurface.tsx. The surface imports both back and re-exports them (one export line with a comment), so every import path is unchanged. StudioDesignSurface.tsx goes from 7,948 to 4,732 lines. The conflict is ONE import specifier line. After the move, type CustomizeBlock is unused in the surface (its only reader was AutomationsPillar, and that is also true on #36888's head), so the surface drops it from the StudioCustomizeControls import. #36888 inserts withoutReplacedPlacements on the line right above it. An unused import is an eslint error in ui (object-ui/no-unused-imports), so keeping the line is not an option. Not done yet, because they come after the stop: the by-path reader updates (7373 alsoReads, 7265 SITES, and the two clickableNonControlCensus-13461 scrim rows that move with the pillars), the local gates, and the draft PR. None of these waits on #36888.", "tests": "Verbatim check (the PR will carry it): each base block is found verbatim and exactly once in its new file. AccessPillar.tsx: base 3f568c1a4 lines 1942-1966 (StudioNameLabel, 25 lines, sha256 6992ca733d12063a) verbatim, once, from line 61. AccessPillar.tsx: base lines 6918-7946 (1,029 lines, sha256 aa6b436a3bcacc05) verbatim, once, from line 87. AutomationsPillar.tsx: base lines 4842-6916 (2,075 lines, sha256 b917d07fef64e35a) verbatim, once, from line 162. Imports were pruned by the TypeScript checker's own noUnusedLocals verdict: 0 unused imports at base, and 0 in each of the three files at head. No build, typecheck or vitest run yet (stopped before the build).", "gates": "overlap-check at 2531a451a (same tree as 2cc62485e; only the message was reworded, to drop a card relation the push hook refused): VERDICT overlap exit 1. origin/main merges cleanly. #36888 conflicts in StudioDesignSurface.tsx, one hunk, in the StudioCustomizeControls import. #36784 conflicts too, but #36784 already conflicts with origin/main on its own (merge-tree origin/main x #36784 exit 1), so this branch does not cause that one. Local gates: NOT MEASURED, reason: stopped on the overlap rule before the build. CI: no PR, so no runs.", "dogfood_battery": "n/a — no `!` in the title and no (narrowing) arm", "line_budget": "commit 1 alone: 3,361 additions + 3,226 deletions = 6,587 changed lines (Tier H, as the claim says). The reader updates will add about 10 more.", "files_changed": [ "ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.tsx (10 added, 3,226 deleted: the three blocks, the import specifiers only they used, two import lines and one re-export line with its comment)", "ui/packages/app-shell/src/views/studio-design/AutomationsPillar.tsx (new, 2,236 lines)", "ui/packages/app-shell/src/views/studio-design/AccessPillar.tsx (new, 1,115 lines)" ], "deviations": "None from the file surface. The first push was refused by the commit-card-trailers hook (a card relation in the commit body). The commit was not yet published, so it was reworded with --amend and pushed. Nothing was force-pushed.", "mcp_calls": "0", "api_writes": "1 — this os-dev-report comment via post-stamped.mjs. git push is not a REST write.", "open_questions": [ { "question": "Slice 1 conflicts with PR #36888 on one import specifier line in StudioDesignSurface.tsx. How should it go on?", "options": [ "A: Go on now. I finish the slice (readers, gates) and open the draft PR. It is Tier H, so it waits for the maintainer either way. If #36888 lands first, I merge main and resolve the line: keep withoutReplacedPlacements, drop type CustomizeBlock. If this PR lands first, #36888 gets the same one-line fix. About 1 hour now, plus 5 minutes after the other one lands.", "B: Wait until #36888 lands, then merge origin/main into this branch (the same one-line fix), finish the slice and open the PR. #36888 has nothing extra to do, and this slice waits for its landing." ], "recommendation": "A, because the conflict is one mechanical import line, the rest of the slice (readers, gates, PR body) does not depend on #36888, and the draft cannot land before the maintainer decides anyway. B is right if the seat wants #36888 never to meet a conflict from this card." } ], "security_findings": "none", "out_of_scope_findings": [], "notes_owed_after_merge": "The seat posts the split notes after the merge, on: #36505 (PR #36888), #36726, #36660, #36513, and the paused PR #36784. #36502 is closed but named in the card's step 4, so it gets a note only if the seat wants one." }objectstack-fleet commentedon Nov 24, 2026
repo:objectstack#3 · os-support-ai · session_01WGufziBCAytAzzCu3iPBFR
Claim amendment to 7127355037 · 2026-11-24T10:24Z
Blocked-by: #36505is cleared: PR feat(studio): the Form tab becomes Field layout, edits field groups only, and arranges an installed object into its .custom pair #36888 merged. The DataPillar move is folded into the same branch,claude/issue-36893-sds-pillar-split, and the same PR. The separate branchclaude/issue-36893-sds-data-pillaris dropped.ui/packages/app-shell/src/views/studio-design/DataPillar.tsx(new, moved text only).Fixes #36893). It stays Tier H by line count (move-only), so the seat hands it to the maintainer.objectstack-fleet commentedon Nov 24, 2026
repo:objectstack#3 · os-support-ai · session_01WGufziBCAytAzzCu3iPBFR
os-dev-report
Stamp: 2026-11-24T11:32Z
{ "issue": 36893, "status": "done", "branch": "claude/issue-36893-sds-pillar-split", "remote_head": "c77091a618590d63b15ba6fe0576c1ee01c8b5c8", "pr": "https://github.com/objectstack-ai/objectstack/pull/36956", "session": "session_01WGufziBCAytAzzCu3iPBFR", "Dev-effort": "high", "Rounds": 1, "premise_still_valid": true, "summary": "Whole card in one draft PR, #36956 (Fixes #36893, Part of #36890), per the PM's two updates. All three pillars were moved out of StudioDesignSurface.tsx, each into its own module under studio-design/. DataPillar.tsx holds DataPillar plus renderStudioGridList and ObjDraftSend. AutomationsPillar.tsx holds AutomationsPillar plus readPublishedFlowNames. AccessPillar.tsx holds AccessPillar plus StudioNameLabel, NewSimilarStrip, NEW_SIMILAR_ARRIVAL_STATE and readNewSimilarArrival. Every moved helper is used only by its own pillar, so nothing went to a shared module. The new modules import nothing from SDS, so there is no cycle. No export was added or removed. SDS imports the three pillars and re-exports them (plus renderStudioGridList for the gridRefresh test), so every import path is unchanged. SDS goes from 8,010 lines at base 62692b7f8 to 1,715. After #36888 landed, origin/main was merged in (a merge, not a rebase), with the known one-line resolution: keep withoutReplacedPlacements, drop type CustomizeBlock. The DataPillar move was then measured against the merged text. All three by-path readers were updated: 7373 alsoReads and 7265 SITES gained the three modules; clickableNonControlCensus-13461 re-keyed six rows (Data 4, Automations 1, Access 1). One changeset, 36893-sds-pillar-split.md, an app-shell patch.", "tests": "Verbatim check against base 62692b7f8. AccessPillar.tsx: base lines 1947-1971 (25 lines, sha256 6992ca733d12063a): verbatim, once, from line 61. DataPillar.tsx: base lines 1973-4899 (2927 lines, sha256 310655239c9c9faf): verbatim, once, from line 202. AutomationsPillar.tsx: base lines 4904-6978 (2075 lines, sha256 b917d07fef64e35a): verbatim, once, from line 162. AccessPillar.tsx: base lines 6980-8008 (1029 lines, sha256 aa6b436a3bcacc05): verbatim, once, from line 87. Complement: with the blocks removed, each new file has 0 lines that are not header or import lines. The Automations and Access blocks have the same sha256 at 3f568c1a4 as at 62692b7f8. Local run at c77091a61, under os-verify-lock, one chain joined with &&: VERDICT command-exit 0. Steps: the app-shell dependency closure build (rebuilt after the merge), app-shell type-check (both tsc programs), ui type-check:scripts, and eslint, each exit 0. eslint reported 0 errors and 47 warnings: the react-hooks warnings are 46 at base on SDS and 46 at head across the four files, rule for rule, plus 1 react-refresh warning on SDS's re-export of renderStudioGridList. vitest over the whole studio-design dir plus every pillar importer or by-path reader outside it: Test Files 300 passed (300), Tests 2153 passed (2153). No ablation: config, readers and a move only, with no tested behaviour changed.", "gates": "dispatch-gates --commands at c77091a61: 38 commands, each exit 0 (captured before any pipe). This includes ui vitest scripts/: 172 passed, 2 skipped. --ran reconciliation: 38 derived, 38 run, 0 NOT-MEASURED. check-platform-checklist --changed-from origin/main: no anchored file, nothing judged. overlap-check at c77091a61: origin/main merges cleanly; #36888 is merged and no longer listed. #36784 still conflicts, but it already conflicts with origin/main on its own (merge-tree exit 1), so it is not new and not caused here. CI on PR #36956 at head c77091a61: every check-run is completed, 45 success, 13 skipped, 0 failure. Required set: Lint & Repo Gates success, TypeScript Type Check success, Test Core success, Build Core skipped, Governed Surface Queue Guard success, Lint UI success, Type Check UI success, Test UI success (16/16 shards), Build & E2E UI success, Live E2E UI success, Dogfood Regression Gate success; also Check Changeset success. mergeable_state clean, draft true.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "line_budget": "6,516 additions + 6,316 deletions = 12,832 changed lines, 8 files. Tier H; the PR is a draft and is never readied, queued or armed by a seat.", "files_changed": [ "ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.tsx (+15 / -6,310)", "ui/packages/app-shell/src/views/studio-design/DataPillar.tsx (new, 3,128)", "ui/packages/app-shell/src/views/studio-design/AutomationsPillar.tsx (new, 2,236)", "ui/packages/app-shell/src/views/studio-design/AccessPillar.tsx (new, 1,115)", "ui/packages/app-shell/src/__tests__/homeRecoveryRedirectsFollowDeclaration-7373.test.ts (+3)", "ui/scripts/__tests__/spec-symbol-ledger-app-shell-7265.test.ts (+3)", "ui/packages/components/src/__tests__/clickableNonControlCensus-13461.test.ts (6 rows re-keyed)", ".changeset/36893-sds-pillar-split.md (new)" ], "deviations": "One react-refresh/only-export-components warning is new, on SDS's re-export of renderStudioGridList. It is a warning, not an error, so no gate fails. The original suppression line moved with the function into DataPillar.tsx and still applies there. Adding a second suppression line to SDS would not be part of a pure move, so it was left out and the PR's Acceptance notes name it. First push of commit 1 was refused by the commit-card-trailers hook; the unpublished commit was reworded and pushed. Nothing was force-pushed.", "mcp_calls": "0", "api_writes": "3 — post-stamped.mjs comment 7127606539 (the earlier blocked report); fleet-write pr_create #36956 (run 45381334429, body 9,617 bytes sent and stored, read back identical, assignee os-support-ai, no labels); this os-dev-report comment via post-stamped.mjs. git push is not a REST write.", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: repo:objectstack#3 seat · prose that still names StudioDesignSurface.tsx for text that moved, outside this card's file surface and read by no gate: source citations in docs/qa/platform-checklist/areas/{automation,studio-authoring,access-security}.json, the producer prose in packages/spec/liveness/permission.json (the Access pillar mounts the permission page), and the StudioDesignSurface.tsx:2575 line citation in ui/packages/plugin-view/src/ObjectView.tsx. Noted, not filed." ], "notes_owed_after_merge": "The seat posts 'split, rebase onto the new file' notes after #36956 merges, on: #36726, #36660, #36513, and the paused PR #36784. #36505 / PR #36888 already merged, and #36502 is closed; both are named in the card's step 4, so they get a note only if the seat wants one." }objectstack-fleet commentedon Nov 24, 2026
repo:objectstack#3 · os-support-ai · session_01WGufziBCAytAzzCu3iPBFR
Close-out · 2026-11-24T12:21Z · PR #36956 merged as 6902acb. Reviews: L1 ACCEPT 7130309539; contract review PASS 7130500316, with the same content as 7130460846. Tier H by size; the seat handed it to the approver in 7130517182. The card was closed by
Fixes;pm:dispatchedis removed.StudioDesignSurface.tsxis now 1,715 lines. The three pillars live instudio-design/DataPillar.tsx,AutomationsPillar.tsxandAccessPillar.tsx, and SDS re-exports them. Notes about the new files are posted on #36726, #36660, #36513 and PR #36784. The staleSDS:citations in prose are on #36910's sweep (7130268469).