Skip to content

refactor(app-shell): move the Data, Automations and Access pillars out of StudioDesignSurface.tsx (move-only) - #36956

Merged
os-zhuang merged 6 commits into
mainfrom
claude/issue-36893-sds-pillar-split
Nov 24, 2026
Merged

os-zhuang merged 6 commits into
mainfrom
claude/issue-36893-sds-pillar-split

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Requested by Yibo Wang · project thread
Fixes #36893
Part of #36890

repo:objectstack#3 · os-support-ai · session_01WGufziBCAytAzzCu3iPBFR

Clause-②: no
Metadata-protocol: none

维护者速读

  • 用户能看到什么变化:用户无感,Studio 设计界面的行为与外观不变,只是代码换了文件存放。
  • 为什么做:属于「Studio 重构」专题;把八千行的设计界面大文件按数据、自动化、访问三个分区拆开,让后面左侧菜单和三个设计器的改动可以并行,不再排队改同一个文件。
  • 出错会怎样:最坏是 Studio 某个分区打不开或报错,所有在 Studio 里设计应用的管理员都会立刻看到;改动是纯搬移,可以整体直接撤回。
  • 要你做什么:审阅并亲手合并这个草稿(改动行数超过三千,按规则需要你本人合并)。

What changes

Move-only split of ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.tsx (SDS), the whole card in one PR: all three pillars. SDS goes from 8,010 lines (at base 62692b7f8) to 1,715.

New module Moved from SDS at 62692b7f8 What it holds
DataPillar.tsx lines 1973-4899 (2,927 lines) renderStudioGridList (the records-grid slot), ObjDraftSend, DataPillar
AutomationsPillar.tsx lines 4904-6978 (2,075 lines) readPublishedFlowNames, AutomationsPillar
AccessPillar.tsx lines 1947-1971 (25) and 6980-8008 (1,029) StudioNameLabel, NewSimilarStrip, NEW_SIMILAR_ARRIVAL_STATE, readNewSimilarArrival, AccessPillar
  • Move only. Each moved block is byte-identical to its text at the base; the check is below. Each new file is a header comment, its imports, and the moved blocks, nothing else. No export was added or removed: the three pillars and renderStudioGridList were already exported, and the other helpers stay private to their module.
  • Helpers. Every helper that moved is used only by the pillar it moved with: StudioNameLabel only by AccessPillar, ObjDraftSend and renderStudioGridList only by DataPillar, readPublishedFlowNames only by AutomationsPillar. No helper used by two pillars or by the shell existed in this text, so nothing went to a shared module.
  • No cycle. The new modules import nothing from SDS. SDS imports the three pillars and re-exports them, plus renderStudioGridList for StudioDesignSurface.gridRefresh.test.tsx, so every import path stays the same. The test files that import the pillars are not edited.
  • SDS diff = deletions + re-exports. It removes the blocks and the import names only they used, trims five single-line imports, and adds three import lines for the new modules and three re-export lines with comments. The FlowStatusDot re-export pair shows as moved only because the text around it was deleted. The import names in each file come from the TypeScript checker's own noUnusedLocals result: 0 unused at base, 0 in each of the four files at head.
  • By-path readers (ruling 6597555122 item 3), all three updated in this PR:
    • homeRecoveryRedirectsFollowDeclaration-7373.test.ts: the Studio site's alsoReads gains the three modules.
    • ui/scripts/__tests__/spec-symbol-ledger-app-shell-7265.test.ts: SITES gains the three modules.
    • clickableNonControlCensus-13461.test.ts: six rows are re-keyed from SDS to the module their site moved into. Data has the two canvas backgrounds, the rail scrim and the form-preview click; Automations and Access each have their rail scrim. The keys and reasons are unchanged.
  • One root changeset, .changeset/36893-sds-pillar-split.md (@object-ui/app-shell patch), carrying both declaration lines.
  • History on the branch: slice 1 (Automations, Access) was committed first. Then origin/main was merged in after PR 36888 landed. The single conflicting line was in the StudioCustomizeControls import: withoutReplacedPlacements from main was kept, and type CustomizeBlock was dropped, because its only reader moved out with AutomationsPillar. The Data pillar move came after that merge, measured against the merged text.

