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

fix(plugin-gantt, app-shell): refuse an invalid gantt block; designer spec derivations fail loudly - #13490

Merged
objectstack-fleet[bot] merged 3 commits into
mainfrom
claude/project-thread-y2g2x6
Oct 25, 2026
Merged

objectstack-fleet[bot] merged 3 commits into
mainfrom
claude/project-thread-y2g2x6

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Requested by Elon · project thread

Fixes #13459

Clause-②: no
Metadata-protocol: narrowed

  • Adds no product-specific widget, dialog, hook or string (see AGENTS.md › Product-neutral renderer)

What changes

1. ObjectGantt refuses a gantt block that fails GanttConfigSchema (packages/plugin-gantt/src/ObjectGantt.tsx).
Before: safeParse failure → console.warn → the unvalidated block was returned and drawn, so a misspelt or missing key still rendered a plausible chart. Now getGanttConfig returns { config: null, invalidBlock } on that branch and the component renders a refusal (role="alert", data-testid="gantt-invalid-config") naming every parse issue by its path in the block, e.g. gantt.endDateField: …, gantt: Unrecognized key: "startField". The console warning and the shadowed-flat-keys warning still fire. Unchanged: a valid block, the flat ObjectView / ListView spelling (still not parsed, as before), and the "Gantt configuration required" screen for a view with no binding.

2. The five designer spec derivations fail loudly (packages/app-shell/src/views/metadata-admin/{dashboard,package,page,report,view}-schema.ts).
The ten try { … } catch { console.warn(…) } sites (seven z.toJSONSchema derivations, three form clones) and their _…Failed memo flags are removed. Their only input is the bundled @objectstack/spec, so a failed derivation is a build-time fact: it fails the tests beside these files, and at runtime it propagates to the route's ErrorBoundary (console/AppContent.tsx), which shows the error and reports it, instead of rendering a form silently missing fields. The getters' return types narrow from JsonSchema | undefined to JsonSchema. No runtime input reached those catches: the dashboard form's only runtime argument, locale, goes through localizeMetadataForm, which does not throw on an unknown locale.

tzShift.ts (timeZone fallback) is out of scope per the claim (it waits on a spec-row decision).

Tests

On head e26d1cd:

  • New packages/plugin-gantt/src/ObjectGantt.invalidBlockRefusal-13459.test.tsx (4): an undeclared key and a missing required field are each refused with the path named and no chart; the console diagnostic stays; CONTROL: a valid block renders its tasks.
  • New packages/app-shell/src/views/metadata-admin/spec-derivation-13459.test.ts (14): each of the seven getters derives an object schema from the bundled spec, and each THROWS (and does not warn) when z.toJSONSchema throws. The failing toJSONSchema is a scoped vi.doMock + doUnmock: a first version used a hoisted vi.mock, which leaked into view-schema.test.ts in the same worker (3 failures, fixed in a3b60c1).
  • Ablation (each leg committed first, restored with git checkout HEAD --, git diff HEAD empty after): ObjectGantt.tsx reverted to origin/main → the three refusal cases fail, CONTROL passes; view-schema.ts reverted → the three view-schema.* throw cases fail, the rest pass.
  • pnpm exec vitest run packages/plugin-gantt/ → Test Files 100 passed | 1 skipped (101), Tests 775 passed | 114 skipped.
  • App-shell, narrowed: the 88 test files that import a changed module or a component calling one (git grep -lE over the five module names and their callers PackageFormDialog, *DefaultInspector, ViewColumnInspector, ViewVariantInspector, ReportConfigPanel) → Test Files 88 passed (88), Tests 721 passed. Blind spot: a test reaching these modules through another import path is not in that set; CI's sharded pnpm test runs the whole package.
  • type-check: @object-ui/plugin-gantt exit 0, @object-ui/app-shell exit 0 (turbo, both tsc --noEmit and tsconfig.test.json).
  • Gates, local: eslint --no-inline-config on the touched files 0 errors; check:new-line-citations, check:changeset-claims, check-changeset-no-major, check-changeset-presence, check:i18n-keys, check:vi-mock-specifiers, check:vi-mock-inherit, check:vi-mock-override-shape, check:control-bytes, check:test-path-roots all exit 0. check:readme-exports NOT MEASURED (needs every package's dist; CI builds first).

Acceptance notes

  • The refusal copy is English, like the neighbouring "Gantt configuration required" refusal: both address the view's author. Localizing both would touch the ten locale packs, outside the claimed file surface.
  • ObjectTimeline still only warns on a failed TimelineExtensionSchema.safeParse (its refusal covers a missing date axis only). Same shape as this card's gantt half; not changed here (outside the claimed surface).
  • The if (!specXForm || typeof specXForm !== 'object') return undefined guards in the form getters remain: they are not catch-and-warn sites and the existing tests assert the forms are defined.

Generated by Claude Code

🤖 Generated with Claude Code

https://claude.ai/code/session_01AdaeVx4N1y9QsiBkJ31nfJ

… spec derivations fail loudly

ObjectGantt renders a refusal naming each GanttConfigSchema issue instead of
drawing the unvalidated block. The metadata-admin *-schema.ts derivations no
longer catch a failed derivation from the bundled spec and degrade the form.

Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AdaeVx4N1y9QsiBkJ31nfJ
A hoisted vi.mock of zod leaked its failing toJSONSchema into view-schema.test.ts
in the same worker; vi.doMock + doUnmock keeps it inside the throwing cases.

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

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 85 chunks) 3033.4 KB 3496.0 KB
Main entry chunk (gzip) 80.3 KB 350 KB
Entry file index-BbM_zdve.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 (buildIdentity.js) 0.80KB 0.49KB
app-shell (consoleActionDispatch.js) 0.20KB 0.19KB
app-shell (index.js) 21.41KB 7.90KB
app-shell (runtime-config.js) 24.52KB 8.48KB
app-shell (types.js) 0.01KB 0.04KB
app-shell (urlParams.js) 10.11KB 3.87KB
auth (ActiveOrganizationStorage.js) 27.95KB 10.04KB
auth (AuthContext.js) 0.31KB 0.24KB
auth (AuthGuard.js) 2.07KB 1.00KB
auth (AuthProvider.js) 45.59KB 12.03KB
auth (AuthShell.js) 3.49KB 1.40KB
auth (ForgotPasswordForm.js) 12.21KB 3.45KB
auth (LoginForm.js) 20.67KB 6.12KB
auth (PreviewBanner.js) 0.90KB 0.50KB
auth (RegisterForm.js) 6.72KB 2.24KB
auth (SocialSignInButtons.js) 9.74KB 3.94KB
auth (UserMenu.js) 3.39KB 1.21KB
auth (auth-gate-events.js) 1.62KB 0.83KB
auth (authStyles.js) 5.27KB 1.86KB
auth (createAuthClient.js) 42.84KB 11.66KB
auth (createAuthenticatedFetch.js) 8.54KB 3.46KB
auth (index.js) 3.63KB 1.64KB
auth (invitation-status.js) 1.22KB 0.70KB
auth (org-roles.js) 8.84KB 3.61KB
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.26KB 8.03KB
collaboration (LiveCursors.js) 3.17KB 1.27KB
collaboration (PresenceAvatars.js) 6.28KB 2.60KB
collaboration (PresenceProvider.js) 2.79KB 1.13KB
collaboration (commentAuthorship.js) 1.39KB 0.78KB
collaboration (index.js) 1.93KB 0.85KB
collaboration (useCollaborationTranslation.js) 6.50KB 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) 614.94KB 150.52KB
core (index.js) 10.51KB 4.16KB
create-plugin (index.js) 27.92KB 9.50KB
data-objectstack (index.js) 253.04KB 70.68KB
fields (index.js) 295.90KB 75.88KB
i18n (LocalizationContext.js) 2.92KB 1.42KB
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.52KB 2.39KB
i18n (pickLocalized.js) 9.86KB 3.95KB
i18n (provider.js) 39.35KB 12.88KB
i18n (translateFn.js) 0.20KB 0.18KB
i18n (useDisplayLocale.js) 3.52KB 1.76KB
i18n (useObjectLabel.js) 36.87KB 9.88KB
i18n (useSafeTranslation.js) 7.14KB 2.92KB
layout (index.js) 41.17KB 11.96KB
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) 15.35KB 5.51KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 6.82KB 2.38KB
permissions (ServerReadScope.js) 4.03KB 1.82KB
permissions (discardProofCache.js) 1.04KB 0.55KB
permissions (evaluator.js) 8.33KB 3.07KB
permissions (index.js) 0.99KB 0.43KB
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.91KB
plugin-calendar (index.js) 55.31KB 16.16KB
plugin-charts (index.js) 88.30KB 24.33KB
plugin-chatbot (core.js) 5.22KB 2.18KB
plugin-chatbot (index.js) 237.93KB 56.26KB
plugin-dashboard (index.js) 147.15KB 39.95KB
plugin-designer (index.js) 232.83KB 50.01KB
plugin-detail (index.js) 268.92KB 71.56KB
plugin-editor (index.js) 2.21KB 1.04KB
plugin-form (index.js) 185.46KB 48.48KB
plugin-gantt (index.js) 178.95KB 45.22KB
plugin-grid (index.js) 277.62KB 77.39KB
plugin-kanban (index.js) 64.27KB 19.81KB
plugin-list (index.js) 149.51KB 39.15KB
plugin-map (index.js) 27.54KB 9.10KB
plugin-markdown (index.js) 13.79KB 4.79KB
plugin-report (index.js) 46.42KB 13.06KB
plugin-timeline (index.js) 39.74KB 12.00KB
plugin-tree (index.js) 15.25KB 5.38KB
plugin-view (index.js) 93.37KB 24.00KB
providers (DataSourceProvider.js) 0.75KB 0.39KB
providers (MetadataProvider.js) 1.37KB 0.59KB
providers (ThemeProvider.js) 1.90KB 0.85KB
providers (UploadProvider.js) 12.07KB 3.68KB
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) 129.13KB 42.23KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 4.71KB 2.11KB
react (schema-input.js) 4.31KB 2.07KB
react (spec-input.js) 0.20KB 0.18KB
sdui-parser (body-dialect.js) 4.50KB 1.99KB
sdui-parser (codegen.js) 9.45KB 3.76KB
sdui-parser (dashboard-widget-options.js) 3.07KB 1.30KB
sdui-parser (index.js) 7.30KB 3.12KB
sdui-parser (input-type.js) 2.84KB 1.40KB
sdui-parser (parse.js) 25.28KB 7.81KB
sdui-parser (provenance.js) 3.84KB 1.90KB
sdui-parser (types.js) 0.29KB 0.24KB
sdui-parser (validate.js) 23.87KB 7.83KB
types (ai.js) 4.39KB 2.17KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 4.12KB 1.61KB
types (authoring-nodes.js) 0.20KB 0.19KB
types (base.js) 0.20KB 0.18KB
types (blocks.js) 0.20KB 0.18KB
types (cloud.js) 0.20KB 0.18KB
types (complex.js) 4.44KB 2.07KB
types (crud.js) 0.20KB 0.18KB
types (dashboard-filter-alias.js) 6.23KB 2.74KB
types (dashboard-widget-layout.js) 2.06KB 0.96KB
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) 1.13KB 0.65KB
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) 5.78KB 2.70KB
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 (node-slots.js) 7.18KB 2.34KB
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 (product-blocks.js) 0.20KB 0.19KB
types (record-approval-decision.js) 0.20KB 0.20KB
types (record-components.js) 0.20KB 0.19KB
types (record-panels.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) 4.99KB 1.96KB
types (spec-ui-namespace.js) 0.20KB 0.19KB
types (strict-authoring-face.js) 19.93KB 7.26KB
types (system-fields.js) 3.33KB 1.54KB
types (theme.js) 6.28KB 2.87KB
types (ui-action.js) 8.48KB 3.50KB
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

席位核对 — ACCEPT · PR #13490 @ e26d1cdef4aaef50e518151507f33e125d9eb304 · domain:ui#4 · 2026-10-25T02:57Z

Reviewer of record: session_01XWGTsmqrtrt1Zqh1ioWqsT (seat 4). Implemented-by: session_01AdaeVx4N1y9QsiBkJ31nfJ on claude/project-thread-y2g2x6. Card objectui#13459, claim 6392234854, report 6392494130.

  1. Shape: draft, base main, Fixes #13459. No other open card number sits next to a closing keyword. 9 files: ObjectGantt.tsx, the five metadata-admin/*-schema.ts, two new test files, one changeset. All are inside the claimed surface; tzShift.ts is untouched, as the claim put it out.
  2. Premise measured: getGanttConfig returned an authored gantt block unvalidated after a failed safeParse. It now returns { config: null, invalidBlock }, and the component renders a role="alert" refusal listing each issue by its block path (gantt.<path>: message). The flat ObjectView / ListView spelling is unchanged and still unvalidated, as before. The shadow warning now fires before the early return, so both diagnostics still fire on an incomplete block. In the designers, the ten catch → warn → undefined sites are gone: the derivations take the bundled spec as their only input, so a failure throws, red in the new spec-derivation-13459 test and at the route's error boundary at runtime. getViewForm keeps its runtime guard for a missing specViewForm.
  3. Gates on this head: 33 check-runs success (Lint, Type Check, Test shards 1–16 and the aggregate Test, Build & E2E, Build Docs, Repo Gates, the changeset family, Line Citation Gate, Governed Surface Queue Guard, Bundle Analysis, Test (dist pins), label, Live E2E (informational)) and 3 skipped (coverage jobs, dependabot). mergeable_state: clean.
  4. Accepted deviations: the refusal copy is English, like the neighbouring "configuration required" refusal: both address the view's author. Localised copy was drafted and reverted to stay inside the surface.
  5. Out of scope: the card session notes that ObjectTimeline has the same warn-and-draw shape on TimelineExtensionSchema. It is unmeasured, so the seat records it here and does not file it.
  6. Landing: not governed by path. Metadata-protocol: narrowed (a block that drew before is refused now), so the PR carries needs:contract-review and waits for the director seat's contract-review-tier record before landing. Changeset: @object-ui/plugin-gantt + @object-ui/app-shell patch; the seat read both paragraphs against the diff and they match. The maintainer's standing landing word stands for the land once that record passes.

Generated by Claude Code

Copy link
Copy Markdown
Collaborator

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: e26d1cdef4aaef50e518151507f33e125d9eb304
Local-runs: none
Scope: packages/plugin-gantt/src/ObjectGantt.tsx, packages/plugin-gantt/src/ObjectGantt.invalidBlockRefusal-13459.test.tsx, packages/app-shell/src/views/metadata-admin/dashboard-schema.ts, packages/app-shell/src/views/metadata-admin/package-schema.ts, packages/app-shell/src/views/metadata-admin/page-schema.ts, packages/app-shell/src/views/metadata-admin/report-schema.ts, packages/app-shell/src/views/metadata-admin/view-schema.ts, packages/app-shell/src/views/metadata-admin/spec-derivation-13459.test.ts + read for the judgments: objectstack packages/spec/src/ui/view.zod.ts (GanttConfigSchema, a strictObject with startDateField / endDateField / titleField required), packages/plugin-gantt/src/ObjectGantt.blockPrecedence.test.tsx (the existing incomplete-block pin), packages/app-shell/src/console/AppContent.tsx (the route ErrorBoundary), the five inspector callers of the getters, packages/app-shell/package.json + src/index.ts (what app-shell publishes). The prose face (.changeset/13459-refuse-invalid-gantt-block.md) was read as the declaration the code is judged against.

