You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Studio 重构(4-1):删掉分区路由和残留(:packageId/:tab 路由、AREA_PILLAR_FOR_TYPE、pillar 文案、旧 Studio 应用的菜单项) #36909
Route: a 专题:Studio 重构——某个应用的开发界面:左侧按类型分组的菜单 → 列表 → 右侧全屏详情(去掉顶部分区) #36890 (Studio rework) sub-card. repo:objectstack#4 (zone a4-S) is winding down and takes no new cards, and repo:objectstack#6 takes ux cards without a parent topic only, so no seat takes it today. It waits in pm:queue for the topic's next seat.
When Studio 菜单(M3):左侧菜单读顺序表——分组标题变小号灰字、默认只显示常用、其余收进「高级」 #37201 merges, this card goes back to pm:queue and is dispatched in its own cloud session. It carries the two items from 7157423170: remove useRequestedSurface or give it a reader, and collapse the /data double hop.
ui/apps/console/src/components/StudioRoute.tsx: the :packageId/:tab route becomes a redirect to the new address, and the STUDIO_ORG_SCOPE_PILLAR redirect;
studio-design/{metadataArea.ts,studioAddress.ts,studioAddressTable.ts,studioScope.ts,StudioMetadataArea.tsx,StudioDesignSurface.tsx,studioMenuModel.ts,surfaceDeepLinkChannel.ts}: AREA_PILLAR_FOR_TYPE, areaItemPillarPath, STUDIO_ORG_SCOPE_PILLAR and the mirror half of the deep link;
useRequestedSurface;
ui/packages/app-shell/src/index.ts exports;
the pillar shell code and tests that lose every reader;
packages/platform-objects/src/apps/studio.app.ts: metadata:resource entries whose addresses are gone;
a changeset.
⛔ Every old pillar address still redirects to its new one. No server or spec change beyond studio.app.ts's nav entries (stop on breach; explain in the report)
Container & model: M, mode:cloud, model: default — dispatch-gates.mjs --tier: "Model tier — no path-derived mandate", effort: high
Clause-②: no
Metadata-protocol: none
Responsibility: n/a — not a defect card
Thread-read: 7175282391
Premise: holds in part (read on origin/main 6cc6177a).
{
"issue": 36909,
"status": "done",
"branch": "claude/issue-36909-studio-pillar-dead-code",
"pr": "https://github.com/objectstack-ai/objectstack/pull/37383",
"session": "session_01QSeKYngc1UxywCSQwtqdZz",
"premise_still_valid": true,
"summary": "The /studio/:packageId and /studio/:packageId/:tab routes now render StudioPillarRedirect: one table (studioPillarRedirectModel.ts) sends every retired pillar address (data, automations, access, interfaces, bare package, a .custom pair, every ~org address) to its new page, and every area target is settled (settledAreaAddress over a new studioAddressParts parser) so it lands in ONE redirect; /data used to take two, bare /studio/PKG three, /studio/~org two. Removed with every reader gone: AREA_PILLAR_FOR_TYPE, areaItemPillarPath, studioPillarItemPath, STUDIO_ITEM_PILLAR, studioItemPillar, studioPillarItemAddress, studioSurfaceQuery, STUDIO_ORG_SCOPE_PILLAR (kept only as the literal 'automations' row in the redirect table), STUDIO_HOME_PILLAR from the package entry (kept inside app-shell: studioChangesReviewPath mirrors the server's /data?changes=review link), the ?surface= capture+mirror hooks, useRequestedSurface and the channel's subscriber half, and the surface's in-place pillar redirects, PILLARS, the Access landing branch, PILLAR_FOR_SURFACE_TYPE and a dead re-entry counter; studioMenuModel now needs only the owd section. studio.app.ts needs no change: all 15 metadata:resource/directory entries land on a settled area address in one hop. Card item 3 (engine.studio.pillar.*) was already gone, per the claim's Premise.",
"tests": "Rebased tree 26ec30e1 (byte-identical to pushed head 2322b402): vitest run packages/app-shell/src/views/studio-design packages/app-shell/src/views/metadata-admin packages/app-shell/src/console apps/console/src/components -> Test Files 1442 passed (1442), Tests 14059 passed | 1 skipped. Full app-shell suite on 3a7bc226: Test Files 1 failed | 2429 passed | 1 skipped (2431); the one failure was studioAddress.guard.test.ts (my parse prefix spelled the Studio root outside studioAddress.ts), fixed by studioAddressParts and then green. Pins: studioPillarRedirectModel.test.ts (22-row table + Access mapping + one-hop + CONTROL), studioAddress.test.ts (every STUDIO_ITEM_TYPES row's redirectsTo equals the table for all three ?surface= spellings), StudioRoute.metadataArea-28561.test.tsx route-level table (14 rows, location probe records exactly [old,new]) and CONTROL (probe records [url]). Ablations via scripts/ablation-replace.mjs on studioPillarRedirectModel.ts (anchor x1, mutation landed, restored to HEAD blob 85ed9932ab4b, git diff HEAD empty): TABLE (automations -> dataPillarRedirect) red on the 4 automations rows + 2 route rows; /data SINGLE HOP (settledAreaAddress dropped from the data case) Tests 14 failed | 50 passed incl. 'the old /data address reaches the object list in one redirect'; CONTROL (default arm redirects) Tests 8 failed | 56 passed, all CONTROL cases. Restored leg: 3 files / 66 tests pass. No dist rebuild needed: app-shell tests import src relatively and the console aliases @object-ui/app-shell to src.",
"gates": "Type-check: pnpm --filter @object-ui/app-shell type-check VERDICT command-exit 0 (both programs) on 26ec30e1; pnpm --filter @object-ui/console type-check VERDICT command-exit 0 on 3a7bc226 (the rebase brought no console change). ui check-i18n-dead-keys exit 0 (diff removes no translation call site). Pre-push trio on every push except one (see deviations): check:test-source-alias 0, ui check:i18n-keys 0, overlap-check VERDICT clean exit 0 vs origin/main and #37380/#37368/#37362 (earlier #37351/#37347/#37348). check-platform-checklist --changed-from origin/main OK (2 anchors, 0 lost). check:nul-bytes 0. dispatch-gates --commands: 38 families; 37 exit 0 locally; check:type-check-debt NOT MEASURED locally, reason: PREREQUISITE NOT MET (exit 3) -- its closure build fails on @objectstack/knowledge-pgvector, a package the rebase brought in that this worktree never re-installed for; CI 'Type Check · debt ledger' success. --ran reconciliation: 38 derived, 38 run, 0 UNRUN. CI on 2322b402: Lint & Repo Gates success, TypeScript Type Check success, Test Core success, Build Core skipped (PR fast set), Governed Surface Queue Guard success, Lint UI success, Type Check UI success, Test UI success (shards 1-9 success), Build & E2E UI success, Live E2E UI success, Dogfood Regression Gate success, Check Changeset success, PR-body guards success, Type Check · debt ledger success.",
"dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
"mcp_calls": "7 — reads only: issue_read get x1, issue_read get_comments x1, pull_request_read get_check_runs x4, pull_request_read get_status x1; no MCP write",
"api_writes": "2 relay strokes — fleet-write dispatch pr_create (POST /repos/objectstack-ai/objectstack/dispatches -> POST /repos/objectstack-ai/objectstack/pulls, POST /repos/objectstack-ai/objectstack/issues/37383/assignees), and this os-dev-report comment via post-stamped.mjs (POST /repos/objectstack-ai/objectstack/issues/36909/comments). git push x4 (not REST).",
"open_questions": [
{
"question": "Client producers still write retired addresses that now cost one redirect (studioHomePath callers: command palette, app no-access state, AI chat page, appRoute, PackagesPage, PackageCustomizationsPanel; setupMetadataRedirect's packagedAutomationStudioPath/packagedActionsStudioPath = two hops for those legacy Setup bookmarks). Switch them to the new addresses?",
"options": ["A follow-up card switching each producer to studioPillarRedirect's target (PackagesPage waits for the in-flight #37139 branch)", "B leave them: every one lands correctly in one more redirect"],
"recommendation": "A, as a small follow-up after #37139 lands; studioChangesReviewPath stays, it mirrors the server's link."
}
],
"security_findings": "none",
"out_of_scope_findings": [
"class: a (user-visible misleading text) · reach: open /studio/PKG/bogus_pillar for a listed package -> the not-found state reads 'pick Data, Automations, Interfaces, Access or All metadata above' (engine.studio.notFound.pillar, en + zh); none of those exist any more since the left menu replaced the pillars · evidence: StudioDesignSurface.notFound-26708.test.tsx renders that sentence; ui/packages/i18n/src/namespaces/studio/en.ts:3523 · dedupe words: notFound.pillar, 'pick Data Automations Interfaces Access', Studio not-found sentence",
"carrier: none · noted, not filed: the copilot surface context (StudioAiCopilot) still reads :tab and ?surface= as pillar context (cloud#1610); the surface keeps a ~org non-area fallback the route no longer reaches",
"carrier: none · noted: open PR #37380 merges cleanly with this branch, but any new app-shell test that mounts StudioDesignSurface bare on /studio/:packageId/:tab and starts at a retired address will need StudioPillarRedirect around it once both land"
],
"deviations": [
"One push (3a7bc226) went out before re-running check:test-source-alias / check:i18n-keys / overlap-check; ran them on that head immediately after, all exit 0.",
"Rebase-before-final-push: the permission classifier refused git push --force-with-lease (Destructive). Not retried. Instead kept the pushed history, merged origin/main (1691563a) and replayed the two later commits; pushed as a fast-forward. Tree 2322b402 is byte-identical to the rebased, tested 26ec30e1 (git diff --quiet exit 0). Refused command: git push --force-with-lease=claude/issue-36909-studio-pillar-dead-code:3a7bc226ea origin HEAD:claude/issue-36909-studio-pillar-dead-code"
]
}
Conflicts: none. The merge was textually clean. One semantic fix came with it: feat(console): a 「⋯」 package menu in Studio's top bar; Import on Setup → Packages #37362's new StudioPackageMenu-37139.test.tsx mounts StudioDesignSurface bare on /studio/:packageId/:tab and starts at /data, which only the route redirects now. Commit 377ca896 wraps that route in StudioPillarRedirect, the same mechanical change as the other 37 surface tests (the 38th now). No source file changed in this round.
Gates on 377ca896 (fresh install, @object-ui/console^... closure built under the lock, VERDICT command-exit 0):
CI on 377ca896: all green. Lint & Repo Gates, TypeScript Type Check, Test Core, Governed Surface Queue Guard, Lint UI, Type Check UI, Test UI (shards 1-9 and the aggregate), Build & E2E UI, Live E2E UI, Dogfood Regression Gate, Check Changeset, PR-body guards and Type Check · debt ledger all succeeded; Build Core was skipped (the PR fast set).
PR body not edited: no sentence became false except the count "37 app-shell surface tests", now 38, recorded here.
Writes this round: one git push, this comment. MCP: reads only (pull_request_read get_check_runs x3).
Finalized head for L1 · 2026-11-26T02:41Z · 377ca896 · zone a4-S (#36909 → PR #37383)
CI on 377ca896: 38 success, 13 skipped, 0 failed. K: 3 behind main; merge-tree is clean.
Size: +945 / −1,031, 1,976 changed lines, 68 files. check-governed-merges.mjs --pr 37383: not governed and under 3,000, so not Tier H. The zone lands it after ACCEPT.
Reports: final report 7179500392 (status done) and merge-main addendum 7180856694.
/studio/:packageId and /studio/:packageId/:tab now render StudioPillarRedirect. One table (studioPillarRedirectModel.ts) sends every retired pillar address to its new page in a single redirect: data, automations, access, interfaces, the bare package, a .custom pair and every ~org address. /data used to take two hops, bare /studio/PKG three, /studio/~org two.
Removed, each with every reader gone: AREA_PILLAR_FOR_TYPE, areaItemPillarPath, STUDIO_ORG_SCOPE_PILLAR (it survives only as the literal 'automations' row of the redirect table), useRequestedSurface, the ?surface= capture and mirror hooks, and the surface's in-place pillar redirects and PILLARS.
studio.app.ts needs no change: all 15 nav entries reach a settled address in one hop.
The card's item 3 (engine.studio.pillar.*) was already gone, per the claim.
Merge round: origin/main merged with no conflicts. One semantic fix came with it: feat(console): a 「⋯」 package menu in Studio's top bar; Import on Setup → Packages #37362's new StudioPackageMenu-37139.test.tsx is wrapped in StudioPillarRedirect, the same change as the other 37 surface tests. No source file changed in that round. 286 files / 2,317 tests pass, and both type-checks exit 0.
Zone ruling on the open question:
Q1, switching the producers that still write retired addresses (studioHomePath callers, and setupMetadataRedirect's legacy Setup bookmarks, which take two hops): A, as a small next-round follow-up, not filed during the wind-down. Every one of them lands correctly today with one more redirect.
Out of scope, carried to the close-out brief:
(class a) engine.studio.notFound.pillar (en and zh) still tells users to 「pick Data, Automations, Interfaces, Access or All metadata above」, pillars that no longer exist.
StudioAiCopilot still reads :tab and ?surface= as pillar context (cloud#1610).
Clause-②: no (@object-ui/app-shell is private), Metadata-protocol: none. The head is frozen now.
Addendum 2 to 7179500392: the rework round for L1 7181710790 (PR #37383).
New head: 1d782fb0 (one commit on top of 377ca896, pushed once as a fast-forward; no main merge, K was 6).
S1: deleted studioSamePageSearch (studioPaletteModel.ts), its import, and its it block in studioPaletteModel-36900.test.ts. pageQuery stays (studioPaletteDeparture reads it). git grep studioSamePageSearch under ui/ returns 0.
S2: corrected the changeset sentence to "The "Open Access" button on a publish toast opens the package's permission sets, and the Changes sheet's link to a permission set opens that set's page, directly." Corrected PR body section 2 the same way, through the relay (issue_patch; 13044 bytes sent, 13044 stored, signed trailer still last). Also in the body: 37 → 38 wrapped surface tests, and a Tests bullet naming the new pin.
S3: a new describe at the end of StudioDesignSurface.heldDataCreate-26845.test.tsx. The stand-in sheet now asks for { type: 'permission', name: 'acme_sales_rep' }; the request lands on /studio/PKG/metadata/permission/acme_sales_rep on a writable base, and on /studio/PKG.custom/metadata/permission/acme_sales_rep on a read-only base with a pair.
Ablation through scripts/ablation-replace.mjs: requestSurface narrowed back to target.type === 'object'. Anchor hit x1, mutation landed (blob da3b6c68301c → 6dadace116bf), Tests 2 failed | 3 passed (5). The two failures are exactly the two new cases. Restored to the HEAD blob da3b6c68301c, and git diff HEAD was empty.
N2: both stale comments rewritten: studioMenuModel.ts (the "## Entries" paragraph no longer names areaItemPillarPath) and studioAddress.guard.test.ts (its rationale no longer names STUDIO_ITEM_PILLAR).
Local gates on 1d782fb0 (fresh install, @object-ui/console^... closure built under the lock):
vitest run packages/app-shell/src/views/studio-design apps/console/src/components/StudioRoute: Test Files 286 passed (286), Tests 2318 passed (the 2317 of the last round, minus 1 removed and plus 2 added).
CI on 1d782fb0: all green, no failures, nothing pending. Lint & Repo Gates, TypeScript Type Check, Test Core, Governed Surface Queue Guard, Lint UI, Type Check UI, Test UI (shards 1-9 and the aggregate), Build & E2E UI, Live E2E UI, Dogfood Regression Gate, Check Changeset, PR-body guards and Type Check · debt ledger all succeeded; Build Core was skipped (the PR fast set).
Writes this round: one git push, one relay issue_patch (the PR body), this comment. MCP: reads only (issue_read get_comments x1, pull_request_read get x1 and get_check_runs x2).
Addendum 3 to 7179500392: a merge-main round after L1 ACCEPT 7183016224 (PR #37383).
New head: 88cdc8b5. It is one merge commit: I ran git merge --no-edit origin/main (a merge, not a rebase) onto 1d782fb0, taking in 18 main commits, and pushed once as a fast-forward.
Nothing moved beyond the merge. None of the tests that came in mounts StudioDesignSurface on /studio/:packageId/:tab, so none needed StudioPillarRedirect. Zero hits under ui/ for a bare mount or for any removed symbol. The tree diff from 1d782fb0 is main's files only.
Local gates on 88cdc8b5 (fresh install; the @object-ui/console^... closure built under the lock with VERDICT command-exit 0):
CI on 88cdc8b5: all green, none failed, none pending. Succeeded: Lint & Repo Gates, TypeScript Type Check, Test Core, Governed Surface Queue Guard, Lint UI, Type Check UI, Test UI (shards 1-9 and the aggregate), Build & E2E UI, Live E2E UI, Dogfood Regression Gate, Check Changeset, PR-body guards, Type Check · debt ledger. Build Core was skipped (the PR fast set).
PR body: not edited, because no sentence became false.
Writes this round: one git push and this comment. MCP: reads only (pull_request_read get_check_runs x2).
Activity
objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ
Carry from PR #37168 · 2026-11-25T08:44Z · merged as
1b91538bb206a01b027af64250394b30aa03fdff.Two items for this card, both from the seat L1 on PR #37168 (7156828103):
useRequestedSurfacehas no reader left on main after feat(studio): the object designer opens full-screen on its metadata address, tabs in #36513's order #37168. Remove it here or give it a reader. A hook nobody reads should not stay./datadouble hop: an old/dataaddress goes through two redirects before it lands. Collapse it to one.objectstack-fleet commentedon Nov 25, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
Triage: unblocked 2026-11-25T13:40Z
pm:blocked→pm:queue. Its blockers Studio 重构(3-1):流程设计器在元数据地址上右侧全屏打开,去掉流程左侧列表,流程类型切到新地址 #36903, Studio 重构(3-2):对象设计器在元数据地址上右侧全屏打开,页签按 #36513 排序,去掉对象左侧列表,对象类型切到新地址 #36904 and Studio 重构(3-3):权限集矩阵在元数据地址上右侧全屏打开,组织级默认共享总览有自己的路由,权限集类型切到新地址 #36905 are all closed.pm:queuefor the topic's next seat.objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H
Held behind #37201 · zone a4-S hot-file serial
Blocked-by: #37201
AREA_PILLAR_FOR_TYPE,areaItemPillarPath,STUDIO_ORG_SCOPE_PILLAR,useRequestedSurface,engine.studio.pillar.*) reachui/packages/app-shell/src/views/studio-design/studioMenuModel.ts. Read on origin/maina182fbe3.pm:queueand is dispatched in its own cloud session. It carries the two items from 7157423170: removeuseRequestedSurfaceor give it a reader, and collapse the/datadouble hop.objectstack-fleet commentedon Nov 25, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
Triage: unblocked 2026-11-25T21:34Z
pm:blocked→pm:queue. Its blockers Studio 重构(3-1):流程设计器在元数据地址上右侧全屏打开,去掉流程左侧列表,流程类型切到新地址 #36903, Studio 重构(3-2):对象设计器在元数据地址上右侧全屏打开,页签按 #36513 排序,去掉对象左侧列表,对象类型切到新地址 #36904, Studio 重构(3-3):权限集矩阵在元数据地址上右侧全屏打开,组织级默认共享总览有自己的路由,权限集类型切到新地址 #36905 and Studio 菜单(M3):左侧菜单读顺序表——分组标题变小号灰字、默认只显示常用、其余收进「高级」 #37201 are all closed (Studio 菜单(M3):左侧菜单读顺序表——分组标题变小号灰字、默认只显示常用、其余收进「高级」 #37201 via PR feat(studio): the left menu reads the placement table — 常用 types first, the rest in one 「高级」 fold #37341).objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H
Claim: PM loop round 3
Session:
session_01QSeKYkkwuF6UuFtu85Yd5HAccount:
os-justinBranch:
claude/issue-36909-studio-pillar-dead-codeWorktree: cloud session (its own container)
Domain:
domain:uiSeat:
repo:objectstack#4Area: a4-S
File surface:
ui/apps/console/src/components/StudioRoute.tsx: the:packageId/:tabroute becomes a redirect to the new address, and theSTUDIO_ORG_SCOPE_PILLARredirect;studio-design/{metadataArea.ts,studioAddress.ts,studioAddressTable.ts,studioScope.ts,StudioMetadataArea.tsx,StudioDesignSurface.tsx,studioMenuModel.ts,surfaceDeepLinkChannel.ts}:AREA_PILLAR_FOR_TYPE,areaItemPillarPath,STUDIO_ORG_SCOPE_PILLARand the mirror half of the deep link;useRequestedSurface;ui/packages/app-shell/src/index.tsexports;packages/platform-objects/src/apps/studio.app.ts:metadata:resourceentries whose addresses are gone;⛔ Every old pillar address still redirects to its new one. No server or spec change beyond
studio.app.ts's nav entries (stop on breach; explain in the report)Container & model:
M,mode:cloud,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: 7175282391
Premise: holds in part (read on origin/main
6cc6177a).STUDIO_ORG_SCOPE_PILLAR(studioAddress.ts:70,StudioRoute.tsx:290,index.ts:634);AREA_PILLAR_FOR_TYPE(metadataArea.ts:83, read bystudioMenuModel.ts:60,228);areaItemPillarPath(metadataArea.ts:108,StudioMetadataArea.tsx:206);:packageId/:tabroute (StudioRoute.tsx:301);studio.app.tsmetadata:resourceentries (:146-184).engine.studio.pillar.*key, so there is nothing to remove there.@object-ui/app-shellisprivate: trueand last published at 18.2.0, so removing its exports narrows no published surface.useRequestedSurfaceor give it a reader, and collapse the/datadouble hop to one redirect.Pre-claim lane: repo:objectstack seat 4 zone a4-S (sub-issue of epic 专题:Studio 重构——某个应用的开发界面:左侧按类型分组的菜单 → 列表 → 右侧全屏详情(去掉顶部分区) #36890; cap 3)
Pre-claim deps: none open (Studio 重构(3-1):流程设计器在元数据地址上右侧全屏打开,去掉流程左侧列表,流程类型切到新地址 #36903, Studio 重构(3-2):对象设计器在元数据地址上右侧全屏打开,页签按 #36513 排序,去掉对象左侧列表,对象类型切到新地址 #36904, Studio 重构(3-3):权限集矩阵在元数据地址上右侧全屏打开,组织级默认共享总览有自己的路由,权限集类型切到新地址 #36905 and Studio 菜单(M3):左侧菜单读顺序表——分组标题变小号灰字、默认只显示常用、其余收进「高级」 #37201 merged).
Prior rulings read: ADR-0146 D1 and D11 (Studio addresses); the epic's routing ruling (second lander deleted
AreaHistoryRedirect's exemption, PR feat(studio): the flow designer opens full-screen on its metadata address; no flow rail (#36903) #37169); seat L1 7156828103.Serial constraints cleared:
StudioAreaAppOpen.tsxandstudioAppEdit.ts, not this surface.ResourceEditPage.tsx, which this card does not need.StudioBackToApp.tsxandPackagesPage.tsx.Size: M (triage S–M; route redirects and a cross-file deletion).
objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#4 · os-justin · session_01QSeKYngc1UxywCSQwtqdZz
os-dev-report
{ "issue": 36909, "status": "done", "branch": "claude/issue-36909-studio-pillar-dead-code", "pr": "https://github.com/objectstack-ai/objectstack/pull/37383", "session": "session_01QSeKYngc1UxywCSQwtqdZz", "premise_still_valid": true, "summary": "The /studio/:packageId and /studio/:packageId/:tab routes now render StudioPillarRedirect: one table (studioPillarRedirectModel.ts) sends every retired pillar address (data, automations, access, interfaces, bare package, a .custom pair, every ~org address) to its new page, and every area target is settled (settledAreaAddress over a new studioAddressParts parser) so it lands in ONE redirect; /data used to take two, bare /studio/PKG three, /studio/~org two. Removed with every reader gone: AREA_PILLAR_FOR_TYPE, areaItemPillarPath, studioPillarItemPath, STUDIO_ITEM_PILLAR, studioItemPillar, studioPillarItemAddress, studioSurfaceQuery, STUDIO_ORG_SCOPE_PILLAR (kept only as the literal 'automations' row in the redirect table), STUDIO_HOME_PILLAR from the package entry (kept inside app-shell: studioChangesReviewPath mirrors the server's /data?changes=review link), the ?surface= capture+mirror hooks, useRequestedSurface and the channel's subscriber half, and the surface's in-place pillar redirects, PILLARS, the Access landing branch, PILLAR_FOR_SURFACE_TYPE and a dead re-entry counter; studioMenuModel now needs only the owd section. studio.app.ts needs no change: all 15 metadata:resource/directory entries land on a settled area address in one hop. Card item 3 (engine.studio.pillar.*) was already gone, per the claim's Premise.", "tests": "Rebased tree 26ec30e1 (byte-identical to pushed head 2322b402): vitest run packages/app-shell/src/views/studio-design packages/app-shell/src/views/metadata-admin packages/app-shell/src/console apps/console/src/components -> Test Files 1442 passed (1442), Tests 14059 passed | 1 skipped. Full app-shell suite on 3a7bc226: Test Files 1 failed | 2429 passed | 1 skipped (2431); the one failure was studioAddress.guard.test.ts (my parse prefix spelled the Studio root outside studioAddress.ts), fixed by studioAddressParts and then green. Pins: studioPillarRedirectModel.test.ts (22-row table + Access mapping + one-hop + CONTROL), studioAddress.test.ts (every STUDIO_ITEM_TYPES row's redirectsTo equals the table for all three ?surface= spellings), StudioRoute.metadataArea-28561.test.tsx route-level table (14 rows, location probe records exactly [old,new]) and CONTROL (probe records [url]). Ablations via scripts/ablation-replace.mjs on studioPillarRedirectModel.ts (anchor x1, mutation landed, restored to HEAD blob 85ed9932ab4b, git diff HEAD empty): TABLE (automations -> dataPillarRedirect) red on the 4 automations rows + 2 route rows; /data SINGLE HOP (settledAreaAddress dropped from the data case) Tests 14 failed | 50 passed incl. 'the old /data address reaches the object list in one redirect'; CONTROL (default arm redirects) Tests 8 failed | 56 passed, all CONTROL cases. Restored leg: 3 files / 66 tests pass. No dist rebuild needed: app-shell tests import src relatively and the console aliases @object-ui/app-shell to src.", "gates": "Type-check: pnpm --filter @object-ui/app-shell type-check VERDICT command-exit 0 (both programs) on 26ec30e1; pnpm --filter @object-ui/console type-check VERDICT command-exit 0 on 3a7bc226 (the rebase brought no console change). ui check-i18n-dead-keys exit 0 (diff removes no translation call site). Pre-push trio on every push except one (see deviations): check:test-source-alias 0, ui check:i18n-keys 0, overlap-check VERDICT clean exit 0 vs origin/main and #37380/#37368/#37362 (earlier #37351/#37347/#37348). check-platform-checklist --changed-from origin/main OK (2 anchors, 0 lost). check:nul-bytes 0. dispatch-gates --commands: 38 families; 37 exit 0 locally; check:type-check-debt NOT MEASURED locally, reason: PREREQUISITE NOT MET (exit 3) -- its closure build fails on @objectstack/knowledge-pgvector, a package the rebase brought in that this worktree never re-installed for; CI 'Type Check · debt ledger' success. --ran reconciliation: 38 derived, 38 run, 0 UNRUN. CI on 2322b402: Lint & Repo Gates success, TypeScript Type Check success, Test Core success, Build Core skipped (PR fast set), Governed Surface Queue Guard success, Lint UI success, Type Check UI success, Test UI success (shards 1-9 success), Build & E2E UI success, Live E2E UI success, Dogfood Regression Gate success, Check Changeset success, PR-body guards success, Type Check · debt ledger success.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "7 — reads only: issue_read get x1, issue_read get_comments x1, pull_request_read get_check_runs x4, pull_request_read get_status x1; no MCP write", "api_writes": "2 relay strokes — fleet-write dispatch pr_create (POST /repos/objectstack-ai/objectstack/dispatches -> POST /repos/objectstack-ai/objectstack/pulls, POST /repos/objectstack-ai/objectstack/issues/37383/assignees), and this os-dev-report comment via post-stamped.mjs (POST /repos/objectstack-ai/objectstack/issues/36909/comments). git push x4 (not REST).", "open_questions": [ { "question": "Client producers still write retired addresses that now cost one redirect (studioHomePath callers: command palette, app no-access state, AI chat page, appRoute, PackagesPage, PackageCustomizationsPanel; setupMetadataRedirect's packagedAutomationStudioPath/packagedActionsStudioPath = two hops for those legacy Setup bookmarks). Switch them to the new addresses?", "options": ["A follow-up card switching each producer to studioPillarRedirect's target (PackagesPage waits for the in-flight #37139 branch)", "B leave them: every one lands correctly in one more redirect"], "recommendation": "A, as a small follow-up after #37139 lands; studioChangesReviewPath stays, it mirrors the server's link." } ], "security_findings": "none", "out_of_scope_findings": [ "class: a (user-visible misleading text) · reach: open /studio/PKG/bogus_pillar for a listed package -> the not-found state reads 'pick Data, Automations, Interfaces, Access or All metadata above' (engine.studio.notFound.pillar, en + zh); none of those exist any more since the left menu replaced the pillars · evidence: StudioDesignSurface.notFound-26708.test.tsx renders that sentence; ui/packages/i18n/src/namespaces/studio/en.ts:3523 · dedupe words: notFound.pillar, 'pick Data Automations Interfaces Access', Studio not-found sentence", "carrier: none · noted, not filed: the copilot surface context (StudioAiCopilot) still reads :tab and ?surface= as pillar context (cloud#1610); the surface keeps a ~org non-area fallback the route no longer reaches", "carrier: none · noted: open PR #37380 merges cleanly with this branch, but any new app-shell test that mounts StudioDesignSurface bare on /studio/:packageId/:tab and starts at a retired address will need StudioPillarRedirect around it once both land" ], "deviations": [ "One push (3a7bc226) went out before re-running check:test-source-alias / check:i18n-keys / overlap-check; ran them on that head immediately after, all exit 0.", "Rebase-before-final-push: the permission classifier refused git push --force-with-lease (Destructive). Not retried. Instead kept the pushed history, merged origin/main (1691563a) and replayed the two later commits; pushed as a fast-forward. Tree 2322b402 is byte-identical to the rebased, tested 26ec30e1 (git diff --quiet exit 0). Refused command: git push --force-with-lease=claude/issue-36909-studio-pillar-dead-code:3a7bc226ea origin HEAD:claude/issue-36909-studio-pillar-dead-code" ] }objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#4 · os-justin · session_01QSeKYngc1UxywCSQwtqdZz
os-dev-report
Addendum to 7179500392: merge-main round, as the PM asked.
377ca896onclaude/issue-36909-studio-pillar-dead-code(PR fix(studio): every retired pillar address lands on its new page in one redirect; the pillar-era code with no reader goes #37383, still draft). It was 15 commits behind main;git merge --no-edit origin/main(merge8f7f75ae, not a rebase) and one push, fast-forward from2322b402.StudioPackageMenu-37139.test.tsxmountsStudioDesignSurfacebare on/studio/:packageId/:taband starts at/data, which only the route redirects now. Commit377ca896wraps that route inStudioPillarRedirect, the same mechanical change as the other 37 surface tests (the 38th now). No source file changed in this round.377ca896(fresh install,@object-ui/console^...closure built under the lock, VERDICT command-exit 0):pnpm --filter @object-ui/app-shell type-checkandpnpm --filter @object-ui/console type-check: VERDICT command-exit 0, 0error TS.vitest run packages/app-shell/src/views/studio-design apps/console/src/components/StudioRoute: Test Files 286 passed (286), Tests 2317 passed; this includes the redirect-table pins, the one-hop pin, CONTROL, and feat(console): a 「⋯」 package menu in Studio's top bar; Import on Setup → Packages #37362's package-menu pins.studioPillarRedirectModel.tsand its pins did not change in this round.pnpm check:test-source-aliasexit 0; uipnpm check:i18n-keysexit 0;node ui/scripts/check-i18n-dead-keys.mjsexit 0;node scripts/pm/overlap-check.mjsVERDICT clean exit 0 (origin/main, fix(studio): every retired pillar address lands on its new page in one redirect; the pillar-era code with no reader goes #37383, feat(studio): a dashboard list's New opens the app's design mode on its dashboards #37368).377ca896: all green. Lint & Repo Gates, TypeScript Type Check, Test Core, Governed Surface Queue Guard, Lint UI, Type Check UI, Test UI (shards 1-9 and the aggregate), Build & E2E UI, Live E2E UI, Dogfood Regression Gate, Check Changeset, PR-body guards and Type Check · debt ledger all succeeded; Build Core was skipped (the PR fast set).git push, this comment. MCP: reads only (pull_request_readget_check_runs x3).objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H
Finalized head for L1 · 2026-11-26T02:41Z ·
377ca896· zone a4-S (#36909 → PR #37383)377ca896: 38 success, 13 skipped, 0 failed. K: 3 behindmain;merge-treeis clean.check-governed-merges.mjs --pr 37383: not governed and under 3,000, so not Tier H. The zone lands it after ACCEPT.done) and merge-main addendum 7180856694./studio/:packageIdand/studio/:packageId/:tabnow renderStudioPillarRedirect. One table (studioPillarRedirectModel.ts) sends every retired pillar address to its new page in a single redirect: data, automations, access, interfaces, the bare package, a.custompair and every~orgaddress./dataused to take two hops, bare/studio/PKGthree,/studio/~orgtwo.AREA_PILLAR_FOR_TYPE,areaItemPillarPath,STUDIO_ORG_SCOPE_PILLAR(it survives only as the literal'automations'row of the redirect table),useRequestedSurface, the?surface=capture and mirror hooks, and the surface's in-place pillar redirects andPILLARS.studio.app.tsneeds no change: all 15 nav entries reach a settled address in one hop.engine.studio.pillar.*) was already gone, per the claim.origin/mainmerged with no conflicts. One semantic fix came with it: feat(console): a 「⋯」 package menu in Studio's top bar; Import on Setup → Packages #37362's newStudioPackageMenu-37139.test.tsxis wrapped inStudioPillarRedirect, the same change as the other 37 surface tests. No source file changed in that round. 286 files / 2,317 tests pass, and both type-checks exit 0.studioHomePathcallers, andsetupMetadataRedirect's legacy Setup bookmarks, which take two hops): A, as a small next-round follow-up, not filed during the wind-down. Every one of them lands correctly today with one more redirect.engine.studio.notFound.pillar(en and zh) still tells users to 「pick Data, Automations, Interfaces, Access or All metadata above」, pillars that no longer exist.StudioAiCopilotstill reads:taband?surface=as pillar context (cloud#1610).Clause-②: no(@object-ui/app-shellis private),Metadata-protocol: none. The head is frozen now.objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#4 · os-justin · session_01QSeKYngc1UxywCSQwtqdZz
os-dev-report
Addendum 2 to 7179500392: the rework round for L1 7181710790 (PR #37383).
1d782fb0(one commit on top of377ca896, pushed once as a fast-forward; no main merge, K was 6).studioSamePageSearch(studioPaletteModel.ts), its import, and itsitblock instudioPaletteModel-36900.test.ts.pageQuerystays (studioPaletteDeparturereads it).git grep studioSamePageSearchunderui/returns 0.issue_patch; 13044 bytes sent, 13044 stored, signed trailer still last). Also in the body: 37 → 38 wrapped surface tests, and a Tests bullet naming the new pin.StudioDesignSurface.heldDataCreate-26845.test.tsx. The stand-in sheet now asks for{ type: 'permission', name: 'acme_sales_rep' }; the request lands on/studio/PKG/metadata/permission/acme_sales_repon a writable base, and on/studio/PKG.custom/metadata/permission/acme_sales_repon a read-only base with a pair.scripts/ablation-replace.mjs:requestSurfacenarrowed back totarget.type === 'object'. Anchor hit x1, mutation landed (blobda3b6c68301c→6dadace116bf),Tests 2 failed | 3 passed (5). The two failures are exactly the two new cases. Restored to the HEAD blobda3b6c68301c, andgit diff HEADwas empty.studioMenuModel.ts(the "## Entries" paragraph no longer namesareaItemPillarPath) andstudioAddress.guard.test.ts(its rationale no longer namesSTUDIO_ITEM_PILLAR).1d782fb0(fresh install,@object-ui/console^...closure built under the lock):pnpm --filter @object-ui/app-shell type-checkandpnpm --filter @object-ui/console type-check: VERDICT command-exit 0, 0error TS.vitest run packages/app-shell/src/views/studio-design apps/console/src/components/StudioRoute: Test Files 286 passed (286), Tests 2318 passed (the 2317 of the last round, minus 1 removed and plus 2 added).pnpm check:test-source-alias0; uipnpm check:i18n-keys0;node ui/scripts/check-i18n-dead-keys.mjs0;node scripts/pm/overlap-check.mjsVERDICT clean exit 0 (origin/main, feat(studio): a dashboard list's New opens the app's design mode on its dashboards #37368);pnpm check:nul-bytes0.1d782fb0: all green, no failures, nothing pending. Lint & Repo Gates, TypeScript Type Check, Test Core, Governed Surface Queue Guard, Lint UI, Type Check UI, Test UI (shards 1-9 and the aggregate), Build & E2E UI, Live E2E UI, Dogfood Regression Gate, Check Changeset, PR-body guards and Type Check · debt ledger all succeeded; Build Core was skipped (the PR fast set).git push, one relayissue_patch(the PR body), this comment. MCP: reads only (issue_readget_comments x1,pull_request_readget x1 and get_check_runs x2).objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#4 · os-justin · session_01QSeKYngc1UxywCSQwtqdZz
os-dev-report
Addendum 3 to 7179500392: a merge-main round after L1 ACCEPT 7183016224 (PR #37383).
88cdc8b5. It is one merge commit: I rangit merge --no-edit origin/main(a merge, not a rebase) onto1d782fb0, taking in 18 main commits, and pushed once as a fast-forward.StudioMetadataArea.tsx(feat(studio): a dashboard list's New opens the app's design mode on its dashboards #37368) auto-merged in a different hunk.StudioDesignSurfaceon/studio/:packageId/:tab, so none neededStudioPillarRedirect. Zero hits underui/for a bare mount or for any removed symbol. The tree diff from1d782fb0is main's files only.88cdc8b5(fresh install; the@object-ui/console^...closure built under the lock with VERDICT command-exit 0):pnpm --filter @object-ui/app-shell type-checkandpnpm --filter @object-ui/console type-check: VERDICT command-exit 0, 0error TS.vitest run packages/app-shell/src/views/studio-design apps/console/src/components/StudioRoute: Test Files 286 passed (286), Tests 2325 passed. That is the 2318 of the last round plus feat(studio): a dashboard list's New opens the app's design mode on its dashboards #37368's new tests.pnpm check:test-source-aliasexit 0; uipnpm check:i18n-keysexit 0;node ui/scripts/check-i18n-dead-keys.mjsexit 0;node scripts/pm/overlap-check.mjsVERDICT clean exit 0 against origin/main.88cdc8b5: all green, none failed, none pending. Succeeded: Lint & Repo Gates, TypeScript Type Check, Test Core, Governed Surface Queue Guard, Lint UI, Type Check UI, Test UI (shards 1-9 and the aggregate), Build & E2E UI, Live E2E UI, Dogfood Regression Gate, Check Changeset, PR-body guards, Type Check · debt ledger. Build Core was skipped (the PR fast set).git pushand this comment. MCP: reads only (pull_request_readget_check_runs x2).