Read first (by risk):

  1. SDS, the import block and the three re-export lines at the end of the file. This is where a missing re-export would break an importer.
  2. clickableNonControlCensus-13461.test.ts, the six re-keyed rows.
  3. DataPillar.tsx, its import block. It is the largest pruned import list.

Tests

Verbatim check: all four blocks against base 62692b7
B=62692b7f8; D=ui/packages/app-shell/src/views/studio-design
for spec in 'AccessPillar 1947 1971' 'DataPillar 1973 4899' 'AutomationsPillar 4904 6978' 'AccessPillar 6980 8008'; do
  set -- $spec
  git show $B:$D/StudioDesignSurface.tsx | sed -n "$2,$3p" > /tmp/blk
  node -e 'const fs=require("fs"),c=require("crypto");const b=fs.readFileSync("/tmp/blk","utf8");const f=fs.readFileSync(process.argv[1],"utf8");const i=f.indexOf(b);console.log(process.argv[1].split("/").pop()+": base lines "+process.argv[2]+" ("+(b.split("\n").length-1)+" lines, sha256 "+c.createHash("sha256").update(b).digest("hex").slice(0,16)+"): "+(i===-1?"MISSING":(f.indexOf(b,i+1)===-1?"verbatim, once, from line "+f.slice(0,i).split("\n").length:"DUPLICATE")))' $D/$1.tsx $2-$3
done

Output at head c77091a61:

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

The complementary check: with the moved blocks removed, each new file has 0 lines left that are not header or import lines (Access 0, Automations 0, Data 0). The Automations and Access blocks are also byte-identical to their text at 3f568c1a4, where slice 1 was first cut (same sha256 values), so the field-layout PR changed none of that text.

Local verification at head c77091a, under os-verify-lock (one chain joined with &&, VERDICT command-exit 0)
  • pnpm --filter '@object-ui/app-shell^...' build (dependency closure, rebuilt after the merge): exit 0
  • pnpm --filter @object-ui/app-shell type-check (both tsc --noEmit and tsc -p tsconfig.test.json): exit 0
  • ui: pnpm run type-check:scripts: exit 0
  • eslint on the four studio-design files and the three readers: 0 errors, 47 warnings. The react-hooks warnings are 46 at base on SDS and 46 at head across the four files (8 + 16 + 14 + 8), rule for rule. The one extra is react-refresh/only-export-components on SDS's re-export of renderStudioGridList; see Acceptance notes.
  • vitest, the whole views/studio-design/ directory plus every test outside it that names a pillar or reads SDS by path (7373, 7265, census 13461, the two PermissionMatrixEditor pins, ResourceEditPage.celGate, ObjectFieldInspector.celGate, builtinDesigners.lateArrival-11939): Test Files 300 passed (300), Tests 2153 passed (2153)
  • Narrowed, as declared: the full UI suite runs in CI (Test UI).
Derived gate families (dispatch-gates --commands)

The 38 derived commands ran on slice 1's head 7a19c2b90, all exit 0, and --ran reconciled 38 derived, 38 run, 0 NOT-MEASURED. The re-run at c77091a61 is recorded in the os-dev report on the card. check-platform-checklist --changed-from origin/main: no anchored file in the change set, nothing judged.

Acceptance notes

  • Tier H by size: 6,516 additions + 6,316 deletions = 12,832 changed lines. Draft, waiting for the maintainer. No AI seat readies, queues or arms it.
  • renderStudioGridList moved with its own eslint-disable-next-line react-refresh/only-export-components line, which still applies in DataPillar.tsx. SDS's re-export of it now draws that rule's warning once (warn, not error, so no gate fails). Adding a matching directive to SDS would be a new line rather than a move, so this PR leaves it out. It is a one-line follow-up if wanted.
  • Open PR 36784 (paused) conflicts in SDS. It already conflicts with origin/main without this branch (merge-tree exit 1), so this PR does not cause that conflict.
  • Prose that still names SDS for text that has moved, outside this card's file surface, noted and not filed: source citations in docs/qa/platform-checklist/areas/{automation,studio-authoring,access-security}.json that name SDS for pillar behaviour; 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. None is read by a gate (the checklist gate found no anchored file).