Written 2026-10-25T03:45Z · face: narrowing (Metadata-protocol: narrowed; Clause-②: no) · inputs: card objectui#13459 (filing, triage 6387054722, claim 6392234854, os-dev-report 6392494130), seat ACCEPT 6392708594, PR body, the 9-file diff against main at 6f629a7, the 36 check runs on this head. Read-only: nothing built, run or re-run. objectui has no record-recogniser script; the record follows objectstack's shape.

① Derived judgments

  1. An invalid gantt block is refused, never drawn — RIGHT, and the refusal is grounded in the published spec. getGanttConfig now returns { config: null, invalidBlock } when GanttConfigSchema.safeParse(schema.gantt) fails, and the component returns a role="alert" refusal (data-testid="gantt-invalid-config") listing each issue as gantt.PATH: message before the "Gantt configuration required" screen. The spec's GanttConfigSchema is a strictObject (objectstack#15469 shut the former .passthrough() window) requiring the three date/title fields, so both pinned refusals are real refusals of the published contract: an undeclared key (startField) and a missing required field (gantt.endDateField). The old path handed the unvalidated block downstream, which is the lenient-consumer fallback AGENTS.md #0.1 forbids; the card's "refuse loudly" is met. config is null on that branch, so no downstream reader (ganttConfig?.groupByField, the task memo at !ganttConfig || !data.length) can touch the invalid block.

  2. What stays as it was — RIGHT, and declared. A valid block renders (CONTROL pin). The flat ObjectView / ListView spelling is still not parsed (the branch now wraps its result in the new shape and nothing else), and the no-binding screen is unchanged. warnOnShadowedFlatGanttKeys moved ahead of the parse, so an incomplete block beside flat keys still fires both diagnostics, which the existing blockPrecedence pin "still reports an incomplete winning block through the existing safeParse warning" asserts on warnings alone, not on a drawn chart; it stays green on this head (Test shards 1–16 success). The console warn is kept beside the refusal (pinned).

  3. Designer spec derivations fail loudly — RIGHT, with no public-surface change. The ten try { … } catch { console.warn; return undefined } sites and their _…Failed flags are gone; the seven z.toJSONSchema getters memoise with ??= and throw on failure, and the three form clones run unguarded. The only input to every removed catch is the bundled @objectstack/spec (the dashboard form's locale goes through localizeMetadataForm, which does not throw on an unknown locale), so a failure is a build-time fact: the new test derives each of the seven schemas from the bundled spec (object with properties) and, with a scoped vi.doMock('zod') whose toJSONSchema throws, asserts each getter rejects and does not warn. At runtime the throw reaches the route ErrorBoundary at console/AppContent.tsx:1344, as claimed. The if (!specXForm || typeof specXForm !== 'object') return undefined guards remain, correctly: they are not catch sites. Return types narrow from JsonSchema | undefined to JsonSchema on five getters; getListVariantSchema / getFormVariantSchema keep | undefined (properties?.list). The five callers (PackageFormDialog, the four inspectors, mergeServerFields) read with ?. or pass the value through; a stricter return type breaks none. These modules are not re-exported by packages/app-shell/src/index.ts, and the package publishes only . and ./styles.css, so nothing a consumer imports changes shape.

  4. Clause-② — no holds. No new export, prop, key or string a consumer or author can target: getGanttConfig and describeGanttBlockIssues are module-local, the refusal copy is a renderer diagnostic in the same English register as the neighbouring "configuration required" refusal (product-neutral, no product string). The spec is untouched.

  5. Scope discipline — as claimed. Nine files, all inside the claim's file surface; tzShift.ts untouched (the card ties it to a spec-row decision); ObjectTimeline's warn-and-draw on TimelineExtensionSchema.safeParse is recorded in the report as unmeasured, not changed here — correct, it is outside the claim.

② Semver level

  • Changeset .changeset/13459-refuse-invalid-gantt-block.md: @object-ui/plugin-gantt patch, @object-ui/app-shell patch, the two packages whose source moves; the two paragraphs describe the diff truly. Patch is accepted on this face, and the reasoning is written down because objectui#13482 (also Metadata-protocol: narrowed) carried minor: feat(core): show a holeless confirmText / successMessage as written (objectui#13476) #13482 changed how a value that is VALID under the schema (a holeless ${…} sentence) is read, which is a breaking change to authored metadata, and objectui's policy (AGENTS.md 版本号策略) marks those minor. This PR refuses input that is already INVALID against the published strict GanttConfigSchema; the renderer drawing it was a bug in a consumer, and the designer half changes no runtime input and no published export. A fix that makes a consumer honour the contract it already claimed is a patch under semver and under the policy's own words. Within objectui's fixed group the distinction changes nothing about what ships (the group bumps together), so if the seat prefers the objectstack convention (every narrowing minor) it is a one-line edit, not a re-review. Changeset Declaration, Changeset Bump Policy, Changeset Fixed Group Check, Changeset Claim Re-read and Changeset Overwrite Report are all success.
  • Check runs on e26d1cd (36 at 03:36Z): every run completed; 33 success (Lint, Type Check, Test shards 1–16 and the aggregate Test, Build & E2E, Build Docs, Repo Gates, the five changeset gates, Line Citation Gate, Governed Surface Queue Guard, Bundle Analysis, Test (dist pins), label, Live E2E), 3 skipped (the two coverage jobs, dependabot); none failure, none pending. mergeable_state: clean. Console Performance Budget PASS (6392497716).

③ Boundary flags

Dev report: 6392494130 on #13459. Seat ACCEPT: 6392708594 on the PR, echoed on the card at 6392845769. PR author login objectstack-fleet[bot]; assignee and requested reviewer os-elon-musk (the card's lane account; nothing to note). PR is draft; the landing is the seat's once this record stands.

  • Nit, no action: with a remote data source the refusal is shown only after the loading and error returns, so a view with an invalid block still spends one data round trip before saying so. The author sees the refusal either way; a fetch failure shows the error screen first. Not a contract matter.
  • Nit, no action: the two app-shell getters that still return | undefined do so for a real reason (a spec properties map without list / form), so their callers' ?. reads are not dead; the test's it.each covers them with the same two halves.
  • Follow-up candidate, not this PR's: ObjectTimeline's TimelineExtensionSchema.safeParse warn-and-continue (report's out-of-scope finding, carrier none). Same shape as the gantt half; the seat records it unfiled.
  • tzShift.ts timeZone fallback: the card's optional item, waiting on the spec-row decision; out by the claim.

Implemented-by: session_01AdaeVx4N1y9QsiBkJ31nfJ
Reviewed-by: session_01Bf4vhia9fHNXpqC1PCfxie

VERDICT: PASS

The narrowing refuses what the published spec already refused, is pinned in both directions, and widens nothing; the designer half moves a build-time failure from a silent degraded form to a red test and an error boundary with no published surface touched. needs:contract-review removed in this stroke.


Generated by Claude Code

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review October 25, 2026 04:02
@objectstack-fleet
objectstack-fleet Bot enabled auto-merge October 25, 2026 04:02
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Oct 25, 2026
Merged via the queue into main with commit 320ec35 Oct 25, 2026
37 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/project-thread-y2g2x6 branch October 25, 2026 04:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

2 participants