Skip to content

Studio:以 .custom 配对包打开时,仪表盘和报表经基础包的应用打开(而不是留在通用条目页) #37237

Description

@objectstack-fleet

repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H

④ sub-issue of #36890 · Source: #36906's os-dev report 7153618697, open question 1. Seat repo:objectstack#4 ruled 「B: file a follow-up card」. Part of #36890.

维护者速读

What

Done when

  • A dashboard and a report of hotcrm.custom (or a fixture shaped like it) open in the base app's edit state and builder, and × returns to the Studio list.

Notes

Activity

  1. added
    priority:p2
    pm:blocked
    domain:ui
    on Nov 25, 2026
  2. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    First touch 2026-11-25T06:36Z. Type Feature. It is a #36890 sub-card (the seat's 「B」), so it is pre-authorized. p2 and pm:blocked are kept, and the card is linked under #36890. Line form below, so the unlock scan reads it.

    Blocked-by: #36906

  3. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Triage: unblocked 2026-11-25T13:38Z

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H

    Claim: PM loop round 3
    Session: session_01QSeKYkkwuF6UuFtu85Yd5H
    Account: os-justin
    Branch: claude/issue-37237-custom-pair-base-app
    Worktree: cloud session (its own container)
    Domain: domain:ui
    Seat: repo:objectstack#4
    Area: a4-S
    File surface: studio-design/studioAppEdit.ts (#36906's decision-6 rule) and studio-design/StudioAreaAppOpen.tsx (the area's step), their tests, a changeset. ⛔ A plain package's behaviour does not change; no server or spec change; no new route (stop on breach; explain in the report)
    Container & model: S, mode:cloud, model: default — dispatch-gates.mjs --tier: "Model tier — no path-derived mandate", effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 7164093872
    Premise: holds (read on origin/main a182fbe3). studioAppEdit.ts resolves the app only among the open package's own apps (rememberedPackageApp, studioAppEditSegment :85-105) and has no .custom pair leg.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYnbST7agSKJw3XyNc3

    os-dev-report

    {
      "issue": 37237,
      "status": "done",
      "branch": "claude/issue-37237-custom-pair-base-app",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/37348",
      "session": "session_01QSeKYnbST7agSKJw3XyNc3",
      "premise_still_valid": true,
      "summary": "StudioAreaAppOpen now handles a customization pair (customizationPairBaseOf) that has no published app of its own. For an item open, it reads the base's published apps (one extra read, on the pair leg only) and runs the unchanged decision-6 rule (studioAppEditSegment) over them with the base id. A pair's dashboard opens in the base app's edit state and a pair's report in its builder; ?studio= carries the pair's list, so × returns there. A pair whose base has no app keeps the generic item page. A pair with its own app opens there with no base read. A plain package is unchanged. studioAppEdit.ts only gains a doc paragraph. No server, spec or route change. The old pin 'a pair row keeps the generic item page' was replaced, since that is the behaviour this card flips.",
      "tests": "HEAD 7e57a1c7. vitest StudioAreaAppOpen-36906.test.tsx + studioAppEdit.test.ts: Test Files 2 passed (2), Tests 29 passed (29) (lock VERDICT command-exit 0). app-shell type-check: VERDICT command-exit 0. Ablations via scripts/ablation-replace.mjs on StudioAreaAppOpen.tsx. vitest resolves app-shell src directly, so there is no dist leg. A1, pair leg removed: 3 failed (pair dashboard, pair report, base-without-app). A2, segment uses the pair id: 1 failed (pair dashboard). A3, own-app check removed: 1 failed (pair with its own app). A4 CONTROL, leg fires for any package: 1 failed (plain package's single app read). Each leg's mutation landed (anchor 1->0, blob changed) and was restored (blob == HEAD, git diff HEAD empty). The first A3 try was an anchor miss (refused, exit 3, nothing ran). The second was refused for an ambiguous replacement marker. The reported A3 is the third run.",
      "gates": "Local: dispatch-gates --commands derived 38 families; all 38 ran and exited 0. --ran reconciliation with exit codes: '38 run, 0 NOT-MEASURED (a DERIVED zero)'. check:query-options-erasure and check:type-check-debt hit my 300 s per-command cap (exit 124) and were re-run uncapped: exit 0. check:test-source-alias (root): exit 0. check:i18n-keys lives in ui/ (the root has no such script, exit 254): (cd ui && pnpm check:i18n-keys) exit 0. overlap-check: VERDICT clean exit 0 (auto-scan found 0 sharing PR heads); with --pr=37341,37338 both merge cleanly. claude/issue-37236-customized-meaning shares no file and merge-tree exits 0. No remote branch or PR head for #37269 was found. CI on 7e57a1c7: all 51 check runs completed success or skipped. That includes Check Changeset, PR-body guards, Lint & Repo Gates, TypeScript Type Check, Type Check UI, Lint UI, Build & E2E UI, Live E2E UI, Test UI (9 shards + aggregate), Test Core and Dogfood Regression Gate.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "8 — all reads: issue_read get (1), issue_read get_comments (1), pull_request_read get_check_runs (4), pull_request_read get_status (1), plus this count's own final check; no MCP writes",
      "api_writes": "2 relay strokes as objectstack-fleet[bot]: pr_create via fleet-write dispatch (POST /repos/objectstack-ai/objectstack/pulls draft + POST issues/37348/assignees os-justin; read-back 5279 bytes identical), and this os-dev-report comment via post-stamped.mjs (POST issues/37237/comments). git push x2 (not REST).",
      "open_questions": [
        { "question": "Should the report list's New, on a pair's own area, also open the base app's new-report page? Today it stays the area's create. On the base's area with the pair door open, New already goes to the base app.", "options": ["A leave it: the card names item opens only", "B extend the pair leg to studioAppCreateSegment (about 2 lines + 1 pin)"], "recommendation": "A for this PR. If the seat wants B, it is a small follow-up card." },
        { "question": "Reachability was confirmed with a pin and by reading the code, not in a browser. From the Studio menu, a package (base) list links a pair row as ./NAME?package=PAIR, and areaLocationRedirect re-roots it onto the pair. The menu's environment entry (~all with ?scope=environment) keeps rows in environment scope and does not re-root. Is that enough?", "options": ["A accept the pin (the new 'reached from the base's list' case drives the real redirect)", "B run a HotCRM-shaped browser pass at L2"], "recommendation": "A, because the pin drives the real StudioMetadataArea redirect and routes" }
      ],
      "security_findings": "none",
      "out_of_scope_findings": []
    }
    

    Generated by Claude Code

  8. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H

    Finalized head for L1 · 2026-11-25T21:43Z · 7e57a1c7 · zone a4-S (#37237 → PR #37348)

    • CI on 7e57a1c7: 38 success, 13 skipped, 0 failed. K: 6 behind main; merge-tree is clean.
    • Size: +118 / −19, 4 files. check-governed-merges.mjs --pr 37348: not governed and under 3,000, so not Tier H. The zone lands it after ACCEPT.
    • Final report: 7174682607, status done.
      • StudioAreaAppOpen adds a pair leg (customizationPairBaseOf): one read of the base's published apps, only when the pair has no app of its own, then the unchanged decision-6 rule.
      • × returns to the pair's list. A pair whose base has no app keeps the generic item page, and a plain package is unchanged.
      • The old pin 「a pair row keeps the generic item page」 is replaced on purpose.
    • Zone rulings on the open questions:
      • Q1, the report list's New on a pair's own area: A, left as the area's create. The card names item opens only. The base's area with the pair door already sends New to the base app.
      • Q2, how reachability is shown: A, the pin is accepted. It drives the real StudioMetadataArea redirect from the base's list (?package=PAIR re-roots), which is the path the claim named.
    • The head is frozen now.
  9. removed
    pm:dispatched
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:uxdomain:uipriority:p2

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions