diff --git a/docs/qa/platform-checklist/RUNNER.md b/docs/qa/platform-checklist/RUNNER.md index b0741e08b25..89e740aee86 100644 --- a/docs/qa/platform-checklist/RUNNER.md +++ b/docs/qa/platform-checklist/RUNNER.md @@ -294,10 +294,11 @@ contradicts it, and correct it here when it does. packaged (`packages/apps/studio`, `com.objectstack.studio`), but **no stock boot loads it, by design** — both boot paths skip it with the identical note, "`@objectstack/studio` is intentionally NOT default-loaded — the console ships a dedicated Studio surface at - `/_console/studio//`, so Studio no longer needs to exist as a navigable + `/_console/studio/`, so Studio no longer needs to exist as a navigable app tile" (`packages/plugins/plugin-dev/src/dev-plugin.ts`, the ADR-0048 app-package loop; `packages/cli/src/commands/serve.ts`, same loop — both register only - `@objectstack/setup` and `@objectstack/account`). So `?id=studio` is legitimately empty + `@objectstack/setup` and `@objectstack/account`). The bare package address lands on + its 概览 Overview; the old pillar segments only redirect (`studioPillarRedirectModel.ts`). So `?id=studio` is legitimately empty on every stock boot, not just on the showcase, and a stock admin list is `["showcase_app","setup","account"]`. ⛔ Do not file the absence as a missing built-in, and do not install the package to "restore" it — that changes what the boot ships. @@ -1006,7 +1007,7 @@ contradicts it, and correct it here when it does. | trap | what it fakes | counter | |---|---|---| | `hydration-race` | empty nav/list right after navigation | screenshot first; settle; then read DOM | -| `stale-console-bundle` | UI bug already fixed upstream in objectui | check against objectui HMR console / fresh build (skill §2). `packages/console/dist` is a gitignored copy that `pnpm build` never refreshes, so a console older than the tree, or a 404 `/_console/`, reads "rebuild with `pnpm console:build`", never "console broken" | +| `stale-console-bundle` | UI bug already fixed upstream in objectui | check against objectui HMR console / fresh build (skill §2). `packages/console/dist` is a gitignored copy that `pnpm build` never refreshes, so a console older than the tree, or a `/_console/` that answers 503 with "The ObjectStack Console is not built" and that remedy, reads "rebuild with `pnpm console:build`", never "console broken" | | `stale-dist` | src edits with no runtime effect | rebuild package + restart before judging | | `automation-input` | dead buttons / empty submits caused by the driver | ref-targeted clicks; native setter + input/change events | | `shared-browser-tab` | drifting origin, foreign drafts | pin absolute origin; own port/DB (skill §0) | diff --git a/docs/qa/platform-checklist/areas/platform-core.json b/docs/qa/platform-checklist/areas/platform-core.json index 763a8e8be93..38830dc88f3 100644 --- a/docs/qa/platform-checklist/areas/platform-core.json +++ b/docs/qa/platform-checklist/areas/platform-core.json @@ -13,7 +13,7 @@ "priority": "P0", "surface": "mixed", "preconditions": [ - "the run's own boot per dogfood-verification §0: own free port (not 3000/3001/3210, checked with lsof), own file DB (--seed-admin -d file:/tmp//data.db)" + "the run's own boot per dogfood-verification §0: own free port (not 3000, not one a tracked .claude/launch.json entry holds, checked with lsof), own file DB (--seed-admin -d file:/tmp//data.db)" ], "steps": [ "boot examples/app-showcase via `objectstack dev --ui --seed-admin -p -d file:/tmp//data.db`", @@ -662,7 +662,7 @@ ], "knownGaps": [ "the SSO Providers entry (nav_sso_providers → sys_sso_provider) is contributed ONLY when the external-IdP RP is wired (OS_SSO_ENABLED self-host / cloud planAllowsSso — plugin-auth auth-plugin.ts isSsoWired()). On a stock open-framework boot it is ABSENT by design (not gated-and-erroring); assert its absence, never treat it as a missing surface", - "Studio is NOT registered on a stock boot, by product decision — this is a carve-out to ASSERT, not a fixture to provision. STUDIO_APP is defined (packages/platform-objects/src/apps/studio.app.ts) and packaged (packages/apps/studio, com.objectstack.studio), but both boot paths deliberately skip it with the identical note: '@objectstack/studio is intentionally NOT default-loaded — the console ships a dedicated Studio surface at /_console/studio//, so Studio no longer needs to exist as a navigable app tile' (plugin-dev/src/dev-plugin.ts and cli/src/commands/serve.ts, the ADR-0048 app-package loop in each — both register only setup and account). So ?id=studio answering 200 {\\\"items\\\":[]} is the CORRECT observation on every stock boot, not a showcase-specific gap and not a missing built-in. ⛔ Do not install the package to 'restore' it: that changes what the boot ships and is a maintainer decision, not a run's. The prior wave already walked everything reachable here — Setup 43/43 and Account 7/7 destinations, 50/50 ok, zero pageerror (#9453). Studio's own surfaces are covered by area studio-authoring against /_console/studio, not through a nav tile.", + "Studio is NOT registered on a stock boot, by product decision — this is a carve-out to ASSERT, not a fixture to provision. STUDIO_APP is defined (packages/platform-objects/src/apps/studio.app.ts) and packaged (packages/apps/studio, com.objectstack.studio), but both boot paths deliberately skip it with the identical note: '@objectstack/studio is intentionally NOT default-loaded — the console ships a dedicated Studio surface at /_console/studio/, so Studio no longer needs to exist as a navigable app tile' (plugin-dev/src/dev-plugin.ts and cli/src/commands/serve.ts, the ADR-0048 app-package loop in each — both register only setup and account). So ?id=studio answering 200 {\\\"items\\\":[]} is the CORRECT observation on every stock boot, not a showcase-specific gap and not a missing built-in. ⛔ Do not install the package to 'restore' it: that changes what the boot ships and is a maintainer decision, not a run's. The prior wave already walked everything reachable here — Setup 43/43 and Account 7/7 destinations, 50/50 ok, zero pageerror (#9453). Studio's own surfaces are covered by area studio-authoring against /_console/studio, not through a nav tile.", "Browse Marketplace's catalog comes from the cloud registry (default https://cloud.objectos.ai, DEFAULT_CLOUD_URL; cloud ADR-0009 marketplace plugins). Where the environment denies that egress the surface renders the named state 'Failed to load marketplace' with the cause the server answered: where the control plane cannot be reached at all, the runtime's marketplace proxy answers 502 MARKETPLACE_PROXY_FAILED (packages/cloud-connection/src/marketplace-proxy-plugin.ts) and the page reads 'Failed to load marketplace — The marketplace catalog could not be reached.', the raw transport text behind its More control (ui/packages/app-shell/src/console/marketplace/MarketplacePage.tsx, LoadFailureCause; QA run #25812 read the older 'HTTP 502 · fetch failed'); where an egress proxy answers its own refusal, the runtime forwards it and the page names that body (objectui#11688 — QA run #21056 read the older bare 'Forbidden'): score the catalog content blocked(environment) and the named error as the surface rendering honestly — never as a render failure of this item. The environment the catalog leg needs is a boot whose process can reach the control plane: the default packages/cloud-connection/src/cloud-url.ts#DEFAULT_CLOUD_URL (https://cloud.objectos.ai), or an OS_CLOUD_URL that answers. No CI job drives this item, and the QA sandbox's egress proxy denies the host (QA run #21782, parked on #22017 row 10)" ] }, @@ -671,7 +671,7 @@ "GET /api/v1/meta/app with NO query first and record the names actually served — a stock boot answers exactly showcase_app, setup, account. Then GET /api/v1/meta/app?id=account (account.app.ts — Profile + Inbox/Security/Developer groups). ⚠️ GET /api/v1/meta/app?id=studio answers 200 {\"items\":[]} on every stock boot and that is the expected result (knownGap): record the absence as an assertion and move on — do NOT install @objectstack/studio to make the step runnable", "as admin, hand-walk each destination in each app. At a window narrower than 1280 px a browser with no choice kept opens Setup and Account with the sidebar collapsed, and from 1280 px expanded (ui/packages/app-shell/src/layout/consoleSidebarRail.ts CONSOLE_SIDEBAR_RAIL_BELOW_WIDTH, ruling 7069868269 on objectstack#36112); a reader's own collapse or expand is kept per browser, on each side of that width. Collapsed, the sidebar is hidden, with no icon column (ruling 6973617688 on objectstack#35062): press the expand button at the page header's left edge, or press Ctrl/⌘+B, which does the same (ruling 7074574380 on objectstack#36112), to put it back beside the page before expanding any group — or rest the pointer on the window's left edge to float the full menu over the page; the float folds back after each chosen entry, so float it again for the next destination. EXPAND every nav group first: some render collapsed by default — Setup's Advanced group and Account's Developer group declare `expanded: false` (packages/platform-objects/src/apps/setup.app.ts, account.app.ts), and QA run #24557 found Setup's Configuration group collapsed as well — so a walk that never expands them never reaches their entries. Then navigate, wait for render, SCREENSHOT FIRST, then read the DOM — assert no pageerror, no 'failed to load', no blank
, no 'no actions configured' placeholder", "Setup detail: confirm each settings URL entry (nav_settings_* → /apps/setup/system/settings/) opens the settings namespace form — the 11 namespaces of a stock single-posture showcase boot, localization/company/branding/auth/access_policy/mail/sms/storage/ai/lifecycle/knowledge: the nav_settings_* entries of packages/platform-objects/src/apps/setup-nav.contributions.ts, plus nav_settings_branding, which packages/services/service-settings/src/settings-service-plugin.ts contributes only where no organization wall stands (Knowledge, nav_settings_knowledge, is contributed by packages/services/service-knowledge/src/knowledge-settings-contribution.ts only where the knowledge service is mounted, and the showcase mounts it: KnowledgeServicePlugin in examples/app-showcase/objectstack.config.ts, ADR-0161 K4; QA run #38417, at ff69bcab, read all 11 namespaces), and Users / Organization / Business Units / Teams / Sessions / OAuth Applications render. User preferences and identity links are not Setup destinations: open a user's record page, /_console/apps/setup/sys_user/record/ID (a row click on the Users list opens a side panel at ?recordId=, which is not that page: take the id from the row or the panel), and confirm the user page's Preferences and Linked Accounts tabs (packages/platform-objects/src/pages/sys-user.page.ts#SysUserDetailPage) render that user's rows", - "Studio detail is NOT walked from here — the app is not registered on a stock boot (knownGap), so there is no merged nav to render. Its metadata:resource lists and component surfaces (App Builder, All Metadata Types, Packages, API Console, Flow Runs, Public Forms) are reached through the console surface at /_console/studio// and are covered by area studio-authoring. What THIS item asserts about Studio is the absence itself, per clause 6", + "Studio detail is NOT walked from here — the app is not registered on a stock boot (knownGap), so there is no merged nav to render. Its metadata:resource lists and component surfaces (App Builder, All Metadata Types, Packages, API Console, Flow Runs, Public Forms) are reached through the console surface at /_console/studio/ and are covered by area studio-authoring. What THIS item asserts about Studio is the absence itself, per clause 6", "Account detail: confirm Profile (account:profile_card), Mobile App (nav_account_mobile_app), Notifications (sys_inbox_message/mine), Notification Settings (nav_account_notification_settings), Approvals (nav_account_approvals, the approvals:inbox component, served as …/component/approvals/inbox — the Approvals Inbox, not the sys_approval_request grid; account.app.ts), Linked Accounts (sys_account), Active Sessions (sys_session/mine), API Keys (sys_api_key/mine), OAuth Applications (sys_oauth_application/mine) and Connect an Agent (nav_connect_agent) each render — 10 Account destinations and 55 Setup destinations for the admin on a stock single-org showcase boot, as QA run #38417, at ff69bcab, read them served (GET /api/v1/meta/app leaves, which matched the rendered sidebar links one for one). The Account ten are packages/platform-objects/src/apps/account.app.ts's entries less nav_account_memberships (gated on the org-scoping service, absent single-org), with Mobile App and Notification Settings new since the eight, plus Connect an Agent (nav_connect_agent, packages/mcp/src/connect-ui.ts). Setup's 55 include the knowledge service's two entries, nav_settings_knowledge and nav_knowledge_sync_states (packages/services/service-knowledge), now that the showcase mounts that service. Earlier readings: 46 read from source after #33933 took Knowledge (nav_settings_knowledge) out of the stock Setup tree (47 before it, after objectstack#34724 retired Setup › Packaged Actions, nav_packaged_actions, whose switch moved onto the action in Studio); QA runs #32953 (at 5fb79bc0) and #33087 (at 8e3d4a54) read 48 before objectstack#34724 (GET /api/v1/meta/app leaves, which match the nav source minus its gates). QA run #29877 read 46 at 589049b0, before Access policy (nav_settings_access_policy, the access_policy namespace) joined the Configuration group. Since QA run #28545's reading Setup's Packaged automation page retired under ADR-0146 D11, leaving Packaged Actions (nav_packaged_actions, automation:packaged-actions; #28785, itself retired by objectstack#34724), and its unfiltered Packages entry moved to Studio (#29547) (47 for #28927, 50 at eeec88d1 for QA run #28545, 48 re-measured at 3fd80337 for #28338, QA run #27481 read 44 and 8, QA run #24557 read 42 at 5b14b7f3, 45 on 2026-10-01, and #9453 recorded 43 and 7). Recount from the payload each run", "confirm the gated entries resolve to ABSENT-not-erroring for the admin: nav_organizations (requiresService org-scoping) is absent in single-org mode; nav_jwks Signing Keys is ABSENT for EVERY persona, admin included — the entry was removed in #7544 because sys_jwks declares apiEnabled:false, so its list answers OBJECT_API_DISABLED (404) for all callers and no permission gate could prune it; SSO Providers is absent unless OS_SSO_ENABLED (knownGap)", "sign in as the plain member: attempt to open Setup (app name setup) — capture the app-level refusal (App.requiredPermissions setup.access); open Account (declares no requiredPermissions) — capture it opening. Studio is not part of this comparison: it is absent for EVERY persona including the admin, so a member failing to reach it proves nothing about the gate (the same reasoning #7544 applied to nav_jwks)", @@ -743,7 +743,7 @@ { "revision": 3, "date": "2026-08-21", - "change": "two corrections from the 17.1.0 sweep, both about premises that fail one level up. (1) B2/Studio: the item named THREE built-in apps, so on stock fixtures it could never exceed partial — c0/c1/c2 were blocked(fixture) for one reason. Verified at source rather than assumed: Studio's absence is a deliberate product decision at the BOOT layer, not a showcase choice — both os dev and os serve carry the identical note that @objectstack/studio is intentionally not default-loaded because the console ships a dedicated Studio surface at /_console/studio//, and each registers only setup and account. Title, fixtures, steps 1/4/7 and clauses 0/1/2 now describe the two apps a stock boot registers; Studio's absence became an assertion with the carve-out recorded in knownGaps, and its surfaces stay covered by area studio-authoring. (2) A4/clause 4: the clause asked for permission-gated ENTRIES to be absent from the member's merged nav, but the member cannot obtain the setup app at all (GET /meta/app?id=setup → 200 items:[]), so no member-side Setup nav exists to diff — the gate is a whole-app refusal, which clause 3 already proves. Reworded for that case, with the account app named explicitly as a non-substitute: every account entry is gated by requiresObject/requiresService, so admin and member navs are identical (7 vs 7) by construction and scoring the clause off that comparison is a false pass (#10236 A4+B2, measured #10257, same shape as #9453's c4)", + "change": "two corrections from the 17.1.0 sweep, both about premises that fail one level up. (1) B2/Studio: the item named THREE built-in apps, so on stock fixtures it could never exceed partial — c0/c1/c2 were blocked(fixture) for one reason. Verified at source rather than assumed: Studio's absence is a deliberate product decision at the BOOT layer, not a showcase choice — both os dev and os serve carry the identical note that @objectstack/studio is intentionally not default-loaded because the console ships a dedicated Studio surface at /_console/studio// (that address family has since retired: the live address is /_console/studio/, landing on its Overview), and each registers only setup and account. Title, fixtures, steps 1/4/7 and clauses 0/1/2 now describe the two apps a stock boot registers; Studio's absence became an assertion with the carve-out recorded in knownGaps, and its surfaces stay covered by area studio-authoring. (2) A4/clause 4: the clause asked for permission-gated ENTRIES to be absent from the member's merged nav, but the member cannot obtain the setup app at all (GET /meta/app?id=setup → 200 items:[]), so no member-side Setup nav exists to diff — the gate is a whole-app refusal, which clause 3 already proves. Reworded for that case, with the account app named explicitly as a non-substitute: every account entry is gated by requiresObject/requiresService, so admin and member navs are identical (7 vs 7) by construction and scoring the clause off that comparison is a false pass (#10236 A4+B2, measured #10257, same shape as #9453's c4)", "ref": "#10236" }, { diff --git a/docs/qa/studio-benchmark/SCENARIO.md b/docs/qa/studio-benchmark/SCENARIO.md index c710b67ae3a..a85e8f7c15c 100644 --- a/docs/qa/studio-benchmark/SCENARIO.md +++ b/docs/qa/studio-benchmark/SCENARIO.md @@ -12,7 +12,7 @@ Scoring rules live in [SCORING.md](./SCORING.md); the sheet a run fills in is | what | value | |---|---| | app | `examples/app-showcase`, a **fresh** boot — empty database, nothing left from an earlier run | -| boot | `OS_PORT=PORT pnpm -C ABS/examples/app-showcase exec objectstack dev --ui --seed-admin -p PORT -d file:/tmp/RUN/data.db` (the dogfood-verification §0 line; `OS_PORT` exported, not only `-p`) | +| boot | `pnpm -C ABS/examples/app-showcase exec objectstack dev --ui --seed-admin -p PORT -d file:/tmp/RUN/data.db` (the dogfood-verification §0 line; `-p` alone reaches the compile, `os dev` exports it as `OS_PORT`) | | console | the build of the same tree's `ui/apps/console` (`pnpm console:build`, into `packages/console/dist`), served at `/_console/` — **never** a console dev server: the benchmark measures what users get | | author | the seeded platform admin `admin@objectos.ai` / `admin123`, signed in through the form | | end user | a second identity minted by admin create (`POST /api/v1/auth/admin/create-user`, then `change-password`), or by invite + sign-up — a stock showcase refuses self-registration | diff --git a/packages/apps/studio/src/index.ts b/packages/apps/studio/src/index.ts index 5b097f95976..5853f728bd3 100644 --- a/packages/apps/studio/src/index.ts +++ b/packages/apps/studio/src/index.ts @@ -21,7 +21,7 @@ * `@objectstack/setup` and `@objectstack/account`, and `plugin-auth`'s * manifest no longer registers Studio either (ADR-0048; see that plugin's own * header note). All three carry the same reason: the console ships a - * dedicated Studio surface at `/_console/studio//`, so Studio no + * dedicated Studio surface at `/_console/studio/`, so Studio no * longer needs to exist as a navigable app tile in a stock boot. */ diff --git a/packages/cli/src/commands/serve.ts b/packages/cli/src/commands/serve.ts index b0da5637d08..93e7c7aa40c 100644 --- a/packages/cli/src/commands/serve.ts +++ b/packages/cli/src/commands/serve.ts @@ -4738,7 +4738,7 @@ export default class Serve extends Command { // plugin-auth's manifest into their own one-app packages. Register // each after AuthPlugin (best-effort; skipped if not installed). // NOTE: @objectstack/studio is intentionally NOT default-loaded — the - // console ships a dedicated Studio surface at /_console/studio//, + // console ships a dedicated Studio surface at /_console/studio/, // so Studio no longer needs to exist as a navigable app tile. for (const [appPkg, factory] of [ ['@objectstack/setup', 'createSetupAppPlugin'], diff --git a/packages/console/build-dist.sh b/packages/console/build-dist.sh index 5287d2ab57d..41ed42a1a71 100644 --- a/packages/console/build-dist.sh +++ b/packages/console/build-dist.sh @@ -2,11 +2,12 @@ # The build of @objectstack/console: a copy of this workspace's own # @object-ui/console build. Nothing is cloned and nothing is pinned — the # Console source lives in ui/apps/console, its @objectstack/* dependencies are -# `workspace:^`, and the root turbo.json makes `@objectstack/console#build` +# `workspace:^`, and the root turbo.json makes `@objectstack/console#build:dist` # depend on `@object-ui/console#build`, so the dist copied here was built # against this tree's spec and client by construction. Run it through turbo -# (`pnpm console:build`, or the root `pnpm build`), never directly: a direct -# run copies whatever ui/apps/console/dist holds, however old. +# with `pnpm console:build`, never directly: a direct run copies whatever +# ui/apps/console/dist holds, however old. The root `pnpm build` does not run +# it: this package declares `build:dist`, not `build`. # # What it ships: ui/apps/console/dist as-is, with the TRACKED repo-root # sdui.manifest.json copied over `dist/sdui.manifest.json` (ADR-0080; the CLI's diff --git a/packages/plugins/plugin-dev/src/dev-plugin.ts b/packages/plugins/plugin-dev/src/dev-plugin.ts index 55c505e1c93..a756e4f7864 100644 --- a/packages/plugins/plugin-dev/src/dev-plugin.ts +++ b/packages/plugins/plugin-dev/src/dev-plugin.ts @@ -738,7 +738,7 @@ export class DevPlugin implements Plugin { // plugin-auth's manifest into their own one-app packages. Register each // after AuthPlugin so they load alongside the auth objects they navigate. // NOTE: @objectstack/studio is intentionally NOT default-loaded — the - // console ships a dedicated Studio surface at /_console/studio//, + // console ships a dedicated Studio surface at /_console/studio/, // so Studio no longer needs to exist as a navigable app tile. // // [#20376] Each entry carries its own LITERAL `import('…')`, as every diff --git a/ui/apps/console/src/components/StudioRoute.tsx b/ui/apps/console/src/components/StudioRoute.tsx index 4bad1811b5c..290cfbfcbe3 100644 --- a/ui/apps/console/src/components/StudioRoute.tsx +++ b/ui/apps/console/src/components/StudioRoute.tsx @@ -216,7 +216,7 @@ function StudioEntry() { * entry gate: a refused principal never mounts this element. * * The entry is the package's IDENTITY — its id, and `href` its bare route, - * which lands on its object list — and no label: a reader labels it from the + * which lands on its 概览 Overview (`/studio/PKG/overview`) — and no label: a reader labels it from the * package list it loads (objectui#11678's shape). Keyed on the package, not the * page, so moving between pages of one package leaves the list as it is, * and the provider writes nothing. The package-less scope (`~org`) and the @@ -282,7 +282,7 @@ function StudioPillarAddress({ children }: { children?: ReactNode }) { * `/studio/~org` the package-less scope lands on its flow list * `/studio/~all/*` lands on Setup's environment directory (objectstack#37565), * or the cross-package area for one who may not open Setup - * `/studio/:packageId` a package lands on its object list + * `/studio/:packageId` a package lands on its 概览 Overview (a pair's, its base's) * `/studio/:packageId/metadata/*` a package's "All metadata" area, in the builder * `/studio/:packageId/:tab` a retired pillar redirects; any other segment is * the builder (the sharing overview, `owd`, or