Skip to content

feat(studio): the flow designer opens full-screen on its metadata address; no flow rail (#36903) - #37169

Draft
objectstack-fleet[bot] wants to merge 29 commits into
mainfrom
claude/issue-36903-flow-designer-fullscreen
Draft

objectstack-fleet[bot] wants to merge 29 commits into
mainfrom
claude/issue-36903-flow-designer-fullscreen

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #36903
Clause-②: yes (narrowing)
Metadata-protocol: none
Skills-docs: none — no page under skills/ or content/docs/ names the Automations rail's strings or teaches overriding a Studio console string

维护者速读

  • 搭建者在 Studio 点开一个流程,会在右侧全屏打开它的设计器,左上角 × 回到流程列表,‹ › 按列表顺序看上一个、下一个;原来设计器左侧那一列流程列表没有了,组织级流程也在同样的新地址上打开。
  • 这是 Studio 重构专题(左侧菜单 → 列表 → 右侧全屏详情)里流程设计器的一张,和对象、权限集的设计器共用同一套“设计器页面”写法。
  • 出错时最可能是旧书签没跳对、或某个流程打不开;不改数据和元数据协议。原流程列表专用的 9 条界面文字随 19.0.0 大版本退役,已在变更说明里逐条列出(若有人自定义过这几条翻译,自定义将不再显示),回退这个 PR 即可恢复。
  • 这个 PR 超过 3000 行,按您的裁决在席位审核后请您审核;另有一个问题请您定:流程列表要不要加“触发对象”和“运行状态”两列(需要另开一张协议卡)。

What changes

  • The flow designer is full-screen on its metadata address. /studio/PACKAGE/metadata/flow/NAME mounts the designer (AutomationsPillar, now fixed on one flow named by the route). The area decides it through the shared designer-page helper in metadataArea.ts (AREA_DESIGNER_PAGE_TYPES, areaItemOpensDesignerPage, areaDesignerItemOf), now on main from feat(studio): a permission set opens full-screen at its metadata address; the sharing overview gets its own route #37089; after the merge the list is ['permission', 'flow']. Header: the shared full-screen item header (ResourceDetailHeader): × back to the list with its filters, ‹ › in the list's order (decision 10), title, type, package, and the flow's ⋯ (New similar, Delete). Tabs: Canvas, Variables, Runs, Problems, Debug, then References, History, Source from item-tools/ItemToolTabs (hand-off §2); the open tab is ?tab= (flowDesignerTabs.ts).
  • No flow rail. The rail, its search, object groups, legend, status dots, contributed-flow rows and the pillar's own New dialog are deleted. Create is the list's 「新建」 (MetadataListCreateDialog, same presets).
  • Nine released console strings are retired, declared (M1, ruling 7153171432 「B」 with 7153326968 「下一版是大版本 19.0.0」). The nine engine.studio.auto.* keys only the rail read (heading, none, emptyMain, group.noObject, kind.record, kind.scheduled, kind.screen, kind.autolaunched, legend) are removed from en and zh of @object-ui/i18n's studio namespace. The changeset declares Clause-②: yes (narrowing), carries the BREAKING note, the ADR-0087 not-required (no-migration-prescription) disposition and a 「Removed translation keys」 list, and keeps '@object-ui/i18n': patch (the one major is 大版本声明:18.6.0 已发布、主干已删除的界面文案统一写入发版说明(约 35 条) #37223's). engine.studio.org.none is kept: S5 reads it.
  • Address switch. flow leaves STUDIO_ITEM_PILLAR (after the merge only object is left), so studioItemPath, ⌘K, the AI artifact links and the Changes drawer open the new address. Old addresses redirect (automationsPillarRedirect.ts): /automations?surface=flow:NAME to the flow, bare /automations to the list; ?view=/?nav= dropped, everything else kept (including ?changes=review).
  • ~org flows live on the package-less scope's own area leg: list /studio/~org/metadata/flow?source=runtime, flow /studio/~org/metadata/flow/NAME?source=runtime. Its list offers no 「新建」, and when it is empty it says how a packaged flow is changed instead (engine.studio.org.none, ADR-0146 D11), through a new optional emptyListHint on the area host. An empty, unsearched list there reads as empty, not as "No matches for """.
  • Copilot context has the sisters' shape: a designer on its metadata address sends { pillar: STUDIO_METADATA_AREA, artifact }, the same block as feat(studio): a permission set opens full-screen at its metadata address; the sharing overview gets its own route #37089 (on main) and feat(studio): the object designer opens full-screen on its metadata address, tabs in #36513's order #37168, plus orgScopeFlowOf for the ~org leg.
  • One predicate for the generic page. ?review=1 and ?scope=environment keep an item on the generic item page through areaItemAsksGenericPage, with feat(studio): the object designer opens full-screen on its metadata address, tabs in #36513's order #37168's text, for a designer type whose generic page serves that review (the flow). A type whose item page is its own editor (registerMetadataResource's EditPage: the permission set's matrix) has no generic review, so it keeps its designer page, exactly as main does. See Acceptance notes.
  • Taken name in this package. The list dialog's flow create says 「This package already has an automation…」 (engine.studio.auto.createTaken) and offers Open, to the flow's address, when the flow holding the identifier is this package's; createTakenElsewhere otherwise.
  • Kept (card item 6): the copilot's refresh after its edits (useMetadataRefreshNonce) and its current-item report (onSurfaceLabelChange). 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's pinned publish on Save and on the switch is unchanged; the list dialog's flow create publishes with publishCreated.
  • Run status (card item 2): the list has no column for it or for the trigger object (the spec's flow columns are NAME, LABEL, type, DESCRIPTION). Both stay on the designer header's Trigger and Status pills. No packages/spec change; the column question is a fork for the maintainer.

Empty state and old deep links (card item 7)

  • A package with no flow: the flow list's own empty state. The designer is never opened on nothing.
  • An address naming a flow the package does not hold: one block, 「The link names flow “NAME”, which is not here.」, nothing else opened. A package-less flow opens in ~org instead (objectui#11553).
  • Old /studio/PACKAGE/automations, /studio/BASE.custom/automations and /studio/~org/automations links redirect as above. …/metadata/flow/NAME/history opens the History tab.
  • Delete returns to the flow list (its filters kept); no other flow is opened in the deleted one's place.

Tests

  • This round:
    • heldFlowLeave-26705: an unsaved, NOT held edit. × asks, Cancel keeps the edit, OK lands on the list with nothing sent; › the same, onto the next flow; CONTROL: after Save neither asks. The Changes sheet's flow request: over a dirty or a held edit it asks, then lands; on the open flow it does nothing; CONTROL: no edit, no question.
    • packageLessFlows-11553, through the real surface: the old address of a package flow lands on its address with the designer open; a read-only base's old address naming a pair-added flow lands on the base's address, writable, with the pair chip; the pair's old address lands on the pair's own address; CONTROL: the base's own flow stays read-only. Also the ~org Changes request landing on the scope's flow, and the empty ~org list's guidance.
    • tabs-12454: ?tab=runs and ?tab=history open their panel on the real designer; CONTROL: no tab, Canvas.
    • createTaken-26917: a published flow in this package reads createTaken and Open lands on /studio/PKG/metadata/flow/escalate; another package's keeps Elsewhere and no Open.
    • aiChipLabel: repinned to { pillar: 'metadata', artifact }.
    • customizeFlow-28570: the Restore dialog's label is read off the header's title.
  • Earlier rounds: the remaining AutomationsPillar.* suites and the StudioDesignSurface.* / StudioMetadataArea.* suites that open a flow, converted to the address. Deleted as rail-only, each with the pin that covers what is left: AutomationsPillar.railSearch-11794, FlowStatusDot, FlowStatusDot.registration-12349, StudioDesignSurface.railUnboundReason-11281 (the unbound reason is on the header's Status pill, flowStatusTruth-11779), .automationsRailOrder-12612, .draftObjectFlowGroup-29706, and the rail cases in .emptyStates-12514, .homeLoop-12513, .oneSurface-28572, .autosaveSwitch-11232, .heldFlowCreate-26845, StudioRail.noMatches-26733. New pins: automationsPillarRedirect.test.ts, flowDesignerTabs.test.ts, the helper and predicate cases in metadataArea.test.ts, the designer and /history routes in StudioMetadataArea.routes-28561.
Ablations (each: committed fix, anchored mutation through the ablation-replace script, restored to the HEAD blob)
  • M2, dirty: autoDirty → dirty: false at AutomationsPillar.tsx:803: the two new guard cases go red on expected "vi.fn()" to be called 1 times, but got 0 times (lines 315, 338), the CONTROL goes red on Save not offered, and the 5 held-step cases stay green (Tests 3 failed | 5 passed (8)). Restored: blob 068563e042de == HEAD, git diff HEAD empty.
  • S4, here: own.some(…) → here: false: the in-package case goes red, the others stay green (1 failed | 9 passed (10)). Restored: blob c5263910bff6 == HEAD.
  • S5, the area host's emptyListHint spread deleted: the empty ~org list case goes red (1 failed | 23 passed (24)). Restored: blob 5386130ea404 == HEAD.
  • The first M2 run went red at the case's own precondition (Save not offered), not at the question; the precondition was moved out of the shared helper and the ablation re-run as above. Declared, not hidden.
Local readings (final head first; earlier heads named)
  • Review-link round, head d3e30576 (on top of 3f65d38b, below): app-shell type-check exit 0. StudioMetadataArea.*, StudioPermissionSetPage.*, metadataArea.*, packageLessFlows-11553, heldFlowLeave-26705, oneSurface-28572 and AppContent.setupMetadataStudio-28578: Test Files 8 passed (8), Tests 218 passed (218). Ablation as above. Full dogfood battery on d3e30576 under the lock: Test Files 487 passed, 3 skipped (490); Tests 4128 passed, 68 skipped (4196); VERDICT command-exit 0. check:test-source-alias: exit 0 before the push. CI on d3e30576: 58 check-runs, 45 success, 13 skipped, 0 failed.
  • Final head 3f65d38b (the second merge of origin/main, at 6211ddf4). app-shell type-check: exit 0. studio-design, metadata-admin, CommandPalette.studioScope-11863, console/ai, packages/i18n/ and clickableNonControlCensus-13461: Test Files 1265 passed (1265), Tests 13230 passed, 14 skipped (VERDICT command-exit 0). Full dogfood battery, pnpm --filter @objectstack/dogfood test under the lock: Test Files 487 passed, 3 skipped (490); Tests 4128 passed, 68 skipped (4196); VERDICT command-exit 0. The derived gate list is unchanged (38); its 36 light families re-ran, all exit 0. check:test-source-alias: exit 0 before the push. overlap-check: origin/main merges cleanly; feat(studio): the object designer opens full-screen on its metadata address, tabs in #36513's order #37168 and feat(studio): remove the Studio home; /studio opens the last package or Setup > Packages #37166 conflict.
  • Diff against the merge base with origin/main at 3f65d38b: 94 files, +2,235 / −2,787.
  • M1 round, head 576f67d3. check-adr-0087-registration --base origin/main: exit 0, one declared-breaking changeset with not-required (no-migration-prescription). check-changeset-no-major: exit 0. check-empty-changeset: exit 0. ui check:i18n-keys, check:i18n-drift, check:i18n-dead-keys: exit 0 each. packages/i18n/ plus plainLanguage-11659, studio-locale.i18n and packageLessFlows-11553: Test Files 114 passed (114), Tests 2060 passed, 13 skipped (VERDICT command-exit 0). app-shell type-check: exit 0. The 36 light derived families re-run: all exit 0. Full dogfood battery (owed by the (narrowing) arm), pnpm --filter @objectstack/dogfood test under the lock: Test Files 487 passed, 3 skipped (490); Tests 4128 passed, 68 skipped (4196); VERDICT command-exit 0. check:test-source-alias: exit 0 before the push.
  • pnpm --filter @object-ui/app-shell type-check (src and tsconfig.test.json): exit 0 on 49bf2233, after the @object-ui/* dependency closure was rebuilt from this tree (turbo, 68 tasks).
  • Full run on 1d6b2854 (the merge plus its seam fixes), over packages/app-shell/src/views/studio-design, packages/app-shell/src/views/metadata-admin, CommandPalette.studioScope-11863, console/ai and clickableNonControlCensus-13461: Test Files 2 failed, 1150 passed (1152); Tests 3 failed, 11175 passed, 1 skipped. The failures came from the merge: homeLoop-12513 opened on /access, which feat(studio): a permission set opens full-screen at its metadata address; the sharing overview gets its own route #37089 turned into a redirect; and MetadataListCreateDialog.pairCreate-36897 mounts the dialog without a router, where this round's Open used useNavigate. Both are fixed at 49bf2233, where the touched files re-ran: Test Files 24 passed (24), Tests 176 passed (176).
  • dispatch-gates --commands: 38 families. --ran reconciliation: 38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN, all with exit codes, all 0. pnpm --dir ui exec vitest run scripts/ was OOM-killed on its first run beside the full suite; re-run alone under the lock it exited 0 (Test Files 172 passed, 2 skipped). check:type-check-debt re-measured under the lock: OK, 0 raw errors.
  • check:test-source-alias: exit 0 before each push. overlap-check: origin/main merges cleanly; feat(studio): the object designer opens full-screen on its metadata address, tabs in #36513's order #37168, feat(studio): remove the Studio home; /studio opens the last package or Setup > Packages #37166 and fix(app-shell,console): the shell package list, AI chat lists and studio-design reads and writes send the stored bearer token #37185 conflict (exit 1).
  • ESLint (--no-inline-config) over every changed ui/ file: 0 errors, 59 warnings.

Acceptance notes

Verification

First read, by risk: StudioMetadataArea.tsx (AreaItemOpen: the designer decision for both types, the ~org leg), metadataArea.ts (the shared helper and areaItemAsksGenericPage), MetadataListCreateDialog.tsx (the taken-name branch).

Two-minute check: open /studio/com.example.showcase/automations?surface=flow:showcase_urgent_task_alert; expect the flow full-screen at /studio/com.example.showcase/metadata/flow/showcase_urgent_task_alert?package=com.example.showcase, with × to the list and ‹ › enabled.

Live walk-through (showcase, earlier round, head 5d9bb8d)

Stack: pnpm dev -- --fresh -p 38917 after pnpm build, and the Console dev server, driven with Playwright. It covered the list, the full-screen canvas, › and ×, a ~org flow, an old bookmark, bare /automations and /history. No page errors. HotCRM was not walked: this container holds only this repository. This round adds no new screen path that the cases above do not drive through the real surface; it was not re-walked.


Generated by Claude Code

@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 25, 2026
…ge-less scope's flow leg on its own helper (#36903)

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSeKYoua951EYpayDLjTom
… the list, another flow is another address, the area's read-only gate (#36903)

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSeKYoua951EYpayDLjTom
…dynamic imports at collection; the changeset names the review links (#36903)

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSeKYoua951EYpayDLjTom
…orts and a dead assignment go (#36903)

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSeKYoua951EYpayDLjTom
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H

Finalized head for L1 · 2026-11-25T03:31Z · 5d9bb8da7 · zone a4-S (#36903)

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

Contract review

Served-tier: TIER_DEFAULT
Head-sha: 5d9bb8da79d443fb703c54236fd8a116e58de513
Local-runs: none
Scope: .changeset/36903-flow-designer-fullscreen.md, ui/packages/i18n/src/namespaces/studio/{en,zh}.ts, ui/packages/app-shell/src/views/studio-design/automationsPillarRedirect.ts + .test.ts, StudioDesignSurface.tsx, StudioMetadataArea.tsx, metadataArea.ts + .test.ts, studioAddress.ts, studioAddressTable.ts, studioScope.ts, studioMenuModel.ts, flowDesignerTabs.ts, AutomationsPillar.tsx, FlowItemMoreMenu.tsx, StudioAiCopilot.tsx, views/metadata-admin/MetadataListCreateDialog.tsx, console/ai/artifactStudioPath.ts, views/metadata-admin/studioAutomationCopy.plainLanguage-11659.test.ts, studio-locale.i18n.test.tsx, StudioDesignSurface.packageLessFlows-11553.test.tsx, StudioDesignSurface.heldFlowLeave-26705.test.tsx, StudioDesignSurface.oneSurface-28572.test.tsx, AutomationsPillar.newSimilar-28567.test.tsx, AutomationsPillar.customizeFlow-28570.test.tsx, ui/packages/components/src/__tests__/clickableNonControlCensus-13461.test.ts. The other suites of the 90 paths were checked for entry addresses and deleted pins only. Read, not reviewed: AutomationsPillar.tsx, useSurfaceDeepLink.ts and oneSurface-28572 at the merge base, views/metadata-admin/nav-selection.ts, setupMetadataRedirect.ts, BuilderLanding.tsx, ui/packages/app-shell/package.json, ui/packages/i18n/package.json, the published @object-ui/i18n@18.6.0 tarball from the npm registry, and the changesets of cd51dbbbcf4 (#36501) and 9fa05c63b4a (#36652)

Full review of this head, made without the L1's conclusions. Inputs:

  • git diff 709d2c1e6aec..5d9bb8da, against the merge base with origin/main: 90 files, +1,856 −2,736.
  • The files at this head, the PR body's declaration lines, and the published @object-ui/i18n@18.6.0 tarball.
  • The 62 check-runs on this head: 47 success, 15 skipped, 0 failed or pending.

The recogniser decides no face from the paths and defers to the changeset. The changeset reads Clause-②: no with no arm, so this is the declaration face at TIER_DEFAULT. The review is owed because the PR is Tier H by size. git merge-tree --write-tree origin/main 5d9bb8da exits 0 against origin/main 3570b81 (K = 14).

① Derived judgments

Published @object-ui/* exports and types: none moved.

  • Every source change outside i18n is in @object-ui/app-shell, which is "private": true. That covers the dropped FlowStatusDot re-export from StudioDesignSurface.tsx, flow leaving STUDIO_ITEM_PILLAR, and the new automationsPillarRedirect, flowDesignerTabs, areaItemAsksGenericPage, AREA_DESIGNER_PAGE_TYPES, areaItemOpensDesignerPage, areaDesignerItemOf, orgScopeFlowOf, STUDIO_ORG_SCOPE_TYPE and STUDIO_ORG_SCOPE_SOURCE.
  • No ui/apps/console file is in the diff, so the published @object-ui/console entry (./plugin) is unchanged.
  • The ui/packages/components edit drops one row from a test's census.
  • @object-ui/i18n's namespace modules are typed as a string-to-string record, so their type surface is unchanged. Their key set is not (M1).

i18n, checked against the released tarball. I read dist/namespaces/studio/{en,zh}.js from @object-ui/i18n@18.6.0 and compared it with the merge base and the head.

  • The PR removes 10 keys from both en and zh: engine.studio.auto.heading, .none, .emptyMain, .group.noObject, .kind.record, .kind.scheduled, .kind.screen, .kind.autolaunched, .legend, and engine.studio.org.none.
  • All 10 ship in 18.6.0, in both languages.
  • At this head, none of the 10 has a reader outside the namespaces, except one test case (N1).
  • The PR adds no key and changes no existing value.

M1 (must-fix) — the PR removes 10 locale keys that @object-ui/i18n@18.6.0 released, and it declares this as Clause-②: no on a patch.

Redirects. Each is judged against what the retired pillar wrote to the address bar at the merge base. StudioDesignSurface sends /studio/SEGMENT/automations to automationsPillarRedirect before the pair-to-base redirect runs, for every segment except ~all.

  • A package's ?surface=flow:NAME, raw or with %3A, plus &view= / &nav=: redirects correctly. It lands on /studio/PACKAGE/metadata/flow/NAME and the area adds ?package=. The pillar-only qualifiers are dropped, which is right because a flow read neither one. Any other query, ?changes=review included, is kept. This is pinned in automationsPillarRedirect.test.ts. The old address is still opened through the real surface in packageLessFlows-11553: /studio/SHOWCASE/automations?surface=flow%3Anobody_has_this must land on …/metadata/flow/nobody_has_this?package=SHOWCASE.
  • A ?surface= naming another type, or no flow: lands on the flow list. Pinned.
  • Bare /automations: lands on the list. Pinned as a unit case and in AppContent.setupMetadataStudio-28578, through the Setup › Packaged automation bookmark.
  • ~org, bare and with a flow: lands on /studio/~org/metadata/flow[/NAME]?source=runtime. ?package= and a foreign ?source= are dropped. Both are pinned through the surface from the OLD address in packageLessFlows-11553.
  • The package-less miss is pinned on both legs. A package's address naming a package-less flow opens it in ~org, also pinned from the old address.
  • /metadata/flow/NAME/history opens the History tab. Pinned in StudioMetadataArea.routes-28561.
  • A read-only base's pair flow, through the base's old address /studio/BASE/automations?surface=flow:COPY, which the pillar mirrored when a pair-added flow was selected: correct by reading. It lands on /studio/BASE/metadata/flow/COPY?package=BASE.
  • A pair's old address /studio/BASE.custom/automations?surface=flow:COPY, the URL the pillar's New similar wrote for a copy that landed in the pair: correct by reading, but its behaviour changed. It used to land on the base's surface and now lands on the pair's own area, /studio/BASE.custom/metadata/flow/COPY, where COPY opens writable at the pair. The arrival strip still shows, because the history state is carried and the designer matches it against its own package. That matches the area's rule that a pair's items open in the pair's area, but no case pins it (S1).

S1 (should-fix) — no case pins the pair class of old flow bookmarks, and the old pin was repointed rather than kept as a redirect case.

  • automationsPillarRedirect.test.ts has no .custom segment case.
  • No surface-level case opens a pair-added flow on a read-only base, at either the old or the new address.
  • newSimilar-28567 used to assert /studio/PAIR/automations?surface=flow%3Aapproval_copy as the producer's output. It now asserts only the new address, so the old pair URL has no consumer pin.
  • Two things are therefore unpinned: the ordering in StudioDesignSurface (the Automations redirect before customizationPairBaseOf), and the fixed designer's pair lookup.
  • Fix: through the real surface, on a read-only base with a pair:
    • open /studio/BASE/automations?surface=flow:COPY and expect /studio/BASE/metadata/flow/COPY?package=BASE, open writable at the pair;
    • open /studio/BASE.custom/automations?surface=flow:COPY and expect the pair's area address;
    • CONTROL: a base's own flow stays read-only on the base.
  • Add the .custom segment row to the unit table.

Unsaved-edits guards. ×, ‹ ›, the menu and a reload are pinned with a no-edit CONTROL in heldFlowLeave-26705. A flow's requestSurface from the Changes drawer or ⌘K goes through confirmLeavePillar.

api-surface baselines. The only baselines are packages/spec/api-surface*. The diff touches nothing in packages/spec, so no baseline is owed.

Accept sets. No schema, spec or authorable key moves.

  • /studio/PACKAGE/automations turns from a page into a redirect.
  • /studio/PACKAGE/metadata/flow/NAME now draws the designer instead of redirecting to the pillar.
  • /studio/~org/metadata/flow[/NAME] is a new leg.
  • ?review=1 and ?scope=environment keep the generic item page through the one predicate areaItemAsksGenericPage, pinned in metadataArea.test.ts.
  • All of these are additive for users, and none is a published accept set.

N1 (nit) — the last case of studioAutomationCopy.plainLanguage-11659.test.ts:86-88 still reads engine.studio.auto.heading, which this head removes. t echoes a missing key back, and engine.studio.auto.heading contains no flow, so the case passes vacuously. Drop it with the row, or keep it if M1 keeps the key.

② Semver level

The changeset has '@object-ui/app-shell': patch and '@object-ui/i18n': patch, with Clause-②: no and Metadata-protocol: none at line start in both the changeset and the PR body.

  • Metadata-protocol: none holds: no metadata author can write anything new or different, and none takes patch (AGENTS.md, Post-Task Checklist step 3).
  • Clause-②: no does not hold for the i18n half: released keys are removed (M1).
  • The level stays patch either way, because a non-protocol change ships patch. What is missing is the narrowing arm, the BREAKING banner, the migration and the ADR-0087 marker, or else the keys themselves.
  • @object-ui/app-shell is private and patch is permitted. updateInternalDependencies carries the bump to the bundling @object-ui/console.
  • The changeset's redirect sentences are true at this head. Its pair-address behaviour is true but unpinned (S1). Its key sentence is accurate in fact and contradicts its declaration (M1).

③ Boundary flags

Implemented-by: claude/issue-36903-flow-designer-fullscreen
Reviewed-by: fresh subagent of session_01QSeKYpEsWWE9Y5YtSsDgqZ

VERDICT: FAIL

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

席位核对 — REWORK · L1 · head 5d9bb8da79d443fb703c54236fd8a116e58de513 · 2026-11-25T03:51Z

L1 for card #36903 (Studio 3-1: the flow designer on its metadata address), reading os-dev reports 7149156009 (hand-off) and 7151966054 (final) and the zone note 7151997904.

  • Review method: read-only; nothing built or run at the seat.
  • Size: 90 files, +1,856/−2,736 = 4,592 lines. That is Tier H by size (ruling 7145880574): after ACCEPT and a same-head contract PASS this goes to the maintainer.

The design holds up on reading:

  • Routing:
    • The area opens the designer by areaItemOpensDesignerPage, or on the ~org leg, unless areaItemAsksGenericPage (StudioMetadataArea.tsx:178-208).
    • The area keys the designer per flow (:164).
    • Old /automations addresses redirect before the pair redirect (StudioDesignSurface.tsx:274). By reading, a package flow, a read-only base's pair-added flow (withPairItems) and the pair segment each land on the right flow.
    • ?review=1 keeps the generic page (pinned, routes-28561:354).
  • ~org leg: the list cannot create there; the designer opens writable.
  • Create: the flow create publishes pinned (publishCreated, driven in publishPinned-36726).
  • Brief line 1: delivered. ItemToolTabs adds References, History and Source to the tab row.
  • Brief line 2: not done, and routed (see below).
  • Helper: AREA_DESIGNER_PAGE_TYPES, areaItemOpensDesignerPage and areaDesignerItemOf match the sisters byte for byte except the type list, plus one comment parenthetical in feat(studio): a permission set opens full-screen at its metadata address; the sharing overview gets its own route #37089.

Open

  • M1 (must-fix) — The PR narrows the released @object-ui/i18n pack without declaring it.
  • M2 (must-fix) — A live leave guard lost its only pin.
  • S1 (should-fix) — The copilot context shape diverges from both sisters.
  • S2 (should-fix) — No test opens the old flow bookmarks through the surface. Only the pure helper and the ~org, clone and missing cases render (packageLessFlows-11553:337-470). Add renderAt cases with landing assertions for:
    • /studio/PKG/automations?surface=flow%3AX → /studio/PKG/metadata/flow/X?package=PKG, with the designer open on X.
    • A read-only base /studio/BASE/automations?surface=flow%3APAIRADDED → the base address, writable, with the pair chip.
    • /studio/BASE.custom/automations?surface=flow%3AX → the pair's own address. This is where main's New similar sent authors (newSimilar-28567:234,360 at the merge base), and this PR repointed that pin to the new address.
  • S3 (should-fix) — Two new paths are unpinned.
    • The Changes sheet's flow request (StudioDesignSurface.tsx:1218-1228): the only request stub names an object (heldFlowCreate-26845:94). Pin a flow request:
      • over a held or dirty edit it asks, then lands on the flow's address
      • on the open flow it does nothing
      • on ~org it lands on the scope's flow
    • ?tab= seeding: mount the real designer with ?tab=runs and with ?tab=history, and assert each opens its panel.
  • S4 (should-fix) — The list dialog's taken-name notice is wrong for a flow in this package.
    • The defect: MetadataListCreateDialog.tsx:299 always shows createTakenElsewhere, which says the flow "already exists outside this package", even when the flow holding the name is in this package. Since this PR, that dialog is the only flow create.
    • The pin now asserts it: createTaken-26917:239,255 were rewritten to assert that sentence for "a published flow in this package". The pillar's 「打开」 door (flow-create-open-existing) is gone, and the PR body does not mention it.
    • Fix: use engine.studio.auto.createTaken with a link to studioItemPath(pkg, 'flow', name) when the holder is in this package; keep Elsewhere otherwise; repin.
    • For feat(studio): the object designer opens full-screen on its metadata address, tabs in #36513's order #37168: the object branch (:189) has the same defect.
  • S5 (should-fix) — An undeclared loss on ~org. The empty state's guidance, 「…To change a packaged flow, open its package and use New similar.」 (ADR-0146 D11, checklist: re-point the Studio clauses the 2026-11-03 run measured as stale #29679), no longer shows anywhere; its case in homeLoop-12513 was cut, and its key is removed. Either show engine.studio.org.none (restored by M1) as the ~org list's empty text, or declare the loss in Acceptance notes.
  • S6 (should-fix) — Stale and internal wording.
  • N1 — studioAutomationCopy.plainLanguage-11659.test.ts:87 is vacuous until M1 lands.
  • N2 — Stale comments at src/index.ts:604 and studioScope.ts:16 (/studio/~org/automations).
  • N3 — AutomationsPillar.tsx:1394 puts title="API name: …" on the label's inner span, so a cut label's hover shows the API name rather than its whole text (StudioItemHeader.tsx:47). The changeset's "machine name on the title's tooltip" also omits the api-name chip beside it.
  • N4 — Fixes #36903 is right if the maintainer answers card item 2 with B, or with A as a new spec card. If A is to be done inside Studio 重构(3-1):流程设计器在元数据地址上右侧全屏打开,去掉流程左侧列表,流程类型切到新地址 #36903, switch to Part of.
  • N5 — orgScopeFlowOf reaching the copilot is pinned only on the pure helper. Add a ~org case in aiChipLabel.
  • N6 — Four docs/qa/platform-checklist/areas/studio-authoring.json items still describe the deleted rail and the ~org pillar: automations-rail-and-new-flow, org-scope-flows, flow-status-matches-runtime, flow-edge-type-authoring. Studio 重构(4-2):新形态的端到端测试、总走查,更新平台测试清单、文档和技能里的 Studio 地址与说法 #36910 item 3 owns that rewrite; name them in its carry note.
  • N7 — The report and zone note give 45/13; the head has 47/15, and "Check PR Size" is skipped, not passed.
  • N8 — customizeFlow-28570:434 hardcodes railText. Read it from the header title so the case still cross-checks the dialog.

Routing question — AreaHistoryRedirect's designer-item exemption

What the exemption does (StudioMetadataArea.tsx:241-253):

  • It applies only to a STUDIO_ITEM_PILLAR type on a package leg, without ?review=1 or ?scope=environment.
  • For such an item, it keeps /metadata/<type>/<name>/history on the standalone history page.
  • Without it, the redirect to ?tab=history would reach AreaItemOpen's pillar Navigate, and studioPillarItemPath drops the query, so History is lost.

Who it protects:

Removed early (now, or in #37089 before #37168 lands): /metadata/object/<name>/history loses its History view and lands on the Data pillar. The pin routes-28561:203-205 goes red. Permission is unaffected.

Removed late: no behaviour change.

Answer: A, with a narrower trigger.

Zone findings — triage

Gates

Next: fix M1, M2, S1–S6 and the nits (or answer each in one line). Then the seat reads the delta, the contract reviewer reads the same head, and the seat hands it to the maintainer (Tier H by size).

…e leave guard of an unsaved, not-held flow edit (#36903)

Claude-Session: https://claude.ai/code/session_01QSeKYnHH41MS5hWVGPia4F
Co-authored-by: Claude <noreply@anthropic.com>
…taken flow identifier in this package offers to open it (#36903)

Claude-Session: https://claude.ai/code/session_01QSeKYnHH41MS5hWVGPia4F
Co-authored-by: Claude <noreply@anthropic.com>
… the flow's address, a pair-added flow writable with its chip (#36903)

Claude-Session: https://claude.ai/code/session_01QSeKYnHH41MS5hWVGPia4F
Co-authored-by: Claude <noreply@anthropic.com>
…er's address tab are pinned on the real designer (#36903)

Claude-Session: https://claude.ai/code/session_01QSeKYnHH41MS5hWVGPia4F
Co-authored-by: Claude <noreply@anthropic.com>
…nce — change a packaged flow in its package, with New similar (#36903)

Claude-Session: https://claude.ai/code/session_01QSeKYnHH41MS5hWVGPia4F
Co-authored-by: Claude <noreply@anthropic.com>
…et in user terms; stale comments go; the Restore case reads the header's title (#36903)

Claude-Session: https://claude.ai/code/session_01QSeKYnHH41MS5hWVGPia4F
Co-authored-by: Claude <noreply@anthropic.com>
…r beside the flow designer)

Claude-Session: https://claude.ai/code/session_01QSeKYnHH41MS5hWVGPia4F
Co-authored-by: Claude <noreply@anthropic.com>
… dialog needs no router; the home-loop case opens on the Data pillar (#36903)

Claude-Session: https://claude.ai/code/session_01QSeKYnHH41MS5hWVGPia4F
Co-authored-by: Claude <noreply@anthropic.com>
…longer reads, declared for 19.0.0 (#36903)

Claude-Session: https://claude.ai/code/session_01QSeKYnHH41MS5hWVGPia4F
Co-authored-by: Claude <noreply@anthropic.com>
…h beside the flow's ⋯ menu)

Claude-Session: https://claude.ai/code/session_01QSeKYnHH41MS5hWVGPia4F
Co-authored-by: Claude <noreply@anthropic.com>
… designer page, as main did for the permission set; the copilot's ~org leg says why it is dormant (#36903)

Claude-Session: https://claude.ai/code/session_01QSeKYnHH41MS5hWVGPia4F
Co-authored-by: Claude <noreply@anthropic.com>
…side the flow designer; the designer-item history exemption goes with the last pillar type)

Claude-Session: https://claude.ai/code/session_01QSeKYnHH41MS5hWVGPia4F
Co-authored-by: Claude <noreply@anthropic.com>
…sharing overview or the area; no type opens a pillar; review links in user terms in the changeset (#36903)

Claude-Session: https://claude.ai/code/session_01QSeKYnHH41MS5hWVGPia4F
Co-authored-by: Claude <noreply@anthropic.com>

This branch has not been deployed

No deployments
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 重构(3-1):流程设计器在元数据地址上右侧全屏打开,去掉流程左侧列表,流程类型切到新地址

2 participants