Skip to content

Studio 重构(3-4):Studio 列表点仪表盘、报表,直接进应用里的编辑状态;× 回 Studio 列表;报表「新建」进 /apps/<应用>/reports/new #36906

In progress

Description

@os-support-ai

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

③ topic child · Source: topic #36890. Maintainer: 「报表、仪表盘这些开发好的,可以页显示列表,点击之后直接弹出前端的设计页面吗?」; decisions 3, 6, 13, 15. Part of #36890.

今天(读代码确认,主干 0819cab)

  • 仪表盘:AS/layout/designModeArrival.ts 的导航状态 + DashboardView 到达即进编辑;路由 /apps/<应用>/dashboard/:name(AS/console/AppContent.tsx:1692)。报表:AS/views/reportBuilderArrival.ts 同一种机制,ReportView 到达即开构建器。Studio 和应用在同一个 BrowserRouter 里,带状态的 navigate 两者都能直接用(不需要另造报表入口)。
  • 编辑按钮的门:useDashboardEditOffered(ownerPackageId)(AS/views/DashboardInPageEditor.tsx:196-199),不属于任何包的不给编辑,手机上不提供。
  • SD/StudioBackToApp.tsx:54-73 第一优先是「作者来的那个应用页面」,不看它属于哪个包(从设置进来时是设置)。
  • 元数据区今天把仪表盘、报表转去界面分区(AREA_PILLAR_FOR_TYPE);Studio「界面」整栏作废:顶部导航去掉「界面」,原来在里面改的东西各有去处;前置的运行界面入口全部落地后再摘 #36502 之后变成通用详情。