Verification

Two-minute check: run the verbatim-check script above from the repo root on this branch. Expect four lines, each ending verbatim, once, from line N. A MISSING or DUPLICATE line means the move is not verbatim.

Session: https://claude.ai/code/session_01WGufziBCAytAzzCu3iPBFR

🤖 Generated with Claude Code

…tudioDesignSurface.tsx

Move-only slice of the StudioDesignSurface.tsx split: AutomationsPillar
with readPublishedFlowNames goes to AutomationsPillar.tsx; AccessPillar
with its New-similar arrival reader and StudioNameLabel goes to
AccessPillar.tsx. The moved text is byte-identical apart from imports.
The surface imports both back and re-exports them, so every import path
is unchanged.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufziBCAytAzzCu3iPBFR
The 7373 recovery-redirect scan and the 7265 spec-symbol ledger gain
AutomationsPillar.tsx and AccessPillar.tsx in their reading lists, and
the clickable census re-keys the two rail scrims that moved with the
pillars to their new files. A moved body stays in its reader's list.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufziBCAytAzzCu3iPBFR
Resolves the one known import line in StudioDesignSurface.tsx: keep
withoutReplacedPlacements (added on main), drop type CustomizeBlock
(its only reader, AutomationsPillar, moved out).

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufziBCAytAzzCu3iPBFR
Move-only: DataPillar, the records-grid slot renderStudioGridList and
the ObjDraftSend shape (both used only by DataPillar) go to
DataPillar.tsx, byte-identical apart from imports. The surface imports
DataPillar back and re-exports it with renderStudioGridList, so every
import path is unchanged.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufziBCAytAzzCu3iPBFR
The 7373 scan and the 7265 ledger gain DataPillar.tsx in their reading
lists, and the clickable census re-keys the Data pillar's four sites
(two canvas backgrounds, the rail scrim, the form-preview click) to it.
The changeset now names all three pillars.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufziBCAytAzzCu3iPBFR
@github-actions github-actions Bot added size/xl documentation Improvements or additions to documentation tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 24, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzgv4KRPATgwPAzKKMU

席位核对 — ACCEPT · repo:objectstack#3 · head c77091a · 2026-11-24T11:35Z

L1: ACCEPT
Head-sha: c77091a618590d63b15ba6fe0576c1ee01c8b5c8
Reviewer: L1-b (seat 3, area ux-E). Contract review: none owed. Clause-②: no, Metadata-protocol: none, no packages/spec/src/**, no governed rule text.
Tier H, by size: +6516/−6316 = 12,832 changed lines, over the 3,000-line line. This is card #36893's only PR. This verdict goes to the seat, which hands the PR to the maintainer. The draft stays a draft.

Read

Move-only, checked independently

I did not rely on the PR's own script. I compared, as line multisets, the lines removed from StudioDesignSurface.tsx with the full text of the three new files.

  • New-file lines not removed from SDS: 206. Every one is an import line, an import-list member, the copyright line, a blank line, or the three new module headers. That leaves 0 code lines that did not come out of SDS.
  • Lines removed from SDS but not in the new files: 37. All are import members or import lines that SDS no longer needs, plus the #29988 re-export comment and line, which moved below the new imports.
  • Lines added to SDS: 15. Four import lines for the pillars and renderStudioGridList, five narrowed import lines, and three re-export comments with their export { … }.
  • There is no copied helper, because duplication would show as extra new-file lines. There is no circular import: none of the three files imports StudioDesignSurface.
  • SDS goes from 8,010 to 1,715 lines, under the card's "about 5,600".

Checklist

  • Shape. Draft, base main, Fixes #36893. The PR delivers the whole card.
  • Scope. The three new pillar modules, SDS, and the three by-path readers.
    • 7373: alsoReads gains the three files.
    • 7265: SITES gains the three files.
    • 13461: the census re-points its six rows to the module each one now lives in. The count is the same, six before and six after, so nothing is dropped.
  • Changeset. @object-ui/app-shell patch, internal move-only, Clause-②: no, Metadata-protocol: none. The package's public exports are unchanged, because SDS re-exports all four names.
  • Card acceptance.
    • Full UI tests and type check pass: met. Test UI, TypeScript Type Check, and Lint & Repo Gates are green on the head.
    • The SDS diff is only removals and re-exports, with import narrowing as needed: met.
    • The moved function bodies match the original line for line, and the PR carries the comparison method: met. The PR's script and sha256 values are in the body, and my own multiset check agrees.
    • SDS is under about 5,600 lines: met, at 1,715.

Findings

No must-fix, no should-fix.

  • N1 (nit), declared. There is a new react-refresh/only-export-components warning on SDS's re-export of renderStudioGridList. It only affects HMR granularity during development. It can go away when the re-export's callers import from DataPillar.tsx directly.
  • N2 (nit). l1-face flags @object-ui/components as touched with no changeset. The one file is src/__tests__/clickableNonControlCensus-13461.test.ts, a test that does not ship, so no changeset entry is owed.

Note to the seat

  • This is Tier H on size alone. Hand it to the maintainer as it is: one PR for the whole card, with the move-only evidence above and in the PR body.
  • After it merges, SDS is 1,715 lines. Any open ux-E or ux-E2 branch that edits a pillar inside SDS must re-base its hunks onto the new modules.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzgv4KRPATgwPAzKKMU

Contract-review-claim: session_01WGufzgv4KRPATgwPAzKKMU · head c77091a · 2026-11-24T11:39Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzgv4KRPATgwPAzKKMU

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: c77091a618590d63b15ba6fe0576c1ee01c8b5c8
Local-runs: probe — move-only multiset check
Scope: none + ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.tsx, ui/packages/app-shell/src/views/studio-design/DataPillar.tsx, ui/packages/app-shell/src/views/studio-design/AutomationsPillar.tsx, ui/packages/app-shell/src/views/studio-design/AccessPillar.tsx
Security-touching: no
Rule-change-verified: none

PR #36956, card #36893. Size-only Tier H (6,516 + 6,316 = 12,832 changed lines, 8 files), no reviewFace hit; the review is scoped to move-only verification, as the seat asked. Read: the net diff 62692b7f..c77091a6, the PR body, card #36893 with all four comments (claim 7127355037, blocked report 7127606539, amendment 7128762472, dev report 7130229692), the two PR comments, and the 58 check-runs on the head (45 success, 13 skipped, 0 failed, 0 pending). The probe was a read-only script over git show output of the four files at base and head; nothing was built, tested or re-run.

① Derived judgments

  • Moved text is verbatim — right. The four base ranges of StudioDesignSurface.tsx (SDS) appear contiguously, in order and unaltered in the new files: AccessPillar.tsx 1947-1971 (25 lines) and 6980-8008 (1,029), DataPillar.tsx 1973-4899 (2,927), AutomationsPillar.tsx 4904-6978 (2,075). My sha256 of each block matches the PR body's 16-hex prefixes (6992ca733d12063a, aa6b436a3bcacc05, 310655239c9c9faf, b917d07fef64e35a).
  • Nothing else is in the new files — right. Outside the moved blocks each file holds only the copyright line, one header comment, its import block and blank lines (Data 200 lines, Automations 160, Access 59). No helper is rewritten or duplicated: none of StudioNameLabel, ObjDraftSend, readPublishedFlowNames, NewSimilarStrip, NEW_SIMILAR_ARRIVAL_STATE, readNewSimilarArrival remains in SDS at head.
  • SDS remainder is unchanged — right. Base SDS minus the four ranges, diffed against head SDS, differs only in the import block (specifiers and whole import lines dropped, five lines narrowed, three pillar imports added), two blank lines, and two added re-export statements with their comments. No statement outside imports and re-exports changed. The #29988 re-export pair shows as added in the raw diff only because the text around it was deleted.
  • No published export is lost — right. SDS's export set at base and head differs only in form: AccessPillar, AutomationsPillar, DataPillar and renderStudioGridList go from declarations to export { … } re-exports of the same bindings. ui/packages/app-shell/src/index.ts is not in the diff and names only StudioDesignSurface from this file; the package exports map has . and ./styles.css alone, so no deep path was ever published. The new modules export exactly those four names and nothing new.
  • No cycle, no split state — right. None of the three modules imports SDS or each other. The only non-test importers of SDS are index.ts, StudioMetadataArea.tsx and StudioBundleItemEditor.tsx, and no pillar imports any of them, so no new path leads back to SDS. The moved text has no module-level let/var, collection or context; its only top-level value is the string constant NEW_SIMILAR_ARRIVAL_STATE, private to AccessPillar.tsx.
  • By-path readers re-pointed, not weakened — right. 7373: alsoReads +3 paths, 0 removed; the site still reads SDS first. 7265: SITES +3 paths, 0 removed. 13461: 42 rows at base and 42 at head; six rows re-keyed (5 NOT_CONTROLS, 1 BACKLOG) with the same keys and reasons (2 clearFieldSelOnEmpty CANVAS, 3 setRailOpen SCRIM, 1 backlog key), now on the file each site lives in. The two other tests that name SDS (noRetiredSetupLink-28578, noSetupMetadataLink-28578) walk the directory, so they read the new files without an edit. Test UI (16/16 shards) is green on the head.

② Semver level

.changeset/36893-sds-pillar-split.md reads '@object-ui/app-shell': patch, Clause-②: no, Metadata-protocol: none; the PR body carries the same two lines. That is right: the package's public surface and runtime behaviour are unchanged, and no spec schema, metadata type or protocol file is in the diff. @object-ui/components is touched by one test file only, which does not ship, so it owes no entry. Check Changeset is green.

③ Boundary flags

  • Dev report 7130229692 has open_questions: []. The one earlier question (7127606539, the one-line conflict with PR feat(studio): the Form tab becomes Field layout, edits field groups only, and arranges an installed object into its .custom pair #36888) is closed by the merge of origin/main: withoutReplacedPlacements is kept in SDS and type CustomizeBlock left with its only reader, AutomationsPillar.tsx. Confirmed in the head tree.
  • Declared deviation: one new react-refresh/only-export-components warning on SDS's re-export of renderStudioGridList. It is a warning, Lint UI is green, and a suppression line in SDS would be a non-move line. Accepted.
  • Out-of-scope prose that still cites SDS for moved text (three checklist area files, packages/spec/liveness/permission.json, a line citation in plugin-view/src/ObjectView.tsx): read by no gate, outside this card's surface, carried by the seat.
  • SQL push-down: not applicable. No query, id materialisation or join is added; the diff moves UI code.

④ Design judgment

No hits file. For the four implementing files, the contract is the card's: move only, SDS keeps re-exports, by-path readers updated in the same PR (ruling 6597555122 item 3), SDS under about 5,600 lines. Each holds against the tree, per ①; SDS is 1,715 lines. I tried to break it three ways — a moved block edited in place, a helper left behind or copied, and a name dropped from SDS's exports — and found none.

No must-fix, no should-fix.

  • N1 (nit) — the declared react-refresh warning on SDS's renderStudioGridList re-export; development HMR granularity only. Leave as an accepted deviation.
  • N2 (nit) — the Security-touching reading: AccessPillar.tsx is permission UI, but its text is moved unchanged, so no hunk teaches or alters security behaviour.

Implemented-by: claude/issue-36893-sds-pillar-split
Reviewed-by: session_01WGufzgv4KRPATgwPAzKKMU

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzgv4KRPATgwPAzKKMU

Contract review

Served-tier: TIER_DEFAULT
Head-sha: c77091a618590d63b15ba6fe0576c1ee01c8b5c8
Local-runs: probe — move-only multiset check

PR #36956, card #36893. Size-only Tier H (6,516 + 6,316 = 12,832 changed lines, 8 files), no reviewFace hit; the review is scoped to move-only verification, as the seat asked. Read: the net diff 62692b7f..c77091a6, the PR body, card #36893 with all four comments (claim 7127355037, blocked report 7127606539, amendment 7128762472, dev report 7130229692), the two PR comments, and the 58 check-runs on the head (45 success, 13 skipped, 0 failed, 0 pending). The probe was a read-only script over git show output of the four files at base and head; nothing was built, tested or re-run.

① Derived judgments

  • Moved text is verbatim — right. The four base ranges of StudioDesignSurface.tsx (SDS) appear contiguously, in order and unaltered in the new files: AccessPillar.tsx 1947-1971 (25 lines) and 6980-8008 (1,029), DataPillar.tsx 1973-4899 (2,927), AutomationsPillar.tsx 4904-6978 (2,075). My sha256 of each block matches the PR body's 16-hex prefixes (6992ca733d12063a, aa6b436a3bcacc05, 310655239c9c9faf, b917d07fef64e35a).
  • Nothing else is in the new files — right. Outside the moved blocks each file holds only the copyright line, one header comment, its import block and blank lines (Data 200 lines, Automations 160, Access 59). No helper is rewritten or duplicated: none of StudioNameLabel, ObjDraftSend, readPublishedFlowNames, NewSimilarStrip, NEW_SIMILAR_ARRIVAL_STATE, readNewSimilarArrival remains in SDS at head.
  • SDS remainder is unchanged — right. Base SDS minus the four ranges, diffed against head SDS, differs only in the import block (specifiers and whole import lines dropped, five lines narrowed, three pillar imports added), two blank lines, and two added re-export statements with their comments. No statement outside imports and re-exports changed. The #29988 re-export pair shows as added in the raw diff only because the text around it was deleted.
  • No published export is lost — right. SDS's export set at base and head differs only in form: AccessPillar, AutomationsPillar, DataPillar and renderStudioGridList go from declarations to export { … } re-exports of the same bindings. ui/packages/app-shell/src/index.ts is not in the diff and names only StudioDesignSurface from this file; the package exports map has . and ./styles.css alone, so no deep path was ever published. The new modules export exactly those four names and nothing new.
  • No cycle, no split state — right. None of the three modules imports SDS or each other. The only non-test importers of SDS are index.ts, StudioMetadataArea.tsx and StudioBundleItemEditor.tsx, and no pillar imports any of them, so no new path leads back to SDS. The moved text has no module-level let/var, collection or context; its only top-level value is the string constant NEW_SIMILAR_ARRIVAL_STATE, private to AccessPillar.tsx.
  • By-path readers re-pointed, not weakened — right. 7373: alsoReads +3 paths, 0 removed; the site still reads SDS first. 7265: SITES +3 paths, 0 removed. 13461: 42 rows at base and 42 at head; six rows re-keyed (5 NOT_CONTROLS, 1 BACKLOG) with the same keys and reasons (2 clearFieldSelOnEmpty CANVAS, 3 setRailOpen SCRIM, 1 backlog key), now on the file each site lives in. The two other tests that name SDS (noRetiredSetupLink-28578, noSetupMetadataLink-28578) walk the directory, so they read the new files without an edit. Test UI (16/16 shards) is green on the head.

② Semver level

.changeset/36893-sds-pillar-split.md reads '@object-ui/app-shell': patch, Clause-②: no, Metadata-protocol: none; the PR body carries the same two lines. That is right: the package's public surface and runtime behaviour are unchanged, and no spec schema, metadata type or protocol file is in the diff. @object-ui/components is touched by one test file only, which does not ship, so it owes no entry. Check Changeset is green.

③ Boundary flags

  • Dev report 7130229692 has open_questions: []. The one earlier question (7127606539, the one-line conflict with PR feat(studio): the Form tab becomes Field layout, edits field groups only, and arranges an installed object into its .custom pair #36888) is closed by the merge of origin/main: withoutReplacedPlacements is kept in SDS and type CustomizeBlock left with its only reader, AutomationsPillar.tsx. Confirmed in the head tree.
  • Declared deviation: one new react-refresh/only-export-components warning on SDS's re-export of renderStudioGridList. It is a warning, Lint UI is green, and a suppression line in SDS would be a non-move line. Accepted.
  • Out-of-scope prose that still cites SDS for moved text (three checklist area files, packages/spec/liveness/permission.json, a line citation in plugin-view/src/ObjectView.tsx): read by no gate, outside this card's surface, carried by the seat.
  • SQL push-down: not applicable. No query, id materialisation or join is added; the diff moves UI code.

Move-only verification (the declaration face; this record restates 7130460846 at the face's tier, same content):

No hits file. For the four implementing files, the contract is the card's: move only, SDS keeps re-exports, by-path readers updated in the same PR (ruling 6597555122 item 3), SDS under about 5,600 lines. Each holds against the tree, per ①; SDS is 1,715 lines. I tried to break it three ways — a moved block edited in place, a helper left behind or copied, and a name dropped from SDS's exports — and found none.

No must-fix, no should-fix.

  • N1 (nit) — the declared react-refresh warning on SDS's renderStudioGridList re-export; development HMR granularity only. Leave as an accepted deviation.
  • N2 (nit) — the Security-touching reading: AccessPillar.tsx is permission UI, but its text is moved unchanged, so no hunk teaches or alters security behaviour.

Implemented-by: claude/issue-36893-sds-pillar-split
Reviewed-by: session_01WGufzgv4KRPATgwPAzKKMU

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzi4PechTRCTBrfxV8W

维护者速读

  • Studio 专题 专题:Studio 重构——某个应用的开发界面:左侧按类型分组的菜单 → 列表 → 右侧全屏详情(去掉顶部分区) #36890 主线上的拆文件卡:把 StudioDesignSurface.tsx 里的「数据、自动化、权限」三个分区原样搬到各自的文件,界面和行为都不变。这个文件从 8,010 行降到 1,715 行,之后的专题卡可以同时开工,不再挤同一个文件。
  • 一张卡一个 PR(没有拆分)。共 12,832 行,几乎全是搬动(+6,516 / −6,316),所以需要您批准。
  • 怎么快速确认是纯搬移:PR 正文里有逐段的 sha256 比对;评审也独立核对了搬动前后文本一致、导出的名字不变、没有新增循环引用。
  • 检查全绿。批准后由维护者入队;合并后,还在改这几个分区的分支要把改动挪到新文件。

Request: approval · Tier H by size (12,832 changed lines, not governed) · 2026-11-24T11:45Z

席位意见: land. A move-only split that unblocks the epic's critical path (#36899 and the designer cards).

@objectstack-fleet objectstack-fleet Bot added the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 24, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review November 24, 2026 11:47
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 24, 2026
Merged via the queue into main with commit 6902acb Nov 24, 2026
64 checks passed
@os-zhuang
os-zhuang deleted the claude/issue-36893-sds-pillar-split branch November 24, 2026 12:21
@objectstack-fleet objectstack-fleet Bot removed the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 24, 2026
os-support-ai pushed a commit that referenced this pull request Nov 24, 2026
…udio-path-helper

StudioDesignSurface.tsx import block: main (#36956) dropped the draftVerdict
import and this branch dropped the nav-selection import; both deletions kept.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzhpykmQZe1yMupC2CU
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/xl tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Studio 重构(P0):StudioDesignSurface.tsx 纯搬移拆文件——数据、自动化、访问三个分区各成一个模块,保留再导出

3 participants