Skip to content
This repository was archived by the owner on Nov 4, 2026. It is now read-only.

fix(types,layout,plugin-designer)!: the app wizard saves only keys the spec AppSchema declares; the top-level favicon retires (objectui#10842) - #10863

Merged
objectstack-fleet[bot] merged 2 commits into
mainfrom
claude/issue-10842-wizard-app-declared-keys
Sep 27, 2026
Merged

objectstack-fleet[bot] merged 2 commits into
mainfrom
claude/issue-10842-wizard-app-declared-keys

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #10842
Clause-②: yes
Corrected from no by the seat after the at-tier review: a published accept set on @object-ui/types narrows (favicon retires on both faces) and wizardDraftToAppSchema's return type changes; the at-tier PASS is on record on this PR.

The Studio's "create app" and "edit app" pages now save an app document that @objectstack/spec's strict AppSchema accepts. The app favicon has one spelling, branding.favicon.

Door measurement

Measured: 422 INVALID_METADATA. The base wizard's create payload is refused at the save door. This is the p1 trigger named in the triage.

How it was measured:

  • objectstack origin/main de091b50, in a throwaway git worktree under this run's scratch directory. It was never committed, and the shared objectstack checkout was not edited. The @objectstack/rest dependency closure (26 packages) was built there.
  • A throwaway vitest file drove the REAL PUT /api/v1/meta/:type/:name and GET /api/v1/meta/:type route handlers of RestServer. Under them sit the real ObjectStackProtocolImplementation, a real ObjectQL engine and in-memory SQLite. This is the harness of objectstack's meta-view-overlay-options-bag.test.ts. It runs in-process, not on a booted server, and the auth context is stubbed (resolveExecCtx).
  • client.meta.saveItem sends PUT /api/v1/meta/app/NAME with the document as the body (read from the installed @objectstack/client 17.4.0).
  • The payload is the wizard's exact output. It was produced by running objectui's own wizardDraftToAppSchema from base 4aebea0 on a draft shaped the way AppCreationWizard builds one: an object entry, a group and a branding block.
Request Answer
create, the base wizard output 422 INVALID_METADATA, one issue: unrecognized_keys at the root, "Unrecognized key(s) on this app: type, title, favicon, layout. Did you mean title → label? …"
CONTROL: the same document without those four keys 200
create, this branch's wizard output 200
edit: a door-saved app, read back through GET, merged the old way with the base output 422
edit: the same app merged with this branch's output 200
a legacy row, inserted into sys_metadata directly with the old wizard's keys: GET serves type, title, favicon, layout and logo back (read)
edit of that legacy row, spread whole under this branch's output 422
edit of that legacy row, filtered to the spec's declared keys first (this branch's EditAppPage merge) 200

The list door also serves a read decoration, _diagnostics. The save door strips it (stripReadDecorations), so echoing it is harmless: the served item saved back unchanged answers 200.

What this does

  • @object-ui/types, wizardDraftToAppSchema. It returns only keys the spec's AppSchema declares: name, label (the draft title), description, icon, branding and navigation. It writes no type (the renderer-node discriminator), no title, no top-level favicon and no layout. Its return type is now the spec's App input shape with objectui's NavigationItem[] as navigation, instead of AppComponentSchema. No export is added: App was already imported as a type in app.ts.
  • @object-ui/types, one favicon spelling. AppComponentSchema.favicon is never on the TypeScript face. The zod mirror refuses a top-level favicon by name through aliasKeyRefusal, answering "Did you mean favicon → branding?". This is the objectui#10827 pattern from PR objectui#10849, applied to the favicon.
  • @object-ui/layout. AppSchemaRenderer hands AppShell the favicon from branding.favicon. The console already reads that spelling through ConsoleLayout.
  • @object-ui/plugin-designer, EditAppPage. The save keeps the keys the wizard does not maintain, but only keys the spec's AppSchema declares. The list comes from Object.keys(AppSchema.shape), computed on first use, the same way app-shell's ObjectView reads ListViewSchema (getListViewConfigKeys). The pre-fill no longer falls back onto a top-level logo, favicon or title. It reads branding.logo, branding.favicon and label.
  • Docs. The two content/docs/core/app-schema.mdx examples and the properties table use branding.favicon.

The key mapping, checked against the spec (W2)

objectstack origin/main de091b50 (packages/spec/src/ui/app.zod.ts) and the installed @objectstack/spec 17.4.0 agree on each point:

  • AppSchema is a strict object. label is declared and required.
  • title is in the alias table, and that entry is a refusal hint ("did you mean title → label?"). The spec does not fold title into label.
  • favicon is declared only on AppBrandingSchema.
  • type and layout are declared nowhere on an app.

The installed schema's declared top-level keys were read off AppSchema.shape.

Census: top-level app favicon (the W3 stop gate)

This census was read at base 4aebea0 over packages/**, apps/**, examples/** and content/docs/**, with CHANGELOGs excluded.

  • Writers:
    • wizardDraftToAppSchema, the only production writer. This PR removes the write.
    • the two app-schema.mdx examples and its table row (moved to branding.favicon);
    • the fixture in phase2-schemas.test.ts (moved);
    • two assertions in app-creation-types.test.ts (rewritten);
    • the "local vocabulary still parses" case in page-app-dashboard-spec-parity.test.ts (the key removed from it);
    • the zod mirror's own declaration, which is now the refusal.
  • Readers: AppSchemaRenderer (moved) and EditAppPage's pre-fill fallback (dropped). The runner's LayoutRenderer reads no favicon.
  • These are not app favicons and are left alone:
    • AppShellBranding.favicon. ConsoleLayout already feeds it from activeApp.branding.favicon, and the console-architecture.md example documents that prop.
    • The operator's branding.faviconUrl in runtime-config.ts, index.html and main.tsx.

⇒ No writer outside the wizard exists, so the stop condition does not fire.

File surface outside the claim

  • packages/plugin-designer/package.json and pnpm-lock.yaml. EditAppPage reads the declared-key list from @objectstack/spec/ui at runtime. That is the W4 route "ONE list sourced from the spec", and a restated list was not needed because the spec exports one. plugin-designer's build externalizes every bare import, so the package now declares @objectstack/spec ^17.4.0, the range @object-ui/types declares. check:phantom-deps, check:unused-deps, check:lockfile-integrity and check:lockfile-dedupe are green.
  • app-logo-one-spelling-10827.test.ts, pin (c). The wizard output is a saved document, not a renderer node, so it no longer carries type: 'app', and the renderer-node mirror cannot judge it. Pin (c) now parses the output with the spec's AppSchema, which is the judge at the door. Its intent is unchanged: no top-level logo, and the output is accepted.

Verification (all at 7356c90)

  • New pins:
    • packages/types/src/__tests__/app-declared-keys-10842.test.ts:
      • the wizard output parses green through the spec's AppSchema, and carries no key outside AppSchema.shape;
      • label and branding carry the draft's values, and none of type, title, favicon, layout or logo is present;
      • CONTROL: the old output, written out as a literal, is refused with one unrecognized_keys naming exactly those four keys;
      • the zod mirror refuses a top-level favicon (invalid_type at favicon, message naming branding), and branding.favicon parses on both schemas;
      • the TypeScript face refuses a top-level favicon (@ts-expect-error).
    • packages/layout/src/__tests__/AppSchemaRenderer.brandingFavicon-10842.test.tsx:
      • branding.favicon reaches the #favicon link;
      • CONTROL: an app without a favicon leaves the shipped href alone;
      • the retired top-level key is not read.
    • packages/plugin-designer/src/__tests__/EditAppPage.declaredKeys-10842.test.tsx. It mounts the real EditAppPage, with the wizard stubbed to complete with the page's own pre-fill:
      • a legacy served row saves a document the spec accepts;
      • the refused keys and _diagnostics are dropped, and requiredPermissions and isDefault are kept;
      • CONTROL: the served row itself is refused by the spec;
      • the pre-fill ignores a top-level logo, favicon and title;
      • CONTROL: branding.logo and branding.favicon are pre-filled.
  • pnpm exec vitest run --maxWorkers=2 packages/types/ packages/layout/ packages/plugin-designer/ packages/runner/: Test Files 311 passed (311), Tests 5905 passed (5905).
  • pnpm --workspace-concurrency=2 --filter @object-ui/types --filter @object-ui/layout --filter @object-ui/plugin-designer --filter @object-ui/runner run type-check exits 0. Each script is echoed (packages/X type-check$ tsc --noEmit && … tsc -p tsconfig.test.json), and each ends Done. It ran after a turbo build of the dependency closure. tsc -p tsconfig.test.json --listFilesOnly lists each new test in its own package.
  • Reverse verification (cross-package type). A temporary plugin-designer/src probe wrote { type: 'app', favicon: '/x.ico' }. tsc --noEmit exited 2 with TS2322: Type 'string' is not assignable to type 'undefined' at the probe. The probe was removed, and git status is clean.
  • Ablation of the converter. It used objectstack's scripts/ablation-replace.mjs in WRAP mode, on a committed tree.
    • The mutation re-adds a top-level title: the anchor label: draft.title, becomes title: draft.title, label: String(draft.title),. The anchor count went 1 → 0, and the blob went 0a6753d4dc1a → e07a339ac23a.
    • Result: 4 failed | 15 passed (19). The three converter pins and the objectui#10827 pin (c) went red. The CONTROL stayed green, which is the expected direction.
    • Restore: the blob equals HEAD (0a6753d4dc1a), and git diff HEAD is empty.
    • Two earlier attempts:
      • The first was a no-op. The replacement contained the anchor, so the tool refused it (count 1 → 1), and no test ran.
      • The second, at 3aec465, also turned the CONTROL red, because the control spread the converter's output. Commit 7356c90 rewrote the control as a literal, and the ablation was run again with the result above.
  • Gates at 7356c90, all exit 0. Each is listed with its own verdict line:
    • changesets:
      • check-changeset-presence: "11 source file(s) of 3 released package(s) changed, and this change declares 1 changeset(s)";
      • check-changeset-no-major, check-changeset-fixed, check-changeset-overwrite;
      • check:changeset-claims: 13 pending changesets name files touched here. Each paragraph was read, and none speaks of the app favicon, the wizard or these keys;
      • check:pending-changeset-literals.
    • check:new-line-citations ("0 new citation(s)") and check:control-bytes.
    • tests: check:vi-mock-specifiers, check:vi-mock-inherit, check:vi-mock-override-shape and check:test-path-roots.
    • dependencies: check:phantom-deps, check:unused-deps, check:self-import, check:lockfile-integrity, check:lockfile-dedupe, check:installed-pin-claims and check:pre-install-import-graph.
    • spec and metadata: check:spec-symbols, check:metadata-write-doors, check:handler-key-reads, check:unreferenced-sources, check:designer-field-key-parity, check:component-surface-parity (report-only), check:esm-specifiers and check:readme-exports.
    • docs:
      • check:doc-snippets: "678 of 678 block(s) judged, 0 failed";
      • check:doc-examples, check:doc-types, check:doc-fences, check:doc-example-ids, check:doc-example-readers, check-doc-expression-carriage and docs:check-links.
    • check-governed-queue-guard --test on the 15 paths: NOT GOVERNED.
  • check:spec-floors exits 1, and none of its findings is in a package this PR touches:
    • four floor-too-low findings in @object-ui/app-shell (its ^17.3.0 range against 17.4.0 symbols in its previews dist);
    • one no-artifact for plugin-tree, which was not built.
    • plugin-designer (^17.4.0, new here) and layout have no finding.
  • Lint, a declared narrowing:
    • Population: the rule-bearing objects in eslint.config.js match **/*.{ts,tsx}. The .md, .mdx, package.json and lockfile changes are outside it.
    • Counted: eslint --format json over the 11 touched .ts/.tsx files gives 11 files, 0 errors and 7 warnings. None of the warnings falls on an added line.
    • Invariance: eslint.config.js sets no parserOptions.project or projectService, so no type-aware linting runs, and this diff cannot move a verdict on a file it does not touch.
  • NOT MEASURED:
    • Driving the wizard in a real browser against a booted objectstack. The door was measured in-process on objectstack's real route handlers, as above.
    • @object-ui/app-shell tests and type-check. This PR changes no app-shell file. The public type changes reach app-shell only through AppComponentSchema.favicon and the wizard's return type, and a git grep finds no read of either in app-shell. CI runs the full set.

Acceptance notes

  • The wizard's layout step is no longer saved. The spec declares no app layout, and no console surface reads one (the standalone runner's LayoutRenderer reads the layout of its own app JSON). Before this PR, the key blocked the whole save. The Layout radio in AppCreationWizard now changes nothing that persists. Whether to retire that step, or to take layout to the spec, is a decision named in the report. It is not taken here.
  • A separator nav item from the wizard is still refused. addNavItem('separator') writes label: '', and the spec's separator branch declares no label. Measured at the same door, the control document plus one wizard separator answers 422 unrecognized_keys at navigation.2. This is the divergence the app.ts header already records as blocker 3 (objectui's NavigationItem requires label), so it is not changed here.
  • EditAppPage drops a stored branding.accentColor on every edit. Its pre-fill copies only logo, primaryColor and favicon into the draft, and the wizard's branding replaces the stored one. Measured with the new page harness: a stored { primaryColor, accentColor } saves as { logo: '', primaryColor, favicon: '' }. This loses a declared key, which is a different class from this card, so it is left as is.
  • AppComponentSchema still declares its local title and layout, the renderer-node vocabulary. AppSchemaRenderer reads title, not label. W3 names only the favicon, so those two are not retired here.
  • EditAppPage still reads appToEdit.layout into the wizard's draft. Nothing saves it.
  • The spec's retired keys (version, homePageId, …) are members of AppSchema.shape as tombstones. A legacy row carrying one would be kept by the filter, and the door would refuse it with the spec's own prescription. No such row was measured.

Changeset

.changeset/10842-wizard-app-declared-keys.md:

  • @object-ui/types minor, with the break stated: wizardDraftToAppSchema's return shape changed, and AppComponentSchema.favicon is never and refused by name;
  • @object-ui/layout patch;
  • @object-ui/plugin-designer patch.

This PR was made in session https://claude.ai/code/session_01MCg3z5cGrV51xEddpGcxEY (seat domain:ui#4).


Generated by Claude Code

…e spec AppSchema declares; the top-level favicon retires (objectui#10842)

wizardDraftToAppSchema wrote top-level type, title, favicon and layout,
which @objectstack/spec's strict AppSchema refuses, so the metadata door
answered 422 INVALID_METADATA. It now writes name, label, description,
icon, branding and navigation only. AppComponentSchema.favicon retires
to branding.favicon on both faces (the objectui#10827 rule), and
AppSchemaRenderer reads branding.favicon. EditAppPage keeps only keys the
spec's AppSchema declares from the served app, and its pre-fill reads no
retired spelling.

Claude-Session: https://claude.ai/code/session_01MCg3z5cGrV51xEddpGcxEY
Co-authored-by: Claude <noreply@anthropic.com>
…t move with the converter

The ablation that re-adds a top-level `title` to wizardDraftToAppSchema
turned the CONTROL red as well as the pins, because the control spread
the converter's output and the refused keys' order moved with it. The
control now writes the old output out as a literal and compares the
refused keys as a set.

Claude-Session: https://claude.ai/code/session_01MCg3z5cGrV51xEddpGcxEY
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

changeset-claim-re-read

⚠️ 13 pending changeset(s) describe a file this change touches

Their bodies publish verbatim into the CHANGELOG at the next release, so this is a request to re-read them against your diff — addressed here because you are the one seat that can answer it without re-deriving anything.

⛔ Nothing here blocks, and nothing here is a verdict on your change. This gate exits 0, is not a required context, and judges name resolution, never meaning: it asked whether a pending body names a file you touched. "Is this sentence still true?" is the one question it will not answer, and the one you are being asked to answer.

.changeset/4895-retire-block-schema-family.md

  • names phase2-schemas.test.ts → packages/types/src/__tests__/phase2-schemas.test.ts — edited by this change

    The zod half is the one that mattered. AnyComponentSchema.safeParse({ type: 'block-library' }) returned success on 17.6.0 for a node no page can render, so an author who copied the documented shape was told green by the shipped validator and then got the registry's OBJUI-001 "Unknown component type" panel. Validated-then-broken is worse than never-validated, because the green light is what the author trusted. All five discriminants — block, block-library, block-editor, block-instance, component — are now refused, pinned in phase2-schemas.test.ts alongside the theme refusals retired the same way.

  • names zod/app.zod.ts → packages/types/src/zod/app.zod.ts — edited by this change

    ⚠️ Not this family, and not touched. The live slotted record-page vocabulary — PageNodeSchema.kind === 'slotted' with slots?: PageSlotMap (packages/types/src/layout.ts), rendered by usePageAssignment / PageBlockCanvas / PageBlockInspector in @object-ui/app-shell — shares the words "block" and "slot" with the retired family and shares no declaration, type or file with it. Neither is the type: 'component' NAVIGATION item kind ({ type: 'component', componentRef }, NavigationItemSchema in zod/app.zod.ts), a different declaration in a different module.

.changeset/5793-spec-range-floors.md

  • names pnpm-lock.yaml → pnpm-lock.yaml — edited by this change

    Nothing a consumer installs today changes: normal resolution already picks the newest 17.x, and pnpm-lock.yaml still resolves 17.2.0 on this edge after the bump. The change is to the declared floor only, which is why it is scored patch rather than minor — the same reasoning objectui#5753 used for the other direction on this dependency.

.changeset/6349-types-internal-name-collisions-batch-2.md

  • names app.ts → packages/types/src/app.ts — edited by this change

    MenuItem — renamed to AppMenuItem in app.ts. app.ts declared a flat, all-optional interface (type?: 'item' | 'group' | 'separator', label, icon, path, href, children, badge, hidden) — the @deprecated legacy navigation item that AppComponentSchema.menu, AppAction.items and menuItemToNavigationItem read. overlay.ts declared a discriminated union, MenuCommandItem | MenuDividerItem, whose command arm requires label and whose both arms tombstone type as type?: never (objectui#6523) — precisely the key app.ts declares as a three-value enum. Re-pointing either at the other would have made an authored type: 'separator' legal on one side and a type error on the other, so the two names had to part. @object-ui/types continues to publish overlay's union as MenuItem and app's interface as AppMenuItem, exactly as before.

.changeset/6361-spec-floor-17-2-0.md

  • names pnpm-lock.yaml → pnpm-lock.yaml — edited by this change

    Nothing a consumer installs today changes: normal resolution already picks the newest 17.x, and pnpm-lock.yaml still resolves 17.2.0 on both edges after the bump — only the recorded specifier: moves. No source and no behaviour changes, which is why this is scored patch, on the reasoning 111741454 used for the same remediation on @object-ui/plugin-detail.

.changeset/7113-chart-data-model.md

  • names app.zod.ts → packages/types/src/zod/app.zod.ts — edited by this change

    .extend() with a NEW key still works and preserves the fold and the refinement; .optional(), z.discriminatedUnion, z.toJSONSchema and safeValidateSchema are all unaffected. Nothing in this repository calls the throwing combinators on either const, and the published surface already ships refined mirrors (objectql.zod.ts, complex.zod.ts, form.zod.ts, app.zod.ts), so the class is not new — but it is a real behaviour change on a published export and it belongs in the release note rather than in a reviewer's file.

.changeset/7122-objectstack-family-17-3-0.md

  • names pnpm-lock.yaml → pnpm-lock.yaml — edited by this change

    @objectstack/client, core, formula and lint each pin @objectstack/spec EXACTLY, so resolving the spec alone to 17.3.0 left the console bundling TWO copies of it. Moving the family with it in pnpm-lock.yaml collapses the duplicate; every declared range already admitted 17.3.0, so no manifest moved.

.changeset/7344-handler-string-any-mirrors.md

.changeset/7735-zod-mirrors-stop-authoring-defaults.md

  • names app.zod.ts → packages/types/src/zod/app.zod.ts — edited by this change

    What changed. All 41 .default() call sites under packages/types/src/zod/ are removed — layout.zod.ts 22, crud.zod.ts 11, form.zod.ts 5, views.zod.ts 2, app.zod.ts 1. @object-ui/components reconciles the third face objectui#8229 found: flex's registration defaultProps.align seeded 'center', the value its own renderer never applies, so a designer-made node laid out differently from a hand-authored one; it now seeds 'start'.

.changeset/7918-zod-lazy-getter-identity.md

  • names app.zod.ts → packages/types/src/zod/app.zod.ts — edited by this change

    ⚠️ Also settled while locating the ten: AppMenuItemSchema has no declaration of its own — it is the barrel alias of app.zod.ts's MenuItemSchema, while the barrel's own MenuItemSchema is overlay.zod.ts's. Two different schemas, so the list really is ten entries and not nine.

.changeset/8871-page-node-refuses-breadcrumbs.md

  • names page-app-dashboard-spec-parity.test.ts → packages/types/src/__tests__/page-app-dashboard-spec-parity.test.ts — edited by this change

    Scope. One key, by name; the node is not strict. Only 2 of the 23 passthrough- surviving undeclared keys land on a real SDUI page node (actions and this one); the rest belong to different declarations that merely spell type: 'page'. Strictness would also have reddened a living pin — page-app-dashboard-spec-parity.test.ts, "the component envelope still passes unknown renderer props through" — which stays green and is re-asserted from this card's side.

.changeset/9092-inline-locale-declared-face.md

  • names app.ts → packages/types/src/app.ts — edited by this change

    • AppComponentSchema.label (app.ts) - ObjectGridSchema.label and .description (objectql.ts) - PageNodeSchema.aria.ariaLabel (layout.ts)

.changeset/9187-record-highlights-layout-two-values.md

  • names phase2-schemas.test.ts → packages/types/src/__tests__/phase2-schemas.test.ts — edited by this change

    ⚠️ The census behind this narrowing covers this repository only, and it found no in-repo authoring to migrate: every in-tree layout: 'grid' belongs to a different component (detail-view in content/docs/api/schema-reference.md and phase2-schemas.test.ts, ai-recommendations in packages/plugin-ai/README.md), and the one in-repo consumer of this interface that writes a layout (p1-spec-alignment.test.ts) writes 'horizontal'. So no document in this repository stops type-checking. A TypeScript consumer outside this repo that wrote grid is not observable from here and gets a compile error (TS2322) naming the key — which is why the FROM/TO is spelled out above.

.changeset/action-callback-retired-7068.md

  • names phase2-schemas.test.ts → packages/types/src/__tests__/phase2-schemas.test.ts — edited by this change

    What was measured, on this branch's base (900f8d99). ActionCallback ({ type: 'toast' | 'message' | 'redirect' | 'reload' | 'custom' | 'ajax' | 'dialog', message?, url?, api?, method?, dialog?, handler? }) was declared in crud.ts, mirrored in zod/crud.zod.ts, re-exported by both barrels, and carried on the legacy ActionSchema as onSuccess? / onFailure?. Producers: the package's own phase2-schemas.test.ts fixture and three ts fences in content/docs/core/enhanced-actions.mdx — nothing else (git grep -l ActionCallback over packages content skills hit the five packages/types files; positive control SchemaNodeSchema hit 22). Runtime readers: none — ActionRunner imports UIActionSchema, never this interface, and its own ActionDef.onFailure is a different (runner-native) meaning. It was the THIRD meaning of one key: objectui#5934 had already retired the runner's callback meaning of onSuccess and converged it on the spec's block.

Read the paragraph, not the line: both false halves of the objectui#8617 claim sat in one paragraph, and correcting either alone would have left it asserting the same wrong thing.

If a claim did go false, correct the body. That is precedented and prose-only, frontmatter untouched; check-changeset-overwrite.mjs will report the correction as its own case 2 ("correcting a declaration on purpose … legitimate"), which is the intended shape — one gate asks for the read, the other records the write.

Not covered, stated so nobody reads this as more: a born-false claim that spells no line address at all (objectui#9495 coordinated one by ORDINAL — "a grep finds that member first" — and deciding that means reading what the sentence means), a claim spelled as a symbol or a package rather than a backticked file name, and a file named ambiguously.

Compared the checked-out tree with fec3b1a8b (merge-base with origin/main): 14 file(s) changed outside .changeset/, read against 1635 pending declaration(s) that publish a body (2225 pending in total). · run

@github-actions

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 329 chunks) 3082.0 KB 3104.5 KB
Main entry chunk (gzip) 148.5 KB 350 KB
Entry file index-C9jxYucg.js —
Status PASS —

The eager closure is every chunk the entry reaches through static imports — what the browser fetches and parses before the app renders. The entry chunk on its own is a small fraction of it.


📦 Bundle Size Report

Package Size Gzipped
app-shell (consoleActionDispatch.js) 0.20KB 0.19KB
app-shell (index.js) 16.57KB 6.15KB
app-shell (runtime-config.js) 20.68KB 7.36KB
app-shell (types.js) 0.01KB 0.04KB
app-shell (urlParams.js) 10.06KB 3.86KB
auth (ActiveOrganizationStorage.js) 27.95KB 10.04KB
auth (AuthContext.js) 0.31KB 0.24KB
auth (AuthGuard.js) 2.07KB 1.00KB
auth (AuthProvider.js) 40.17KB 10.58KB
auth (AuthShell.js) 3.49KB 1.40KB
auth (ForgotPasswordForm.js) 12.21KB 3.45KB
auth (LoginForm.js) 18.15KB 5.39KB
auth (PreviewBanner.js) 0.90KB 0.50KB
auth (RegisterForm.js) 6.65KB 2.22KB
auth (SocialSignInButtons.js) 9.61KB 3.89KB
auth (UserMenu.js) 3.39KB 1.21KB
auth (auth-gate-events.js) 1.29KB 0.66KB
auth (authStyles.js) 5.04KB 1.72KB
auth (createAuthClient.js) 40.21KB 10.80KB
auth (createAuthenticatedFetch.js) 8.52KB 3.45KB
auth (index.js) 3.63KB 1.64KB
auth (invitation-status.js) 1.22KB 0.70KB
auth (org-roles.js) 6.66KB 2.78KB
auth (phone-identifier.js) 1.11KB 0.66KB
auth (types.js) 0.59KB 0.35KB
auth (useAuth.js) 5.30KB 1.02KB
auth (useWorkspaceAdminStatus.js) 11.08KB 4.58KB
collaboration (CommentThread.js) 27.13KB 7.95KB
collaboration (LiveCursors.js) 3.17KB 1.27KB
collaboration (PresenceAvatars.js) 6.49KB 2.64KB
collaboration (PresenceProvider.js) 2.79KB 1.13KB
collaboration (index.js) 1.68KB 0.73KB
collaboration (useCollaborationTranslation.js) 6.05KB 2.52KB
collaboration (useCommentSearch.js) 1.98KB 0.88KB
collaboration (useConflictResolution.js) 7.75KB 1.86KB
collaboration (useMentionNotifications.js) 1.81KB 0.68KB
collaboration (usePresence.js) 6.33KB 1.84KB
collaboration (useRealtimeSubscription.js) 7.91KB 2.01KB
components (index.js) 557.06KB 133.41KB
core (index.js) 9.93KB 3.94KB
create-plugin (index.js) 27.94KB 9.51KB
data-objectstack (index.js) 225.01KB 62.50KB
fields (index.js) 261.26KB 66.37KB
i18n (LocalizationContext.js) 1.76KB 0.96KB
i18n (builtinAggregateLabels.js) 0.86KB 0.49KB
i18n (currency.js) 2.59KB 1.22KB
i18n (fallbackInterpolation.js) 6.25KB 2.77KB
i18n (i18n.js) 8.87KB 3.64KB
i18n (index.js) 5.24KB 2.27KB
i18n (pickLocalized.js) 9.86KB 3.95KB
i18n (provider.js) 39.40KB 12.91KB
i18n (translateFn.js) 0.20KB 0.18KB
i18n (useDisplayLocale.js) 3.52KB 1.76KB
i18n (useObjectLabel.js) 34.34KB 9.17KB
i18n (useSafeTranslation.js) 5.60KB 2.33KB
layout (index.js) 39.28KB 11.09KB
mobile (MobileProvider.js) 0.92KB 0.49KB
mobile (ResponsiveContainer.js) 0.94KB 0.38KB
mobile (breakpoints.js) 1.51KB 0.70KB
mobile (createOfflineDataSource.js) 5.61KB 1.75KB
mobile (index.js) 1.99KB 0.87KB
mobile (offlineQueue.js) 3.91KB 1.35KB
mobile (pwa.js) 0.97KB 0.49KB
mobile (serviceWorker.js) 1.48KB 0.62KB
mobile (serviceWorkerSource.js) 3.41KB 1.48KB
mobile (useBreakpoint.js) 1.54KB 0.65KB
mobile (useGesture.js) 6.96KB 1.98KB
mobile (useOfflineSync.js) 1.99KB 0.72KB
mobile (usePullToRefresh.js) 6.62KB 2.45KB
mobile (useResponsive.js) 0.72KB 0.42KB
mobile (useSpecGesture.js) 5.52KB 2.10KB
mobile (useTouchTarget.js) 1.01KB 0.54KB
permissions (MePermissionsProvider.js) 13.52KB 4.88KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 6.24KB 2.16KB
permissions (discardProofCache.js) 1.04KB 0.55KB
permissions (evaluator.js) 8.33KB 3.07KB
permissions (index.js) 0.93KB 0.41KB
permissions (store.js) 0.91KB 0.42KB
permissions (useFieldPermissions.js) 1.28KB 0.53KB
permissions (usePermissions.js) 4.83KB 2.27KB
plugin-ai (index.js) 16.01KB 3.93KB
plugin-calendar (index.js) 51.73KB 14.72KB
plugin-charts (index.js) 83.99KB 22.86KB
plugin-chatbot (index.js) 197.67KB 46.90KB
plugin-dashboard (index.js) 135.86KB 36.15KB
plugin-designer (index.js) 216.42KB 44.47KB
plugin-detail (index.js) 233.48KB 61.79KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 158.78KB 40.61KB
plugin-gantt (index.js) 169.83KB 41.99KB
plugin-grid (index.js) 218.66KB 59.90KB
plugin-kanban (index.js) 48.43KB 15.11KB
plugin-list (index.js) 114.78KB 28.44KB
plugin-map (index.js) 22.90KB 7.62KB
plugin-markdown (index.js) 13.88KB 4.80KB
plugin-report (index.js) 44.16KB 12.17KB
plugin-timeline (index.js) 30.91KB 9.05KB
plugin-tree (index.js) 11.21KB 3.89KB
plugin-view (index.js) 87.89KB 22.03KB
providers (DataSourceProvider.js) 0.75KB 0.39KB
providers (MetadataProvider.js) 1.37KB 0.59KB
providers (ThemeProvider.js) 1.90KB 0.85KB
providers (UploadProvider.js) 11.81KB 3.58KB
providers (index.js) 0.45KB 0.23KB
providers (types.js) 0.01KB 0.04KB
react-runtime (index.js) 5.62KB 2.34KB
react (LazyPluginLoader.js) 4.47KB 1.63KB
react (SchemaRenderer.js) 119.16KB 39.05KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 4.03KB 1.86KB
react (schema-input.js) 4.25KB 2.04KB
react (spec-input.js) 0.20KB 0.18KB
sdui-parser (body-dialect.js) 4.78KB 2.09KB
sdui-parser (codegen.js) 7.50KB 3.05KB
sdui-parser (dashboard-widget-options.js) 3.08KB 1.30KB
sdui-parser (index.js) 6.16KB 2.71KB
sdui-parser (input-type.js) 2.84KB 1.40KB
sdui-parser (kanban-quick-add.js) 3.89KB 1.87KB
sdui-parser (parse.js) 25.28KB 7.80KB
sdui-parser (provenance.js) 3.84KB 1.90KB
sdui-parser (types.js) 0.28KB 0.23KB
sdui-parser (validate.js) 18.27KB 6.20KB
types (ai.js) 4.11KB 2.06KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 3.52KB 1.36KB
types (base.js) 0.20KB 0.18KB
types (blocks.js) 0.20KB 0.18KB
types (complex.js) 2.93KB 1.49KB
types (crud.js) 0.20KB 0.18KB
types (dashboard-filter-alias.js) 6.23KB 2.74KB
types (data-display.js) 3.75KB 1.85KB
types (data-protocol.js) 0.20KB 0.19KB
types (data.js) 0.20KB 0.18KB
types (designer.js) 1.85KB 0.85KB
types (disclosure.js) 0.20KB 0.18KB
types (error-code.js) 1.54KB 0.88KB
types (expression.js) 0.20KB 0.18KB
types (feedback.js) 0.20KB 0.18KB
types (field-types.js) 0.20KB 0.18KB
types (form.js) 0.20KB 0.18KB
types (http-inflight.js) 8.87KB 3.73KB
types (http-retry.js) 4.32KB 2.02KB
types (icon-key-migration.js) 4.26KB 1.63KB
types (index.js) 4.74KB 2.26KB
types (layout.js) 0.20KB 0.18KB
types (managed-by.js) 0.19KB 0.18KB
types (mobile.js) 5.00KB 2.39KB
types (navigation.js) 0.20KB 0.18KB
types (objectql.js) 0.20KB 0.18KB
types (overlay.js) 0.20KB 0.18KB
types (permissions.js) 2.52KB 1.31KB
types (plugin-scope.js) 0.20KB 0.18KB
types (record-components.js) 0.20KB 0.19KB
types (record-semantics.js) 1.28KB 0.67KB
types (registry.js) 0.20KB 0.18KB
types (reports.js) 0.20KB 0.18KB
types (select-option.js) 0.20KB 0.19KB
types (spec-report.js) 5.05KB 1.93KB
types (spec-ui-namespace.js) 0.20KB 0.19KB
types (strict-authoring-face.js) 17.15KB 6.32KB
types (system-fields.js) 3.33KB 1.54KB
types (theme.js) 6.27KB 2.87KB
types (ui-action.js) 8.11KB 3.32KB
types (views.js) 0.20KB 0.18KB
types (widget.js) 0.20KB 0.18KB

Size Limits

  • ✅ Core packages should be < 50KB gzipped
  • ✅ Component packages should be < 100KB gzipped
  • ⚠️ Plugin packages should be < 150KB gzipped

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

Contract review

Served-tier: 286/286 CONTRACT_REVIEW_TIER
Head-sha: 7356c903ed6fc3aefcd8ae8484d25224048028e1

Read: card objectui#10842 body and its thread (carried findings 5859674721, triage 5859986025, claim 5860163852; the dev's 5860704537 was NOT used as evidence); PR #10863 body, file list and full diff at head 7356c90 against merge-base 4aebea0 (origin/main is e239161; the PR is behind, and none of main's moved files is a PR file); the family precedent PR #10849 (merge f976774) diff and changeset; head sources packages/types/src/app.ts, packages/types/src/zod/app.zod.ts, zod/tombstone.zod.ts (aliasKeyRefusal), plugin-designer/src/AppCreationWizard.tsx (DEFAULT_DRAFT, generateNavFromObjects, createNavId, addNavItem, step1Valid, the navigation step), pages/CreateAppPage.tsx, pages/EditAppPage.tsx (head and merge-base), layout/src/AppSchemaRenderer.tsx, app-shell/src/layout/ConsoleLayout.tsx, AppSwitcher.tsx, UnifiedSidebar.tsx, HomeAppsStrip.tsx, CommandPalette.tsx, app-shell/src/console/AppContent.tsx (routes and the list-door note), runner/src/LayoutRenderer.tsx and App.tsx, plugin-designer/vite.config.ts, plugin-designer/BrandingEditor.tsx, packages/types/src/index.ts, the three packages' package.json exports, vitest.config.mts (alias map), .github/workflows/performance-budget.yml, scripts/check-spec-range-floors.mjs header; objectstack origin/main de091b50 packages/spec/src/ui/app.zod.ts (AppSchema, AppBrandingSchema, BaseNavItemSchema, SeparatorNavItemSchema, UrlNavItemSchema, GroupNavItemSchema, the recursive NavigationItemSchema), shared/retired-key.ts, ui/i18n.zod.ts (I18nLabelSchema), shared/identifiers.zod.ts; the installed @objectstack/spec 17.4.0 (resolved identically from packages/types and packages/plugin-designer in a throwaway install of the head); objectui AGENTS.md §5 and §9 (test discipline, version policy), .changeset/config.json, every pending .changeset/*.md that names a touched surface or the favicon/logo; the clause-② gate in objectstack landing-operations.md and contract-review.md; head check-runs polled twice; the three new pin files run once under os-verify-lock.sh (slot review-10863) in a throwaway git worktree of the head (install only, no build: vitest aliases every @object-ui/* to src), plus a reviewer probe of the installed AppSchema; worktree removed afterwards.

① Derived judgments

  1. Wizard output — RIGHT, with one confirmed residual. At head wizardDraftToAppSchema returns exactly name, label (from draft.title), description, icon, branding, navigation; every one is a member of the installed AppSchema.shape (measured key list: name,label,version,description,icon,branding,active,isDefault,hidden,_unpublished,navigation,areas,contextSelectors,homePageId,requiredPermissions,objects,apis,sharing,embed,mobileNavigation,defaultAgent,aria,protection,_lock,_lockReason,_lockSource,_provenance,_packageId,_packageVersion,_lockDocsUrl). label is always set: the converter writes draft.title unconditionally, the wizard's step1Valid refuses to leave step 1 until draft.title.trim().length is positive, and the spec's I18nLabelSchema is z.string() so even '' parses. Parsed with the installed 17.4.0 AppSchema: the wizard's DEFAULT_DRAFT verbatim (description: '', icon: '', branding: { logo: '', primaryColor, favicon: '' }) parses; an object item as generateNavFromObjects builds it (icon undefined) parses; a group as addNavItem builds it (children: [], and the spec's group branch requires children) parses; a url item as addNavItem builds it (url: '', spec url: z.string()) parses; createNavId yields group_1727…_1, which satisfies SnakeCaseIdentifierSchema. The dev's separator report is CONFIRMED: addNavItem('separator') writes label: '', the spec's SeparatorNavItemSchema declares only type, id, order, and the parse answers unrecognized_keys ['label'] at navigation.0; the same item without label parses. Root: objectui's NavigationItem.label: string is required, recorded as blocker 3 in the app.ts header and pinned in spec-derived-unions.test.ts, and the converter passes draft.navigation through verbatim. Judgment: a separate same-family finding, not a same-card defect of this PR. The card's producer, carried findings and triage all name the ROOT keys (type, title, favicon, layout), the root cause is the NavigationItem type contract (a different surface than this card's file surface), it pre-dates the card and is not regressed here. It does leave the card's stated outcome ("the wizard's output parses through AppSchema") unmet for one one-click wizard shape, so it is owed a card now, not an acceptance note.

  2. Clause ② — the claim's no is WRONG; the semver is RIGHT. The gate text (landing-operations.md) has two limbs: the path limb names *.zod.ts contract schemas, and the declaration limb is independent of path with "a wrong no is an auditable false declaration"; contract-review.md defines the published face by the package's exports map and says only a .d.ts unreachable from the entry type graph and not addressable through exports fails to trigger Clause-②: yes. This diff moves a published accept set on @object-ui/types: AppComponentSchema.favicon goes from string to never on dist/index.d.ts (the . export) and the zod mirror on dist/zod/index.zod.d.ts (the ./zod export) goes from accepting favicon: string to refusing it by name; wizardDraftToAppSchema's published signature changes its return type from AppComponentSchema to the spec App input shape; and packages/types/src/zod/app.zod.ts is a *.zod.ts contract schema. The claim's own criterion ("narrows and does not widen; no export is added") is not the gate's criterion; the rule text names accept-set changes without a widen/narrow distinction, and the PR itself says so twice (! in the title, two breaking bullets in the changeset). Clause-②: yes was owed. Consequence per the gate: a hit requires a tier-qualified clause-② review PASS on record before enqueue, which this record is; the wrong no is a declaration defect on the claim comment and PR body, not a code defect. Semver: @object-ui/types minor with the break stated (objectui forbids major in the fixed group), @object-ui/layout patch, @object-ui/plugin-designer patch (its own export surface is unchanged; a new runtime dependency is patch-level). This is the same shape PR fix(types,layout,app-shell,runner)!: the console renders an app's branding.logo; the top-level logo spelling retires (objectui#10827) #10849 used for the logo retirement.

  3. EditAppPage — RIGHT. Nothing a user sees is lost by dropping the title / logo / favicon fallbacks: the spec requires label, so every door-saved app carries it; the base wizard wrote label: draft.title beside title; the console reads only label (AppSwitcher, HomeAppsStrip, CommandPalette, UnifiedSidebar, ConsoleLayout's tab title) and branding.*; no producer in objectui apps/**, examples/** or objectstack examples/** and packages/*/src writes a top-level app favicon (objectstack's todo.app.ts writes branding.favicon). A legacy row whose title differs from label now pre-fills label, which is what the console shows. accentColor: PRE-EXISTING at merge-base 4aebea0, where the pre-fill copied only logo, primaryColor, favicon and { ...appToEdit, ...appSchema } replaced branding wholesale with the draft's; the head copies the same three keys and the same replacement happens, so it is neither introduced nor widened here. Tombstones: measured on the installed spec, Object.keys(AppSchema.shape) includes the retiredKey members (version, homePageId, objects, apis, sharing, embed, mobileNavigation, aria) and the _lock* / _provenance / _package* envelope; a legacy row carrying homePageId and version is kept by the filter and the door refuses it with invalid_type and the spec's own prescription at each key. Reachable for a row stored before spec 17.0.0 (the spec's own homePageId message says the console read it before v17). Pre-existing: the base spread the whole row, so the head narrows the echo and does not widen it. _unpublished is declared and parses when echoed. A boundary flag, not a defect.

  4. New runtime dependency — RIGHT. plugin-designer now declares @objectstack/spec ^17.4.0, the range @object-ui/types declares; the lockfile resolves 17.4.0, and in the throwaway install packages/types and packages/plugin-designer resolve the same store entry @objectstack+spec@17.4.0. The floors gate (check-spec-range-floors.mjs) judges symbol presence: AppSchema on @objectstack/spec/ui predates 17.4.0, so every version the range admits carries it, and 17.4.0 is what objectstack origin/main de091b50 runs at the door. Bundling: vite.config.ts externalizes every bare import (external: (id) = on a non-relative id), so @objectstack/spec/ui is not inlined into plugin-designer's dist; the console already loads that module through @object-ui/types's zod mirror (SpecAppSchema at runtime), so consumers bundle nothing new; the head's Bundle Analysis (console entry chunk gzip against a 350 KB ceiling) is green. The spec import is the right route under commandment #0 and 完善设计器的每一个细节 #9: a list read off AppSchema.shape re-derives itself on every spec bump, a restated list is a claim derived once; it follows app-shell's getListViewConfigKeys precedent. Not on the claim's file surface, but named and justified in the PR body.

  5. Renderer and docs — RIGHT. No reader of a top-level app favicon remains at head: AppSchemaRenderer hands AppShell schema.branding?.favicon; EditAppPage's fallback is gone; the runner's LayoutRenderer reads no favicon. ConsoleLayout hands AppShell activeApp.branding.favicon, so the console path agrees. The remaining favicon: occurrences are AppShellBranding props (console-architecture.md's AppShell branding example, the favicon-restore tests) and the operator faviconUrl, not app documents. app-schema.mdx: both examples are AppComponentSchema renderer nodes, the table's stated subject, with branding: { logo: '/…', favicon: '/…' } true on both the mirror and the spec's AppBrandingSchema; the row branding.favicon is true; "a top-level favicon is refused the same way" is true (aliasKeyRefusal on the mirror). Doc Snippet Type Check and Doc Component Type Check are green on the head.

  6. Pins — RIGHT. Run once at the head under the lock: Test Files 4 passed (4), Tests 24 passed (24) (the three pin files plus the reviewer probe), nothing skipped, no testTimeout or hookTimeout in any of the three files. Each fails on base, by reading against 4aebea0: the converter pins assert absence of type, title, favicon, layout, logo and a spec-green parse, and the base converter wrote all four refused keys; the mirror pin asserts invalid_type at favicon, and the base mirror declared favicon: z.string().optional(); the @ts-expect-error pin is an unused directive on base (favicon?: string), which tsc -p tsconfig.test.json refuses; the renderer pin asserts branding.favicon reaches #favicon, which the base never read, and that a stale top-level favicon is ignored, which the base would have written as /stale.ico; the EditAppPage pins assert the served LEGACY row saves a spec-accepted body with type, title, logo, favicon, layout, _diagnostics dropped and requiredPermissions / isDefault kept, and the base spread the whole row; the pre-fill pins assert label and branding.* only, and the base read the title / logo / favicon fallbacks first. CONTROLs are literals: the old converter output is written out (commit 7356c90 replaced the derived one), LEGACY is a literal, the no-favicon BASE is a literal, branding.favicon cases are literals. Rewritten old tests: app-logo-one-spelling-10827.test.ts pin (c) now judges the output with the spec AppSchema (already imported in that file for pin (d)); the spec's alias table refuses a top-level logo, so the intent "no top-level logo, output accepted" is preserved, and the mirror's own refusal remains pinned by (a) and (d). app-creation-types.test.ts replaces the type / title / favicon / layout value assertions with absence assertions, named in the PR. page-app-dashboard-spec-parity.test.ts removes favicon from the "stays permissive" case and reclassifies it beside logo as a local refusal, named. phase2-schemas.test.ts moves the fixture's favicon into branding, named.

  7. Prose — RIGHT. Every sentence of .changeset/10842-wizard-app-declared-keys.md is true at the head: the pages save through client.meta.saveItem('app', …) (CreateAppPage, EditAppPage, routed by AppContent.tsx at create-app and edit-app/:editAppName); the four keys and the unrecognized_keys refusal match the installed spec (my probe: title answers "Did you mean title → label?"); the converter's new key set and its return type match app.ts; favicon?: never and the mirror's message text match app.ts and app.zod.ts; AppSchemaRenderer read schema.favicon and never branding.favicon at base; the EditAppPage paragraph matches the head merge and pre-fill; the migration line is right. No pending changeset is made false: 10827-app-branding-logo-one-spelling.md's sentences on wizardDraftToAppSchema and AppSchemaRenderer still hold, and the other favicon changesets (10040, 10379, 4830, 8637, 5544, 5660) speak of AppShellBranding.favicon or the operator favicon. PR body: first line Fixes #10842; Clause-②: at line start on line 2 (its value judged in item 2).

  8. The open question's facts — RIGHT. (a) The installed AppSchema.shape has no layout (measured list above) and objectstack origin/main's source declares none. (b) No console reader: the only .layout read on an app object outside tests is EditAppPage's pre-fill (appToEdit.layout || 'sidebar', into the draft only); AppSchemaRenderer reads no schema.layout; the runner's LayoutRenderer reads app.layout from its own app.json (App.tsx appConfig), not from the meta door. (c) The only production writer of a stored app layout at base was wizardDraftToAppSchema; at head no production writer remains; AppComponentSchema.layout (the renderer-node face) stays declared on both faces. The Layout radio in AppCreationWizard now persists nothing. Not decided here.

② Semver level

@object-ui/types minor with the break stated in the changeset body (two breaking bullets, migration line); @object-ui/layout patch; @object-ui/plugin-designer patch. Consistent with .changeset/10842-wizard-app-declared-keys.md, with AGENTS.md §9 (no major in the fixed group; breaking marked minor with the semantics in the body) and with the family precedent .changeset/10827-app-branding-logo-one-spelling.md. Changeset Bump Policy, Changeset Declaration, Changeset Fixed Group Check, Changeset Claim Re-read and Changeset Overwrite Report are green on the head.

③ Boundary flags

  • Clause-② declaration. The claim 5860163852 and the PR body say Clause-②: no; by the gate text yes was owed (a published accept set on @object-ui/types . and ./zod moves, a published export's signature changes, a *.zod.ts contract schema is touched). An auditable false declaration, corrected by a comment edit; this record is the tier-qualified review the hit requires.
  • Separator nav item. Measured: a wizard separator (label: '') is refused at navigation.N (unrecognized_keys ['label']). Root is NavigationItem.label: string (blocker 3, pinned in spec-derived-unions.test.ts). Owed a separate same-family card with the measured 422; one click in the wizard still breaks the create-app road step.
  • Tombstone and envelope keys kept by the declared-key filter. Object.keys(AppSchema.shape) includes the retiredKey tombstones and the _lock* / _provenance / _package* envelope; a pre-17.0.0 row carrying homePageId or version is echoed and refused with the spec's prescription. Pre-existing at base (whole-row spread), narrowed here, not closed. A follow-up could exclude tombstones from the kept set.
  • branding.accentColor dropped on every edit save. Pre-existing at 4aebea0; the head neither introduces nor widens it. Owed its own card, as the dev says. Related latent: BrandingConfig.fontFamily exists on the draft type and the spec's strict AppBrandingSchema refuses it at branding (measured); nothing in the wizard writes it today (only BrandingEditor, which has no save path through this converter). The converter's return type declares branding as the spec's AppBranding while the runtime value is a BrandingConfig; structurally assignable, so tsc cannot see it.
  • Spec range disagreement, pre-existing. @object-ui/layout declares @objectstack/spec ^17.0.0 while types and now plugin-designer declare ^17.4.0. Not this PR's.
  • _unpublished and the lock envelope are echoed on an edit save. Declared keys, accepted by the spec; same as base, not widened.
  • NOT measured by this review: the live HTTP save door and a browser drive of the wizard against a booted objectstack. The dev's in-process door table was not used as evidence; the spec-parse results above are this review's own measurements on the installed 17.4.0.
  • PR is behind main (e239161 vs merge-base 4aebea0); no PR file overlaps main's move.
  • CI state. Poll 1 at 2026-09-27T23:13:22Z: 44 check-runs; 33 completed success, Spec Main Shape Gate, Test (shard 1/8) … Test (shard 8/8) and Type Check in_progress; Test (coverage shard …/4), Test (coverage) and dependabot skipped by design. Poll 2 at 2026-09-27T23:28:25Z: 45 check-runs, all completed; every non-skipped check success including Spec Main Shape Gate, Type Check, Test, Test (dist pins), the eight Test (shard N/8), Lint, Build & E2E, Build Docs, Bundle Analysis, Line Citation Gate, Governed Surface Queue Guard, Inert vi.mock Specifier Check, Lockfile Integrity Check, Lockfile Dedupe Check, Pre-Install Import Graph Check, README Export Check, Control Byte Scan, Shell Escape Residue Scan, Doc Snippet Type Check, Doc Component Type Check, Doc Example Id Check, Doc Fence Language Check, Docs Route Eager Closure Check, Internal Docs Link Check, Live E2E (informational), Action Ref Convention, the five changeset checks, the three skill checks and label; the three skipped are the coverage matrix placeholders and dependabot. No failure, no annotations to read.

Implemented-by: claude/issue-10842-wizard-app-declared-keys
Reviewed-by: session_01MCg3z5cGrV51xEddpGcxEY

VERDICT: PASS

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review September 27, 2026 23:36
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Sep 27, 2026
Merged via the queue into main with commit 25cb364 Sep 27, 2026
47 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/issue-10842-wizard-app-declared-keys branch September 27, 2026 23:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

2 participants