要做的

  1. 在 AreaItemOpen(SD/StudioMetadataArea.tsx)加「转到应用编辑态」一支:仪表盘带 designModeArrival 状态、报表带 reportBuilderArrival 状态打开 /apps/<应用>/dashboard|report/:name。
  2. 「在哪个应用里打开」按决定 6:① 记住的应用属于当前包(或它的菜单里有这一项)用它;② 否则当前包发布的第一个应用;③ 都没有或不属于任何包,退回通用详情(决定 3)。
  3. 「从 Studio 来」放进地址参数(决定 15):编辑态页头加 ×,回 Studio 列表;刷新后仍在。
  4. 报表列表的「新建」→ /apps/<应用>/reports/new(决定 13;Design mode: creating a report inside it shows two Save/Cancel sets and can silently detach. Make report editing its own entry, mutually exclusive with design mode (Twenty's model) #36692 / PR fix(console): report editing is its own entry, mutually exclusive with design mode #36848 之后唯一的新建入口)。仪表盘「新建」另一张卡做。
  5. 安装来的应用上保存仪表盘要写到 .custom:在 HotCRM 上确认一次(报表已有 报表编辑器保存应用包里自带的报表时返回 403,没有写到 .custom 覆盖包 #36716 这类缺陷)。

验收

  • HotCRM 和自建应用各走一次:Studio 仪表盘列表点一项 → 应用里编辑态 → × 回 Studio 列表;报表同样;刷新编辑页后 × 仍回 Studio。
  • 从设置进 Studio 再点仪表盘,打开的是当前包的应用,不是设置。
  • fix(console): report editing is its own entry, mutually exclusive with design mode #36848 之后「设计模式开着时报表『编辑』不显示」的互斥,从 Studio 过来时验证一次。

Blocked-by: #36899
Blocked-by: #36692
Blocked-by: #36716

Grading: area:ux · Feature · Studio ↔ runtime editing round trip · builders, often · evidence: read from code. Maintainer-sourced topic child ⇒ p2.
Dedupe: covered by #36890; touches #36692 / PR #36848 and #36716 (prerequisites).
Reader: seat repo:objectstack#3, one os-dev card. Size M (the plan's 3-4 and 3-5 merged into one card per the review). Metadata-protocol: none. Wave 3.

Activity

  1. added
    enhancement
    priority:p1
    pm:blocked
    domain:ui
    on Nov 24, 2026
  2. added
    priority:p2
    and removed
    priority:p1
    on Nov 24, 2026
  3. added
    pm:queue
    and removed
    pm:blocked
    on Nov 24, 2026
  4. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    Contributor

    repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H

    Claim: PM loop round 2
    Session: session_01QSeKYkkwuF6UuFtu85Yd5H
    Account: os-justin
    Branch: claude/issue-36906-dashboard-report-app-edit
    Worktree: objectstack-issue-36906
    Domain: domain:ui
    Seat: repo:objectstack#4
    Area: a4-S
    File surface: ui/packages/app-shell/src/views/studio-design/StudioMetadataArea.tsx (AreaItemOpen: the branch for a dashboard or report), StudioBackToApp.tsx (the app-picking logic studioBackTarget, extracted or reused for decision 6), studioAddress.ts (the "from Studio" param), ui/packages/app-shell/src/layout/designModeArrival.ts, ui/packages/app-shell/src/views/reportBuilderArrival.ts, DashboardView.tsx / ReportView.tsx / DashboardInPageEditor.tsx (the × back to Studio and the arrival gates only), the Studio report list's 新建 (metadata-admin list create), ui/packages/i18n/src/namespaces/studio/**, tests and e2e, and a changeset. ⛔ Not the dashboard 新建 (#36907), not the designers (#36903 / #36904 / #36905), and no public-forms code (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: 7147545461
    Premise: corrected (read on origin/main a10345a).

  5. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 25, 2026
  6. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    Contributor

    repo:objectstack#4 · os-justin · session_01QSeKYmSqW1KzbiTWCnSN1K
    os-dev-report

    {
      "issue": 36906,
      "status": "done",
      "branch": "claude/issue-36906-dashboard-report-app-edit",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/37226",
      "session": "session_01QSeKYmSqW1KzbiTWCnSN1K",
      "premise_still_valid": true,
      "summary": "A plain open of a dashboard or a report in Studio's list now leaves the generic item page and opens the item's page in an app, through the existing arrival states. Dashboards open in their edit state, reports open the builder, and the Studio address is replaced. The app comes from decision 6, a rule now shared with Studio's back link (new pure studioAppEdit.ts; the area's step is StudioAreaAppOpen.tsx). With no app, on the cross-package leg, or when the address asks for an item tool (tab, review, selection), the generic item page stays (decision 3). The app address carries ?studio= with the list (decision 15), built and read only through studioAddress.ts, validated, and registered in urlParams.ts. While it is present, the dashboard page, the report page, the report builder's own x and the new-report page return to the list, asking first over unsaved edits. Report New in Studio opens /apps/APP/reports/new (decision 13). useDashboardEditOffered now also needs a window at least 640 px wide, and a landing on a narrower window is cleared without entering edit. PM mechanism readings measured on a10345abff and 753aae6d: all held. The StudioMetadataArea diff is kept to 3 hunks, and overlap-check merges cleanly with #37089, #37168 and #37169. Primary checkout note: it was detached so the branch could move into the dedicated worktree, then restored to the branch at the final head after cleanup.",
      "tests": "At head 0a2eaf1238 (branch + origin/main a33691e567). (1) The 7 touched or new files: Test Files 7 passed (7), Tests 82 passed (82). (2) The wider set: every DashboardView*/Report* test, views/studio-design/, views/studio-detail/, src/__tests__/, urlParams.test.ts and packages/i18n/. Lock VERDICT command-exit 0, Test Files 466 passed (466), Tests 4880 passed | 13 skipped. (3) pnpm --filter @object-ui/app-shell run type-check, both tsc programs: lock VERDICT command-exit 0, 0 error TS. (4) Ablation, one, on the pinned behaviour change: scripts/ablation-replace.mjs replaced 'return gated && !designing && fits;' with the gate removed (anchor 1 to 0, blob c9d12dfc to 54895fbf). The phone pin then failed: Tests 1 failed | 22 skipped. Restored: blob == HEAD (c9d12dfc), git diff HEAD empty. ui tests resolve src directly, so no dist leg applies. (5) Live walk-through on a per-agent stack: examples/app-crm via objectstack dev --seed-admin --fresh -p 4317, Console by Vite from ui source on :5317 --strictPort, Playwright as the seeded admin, starting in Settings. 13 PASS, 0 FAIL, 0 page errors at 0a2eaf1238 (and at 74520e5 before the merge). Covered: a list row click opens /apps/com.example.crm/dashboard/crm_pipeline_dashboard?studio=... in the edit state, in the package app, not Settings. x returns to the list; after a reload x is still there and returns, with no edit reopened. Report New opens /apps/com.example.crm/reports/new?studio=...; Save lands on the report with ?studio= kept, and its x returns. A report opened from the list lands in its builder, and the builder x returns. At a 390 px window there is no edit state. HotCRM half: NOT MEASURED, because no HotCRM checkout or install is in this session (the card's walk-through and item 5 live).",
      "gates": "Local, at 0a2eaf1238. dispatch-gates.mjs --commands derived 72 families. All 72 exit 0, recorded as 'cmd :: exit N' and reconciled: 'dispatch-gates --ran: 72 derived famil(ies) accounted for, 72 run, 0 NOT-MEASURED (a DERIVED zero)'. 'pnpm --dir ui exec vitest run scripts/' first exited 99 twice: no lock while my own test run held it, then an OOM SIGKILL. It was re-run with --maxWorkers=1: VERDICT command-exit 0, 172 passed | 2 skipped. check:skill-examples first exited 3 (client-react unbuilt), then exit 0 after the build. Extra: check:test-source-alias exit 0 and overlap-check VERDICT clean before every push (one exception, see deviations). check:nul-bytes exit 0. ui check:new-line-citations exit 0. check-platform-checklist --changed-from origin/main exit 0 (0 anchored files). @objectstack/spec check:generated after the merge exit 0. eslint on the changed ui files: 0 errors after one fix (no-useless-assignment). CI on the PR head 0a2eaf1238: 62 check-runs, 52 success, 10 skipped, 0 failure. Required contexts: Lint & Repo Gates success, TypeScript Type Check success, Test Core (1-3/10 and aggregate) success, Governed Surface Queue Guard success, Lint UI success, Type Check UI success, Test UI (16/16 and aggregate) success, Build & E2E UI success, Live E2E UI success, Dogfood Regression Gate success (shard matrix skipped on PR), Check Changeset success, Build Core skipped (path-filtered).",
      "dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0: no GitHub MCP tool was called (mcp__github__issue_read was loaded through ToolSearch and never invoked). Card, thread, epic and comment reads went through gh api GET.",
      "api_writes": "3 REST writes through the fleet-write relay, as objectstack-fleet[bot]. (1) POST /repos/objectstack-ai/objectstack/pulls, draft #37226 (relay run 45549929029; read-back: 10041 bytes sent, 10041 stored, identical). (2) POST /repos/objectstack-ai/objectstack/issues/37226/assignees, os-justin, the same relay stroke. (3) POST /repos/objectstack-ai/objectstack/issues/36906/comments, this os-dev-report, through post-stamped.mjs. git push is not counted. No labels written: the changeset is present and the dispatch named none.",
      "open_questions": [
        {
          "question": "A package that Studio opens as its .custom pair has no published app of its own, so its dashboards and reports keep the generic item page (decision 6, rule 3). Should a pair resolve through its base package's apps?",
          "options": [
            "A: keep it as shipped. The rule reads the open package only; zero extra reads.",
            "B: when the open package is a .custom pair, read the base package's published apps, the app that serves the pair's items. One more read on that path, about 30 lines plus a pin."
          ],
          "recommendation": "B as a small follow-up card under epic #36890, because HotCRM's customizations live in hotcrm.custom and the base app is where they render. Needs the seat or maintainer to confirm that the pair-as-scope case occurs in Studio's new menu."
        },
        {
          "question": "After a reload, the app page keeps x back to Studio (decision 15) but shows the viewer, not the edit state: the arrival is a one-time navigation state on purpose. Should ?studio= also reopen the editor on reload?",
          "options": [
            "A: keep it as shipped. The way back survives; the editor reopens only on a fresh open from the list.",
            "B: make ?studio= mean 'editing session'. A reload, or a shared link carrying it, opens the editor for anyone the gate admits."
          ],
          "recommendation": "A, because the arrival modules document that a reloaded or shared address must never open an editor by itself, and decision 15 asks only that x survive."
        },
        {
          "question": "Where the x sits: at the right end of the page header's actions, labelled Back to Studio. The console PageHeader has no leading slot, and adding one is a new optional prop on the published ConsolePageHeader (Clause-2 yes).",
          "options": [
            "A: keep it right-aligned (Clause-2 no).",
            "B: add a leading slot so x sits top-left like Studio's detail header (Clause-2 yes, L2 owed)."
          ],
          "recommendation": "A for this card; B only if the maintainer wants exact parity with Studio's top-left x."
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "class: none (note, not filed) · reach: not measured · Outside Studio, the report builder's own x still closes over unsaved edits without asking (the ReportView close handler, unchanged here). Decision 12 says x intercepts. Read from code only, no live repro, so not filed · dedupe words: report builder close unsaved, report builder discard prompt, report x confirm · carrier: none",
        "class: none (note, not filed) · reach: not measured · On an installed (read-only) app, the new-report page saves with no package target. Whether it lands in the .custom pair the way the report page's ensure-door save does (fixed under #36716) is unmeasured: no installed app was in this session · dedupe words: report new installed package custom, reports/new 403, new report read-only base · carrier: none",
        "deviation: the merge-from-main push (0a2eaf1238) went out before check:test-source-alias and overlap-check. Both ran immediately after on that same head: exit 0 and VERDICT clean.",
        "deviation: the claim's file surface did not name ReportNewPage.tsx, ReportBuilderHost.tsx (whose close callback now carries dirty; it is not a package export), urlParams.ts, the two arrival modules' header comments, or content/docs/frontend/plugins/plugin-dashboard.mdx. Each was needed for decisions 13 and 15 on the new-report page, the reserved-param registry, and ui rule 2 (docs).",
        "deviation: the first edit hit the shared primary checkout and the hook refused it. The branch was then moved into ../objectstack-issue-36906 by detaching the primary checkout. Both are restored: the worktree is removed, and the primary checkout is on the branch at 0a2eaf1238."
      ]
    }
  7. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    Contributor

    repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H

    Finalized head for L1 · 2026-11-25T05:42Z · 0a2eaf1238 · zone a4-S (#36906)

    • CI on 0a2eaf1238: 52 success, 10 skipped (path filters, opt-in and queue jobs), 0 failed.
    • Size: +1,223 / −42 across 33 files. check-governed-merges.mjs --pr 37226: NOT governed, 1,265 changed lines, under the 3,000 threshold. So this is not Tier H.
    • The dev's os-dev report is Studio 重构(3-4):Studio 列表点仪表盘、报表,直接进应用里的编辑状态;× 回 Studio 列表;报表「新建」进 /apps/<应用>/reports/new #36906 comment 7153618697. Locally: 466 test files and 4,880 tests passed; app-shell type-check 0 errors; 72 of 72 derived gate families exit 0; one ablation on the phone-width gate (red, then restored). A live walk-through on examples/app-crm passed 13 of 13 steps with 0 page errors.
    • What changes for a user: a plain open of a dashboard or report in Studio's list now opens it in its app: a dashboard in its edit state, a report in the builder. The app is chosen by decision 6, which is now shared with Studio's back link. ?studio= carries the way back to the list. × returns to the list and asks first when there are unsaved edits. Report 「New」 opens /apps/APP/reports/new. Dashboard edit also needs a window at least 640 px wide.
    • Two open questions, put to seat 4:
      1. A package opened as its .custom pair has no published app, so its dashboards and reports keep the generic item page. The dev recommends B, a follow-up card that resolves the pair through its base package's apps.
      2. After a reload, × still returns to the list but the page shows the viewer, not the edit state. The dev recommends A, keep as shipped: a reloaded or shared address never opens an editor by itself.
    • Deviations the dev declared: the claim's file surface did not name ReportNewPage.tsx, ReportBuilderHost.tsx, urlParams.ts, the arrival modules' header comments or content/docs/frontend/plugins/plugin-dashboard.mdx, and each was needed for decisions 13 and 15. The merge-from-main push went out before the alias and overlap checks, which then ran on that same head: exit 0 and clean.
  8. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    Contributor

    repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H

    PR #37226 body updated by the PM at 2026-11-25T05:48Z, head unchanged at 0a2eaf1238. The two Acceptance-notes bullets now carry seat 4's rulings: follow-up card #37237 for a .custom pair's dashboards and reports (B), and the reload behaviour kept as shipped (A). The dev declined to PATCH the body under os-dev.md rule 3, which is correct, so the PM applied it through the relay.

  9. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    Contributor

    repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H

    Rework round dispatched · 2026-11-25T05:56Z · PR #37226 from 0a2eaf1238

  10. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    Contributor

    repo:objectstack#4 · os-justin · session_01QSeKYokyE3hgberJHmAFME
    os-dev-report

    {
      "issue": 36906,
      "status": "done",
      "branch": "claude/issue-36906-dashboard-report-app-edit",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/37226",
      "session": "session_01QSeKYokyE3hgberJHmAFME",
      "premise_still_valid": true,
      "summary": "REWORK round on draft #37226, every point of L1 7154262162 fixed. M1: the new-report page opened from Studio saves into the app's package through resolveRuntimeCreatePackage + saveAndPublishInPackage (the package when writable, else its .custom pair through the ensure door, else package-less as views fall back); runtime-metadata-persistence.ts itself is unchanged, and outside Studio a new report is saved where it was before (pinned). M2: StudioAreaAppOpen reads the item once (published, ?package= the open package) before handing over; no published version or a failed read keeps the generic item page. Chose the read over the list row's draft mark because it covers every way into the address (click, typed or shared link, the create landing) and asks exactly what the app asks. Studio's dashboard New -> Save now replaces the create page's history entry for a dashboard or report in a package's area (studioCreateLandsInApp, read by ResourceEditPage), so Back from the app lands on the list. S1/S4: the new-report page's x and the report builder's x ask over unsaved edits on both legs. S5: read-only base cases added; report New on a read-only base opens the app page only where the pair door is open, else goes back to the list. S2/S3/N2/N3 done; N1 HotCRM leg NOT MEASURED, carried to #36910; Fixes #36906 and both seat rulings kept word for word. origin/main d7f299c0 merged; final head 08107d2f.",
      "tests": "At 08107d2f: the 7 touched test files (ReportNewPage-36692, ReportView.designModeExclusion-36692, StudioAreaAppOpen-36906, studioAppEdit, studioAddress, DashboardView.inPageEdit-36372, urlParams): lock VERDICT command-exit 0, Test Files 7 passed (7), Tests 99 passed (99). pnpm --filter @object-ui/app-shell run type-check (both tsc programs): exit 0, 0 error TS. At 727300e5 (same tree as 427168aa, before the d7f299c0 merge, which touches none of this PR's files): wider set = every DashboardView*/Report*/ResourceEditPage*/runtime-metadata-persistence* test + views/studio-design/ + views/studio-detail/ + src/__tests__/ + src/preview/ + urlParams.test.ts + packages/i18n/: lock VERDICT command-exit 0, Test Files 585 passed (585), Tests 5662 passed | 13 skipped. eslint on the 9 changed ui files: 0 errors. Ablations (7, each through scripts/ablation-replace.mjs under the lock, anchor x1 -> x0, restore proven blob == HEAD and git diff HEAD empty; ui tests resolve src, no dist leg): (1) new-report ask line removed -> 2 failed | 11 passed; (2) only `dirty &&` dropped -> the 2 clean-x pins fail; (3) package resolve -> null -> 3 failed (package P, pair, and the refusing-door CONTROL, which fails because no door is asked); (4) report builder ask removed -> 2 failed | 6 passed; (5) StudioAreaAppOpen no-published fallback disabled -> 2 failed | 14 passed; (6) studioCreateLandsInApp forced false -> 2 failed | 14 passed; (7) pair-door condition removed from report New -> 1 failed | 15 passed. Live walk at 727300e5, per-agent stack (pnpm dev:crm -- --fresh on :43917, Console by Vite from ui source on :5417, Playwright as the seeded admin): writable package created via POST /api/v1/packages with one published app, 11 PASS 0 FAIL: draft-only dashboard row stays on Studio's item page; Studio dashboard New -> Save lands on /apps/PKG/dashboard/NAME?studio=list in its edit state with no 'not found', Back lands on the list; report New -> app new-report page -> Save -> report page with the way back, GET /meta/report/NAME?package=PKG 200 packageId PKG, x returns to the list and the new report is in it; no page errors. Read-only CRM package (a code package in this stack): report New -> Save stores the report in com.example.crm.custom (a read at ?package=com.example.crm answers 409 naming the pair as holder), x returns to the CRM list and the report is in it; dashboard New there is the area's own pair create and lands on the pair's generic item page (#37237's starting point); no page errors. Stack torn down (ports freed). HotCRM: NOT MEASURED.",
      "gates": "Local at 08107d2f: dispatch-gates.mjs --commands derived 73 families; all 73 exit 0, recorded 'cmd :: exit N' and reconciled: 'dispatch-gates --ran: 73 derived famil(ies) accounted for — 73 run, 0 NOT-MEASURED (a DERIVED zero)'. check:skill-examples first exited 3 (refused: packages/client src newer than its dist after the local history rebuild), 0 after rebuilding client. The ui scripts/ family ran under the lock with --maxWorkers=1: 172 passed | 2 skipped. check:test-source-alias exited 1 at 727300e5 (the new import reaches @objectstack/lint), fixed with the gate's prescribed module-top import, exit 0 since and before the push. overlap-check VERDICT clean exit 0 (origin/main d7f299c0, #37249, #37210, #37169, #37168, #37166). @objectstack/spec check:generated after the merge exit 0. check-platform-checklist --changed-from origin/main exit 0 (0 anchored files). CI on 08107d2f: 66 check-runs, 54 success, 12 skipped, 0 failure, 0 pending. Required: Lint & Repo Gates success, TypeScript Type Check success, Test Core (3 shards + aggregate) success, Governed Surface Queue Guard success, Lint UI success, Type Check UI success, Test UI (16 shards + aggregate) success, Build & E2E UI success, Live E2E UI success, Dogfood Regression Gate success (shard matrix skipped on PR), Build Core skipped (path-filtered). Check Changeset success (x2), PR-body guards success (x2, the second after the body PATCH).",
      "dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0: no GitHub MCP tool was called. Reads of the PR, its body, comments and check-runs went through gh api GET.",
      "api_writes": "2 REST writes through the fleet-write relay, as objectstack-fleet[bot]. (1) PATCH /repos/objectstack-ai/objectstack/issues/37226 (relay issue_patch, run 45573494024, conclusion success; read-back: 18517 bytes sent, 18517 stored, identical; trailer signed, Fixes #36906 and Clause-2: no kept). (2) POST /repos/objectstack-ai/objectstack/issues/36906/comments, this os-dev-report, through post-stamped.mjs. git push (fast-forward 0a2eaf12 -> 08107d2f) is not counted. No labels written; PR stays draft.",
      "open_questions": [
        {
          "question": "Outside Studio, a report made from the app's own reports index (New) is still saved naming no package, so it becomes environment metadata. A new view made in an app is saved into the app's package (ruling C). Should the app's own New save reports the same way?",
          "options": [
            "A: keep as shipped. Only the page opened from Studio's report list resolves a package; the app's own New is unchanged (pinned).",
            "B: resolve the app's package on every new-report save, as views do. A data-placement change for every app's New, about 3 lines plus a pin."
          ],
          "recommendation": "A for this card, because the seat's M1 is the Studio leg and B changes where every app's new reports land; B as its own card if the maintainer wants parity with views."
        },
        {
          "question": "The create landing now replaces the create page's history entry only for a dashboard or a report in a package's area (studioCreateLandsInApp). Every other type, and Setup, still push it, so Back after a create returns to an empty create form there.",
          "options": [
            "A: keep it narrow, as shipped: only where the item page itself leaves for the app at once.",
            "B: replace on every create landing, Studio and Setup alike: Back after any create lands on the list."
          ],
          "recommendation": "A here, because B changes navigation for every metadata type in Setup, outside this card; B is a fair small card of its own."
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "class: none (note, not filed) · reach: not measured · resolveRuntimeCreatePackage's console.warn says 'the view is saved naming no package', and a report from Studio now reaches it too; a developer-console wording, not user-visible · carrier: none",
        "deviation: a local filter-branch meant to add the trailer pair to this round's commits walked the merge's second parent and rewrote origin/main's merged-in commits. It was caught before any push, undone from refs/original, and the round's commits were rebuilt by cherry-pick plus one re-run merge of a386a1d8; git diff --quiet against the tested head 9b75f20c proved the tree identical, and the merge's second parent is main's own a386a1d8. Nothing rewritten ever left the container.",
        "deviation: the harness's attribution reminder asks for a model-named Co-Authored-By trailer; the commits carry AGENTS.md's model-free pair (Claude-Session + Co-authored-by: Claude), which takes precedence by that reminder's own rule.",
        "deviation: the live walk ran at 727300e5, before the final main merge (d7f299c0 touches no file of this PR); the unit tests, type-check and gates were re-run at 08107d2f.",
        "deviation: the primary checkout was detached at the start so the branch could move into ../objectstack-issue-36906, and is restored to the branch at 08107d2f after the worktree's removal.",
        "deviation: the claim's file surface did not name ResourceEditPage.tsx (the create landing's replace for M2's Back requirement)."
      ]
    }
  11. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    Contributor

    repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H

    Finalized head for delta L1 · 2026-11-25T08:32Z · 08107d2f · zone a4-S (#36906)

    • CI on 08107d2f: 54 success, 12 skipped, 0 failed. Mergeable state clean.
    • Size: +1,627 / −52, 1,679 changed lines. check-governed-merges.mjs --pr 37226: NOT governed, under 3,000. After a delta ACCEPT the zone lands it.
    • The dev's final report is 7157110199. It closes L1 7154262162's points:
      • M1: a new report opened from Studio is saved into the app's package, or its .custom pair through the ensure door, or package-less where views also fall back. It goes through resolveRuntimeCreatePackage + saveAndPublishInPackage; runtime-metadata-persistence.ts is unchanged. Outside Studio a new report is saved where it was before, and that is pinned.
      • M2, option (a): a dashboard or report with no published version keeps Studio's item page. It's one published read in StudioAreaAppOpen, asked as the app asks it, covering a click, a typed link and the create landing. Studio's dashboard New → Save now replaces the create page's history entry (studioCreateLandsInApp), so Back lands on the list.
      • S1–S5, N2 and N3 are done. Both seat rulings are kept word for word, and Fixes #36906 stands. N1 (HotCRM) is carried to Studio 重构(4-2):新形态的端到端测试、总走查,更新平台测试清单、文档和技能里的 Studio 地址与说法 #36910.
    • Two open questions from the dev, both recommended A for this card, each B a possible card of its own:
      1. The app's own New, outside Studio, still saves a report with no package. A: keep. B: resolve the app's package as views do.
      2. The create landing's history replace is narrowed to dashboard and report in a package's area. A: keep it narrow. B: every create landing, Setup included.
    • Deviations the dev declared:
      • A local filter-branch rewrote merged-in main commits. It was caught before any push and rebuilt, with the tree proved identical to the tested head.
      • The live walk ran at 727300e5, before the last main merge, which touches no file of this PR. Units, type-check and gates were re-run at 08107d2f.
      • The claim's file surface did not name ResourceEditPage.tsx.
  12. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    Contributor

    repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H

    Rework round 2 dispatched · 2026-11-25T09:35Z · PR #37226 from 08107d2f

    • This round answers seat 4's delta L1 REWORK 7158516979, which has no must-fix:
      • S1: pin the real ResourceEditPage create-landing replace, with a call-site ablation and two CONTROLs;
      • S2: reword 速读 bullet 3 (the "before" main never had), one sentence per line;
      • S3: fix the clock-dependent first save case of ReportNewPage-36692, proven on the tree merged with main;
      • N1: a notice on the refused-door package-less save, the warn text, and the changeset clause.
    • It runs in its own cloud session session_01QSeKYofoAyhBfKixcEM6wT, under the maintainer's rule, on the existing branch and claim 7150737945, at opus with effort high.
    • The PR stays a draft. Seat 4 then reads the delta, and the zone lands it (not Tier H).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:uxdomain:uienhancementpm:dispatchedpriority:p2

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions