Skip to content

feat(types): refuse chartType on a chart series by name, pointing at type - #7737

Merged
os-sam merged 3 commits into
mainfrom
claude/issue-7694-chart-type-alias-refusal
Sep 5, 2026
Merged

feat(types): refuse chartType on a chart series by name, pointing at type#7737
os-sam merged 3 commits into
mainfrom
claude/issue-7694-chart-type-alias-refusal

Conversation

@claude

@claude claude Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Fixes #7694

Summary

ChartDataSeriesSchema (@object-ui/types/zod) now refuses chartType on a chart series by name, pointing at type, and its TS twin ChartDataSeries carries a chartType?: never tombstone. This is the ruled shape — option A of the domain:ui PM ruling on objectui#7546 and the contract review of PR #7684 (merged) — and it is a narrowing: on the base (a00db9ef9) { name: 'r', chartType: 'line' } parsed green with the key stripped in silence by the non-strict object; it now refuses at series.N.chartType.

The refusal answers with the spec's own sentence, one string on both channels (parse-time issue message and .describe() metadata):

Unrecognized key(s) on this chart series: `chartType`. Did you mean `chartType` → `type`? `chartType` is the renderer's INTERNAL spelling of the declared `type` (objectui#7694): `@objectstack/spec`'s `ChartSeriesSchema` lists it as an alias of `type` and refuses it the same way, and nothing on this authoring face writes it. Write `type` (`bar` | `line` | `area`) for a per-series family override. Until this refusal an authored `chartType` was STRIPPED in silence by this non-strict object, so the series drew in the chart's own family — precisely what the author was overriding.

Issue code invalid_type, path ['chartType']. Both-written ({ type: 'bar', chartType: 'line' }) is refused at chartType alone — not folded, no precedence minted. No reader changed: normalizeSeries' str(raw.chartType) ?? str(raw.type) is untouched.

Clause-② — every accept-set / published-surface change in this diff

  1. ChartDataSeriesSchema (@object-ui/types/zod): a series carrying chartType — any value — now refuses at chartType (invalid_type); it parsed green with the key stripped before. Narrowing. Which documents this reaches, re-measured on the merged head: the schema is embedded by ChartSchema.series (zod/data-display.zod.ts:622, z.array(ChartDataSeriesSchema)) and, one level further out, by ReportSectionSchema.chart (zod/reports.zod.ts:105, ChartSchema.optional()); authors meet it through safeValidateSchema() (zod/index.zod.ts:434, which parses AnyComponentSchema) and through the CLI's objectui check and objectui validate commands (packages/cli/src/cli.ts:211 and :223). A release reader therefore scans every chart node's series[], and every report section whose chart carries one.
  2. ChartDataSeriesSchema.shape gains the key chartType (a z.never arm, optional, described) — visible to anything reading the mirror's own shape, and to z.toJSONSchema, which now lists chartType as { not: {} } carrying the guidance. z.toJSONSchema(ChartDataSeriesSchema) succeeded before (11 properties) and still succeeds (12). ⚠️ The two io modes are not affected alike — measured on the merged head against a base stand-in that reproduces the real emission byte-for-byte in both modes: in io: 'input' the emitted object carries no additionalProperties at all, so the accept set genuinely narrows there (chartType goes from unmentioned to a property nothing satisfies); in io: 'output' — the default, and what a bare z.toJSONSchema(…) emits — the base already emitted additionalProperties: false, so the key was outside the accept set before this change, and what that mode gains is the NAMED refusal and its guidance, not a narrower accept set. Property count 11 → 12 in both modes.
  3. ChartDataSeries (@object-ui/types): new member chartType?: never. A fresh literal writing it was already an excess-property error; a widened / non-fresh object carrying chartType assigned structurally before and is a tsc error now. Narrowing on the TS face.
  4. zod/tombstone.zod.ts gains aliasKeyRefusal() — package-internal like its two siblings, not re-exported from index.zod.ts. No published-surface change.
  5. Docs: one sentence under the per-series table in content/docs/plugins/plugin-charts.mdx and one clause on the series row of content/docs/api/schema-reference.md, both saying chartType on a series is refused by name and type is the spelling. Prose only, no new snippet.

Nothing else on the accept surface moved: the object stays non-strict (a truly undeclared key is still stripped — pinned), the six objectui#7546 keys, the data tombstone and the at-least-one-binding refinement are untouched.

Re-measured liveness (my numbers beside the card's)

Series-level chartType on the authoring face, with lit controls in the same query (dataKey / name / type / color). The instrument locates every series array literal by bracket matching (comment-aware) and counts keys inside those spans, so chart-level chartType (a declared ChartSchema key, 22 / 3 / 77 / 133 sites in the same four populations) is never confused with the series-level key.

population card mine controls (dataKey / name / type / color) agree
docs (content/docs, READMEs, skills/) 0 0 10 / 11 / 2 / 2 yes
fixtures (examples/, fixtures/, *.json / *.yaml) 0 0 3 / 2 / 0 / 2 yes
designer inputs 0 0 — the chart registration's series is one code input (packages/plugin-charts/src/index.tsx:114) yes
src literals (packages/*/src, apps/*/src, non-test) 0 0 13 / 3 / 1 / 0 yes
tests 9 9AdvancedChartImpl.comboMarkClick.test.tsx:114 (2), AdvancedChartImpl.comboFromSeries.test.tsx:59,71,101,116,134 (6), ChartRenderer.specSeries.test.tsx:97 (1); all internal dataKey-shaped, on ChartRenderer's raw path 70 / 48 / 11 / 8 yes

The spec's posture, measured live on the installed @objectstack/spec@17.2.0: ChartSeriesSchema.safeParse({ name: 'r', chartType: 'line' })unrecognized_keys, keys ['chartType'], message beginning Unrecognized key(s) on this chart series: \chartType`. Did you mean `chartType` → `type`?; the type` control parses green and keeps its value.

Limb ablation, re-run (both legs, trap-restored, hashes checked)

Population: packages/plugin-charts/, packages/plugin-dashboard/, packages/types/, packages/plugin-report/, examples/schema-catalog/ plus the eight test files elsewhere that import @object-ui/plugin-charts / normalizeChartSchema304 files / 5817 tests (the card's reviewer ran 197 / 2380). Resolution: vitest.config.mts aliases @object-ui/plugin-charts to packages/plugin-charts/src, so the mutated SOURCE is what every test resolved; no dist rebuild was on the path. Each leg: anchor counted before (1), mutation confirmed on disk by grep -c of the old anchor (0) and the new line (1) plus git diff HEAD --stat (1 file, 1 insertion, 1 deletion) and the mutated blob hash; restore via git checkout HEAD -- ABSOLUTE_PATH in a trap … EXIT INT TERM, proven by git hash-object equal to the HEAD blob (05a66dfb…) and an empty git diff HEAD --stat.

  • Leg A — delete str(raw.chartType) ?? : Test Files 304 passed (304) · Tests 5817 passed (5817), vitest exit 0. Green — the key is still not live on any path a test exercises.
  • Leg B (sibling control) — delete ?? str(raw.type): Test Files 2 failed | 302 passed (304) · Tests 2 failed | 5815 passed (5817), vitest exit 1 — normalizeChartSchema.test.ts › carries stack / yAxis / color on a series and ChartRenderer.specSeries.test.tsx › honours a spec series[].type override end to end. Red, the same two the card reported. The instrument is lit.

Both legs ran on the untouched base tree (before any edit of mine), under os-verify-lock.sh.

The convention matched, and the one thing added

The package carries two named-refusal helpers in packages/types/src/zod/tombstone.zod.ts: retirementTombstone(guidance) (line 65 — z.never({ error }).optional().describe(), ADR-0049 retired keys, code invalid_type) and handlerKeyRefusal(key, disposition, label) (line 121 — z.custom never-typed predicate, code custom, for on* keys). Neither fits an alias by name: a retirement tombstone's guidance is a migration note for the key the contract is withdrawing, while an alias arm's guidance has to carry the canonical spelling; and the handler arm's text is about function values. ⚠️ Corrected after the contract review, and re-measured here. An earlier draft of this paragraph, and of the helper's own docblock, argued that a census of retirementTombstone( sites is a census of keys the contract once declared. That partition is false on this tree: MenuItemSchema.type (zod/overlay.zod.ts:196, objectui#6523) is a retirementTombstone whose own guidance reads "type ('separator' or 'label') was an undeclared spelling two renderers used to read and is now a declared refusal, not a strip", and overlay.ts:458-464 states it again ("a spelling the type never declared"). A never-declared, renderer-read spelling turned into a named refusal pointing at the canonical key therefore already had a precedent in this package, filed under retirementTombstone. The real differentiator is the message: aliasKeyRefusal composes the lead sentence @objectstack/spec's strictObject({ aliases }) answers with, so one remedy meets the author on both faces — same z.never primitive, same invalid_type code, a three-line composer. A vocabulary, not a shape. objectui#7678 tracks this class of self-contradictory retirement rationale; this PR no longer adds a second instance of it. So this PR adds a third sibling, aliasKeyRefusal(alias, canonical, surface, detail), that reuses retirementTombstone's primitive — no new shape — and the same one-string-two-channels discipline.

Why that primitive and not handlerKeyRefusal's z.custom, measured on the base with tsx: z.toJSONSchema throws on a z.custom arm (Custom types cannot be represented in JSON Schema) and represents a z.never arm as { "description": …, "not": {} }. z.toJSONSchema(ChartDataSeriesSchema) worked before this change and must go on working; the pin test's block (f) holds both halves (the call succeeds and carries chartType; the z.custom counter-probe throws).

Files touched

  • packages/types/src/zod/data-display.zod.ts — the arm beside type; import. (uncontended)
  • packages/types/src/data-display.tschartType?: never with the measurement in its docblock. (uncontended)
  • packages/types/src/zod/tombstone.zod.tsaliasKeyRefusal() (+ module header line).
  • packages/types/src/__tests__/chart-series-chart-type-alias-refusal-7694.test.ts — new pin (blocks a–f: envelope, shape + z.input, both-written, TS face incl. the non-fresh assignment, spec agreement measured live, JSON-Schema surface + primitive counter-probe).
  • packages/types/src/__tests__/chart-series-keys-7546.test.ts — block (d) restated as the handoff (objectui#7070: not deleted into a vacuum); header prose notes the card that landed.
  • .changeset/7694-chart-series-chart-type-alias-refusal.md@object-ui/types: minor, the narrowing stated in release-reader words (own grade, argued from the accept-set change).
  • content/docs/plugins/plugin-charts.mdx, content/docs/api/schema-reference.md — one sentence / one clause each.

Contended files from the brief — none touched: zod-mirror-parity.test.ts (no ledger entry needed: the arm's z.input is undefined and the twin is ?: never, so the pair does not drift), zod/index.zod.ts, index.ts. ⚠️ The parity ratchet's instrument is tsc -p packages/types/tsconfig.test.json, not vitest. The ratchet is a type-level assignability assertion, so a vitest run cannot report it in either direction; an earlier draft of this line rested the conclusion on "the parity suite passed unchanged" under vitest, which is the wrong citation for a conclusion that still holds. That tsc invocation is the one CI's Type Check runs, and it is proven lit on the merged head below.

Verification (exit codes captured before any pipe; verdict lines quoted)

Land-prep round — merged head 3929d1036

origin/main moved seven commits under this branch after the review (a00db9ef9..81a2eb1fb: #7621, #7738, #7686, #7732, #7731, #7730, #7726). Brought current by merge, not rebase — merge commit 6bcd58ff2, Merge made by the 'ort' strategy, 0 conflicts; git diff de8fda691..HEAD restricted to this PR's own files is empty, so the merge moved nothing this PR owns.

  • tsc -p packages/types/tsconfig.test.json --noEmit — exit 0. --listFiles reports 580 files and all three edited paths are among them (the pin test, zod/tombstone.zod.ts, data-display.ts), so this instrument really measures the edit rather than excluding it.
  • pnpm --filter @object-ui/types build — exit 0, ✓ dist completeness: 1 package(s) complete (124 emitted files verified).
  • pnpm exec eslint . (repo-wide) — exit 0, ✖ 11939 problems (0 errors, 11939 warnings); every warning is the pre-existing @typescript-eslint/no-explicit-any.
  • pnpm exec vitest run packages/types/ — exit 0, Test Files 119 passed (119) · Tests 2054 passed (2054).
  • The four changeset gates, all exit 0: check-changeset-presence (5 source file(s) of 1 released package(s) changed, and this change declares 1 changeset(s)), check-changeset-no-major, check-changeset-fixed, check-changeset-overwrite (1 changeset(s) added, 0 modified, 0 deleted).
  • check:control-bytes exit 0 (6317 tracked text files scanned), check:doc-fences exit 0, and check-governed-queue-guard --test over this PR's 8 paths: ✅ NOT GOVERNED — 8 path(s) checked against 5 governed surface(s); none matched.

The parity ratchet is lit on the merged head. Control — tsc -p packages/types/tsconfig.test.json --noEmit on the untouched tree: exit 0. Mutate the TS twin chartType?: neverchartType?: string, with the mutation confirmed on disk before reading anything (old anchor grep -c 1 → 0, injected line 1, blob 9aa36e06… ≠ the HEAD blob 9fb07328…, git diff HEAD --stat = 1 file / 1 insertion / 1 deletion): the same command goes exit 2, and among its 5 errors is packages/types/src/__tests__/zod-mirror-parity.test.ts(1522,14): error TS2322: Type 'LedgerMismatch' is not assignable to type 'never'., naming the pair "data-display.zod.ts#ChartDataSeriesSchema". Restored inside a trap … EXIT INT TERM against an absolute path and proven by git hash-object equal to the HEAD blob 9fb07328… plus an empty whole-tree git diff HEAD --stat.

Pin block (e) was rewritten so it can fail for the right reason. It compared ours and the spec's message each to a constant, never to each other, so a spec reword of the lead would have left both assertions green while the two faces diverged. It now derives the expected lead from the installed spec's live message at assert time, with a guard that the cut still contains the remedy. The cut is unchanged — lead + Did you mean …?, excluding the spec's trailing clause — and measured on the installed @objectstack/spec@17.2.0 that cut is 91 bytes, byte-equal to ours. Two proofs it reddens:

  • Our side diverges (real mutation, on the tree). Change the composer's Unrecognized to Unrecognised in zod/tombstone.zod.ts; mutation confirmed on disk (old anchor 1 → 0, injected 1, blob 71d58158… ≠ HEAD d431a1f9…). The block goes Tests 1 failed | 24 skipped (25), vitest exit 1, AssertionError: expected false to be true. Restored under a trap, git hash-object == d431a1f9…, git diff HEAD --stat empty.
  • The spec's side rewords its lead (scratch fixture). Feeding a lead-reworded spec message through both assertion shapes: the old shape stays green on both halves — precisely the defect the review named — while the new shape goes red. Control on the unreworded live spec: green.

Implementation round — on de8fda691, before the merge

Under scripts/pm/os-verify-lock.sh (shared box; absolutes are not idle-box figures):

  • packages/types: tsc --noEmit exit 0; tsc -p tsconfig.test.json --listFiles exit 0 and both edited test files listed (2 hits); tsc -p tsconfig.examples.json exit 0; eslint . exit 0 (✖ 268 problems (0 errors, 268 warnings) — all pre-existing no-explicit-any, none on touched lines).
  • pnpm exec vitest run --maxWorkers=2 packages/types/Test Files 116 passed (116) · Tests 1991 passed (1991), exit 0 (includes zod-mirror-parity).
  • pnpm --filter @object-ui/types build✓ dist completeness: 1 package(s) complete (120 emitted files verified); chartType?: never present in dist/data-display.d.ts.
  • Reverse verification, fix committed firstdata-display.zod.ts + data-display.ts reverted to BASE (helper kept so the instrument loads), pin files run: Tests 15 failed | 37 passed (52), exit 1; tsc -p tsconfig.test.json exit 2 with the three predicted errors (TS2339 at the z.input line and the ChartDataSeries['chartType'] line, TS2578 unused directive on the non-fresh assignment). Direction observed: red, as predicted; restored, both hashes equal to HEAD blobs, git diff HEAD --stat empty.

Unlocked gates on the committed tree: check:control-bytes ✅ (6302 files), check:doc-fences ✅, check:doc-types ✅, check:spec-symbols ✅, check:unreferenced-sources OK, check:phantom-deps ✅, docs:check-links (Links are valid across 17 scan roots), check-changeset-presence ✅ (5 source files of 1 released package, 1 changeset declared), check-changeset-no-major ✅, check-changeset-fixed ✅, check-changeset-overwrite ✅ (1 added, 0 modified, 0 deleted).

Declared narrowings (CI owns the farm):

  • check:doc-snippetsNOT MEASURED locally: PRECONDITION NOT MET (exit 2), it needs 26 packages built. Why it cannot turn red on this diff: the docs edits add prose only (no fence), and the only type change is chartType?: never on a series, whose sole trigger is a doc snippet writing series-level chartType — the docs census above reads 0 with lit controls. doc-snippet-types.yml runs it in CI.
  • Downstream consumer type-check (pnpm --filter '...@object-ui/types' type-check, prefix filter = consumers) — not run in full (15-package build closure). Evidence it cannot break: zero packages outside packages/types import ChartDataSeries or ChartSchema from @object-ui/types (grep), and the src-literal census reads 0 series-level chartType with lit controls. CI's type-check job runs the farm.
  • pnpm lint / pnpm test repo-wide — CI's runs; the package-scoped eslint . and vitest run packages/types/ above are the measured halves.

Questions for the contract reviewer (boundary flags, not resolved here)

  1. The reader's first limb. normalizeSeries still reads chartType first on the internal-shape arrays its producers hand it, while the authoring face now refuses the same key. Fence-correct here (⛔ no reader), but is the limb owed a docblock or a card of its own saying it is an internal-shape read only? Not touched.
  2. aliasKeyRefusal as a family member. It is the third helper in tombstone.zod.ts and reuses the z.never primitive (so z.toJSONSchema keeps working). If the reviewer would rather the alias arm share handlerKeyRefusal's custom code, that trades away the JSON-Schema surface — block (f) measures the trade.
  3. The spec-lead coupling — answered by the review, and now implemented. The arm's lead sentence is byte-identical to the spec's today. Block (e) derives that lead from the installed spec at assert time and asserts ours starts with it, cut at the Did you mean …? remedy and deliberately excluding the spec's trailing clause. The review measured that cut hex-equal across ours / installed 17.2.0 / fetched 17.3.0, with 17.3.0 rewording only the trailing clause — so pinning further would redden this repo on a spec bump for no author-facing gain. (The review states the cut as 92 bytes; measured here through the ? it is 91 — the difference is the single space that follows it.)

Session: https://claude.ai/code/session_01KbJQ1y1J12nZxYzFWhP8Q3


Generated by Claude Code

…t `type`

`ChartDataSeriesSchema` is a non-strict `z.object`, so an authored series
`chartType` — the renderer's INTERNAL spelling of the declared `type`, the
first limb of `normalizeSeries`' `str(raw.chartType) ?? str(raw.type)` — was
stripped in silence while `safeParse` reported success. It is now declared as
a named ALIAS REFUSAL arm (`aliasKeyRefusal()` in `zod/tombstone.zod.ts`,
reusing `retirementTombstone`'s `z.never` primitive so `z.toJSONSchema` keeps
working) that answers with the spec's own sentence — "Unrecognized key(s) on
this chart series: `chartType`. Did you mean `chartType` → `type`?" — and the
TS twin carries a `?: never` tombstone. Both-written is refused, not folded.

Re-measured at implementation time, series-level, lit controls: docs 0,
fixtures 0, designer inputs 0, src literals 0, tests 9 (internal-shape).
Limb ablation over 304 files / 5817 tests: deleting the `chartType` limb
left all green; deleting the `type` sibling went 2 red. No reader changed.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KbJQ1y1J12nZxYzFWhP8Q3
@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 50 chunks) 3186.7 KB 3191.4 KB
Main entry chunk (gzip) 143.2 KB 350 KB
Entry file index-tv0umgJV.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) 15.67KB 5.75KB
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) 25.05KB 9.16KB
auth (AuthContext.js) 0.31KB 0.24KB
auth (AuthGuard.js) 2.07KB 1.00KB
auth (AuthProvider.js) 40.18KB 10.59KB
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.41KB 1.23KB
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.46KB 3.43KB
auth (index.js) 3.19KB 1.44KB
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) 5.13KB 2.35KB
collaboration (CommentThread.js) 26.08KB 7.56KB
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) 510.70KB 116.21KB
core (index.js) 6.96KB 2.79KB
create-plugin (index.js) 10.08KB 3.26KB
data-objectstack (index.js) 180.00KB 50.20KB
fields (index.js) 242.27KB 61.22KB
i18n (LocalizationContext.js) 1.76KB 0.96KB
i18n (builtinAggregateLabels.js) 0.86KB 0.49KB
i18n (currency.js) 1.22KB 0.64KB
i18n (fallbackInterpolation.js) 6.25KB 2.77KB
i18n (i18n.js) 4.28KB 1.75KB
i18n (index.js) 3.65KB 1.47KB
i18n (pickLocalized.js) 7.62KB 3.26KB
i18n (provider.js) 26.89KB 9.04KB
i18n (useDisplayLocale.js) 2.85KB 1.45KB
i18n (useObjectLabel.js) 34.34KB 9.17KB
i18n (useSafeTranslation.js) 5.60KB 2.33KB
layout (index.js) 38.98KB 10.98KB
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) 2.53KB 0.85KB
mobile (useResponsive.js) 0.72KB 0.42KB
mobile (useSpecGesture.js) 4.39KB 1.66KB
mobile (useTouchTarget.js) 1.01KB 0.54KB
permissions (MePermissionsProvider.js) 11.71KB 4.29KB
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) 5.12KB 1.74KB
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) 15.75KB 3.80KB
plugin-calendar (index.js) 47.87KB 13.31KB
plugin-charts (index.js) 70.92KB 19.75KB
plugin-chatbot (index.js) 196.37KB 46.41KB
plugin-dashboard (index.js) 132.87KB 34.68KB
plugin-designer (index.js) 212.86KB 43.19KB
plugin-detail (index.js) 250.55KB 64.06KB
plugin-editor (index.js) 2.46KB 1.10KB
plugin-form (index.js) 132.87KB 32.66KB
plugin-gantt (index.js) 167.26KB 41.00KB
plugin-grid (index.js) 209.29KB 56.78KB
plugin-kanban (index.js) 52.71KB 14.55KB
plugin-list (index.js) 113.28KB 27.59KB
plugin-map (index.js) 20.44KB 6.78KB
plugin-markdown (index.js) 13.93KB 4.81KB
plugin-report (index.js) 43.59KB 11.97KB
plugin-timeline (index.js) 30.84KB 8.85KB
plugin-tree (index.js) 9.20KB 3.19KB
plugin-view (index.js) 85.24KB 20.94KB
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.66KB 3.50KB
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) 81.07KB 26.86KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 4.63KB 2.18KB
react (schema-input.js) 2.32KB 1.24KB
react (spec-input.js) 0.20KB 0.18KB
sdui-parser (codegen.js) 5.41KB 2.34KB
sdui-parser (dashboard-widget-options.js) 3.08KB 1.30KB
sdui-parser (index.js) 4.93KB 2.24KB
sdui-parser (input-type.js) 2.84KB 1.40KB
sdui-parser (parse.js) 20.57KB 5.88KB
sdui-parser (provenance.js) 3.66KB 1.82KB
sdui-parser (types.js) 0.28KB 0.23KB
sdui-parser (validate.js) 10.35KB 3.60KB
types (ai.js) 0.20KB 0.17KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 2.87KB 1.00KB
types (base.js) 0.20KB 0.18KB
types (blocks.js) 0.20KB 0.18KB
types (complex.js) 2.74KB 1.41KB
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.25KB
types (layout.js) 0.20KB 0.18KB
types (managed-by.js) 0.19KB 0.18KB
types (mobile.js) 4.73KB 2.28KB
types (navigation.js) 0.20KB 0.18KB
types (objectql.js) 0.20KB 0.18KB
types (overlay.js) 0.20KB 0.18KB
types (permissions.js) 0.20KB 0.18KB
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 (system-fields.js) 3.33KB 1.54KB
types (theme.js) 6.28KB 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

@claude

claude Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor Author

Contract review — VERDICT: PASS

domain:ui PM seat, session_01KbJQ1y1J12nZxYzFWhP8Q3. Reviewed in isolation at head de8fda691 (merge-base a00db9ef9), by a subagent running as claude-fable-5-1, in detached scratch worktrees — at the head, at the merge-base, and in a cherry-pick dry-run onto current origin/main. All worktrees removed without --force; every ablation restore proven by object hash; no GitHub writes from the reviewer. Nine attack directions were put to it; all nine were measured and it declares zero confidence gaps.

⭐ The review falsified a claim this PR ships, and that is the finding worth reading

The PR argues aliasKeyRefusal is a new category because retirementTombstone retires keys the contract once declared, and chartType was never declared. Measured across 41 retirementTombstone( sites, that partition is already false on main:

overlay.zod.ts:198MenuItemSchema.type (#6523) is a retirementTombstone whose own guidance says it "was an undeclared spelling two renderers used to read and is now a declared refusal, not a strip", confirmed by overlay.ts:458–463 ("a spelling the type never declared").

So the package already had a precedent for exactly this category — never-declared, renderer-read spelling → named refusal pointing at the canonical spelling — and used retirementTombstone for it. ⇒ The docblock's stated rationale does not carry the third helper.

The helper itself is still licensed — the reviewer names the real differentiator: the message shape, composing the spec's own strictObject({aliases}) sentence so one remedy meets the author on both faces, which is #0.1-correct. Same primitive, same invalid_type code, a three-line composer: a vocabulary, not a shape. But the sentence in the tree explaining why is wrong, and this package already carries an open card (#7678) about exactly this class of self-contradictory retirement rationale. ⛔ I am not shipping a second instance of it.

What was measured on the two directions I flagged as priorities

Parity ledger (#7731 landed underneath and rewrote how that population is derived). Verified at the merge-base and on a cherry-pick onto current origin/main (0 conflicts). No ledger entry is needed and the pair reconciles — the pair is still registered at rebased lines 444/605 with the comparison type unchanged, and the instrument is lit: mutating the twin to ?: string reddens zod-mirror-parity.test.ts with LedgerMismatch not assignable to never. ⚠️ But the PR body cites the wrong instrument: "the parity suite passed unchanged" under vitest is not the ratchet — tsc -p packages/types/tsconfig.test.json is. The dev ran that too (exit 0) and CI's Type Check ran it, so the conclusion holds; the citation does not.

Index signature. ChartDataSeries is standalonedata-display.ts:1406–1588, no extends, no index signature (the [key: string]: any hits in that file are at 728/1188/1904/1988, all outside it). ⇒ the loud-vs-silent argument does not apply here, and the PR correctly does not claim it: a fresh literal was already TS2353 before this PR, and the tombstone's only new red is the widened / non-fresh assignment (base exit 0 → head exit 2). The silent-strip payload lives on the Zod face, where it was measured. Claim not overstated.

Also confirmed

  • Spec coupling survives 17.3.0. The 92-byte lead is hex-equal across ours / installed 17.2.0 / fetched 17.3.0; 17.3.0 changes only the trailing clause. The pin's cut (lead + Did you mean, excluding the trailing clause) is precisely the cut that survives. Since 17.3 has shipped, this was the right thing to have asked.
  • Census reproduced by an independent instrument (TypeScript AST property-assignment ancestry, not a bracket matcher): series-level chartType 0 / 9 / 0, lit controls dataKey 11 / 61 / 7, the nine test sites at the named lines. ⚠️ The chart-level absolutes were not reproduced (mine 13/3/40/67 vs the PR's 22/3/77/133) — different counting definitions; the separation, which is the actual reading, agrees.
  • Limb ablation re-run on 304 files / 5817 tests: leg A green 5817 passed, leg B 2 failed | 5815 passed, the same two tests. Restores hash-verified.
  • z.toJSONSchema 11 → 12 properties, { not: {} } in both io modes; z.custom throws. Dev Q2 → A (keep z.never). ⚠️ Nuance missing from Clause-②: the emitted accept set narrows only in io:'input'io:'output' already emitted additionalProperties:false.
  • Docs prose only; content/docs/releases/ 0 files. Doc Snippet Type Check read run-by-run: success. All 32 check runs terminal, 29 success / 3 skipped by design / 0 failed — enumerated individually, ⛔ not from the check_suite rollup.
  • Semver minor correct, and the changeset body states the narrowing in actionable words — every sentence in it verified true.

Dev Q1 → B, and it now has a carrier: #7744

The authoring face refuses chartType while normalizeSeries still reads it first on the authored path (ChartRenderer.tsx:65 declares it on the internal dataKey shape — that carrier is legitimate and not the defect). A pre-existing #0.1 fallback, correctly fenced out of this PR, now filed as objectui#7744 so it survives this PR's Fixes #7694 close.

Before landing — the delta I am asking for

The PR is behind and must be brought current regardless, so its head changes either way. Four text-and-pin corrections ride along with that; ⛔ none is a code-behaviour change, and ⛔ the PASS is not withdrawn:

  1. tombstone.zod.ts docblock — drop the "a census of retirementTombstone( sites is a census of RETIRED keys" partition; cite MenuItemSchema.type (The three menu renderers run two different separator dialects against one MenuItem, and the declared one cannot parse green #6523) as the prior undeclared→refusal site and state the real differentiator (spec-sentence composition).
  2. Pin block (e) — it compares ours and the spec's message each to a constant, never to each other, so a spec reword of the lead leaves both green. Derive the lead from the spec's live message.
  3. Clause-② / changeset — name the embedding parents (ChartSchema.series, reports.zod.ts:105) and the io:'input' nuance.
  4. PR body — cite tsc -p packages/types/tsconfig.test.json, not vitest, as the parity instrument.

Merge main in — do not rebase and do not force-push. The reviewer's own note says a rebase applies cleanly; this repo's rule is a merge commit, which keeps every checkout of this branch valid.


Generated by Claude Code

…efusal

Brings the branch current before landing. No conflicts.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KbJQ1y1J12nZxYzFWhP8Q3
…rom the spec's live lead

Land-prep for PR #7737, asked for by its contract review (VERDICT: PASS, not
withdrawn). Text and one assertion only — no runtime or type behaviour moves.

- `tombstone.zod.ts`: the `aliasKeyRefusal` docblock argued that a census of
  `retirementTombstone(` sites is a census of keys the contract once declared.
  Re-measured on this merged head, that partition is false: `MenuItemSchema.type`
  (`overlay.zod.ts:196`, objectui#6523) is a `retirementTombstone` whose own
  guidance reads "`type` ('separator' or 'label') was an undeclared spelling two
  renderers used to read and is now a declared refusal, not a strip", and
  `overlay.ts:458-464` states it again ("a spelling the type never declared").
  The docblock now cites that precedent and names the real differentiator — the
  composed spec sentence: a vocabulary, not a shape.

- pin block (e): it compared ours and the spec's message each to a constant and
  never to each other, so a spec reword of the lead would have left both green
  while the faces diverged. The expected lead is now derived from the installed
  spec's live message at assert time, guarded so the cut still contains the
  remedy. The cut is unchanged — lead + `Did you mean …?`, excluding the spec's
  trailing clause (91 bytes, byte-equal to ours on 17.2.0).

- changeset: names the parents the narrowing propagates through
  (`ChartSchema.series`, `ReportSectionSchema.chart`, reached via
  `safeValidateSchema` and `objectui check` / `validate`) and the io-mode
  nuance — `io:'input'` narrows; `io:'output'` already emitted
  `additionalProperties: false` on the base. Both measured on this head.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KbJQ1y1J12nZxYzFWhP8Q3
@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 50 chunks) 3186.7 KB 3191.4 KB
Main entry chunk (gzip) 143.2 KB 350 KB
Entry file index-BJOuTw-1.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) 15.67KB 5.75KB
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) 25.05KB 9.16KB
auth (AuthContext.js) 0.31KB 0.24KB
auth (AuthGuard.js) 2.07KB 1.00KB
auth (AuthProvider.js) 40.18KB 10.59KB
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.41KB 1.23KB
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.46KB 3.43KB
auth (index.js) 3.19KB 1.44KB
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) 5.13KB 2.35KB
collaboration (CommentThread.js) 26.08KB 7.56KB
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) 510.63KB 116.21KB
core (index.js) 6.96KB 2.79KB
create-plugin (index.js) 10.08KB 3.26KB
data-objectstack (index.js) 180.00KB 50.20KB
fields (index.js) 242.44KB 61.25KB
i18n (LocalizationContext.js) 1.76KB 0.96KB
i18n (builtinAggregateLabels.js) 0.86KB 0.49KB
i18n (currency.js) 1.22KB 0.64KB
i18n (fallbackInterpolation.js) 6.25KB 2.77KB
i18n (i18n.js) 4.28KB 1.75KB
i18n (index.js) 3.65KB 1.47KB
i18n (pickLocalized.js) 7.62KB 3.26KB
i18n (provider.js) 26.89KB 9.04KB
i18n (useDisplayLocale.js) 2.85KB 1.45KB
i18n (useObjectLabel.js) 34.34KB 9.17KB
i18n (useSafeTranslation.js) 5.60KB 2.33KB
layout (index.js) 38.98KB 10.98KB
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) 2.53KB 0.85KB
mobile (useResponsive.js) 0.72KB 0.42KB
mobile (useSpecGesture.js) 4.39KB 1.66KB
mobile (useTouchTarget.js) 1.01KB 0.54KB
permissions (MePermissionsProvider.js) 11.71KB 4.29KB
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) 5.12KB 1.74KB
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) 15.75KB 3.80KB
plugin-calendar (index.js) 47.87KB 13.31KB
plugin-charts (index.js) 70.92KB 19.75KB
plugin-chatbot (index.js) 196.37KB 46.41KB
plugin-dashboard (index.js) 132.87KB 34.68KB
plugin-designer (index.js) 212.86KB 43.19KB
plugin-detail (index.js) 250.55KB 64.06KB
plugin-editor (index.js) 2.46KB 1.10KB
plugin-form (index.js) 132.87KB 32.66KB
plugin-gantt (index.js) 167.26KB 41.00KB
plugin-grid (index.js) 209.29KB 56.78KB
plugin-kanban (index.js) 52.71KB 14.55KB
plugin-list (index.js) 113.28KB 27.59KB
plugin-map (index.js) 20.44KB 6.78KB
plugin-markdown (index.js) 13.93KB 4.81KB
plugin-report (index.js) 43.59KB 11.97KB
plugin-timeline (index.js) 30.84KB 8.85KB
plugin-tree (index.js) 9.20KB 3.19KB
plugin-view (index.js) 85.24KB 20.94KB
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.66KB 3.50KB
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) 81.07KB 26.86KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 4.63KB 2.18KB
react (schema-input.js) 2.32KB 1.24KB
react (spec-input.js) 0.20KB 0.18KB
sdui-parser (codegen.js) 5.41KB 2.34KB
sdui-parser (dashboard-widget-options.js) 3.08KB 1.30KB
sdui-parser (index.js) 4.93KB 2.24KB
sdui-parser (input-type.js) 2.84KB 1.40KB
sdui-parser (parse.js) 20.57KB 5.88KB
sdui-parser (provenance.js) 3.66KB 1.82KB
sdui-parser (types.js) 0.28KB 0.23KB
sdui-parser (validate.js) 10.35KB 3.60KB
types (ai.js) 0.20KB 0.17KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 2.87KB 1.00KB
types (base.js) 0.20KB 0.18KB
types (blocks.js) 0.20KB 0.18KB
types (complex.js) 2.74KB 1.41KB
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.25KB
types (layout.js) 0.20KB 0.18KB
types (managed-by.js) 0.19KB 0.18KB
types (mobile.js) 4.73KB 2.28KB
types (navigation.js) 0.20KB 0.18KB
types (objectql.js) 0.20KB 0.18KB
types (overlay.js) 0.20KB 0.18KB
types (permissions.js) 0.20KB 0.18KB
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 (system-fields.js) 3.33KB 1.54KB
types (theme.js) 6.28KB 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

@claude

claude Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor Author

Land-prep verified by the PM — the PASS carries to 3929d1036

domain:ui PM seat. The contract review's PASS was given at de8fda691 (5552372082). The head is now 3929d1036, so before landing I measured the delta myself rather than taking the implementing seat's word for it.

The PR's own diff is the same eight files, and the behaviour carriers are untouched

file at review now
packages/types/src/data-display.ts +39−10 +39−10
packages/types/src/zod/data-display.zod.ts +33−7 +33−7
packages/types/src/__tests__/chart-series-keys-7546.test.ts +25−17 +25−17
content/docs/api/schema-reference.md +1−1 +1−1
content/docs/plugins/plugin-charts.mdx +2−0 +2−0
packages/types/src/zod/tombstone.zod.ts +57−1 +68−1
…/chart-series-chart-type-alias-refusal-7694.test.ts +251−0 +271−0
.changeset/7694-chart-series-chart-type-alias-refusal.md +78−0 +93−0

Files added since review: none. Files dropped: none. ⭐ The two carriers that hold the actual refusal — data-display.ts and data-display.zod.ts — are byte-identical in count to what was reviewed. The three that moved are exactly the three text/pin items the verdict authorised, and nothing else.

Two disclosures from the implementing seat worth keeping

⚠️ My own land-prep brief was half wrong, and it said so. I wrote that the container restart left "no half-finished work" because the four branch tips were unchanged. The remote tips were indeed unchanged — but the worktree carried two unpushed local commits from the killed run (f7f706f25 + c816881be). It saved them as a patch, reset to the remote tip, and redid everything from its own measurements, reusing nothing. I had measured a proxy (the remote ref) and asserted something wider (no work in progress anywhere) — the same defect I corrected on auto_merge earlier today.

⚠️ The 92-byte lead is 91 bytes. Measured here through the ?, the shared cut is 91, not the 92 my verdict carried; the difference is the single space that follows. Recorded in the PR body rather than either number being silently adopted.

Landing checks

check reading
① in-seat contract review PASS on record claude-fable-5-1, nine attack directions, zero confidence gaps
needs:contract-review off both carriers applied with this comment
check-clause2-carriers --pair 7737 run below

All 32 check runs enumerated individually at 3929d1036 — ⛔ not the aggregate, ⛔ not the check_suite rollup: 29 success, 3 skipped by design, 0 failed, 0 in progress. mergeable_state: clean.

Follow-up carrier from the review — objectui#7744 (the reader still takes chartType first on the authored path while the validator refuses it) — verified open, so it survives Fixes #7694.


Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

finding(types): series chartType is undeclared and SILENTLY STRIPPED - the normalizer reads it first, measured not live, alias-refusal owed

2 participants