Repository navigation
refactor(app-shell): move the Data, Automations and Access pillars out of StudioDesignSurface.tsx (move-only) - #36956
Conversation
…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
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
|
repo:objectstack#3 · os-support-ai · session_01WGufzgv4KRPATgwPAzKKMU 席位核对 — ACCEPT · repo:objectstack#3 · head c77091a · 2026-11-24T11:35ZL1: ACCEPT Read
Move-only, checked independentlyI did not rely on the PR's own script. I compared, as line multisets, the lines removed from
Checklist
FindingsNo must-fix, no should-fix.
Note to the seat
|
|
repo:objectstack#3 · os-support-ai · session_01WGufzgv4KRPATgwPAzKKMU Contract-review-claim: session_01WGufzgv4KRPATgwPAzKKMU · head c77091a · 2026-11-24T11:39Z |
|
repo:objectstack#3 · os-support-ai · session_01WGufzgv4KRPATgwPAzKKMU Contract reviewServed-tier: PR #36956, card #36893. Size-only Tier H (6,516 + 6,316 = 12,832 changed lines, 8 files), no ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgmentNo No must-fix, no should-fix.
Implemented-by: VERDICT: PASS |
|
repo:objectstack#3 · os-support-ai · session_01WGufzgv4KRPATgwPAzKKMU Contract reviewServed-tier: PR #36956, card #36893. Size-only Tier H (6,516 + 6,316 = 12,832 changed lines, 8 files), no ① Derived judgments
② Semver level
③ Boundary flags
Move-only verification (the declaration face; this record restates 7130460846 at the face's tier, same content): No No must-fix, no should-fix.
Implemented-by: VERDICT: PASS |
|
repo:objectstack#3 · os-support-ai · session_01WGufzi4PechTRCTBrfxV8W 维护者速读
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).
|
…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
Requested by Yibo Wang · project thread
Fixes #36893
Part of #36890
repo:objectstack#3 · os-support-ai · session_01WGufziBCAytAzzCu3iPBFR
Clause-②: no
Metadata-protocol: none
维护者速读
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 base62692b7f8) to 1,715.62692b7f8DataPillar.tsxrenderStudioGridList(the records-grid slot),ObjDraftSend,DataPillarAutomationsPillar.tsxreadPublishedFlowNames,AutomationsPillarAccessPillar.tsxStudioNameLabel,NewSimilarStrip,NEW_SIMILAR_ARRIVAL_STATE,readNewSimilarArrival,AccessPillarexportwas added or removed: the three pillars andrenderStudioGridListwere already exported, and the other helpers stay private to their module.StudioNameLabelonly byAccessPillar,ObjDraftSendandrenderStudioGridListonly byDataPillar,readPublishedFlowNamesonly byAutomationsPillar. No helper used by two pillars or by the shell existed in this text, so nothing went to a shared module.renderStudioGridListforStudioDesignSurface.gridRefresh.test.tsx, so every import path stays the same. The test files that import the pillars are not edited.FlowStatusDotre-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.homeRecoveryRedirectsFollowDeclaration-7373.test.ts: the Studio site'salsoReadsgains the three modules.ui/scripts/__tests__/spec-symbol-ledger-app-shell-7265.test.ts:SITESgains 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..changeset/36893-sds-pillar-split.md(@object-ui/app-shellpatch), carrying both declaration lines.origin/mainwas merged in after PR 36888 landed. The single conflicting line was in theStudioCustomizeControlsimport:withoutReplacedPlacementsfrom main was kept, andtype CustomizeBlockwas dropped, because its only reader moved out withAutomationsPillar. The Data pillar move came after that merge, measured against the merged text.Read first (by risk):
clickableNonControlCensus-13461.test.ts, the six re-keyed rows.DataPillar.tsx, its import block. It is the largest pruned import list.Tests
Verbatim check: all four blocks against base 62692b7
Output at head
c77091a61: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 0pnpm --filter @object-ui/app-shell type-check(bothtsc --noEmitandtsc -p tsconfig.test.json): exit 0ui:pnpm run type-check:scripts: exit 0react-refresh/only-export-componentson SDS's re-export ofrenderStudioGridList; see Acceptance notes.views/studio-design/directory plus every test outside it that names a pillar or reads SDS by path (7373, 7265, census 13461, the twoPermissionMatrixEditorpins,ResourceEditPage.celGate,ObjectFieldInspector.celGate,builtinDesigners.lateArrival-11939): Test Files 300 passed (300), Tests 2153 passed (2153)Test UI).Derived gate families (dispatch-gates --commands)
The 38 derived commands ran on slice 1's head
7a19c2b90, all exit 0, and--ranreconciled 38 derived, 38 run, 0 NOT-MEASURED. The re-run atc77091a61is 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
renderStudioGridListmoved with its owneslint-disable-next-line react-refresh/only-export-componentsline, which still applies inDataPillar.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.origin/mainwithout this branch (merge-tree exit 1), so this PR does not cause that conflict.docs/qa/platform-checklist/areas/{automation,studio-authoring,access-security}.jsonthat name SDS for pillar behaviour; the producer prose inpackages/spec/liveness/permission.json(the Access pillar mounts the permission page); and theStudioDesignSurface.tsx:2575line citation inui/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. AMISSINGorDUPLICATEline means the move is not verbatim.Session: https://claude.ai/code/session_01WGufziBCAytAzzCu3iPBFR
🤖 Generated with Claude Code