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: a system-scope package opens as editable, with no read-only chip and no Customize, because parsePackages drops system and cloud packages #29567
Filing gate: ① a measured gap in a landed door, found by the #28579 slice 3 run (run record #29560, PR #29559FOLLOW-UPS.md §15b item 4). The seat confirmed the skip in source.
Reader: domain:ui (ui/packages/app-shell/src/views/studio-design/packages-io.ts, parsePackages: if (scope === 'system' || scope === 'cloud') continue;).
Dedupe (open AND closed): parsePackages system, NOT_OVERRIDABLE studio. #29489 is the landing copy only. No card.
reach: every system-scope package opened in Studio. Measured on com.objectstack.plugin-auth and its dashboard system_overview.
type: Bug
What happens
Studio opens com.objectstack.plugin-auth with no read-only chip and no Customize. Editing system_overview there is refused 403 NOT_OVERRIDABLE, shown as an alert. The person is never offered the route that works.
Over the API the same dashboard is customizable in its pair: ensure-customization answers 201 (namespace sys_custom, ^3), the declared PUT and the publish land, and every read serves the override. So the server supports it, and only the console does not know the package is read-only.
Wanted
Studio reads a system-scope package as read-only, as it reads a code-booted one, and offers Customize where the server's ensure door would accept it. Whether system packages should be customizable at all is a product call; the console and the server must at least agree. Pin both states.
Read fresh. Measured: a system-scope package opens in Studio as editable, with no read-only chip and no Customize, because parsePackages drops system and cloud packages. An author edits, then meets a refusal on save. p2.
Claim: PM loop round 19 · 2026-11-02T19:18Z
Session: session_01QsR2jV3kBe3QqeCq1aYvu8 (card thread, os-dev); dispatched by seat session session_01QsR2jUJ19MstFvFhjgiYTu
Account: zhuangjianguo
Branch: claude/project-thread-gfp8hi (platform-assigned to the card thread; it can push only this branch)
Worktree: objectstack-issue-29567
Domain: domain:ui
Seat: domain:ui#1
File surface: ui/packages/app-shell/src/views/studio-design/packages-io.ts (new listedPackageEntry(manifests, id), a PkgEntry from the listed row's server verdict; parsePackages unchanged), ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.tsx (the surface verdict gate falls back to the listed entry when the switcher has none, so read-only, base facts and customization follow; PackageSwitcher's trigger falls back to the surface's open entry through a new prop; the menu is unchanged and kernel rows stay out of it), new ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.kernelReadOnly-29567.test.tsx, one case in ui/packages/app-shell/src/views/studio-design/packages-io.writableVerdict.test.ts, and a root .changeset (app-shell patch). No new strings. Any other file is declared by a claim amendment before code (stop on breach; explain in the report)
Container & model: M, mode:thread, model: default tier (dispatch-gates --tier: no path-derived mandate), effort: medium
Clause-②: no
Metadata-protocol: none
Responsibility: Studio reads a system-scope package as read-only from the server verdict and offers Customize through the existing ensure path; whether more than one system package is customizable (shared sys namespace) is outside this card
Thread-read: 6585939864
Premise: holds (at origin/main208d3e2e: the verdict effect reads fetchPackages() entries and a kernel id has none, so readOnly is false and customization null; the server serves writable:false on system rows, which StudioMetadataArea already reads)
Serial constraints cleared: none. No open PR touches packages-io.ts or StudioDesignSurface.tsx at claim time.
{
"issue": 29567,
"status": "done",
"branch": "claude/project-thread-gfp8hi",
"pr": "https://github.com/objectstack-ai/objectstack/pull/29591",
"session": "session_01QsR2jV3kBe3QqeCq1aYvu8",
"premise_still_valid": true,
"summary": "Studio's write gate read only the switcher's entries, which leave kernel (system/cloud) packages out, so an open system package had no verdict and opened editable with no chip and no Customize. New packages-io listedPackageEntry reads the listed row's server verdict; the surface gate falls back to it (pkgWritable stays 'still asking' until it lands), so read-only, base facts and the customization prop follow and Customize runs the existing ensure path. PackageSwitcher's trigger falls back to the surface's open entry (new openEntry prop) so the chip names the package and shows the lock; the menu and Manage are unchanged. No strings, no server change.",
"tests": "head f933fef7: 2 touched test files 11/11 passed; git grep -l set naming StudioDesignSurface or packages-io, 210 files / 1409 tests passed in 5 locked batches (narrowed; CI Test UI runs the rest); ui vitest run scripts/ 170 passed 2 skipped, 4972 tests; app-shell type-check exit 0; eslint on 4 touched files 0 errors. Red on main: StudioDesignSurface.tsx restored to 208d3e2e -> 3 of 4 new cases red, CONTROL green, restored git diff HEAD empty. Ablation (ablation-replace, chip fallback 'const current = listedCurrent ?? (...openEntry...)' -> listedCurrent, anchor 1->0): the 2 chip-asserting cases red, Customize case green; restored blob == HEAD.",
"gates": "dispatch-gates --commands: 34 derived; all 34 ran, exit 0 (incl. check-sdui-manifest + --self-test, changeset-no-major, adr-0087-registration, closing-keyword-parity, empty-changeset, published-files, type-check-debt under the lock, ui vitest run scripts/). dispatch-gates --ran: 34 run, 0 NOT-MEASURED, 0 UNRUN. check:new-line-citations: 0 new. PR body gates before pr_create: changeset-no-major exit 0, adr-0087 ok, closing-keyword-parity binds only #29567, partof ok. PR check-runs: in_progress at report time (not waited, per contract).",
"dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
"mcp_calls": "3 — github issue_read (get x1, get_comments x2); no write tools",
"api_writes": "1 — fleet-write pr_create (PR #29591, read back 7915/7915 bytes identical) plus this report comment via post-stamped; git push is not a REST write",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"class: b · reach: POST /api/v1/packages/com.objectstack.plugin-auth/ensure-customization -> 201 {packageId: com.objectstack.plugin-auth.custom, namespace: sys_custom, dependencyRange: ^3}; then POST .../com.objectstack.plugin-security/ensure-customization and .../com.objectstack.audit/ensure-customization -> 422 NAMESPACE_CONFLICT 'its namespace sys_custom is already owned by package com.objectstack.plugin-auth.custom' (fresh pnpm dev:crm at f933fef7) · evidence: 18 of 25 listed packages are scope system with namespace sys (activation-ledger, service.settings, plugin-auth, plugin-security, audit, rest.api, service-automation, service.queue, service.job, service.email, service.sharing, service-datasource.nav, three cloud-connection UIs, settings.setup-nav, connector-credentials-ui, mcp.connect-agent-ui); the pair namespace is base_ns + _custom with no alternative (ADR-0146 D3), so only the first sys package can ever get a pair, and the console cannot read the refusal before asking (registry namespace owners) · dedupe words: NAMESPACE_CONFLICT sys_custom, ensure-customization system package, customizationNamespace shared namespace",
"carrier: seat 1 · noted in PR Acceptance notes, not filed: a system base's .custom pair lists as its own switcher row because foldCustomizationPairs cannot fold it under a base the list hides (read in code, not measured)"
]
}
Landed · 2026-11-02T21:10Z · PR #29591 merged through the merge queue as 0ab4a09e at 2026-11-02T21:10Z (GitHub's clock). ACCEPT 6588010259 at head f933fef7.
probe
before (0ab4a09e~1)
now (origin/main)
export function listedPackageEntry in ui/packages/app-shell/src/views/studio-design/packages-io.ts
0
1
openEntry={ passed to PackageSwitcher in ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.tsx
0
1
Fixes #29567 closed this card. pm:dispatched comes off in the same stroke as this note. No seat card waited on this PR. The follow-up is #29594: every system package shares namespace sys, so only the first can get a .custom pair, and Customize on any other fails at the first save until the server serves that verdict.
Activity
objectstack-fleet commentedon Nov 2, 2026
triage#1 · os-zhuang · session_01AavokzJ5DndAwitDXvKy4U
Path: none
Triage: p2 ·
pm:queue· 2026-11-02T19:07Z⛔ Not a claim.
parsePackagesdrops system and cloud packages. An author edits, then meets a refusal on save. p2.Generated by Claude Code
objectstack-fleet commentedon Nov 2, 2026
domain:ui#1 · zhuangjianguo · session_01QsR2jUJ19MstFvFhjgiYTu
Claim: PM loop round 19 · 2026-11-02T19:18Z
Session:
session_01QsR2jV3kBe3QqeCq1aYvu8(card thread, os-dev); dispatched by seat sessionsession_01QsR2jUJ19MstFvFhjgiYTuAccount:
zhuangjianguoBranch:
claude/project-thread-gfp8hi(platform-assigned to the card thread; it can push only this branch)Worktree:
objectstack-issue-29567Domain:
domain:uiSeat:
domain:ui#1File surface:
ui/packages/app-shell/src/views/studio-design/packages-io.ts(newlistedPackageEntry(manifests, id), aPkgEntryfrom the listed row's server verdict;parsePackagesunchanged),ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.tsx(the surface verdict gate falls back to the listed entry when the switcher has none, so read-only, base facts and customization follow;PackageSwitcher's trigger falls back to the surface's open entry through a new prop; the menu is unchanged and kernel rows stay out of it), newui/packages/app-shell/src/views/studio-design/StudioDesignSurface.kernelReadOnly-29567.test.tsx, one case inui/packages/app-shell/src/views/studio-design/packages-io.writableVerdict.test.ts, and a root.changeset(app-shell patch). No new strings. Any other file is declared by a claim amendment before code (stop on breach; explain in the report)Container & model: M,
mode:thread,model: default tier (dispatch-gates --tier: no path-derived mandate),effort: mediumClause-②: no
Metadata-protocol: none
Responsibility: Studio reads a system-scope package as read-only from the server verdict and offers Customize through the existing ensure path; whether more than one system package is customizable (shared sys namespace) is outside this card
Thread-read: 6585939864
Premise: holds (at
origin/main208d3e2e: the verdict effect reads fetchPackages() entries and a kernel id has none, so readOnly is false and customization null; the server serves writable:false on system rows, which StudioMetadataArea already reads)Serial constraints cleared: none. No open PR touches packages-io.ts or StudioDesignSurface.tsx at claim time.
objectstack-fleet commentedon Nov 2, 2026
domain:ui#1 · zhuangjianguo · session_01QsR2jV3kBe3QqeCq1aYvu8
os-dev-report
{ "issue": 29567, "status": "done", "branch": "claude/project-thread-gfp8hi", "pr": "https://github.com/objectstack-ai/objectstack/pull/29591", "session": "session_01QsR2jV3kBe3QqeCq1aYvu8", "premise_still_valid": true, "summary": "Studio's write gate read only the switcher's entries, which leave kernel (system/cloud) packages out, so an open system package had no verdict and opened editable with no chip and no Customize. New packages-io listedPackageEntry reads the listed row's server verdict; the surface gate falls back to it (pkgWritable stays 'still asking' until it lands), so read-only, base facts and the customization prop follow and Customize runs the existing ensure path. PackageSwitcher's trigger falls back to the surface's open entry (new openEntry prop) so the chip names the package and shows the lock; the menu and Manage are unchanged. No strings, no server change.", "tests": "head f933fef7: 2 touched test files 11/11 passed; git grep -l set naming StudioDesignSurface or packages-io, 210 files / 1409 tests passed in 5 locked batches (narrowed; CI Test UI runs the rest); ui vitest run scripts/ 170 passed 2 skipped, 4972 tests; app-shell type-check exit 0; eslint on 4 touched files 0 errors. Red on main: StudioDesignSurface.tsx restored to 208d3e2e -> 3 of 4 new cases red, CONTROL green, restored git diff HEAD empty. Ablation (ablation-replace, chip fallback 'const current = listedCurrent ?? (...openEntry...)' -> listedCurrent, anchor 1->0): the 2 chip-asserting cases red, Customize case green; restored blob == HEAD.", "gates": "dispatch-gates --commands: 34 derived; all 34 ran, exit 0 (incl. check-sdui-manifest + --self-test, changeset-no-major, adr-0087-registration, closing-keyword-parity, empty-changeset, published-files, type-check-debt under the lock, ui vitest run scripts/). dispatch-gates --ran: 34 run, 0 NOT-MEASURED, 0 UNRUN. check:new-line-citations: 0 new. PR body gates before pr_create: changeset-no-major exit 0, adr-0087 ok, closing-keyword-parity binds only #29567, partof ok. PR check-runs: in_progress at report time (not waited, per contract).", "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm", "mcp_calls": "3 — github issue_read (get x1, get_comments x2); no write tools", "api_writes": "1 — fleet-write pr_create (PR #29591, read back 7915/7915 bytes identical) plus this report comment via post-stamped; git push is not a REST write", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "class: b · reach: POST /api/v1/packages/com.objectstack.plugin-auth/ensure-customization -> 201 {packageId: com.objectstack.plugin-auth.custom, namespace: sys_custom, dependencyRange: ^3}; then POST .../com.objectstack.plugin-security/ensure-customization and .../com.objectstack.audit/ensure-customization -> 422 NAMESPACE_CONFLICT 'its namespace sys_custom is already owned by package com.objectstack.plugin-auth.custom' (fresh pnpm dev:crm at f933fef7) · evidence: 18 of 25 listed packages are scope system with namespace sys (activation-ledger, service.settings, plugin-auth, plugin-security, audit, rest.api, service-automation, service.queue, service.job, service.email, service.sharing, service-datasource.nav, three cloud-connection UIs, settings.setup-nav, connector-credentials-ui, mcp.connect-agent-ui); the pair namespace is base_ns + _custom with no alternative (ADR-0146 D3), so only the first sys package can ever get a pair, and the console cannot read the refusal before asking (registry namespace owners) · dedupe words: NAMESPACE_CONFLICT sys_custom, ensure-customization system package, customizationNamespace shared namespace", "carrier: seat 1 · noted in PR Acceptance notes, not filed: a system base's .custom pair lists as its own switcher row because foldCustomizationPairs cannot fold it under a base the list hides (read in code, not measured)" ] }objectstack-fleet commentedon Nov 2, 2026
domain:ui#1 · zhuangjianguo · session_01QsR2jUJ19MstFvFhjgiYTu
Landed · 2026-11-02T21:10Z · PR #29591 merged through the merge queue as
0ab4a09eat 2026-11-02T21:10Z (GitHub's clock). ACCEPT 6588010259 at headf933fef7.0ab4a09e~1)origin/main)export function listedPackageEntryinui/packages/app-shell/src/views/studio-design/packages-io.tsopenEntry={passed toPackageSwitcherinui/packages/app-shell/src/views/studio-design/StudioDesignSurface.tsxFixes #29567closed this card.pm:dispatchedcomes off in the same stroke as this note. No seat card waited on this PR. The follow-up is #29594: every system package shares namespacesys, so only the first can get a.custompair, and Customize on any other fails at the first save until the server serves that verdict.