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

fix(plugin-calendar): a day event moved across a DST change writes the days it was dropped on; timeZone prose and zone pins (objectui#10866, slice 4) - #10994

Merged
objectstack-fleet[bot] merged 3 commits into
mainfrom
claude/issue-10866-calendar-dst-owed-pins
Sep 28, 2026
Merged

objectstack-fleet[bot] merged 3 commits into
mainfrom
claude/issue-10866-calendar-dst-owed-pins

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Part of #10866
Clause-②: no

Slice 4 of objectui#10866: the items slice 1 left owed (claim 5870315836, release 5870108114). The binding reading is the release's: a calendar day reads and moves on the UTC calendar; a datetime keeps its instant and is displayed in the viewer's zone. No instant behaviour moves here.

What changes

  1. The calendar's DST-day move: measured, and it moved stored days, so it is repaired. The month grid moves each date of an event by the milliseconds between two local midnights, the grabbed cell's and the drop cell's, and a date-only value is read at local midnight of its day. When a DST change lies between one of the event's dates and where it lands, but not between the two cells (or the other way round), that date comes back an hour off local midnight; at 23:00 of the day before, the write took the day before. Measured under America/Los_Angeles through ObjectCalendar: four of ten day moves across November 1st and March 8th wrote a day one short (an October 29th to 31st span moved two days wrote its end 2026-11-01; a November 1st to 3rd span grabbed on the 2nd and moved one day wrote its start 2026-11-01; an October 31st to November 2nd span grabbed on the 2nd and moved back one day wrote its start 2026-10-29; a March 5th to 9th span moved back one day wrote its end 2026-03-07). Asia/Shanghai and UTC wrote every day right.
    • ObjectCalendar now writes a date field of a day event (its start, and its end when it has one, are both stored calendar days) as its stored day moved by the whole days the grid moved it, on the UTC calendar (toMovedDateValue). Every other write takes the path it took before.
  2. The timeZone prose, made true of the code at three sites plus one comment of the same sentence:
    • @object-ui/types GanttConfig.timeZone: a datetime value stays a real instant; a date value is a calendar day, drawn from that day's midnight in the chart's zone and written back as the day it was dropped on, YYYY-MM-DD; near a DST change of the chart's zone or the viewer's, that midnight can be placed an hour early, onto the day before (measured, see Acceptance notes).
    • plugin-gantt GanttViewProps.timeZone: dates handed to onTaskUpdate are translated back into real instants; for a date-only value the host translates both ways itself, as ObjectGantt does.
    • makeTzShift's JSDoc: what from gives back, how ObjectGantt hands a day in and writes it back, and that to and from are exact inverses except near a DST change of either zone. The old sentence "fixed-offset zones (Asia/Shanghai) are exact" was false for a viewer whose own zone keeps DST (measured on a verbatim copy of the function: for an America/Los_Angeles viewer of an Asia/Shanghai chart, 31 of 2026's hourly instants do not round-trip, all around March 8th and November 1st), so it is replaced rather than kept.
    • The comment above GanttView's onTaskUpdate wrapper said "writes must persist real time"; it now says the host decides what to persist. Same sentence class, same file, comment only.
  3. Zone pins, registered in the driver's PINS:
    • ObjectCalendar.dstDayMove-10866: the ten day moves in Los Angeles and Shanghai, three datetime controls in Los Angeles and one in Shanghai, a rig case per zone, and a fixture-validity case (November 1st is 25 hours long in Los Angeles, March 8th 23).
    • ObjectCalendar.endDateNoSchemaZone-10866: the endDateField write (move, end-handle drag, quick-create), and the calendar with no object schema (read, move, end drag, quick-create), with datetime controls, in the suite zone, Los Angeles and Shanghai.
    • ObjectGantt.noSchemaZone-10866: the gantt with no object schema, for an adapter with no getObjectSchema and for one whose schema has no fields (the api provider's shape): read, drag write, a zoned chart, and an instant control, in the suite zone, Los Angeles and Shanghai.
  4. One FormulaFunctions docblock sentence: a mixed DATEDIFF, one day and one instant, reads each argument by its own kind when it counts months or years, the day on the UTC calendar and the instant in the zone the formula runs in. Comment only.
  5. The day-scale gantt misalignment rides nowhere here. Measured not small: the header row is equal-width columns (one per bucket, the end inclusive) while every bar is a percentage of the continuous minimum-to-maximum span. Read in generateTimeScaleHeaders and calculateBarDimensions (not driven), the hour, week and month scales are built the same way, so the choice (an inclusive end, or an axis stretched to the last bucket's end) is a design decision across every scale, and it moves the bar percentages slice 3's gantt pin asserts. Reported below.

Why the repair sits in ObjectCalendar, not in the grid

The grid cannot tell a day from an instant at local midnight, and the calendar's own month-view quick-create writes exactly such an instant into a datetime field. Every grid-side repair that makes a day exact also moves those instants, which this slice may not do. ObjectCalendar knows the field's declared type (or, with no schema, the stored value's shape), and a day event can only be dragged in the month grid: the week and day views draw it in their all-day row, which has no drag handlers. So the day event's date fields are written from their stored day, and the grid's arithmetic is untouched. The instant-side defect this leaves standing is in the Acceptance notes.

Instants are byte-equal to the base

A probe drove 19 moves through ObjectCalendar in UTC, Los Angeles and Shanghai, against the base source and against this head. The only rows that differ are the four Los Angeles day moves above. The nine instant and mixed rows (datetime spans, a local-midnight datetime span, a one-day datetime event, a date start with a datetime end, date fields holding instants, datetime fields holding days) are equal in UTC and Los Angeles; in Shanghai five of them were measured equal, and four were not measured there (their grab cell names a day the instant does not fall on in that zone, and they errored the same way on base and head). The pin's datetime controls hold the same instants on both.

Evidence

  • New pins, red on base then green. The three pins in a forks child with OBJECTUI_DATE_ZONE_CHILD=1, ObjectCalendar.tsx checked out from the base: Tests 4 failed | 84 passed (88), the four red rows exactly the four day moves named above ("end": "2026-11-01" for "2026-11-02", "start": "2026-11-01" for "2026-11-02", "start": "2026-10-29" for "2026-10-30", "end": "2026-03-07" for "2026-03-08"). Restored by git checkout HEAD --, blob equal to HEAD, git diff HEAD empty. Head: Tests 88 passed (88).
  • The coverage pins can fail. The end-date, no-schema calendar and no-schema gantt paths were already right on the base, so those rows pass there by design. Four ablations on the committed head through ablation-replace.mjs, each anchor hit once, each blob changed and restored to HEAD:
    • the calendar's stored-shape arm answering false: 6 failed | 30 passed (36), the no-schema move and end-drag rows in all three zones;
    • the calendar's end write as toISOString(): 33 failed | 31 passed (64) over the end-date and DST pins;
    • the gantt's stored-shape arm answering false: 9 failed | 15 passed (24), the drag writes and the zoned drop in all three zones;
    • the gantt read through the engine parse: 6 failed | 18 passed (24), the Los Angeles and Shanghai reads and zoned cases.
  • Suites at head 4dddfff0b, each under the shared verify lock: packages/plugin-calendar/ Test Files 54 passed (54), Tests 363 passed | 70 skipped (433); packages/plugin-gantt/ Test Files 86 passed (86), Tests 630 passed | 43 skipped (673); the zone-pin driver Tests 23 passed (23); packages/types/ Test Files 270 passed (270), Tests 5977 passed (5977); packages/core/ Test Files 184 passed (184), Tests 3658 passed | 27 skipped (3685); the 38 test files outside those packages that name a touched file or a touched plugin's source directory Test Files 34 passed | 4 skipped (38) (the four skipped are other slices' zone pins, which run in the driver's child); the 48 scripts/__tests__ files that mention .changeset or enumerate files (ls-files, a glob, a directory walk) Test Files 48 passed (48), Tests 1899 passed (1899).
  • Type-check: the two plugins' dependency closure built, then type-check for plugin-calendar, plugin-gantt, types and core, each echoing type-check$ tsc --noEmit ... && tsc -p tsconfig.test.json and Done; tsc -p tsconfig.test.json --listFiles includes all three new pins.
  • Gates: check-changeset-presence (8 source file(s) of 4 released package(s) changed, and this change declares 1 changeset(s)), -no-major, -fixed, -overwrite, -claims (report-only; no pending changeset repeats the "real instants" sentence), check-pending-changeset-literals, check-control-bytes, check-new-cross-file-line-citations (0 new citation(s)), check-test-path-roots, the three check-vi-mock-*, check-unreferenced-sources: all exit 0. A control-byte scan of the changed files finds none. check-governed-queue-guard --test over the ten paths: NOT GOVERNED.
  • Lint, narrowed and stated as a narrowing: the root config with --no-inline-config --format json over the nine changed code files (nine results): 0 errors; each modified file's warnings equal its base blob's (ObjectCalendar.tsx 31, GanttView.tsx 12, objectql.ts 34, FormulaFunctions.ts 26); the new files and tzShift.ts 0. The config sets no parserOptions.project or projectService, so linting is not type-aware and this diff cannot move an untouched file's verdict. Repo-wide lint is CI's.
  • Bundle: no import added; plugin-calendar and plugin-gantt load through registerLazy, outside the console's eager closure. Bundle Analysis is read from CI.
  • Serial: this seat's open PR objectui#10962 edits two comment blocks in ObjectCalendar.tsx and one in types/src/objectql.ts; every hunk here stays at least 16 lines clear of them, and git merge-tree of this head with that PR's head is clean.

Acceptance notes

Recorded here, not filed by the dev; the seat decides.

  • The zoned gantt's day can move on a DST day (new measurement, this card's family). With a business timeZone, a viewer whose own zone keeps DST, and a chart zone with a different DST, makeTzShift's round trip puts a day's midnight at 23:00 of the day before on a DST day: an America/Los_Angeles viewer of an America/New_York chart sees a stored 2026-03-08 drawn from 23:00 on March 7th, and a drop onto March 8th writes 2026-03-07; the same with an Europe/Berlin chart on March 29th. A Shanghai viewer of a New York chart is exact on those days. Measured through ObjectGantt with the GanttView probe. The repair is not the family's shared step (it is the shim's inverse, for days only), so it is not made here; no named producer sets a gantt timeZone.
  • A datetime event at local midnight moved across a DST change in the month grid lands in the cell before the drop (instant path, unchanged here). Measured in Los Angeles: a datetime span starting 2026-11-01T07:00:00.000Z (local midnight), grabbed on November 2nd and dropped on November 3rd, writes its start 2026-11-02T07:00:00.000Z, which is 23:00 on November 1st. The calendar's own month-view quick-create writes such local-midnight instants into a datetime field. Repairing it moves instants, so it needs its own ruling.
  • Day-scale gantt misalignment (pre-existing, zone-independent). The timeline's gantt variant draws one equal-width header column per bucket, end inclusive, and places bars as percentages of the minimum-to-maximum span, so on the day scale the bars sit on a scale one column narrower than the headers, and the other scales disagree with their buckets too. Dedupe words: timeline gantt header column bar percentage, generateTimeScaleHeaders calculateBarDimensions, day scale misaligned.
  • Cross-repo half, not edited here. objectstack packages/spec/src/ui/view.zod.ts, GanttConfig timeZone describe, which @object-ui/types' zod mirror reuses, still says "persisted data stays real instants".
  • A pending changeset sentence this slice's measurement contradicts. Slice 1's .changeset/10866-calendar-gantt-date-only-days.md says a zoned chart's drop "writes the day of the chart's calendar that the bar was dropped on"; the first note above measures a case where it writes the day before. Not edited here: it is another slice's release declaration, and check-changeset-overwrite reports a change that modifies one. It publishes at the next release.

Commits carry the model-free trailer pair only.


Generated by Claude Code

…e days it was dropped on (objectui#10866)

The month grid moves each date by the milliseconds between two local
midnights. A date-only value is handed to it at local midnight of its day,
so when a DST change lies between a date and where it lands but not between
the grabbed and drop cells (or the other way round), the moved Date comes
back an hour off local midnight, 23:00 of the day before when the clocks
fell back in between, and the write took that local day. Under
America/Los_Angeles four of ten measured day moves wrote a day one short.

ObjectCalendar now writes a day event's `date` field (start, and end when
set, both stored calendar days) as its stored day moved by the whole days
the grid moved it, on the UTC calendar. The grid's own arithmetic is
unchanged: every other field, instants included, writes what it did.

Zone pins, registered in the driver's PINS: the DST day moves, the
calendar's end-date write and no-schema fallback, and the gantt's
no-schema path.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DuWo5bdP9SdVebamn99GGk
…eld persists; a mixed DATEDIFF reads each argument by its kind (objectui#10866)

`GanttConfig.timeZone`, `GanttViewProps.timeZone` and `makeTzShift` said
persisted data stays real instants. Since this card's first slice a `date`
field under a zoned chart is written as a calendar day: the prose now says
a `datetime` stays an instant and a `date` is drawn from its day's midnight
and written back as the day it was dropped on, and that near a DST change of
the chart's zone or the viewer's the shim can place that midnight an hour
early, onto the day before (measured, reported on the card).

The FormulaFunctions docblock names how a mixed DATEDIFF (one day, one
instant) reads each argument when it counts months or years.

Comments and JSDoc only.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DuWo5bdP9SdVebamn99GGk
…plugin-gantt, types and core

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

Copy link
Copy Markdown
Contributor

changeset-claim-re-read

⚠️ 24 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/5903-objectgantt-declared-keys.md

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

    Both halves move together. The TS declaration (packages/types/src/objectql.ts) and its zod mirror (src/zod/objectql.zod.ts) gain the same ten keys at the same requiredness — all optional — and no KnownDrift entry is added. navigation is taken from @objectstack/spec's NavigationConfigSchema by reference rather than restated, matching ObjectGridSchema.navigation.

.changeset/7313-object-calendar-record-source.md

  • names plugin-calendar/src/ObjectCalendar.tsx → packages/plugin-calendar/src/ObjectCalendar.tsx — edited by this change

    ObjectCalendar resolves its records through the shared ladder (resolveRecordSourceConfig in @object-ui/core, called from plugin-calendar/src/ObjectCalendar.tsx): data first, then staticData, then objectName. The published TypeScript interface REQUIRED objectName and declared neither data nor staticData; the published Zod mirror did the same. So an object-calendar node authored on staticData — the route the plugin page documents twice — rendered correctly and was refused by safeValidateSchema, and could not be annotated with its own type (TS2741: Property 'objectName' is missing).

.changeset/7322-object-kanban-group-by-limit.md

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

    Breaking for authored metadata: ObjectKanbanSchema.groupField is RETIRED (objectui#7322, ADR-0049 enforce-or-remove), and the two keys the object-kanban renderer actually reads — groupBy and limit — are now DECLARED and validated on both published faces: the TypeScript interface in objectql.ts and the Zod mirror in zod/objectql.zod.ts.

.changeset/7363-objectql-union-arms.md

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

    ObjectGallerySchema and ObjectDataTableSchema are members of ObjectQLComponentSchema on both faces — the TS union in objectql.ts and the zod union in zod/objectql.zod.ts — so AnyComponentSchema, and with it validateSchema / safeValidateSchema / objectui validate, has an arm for object-gallery and object-data-table nodes (objectui#7363).

.changeset/7632-shared-record-source-config.md

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

    That ladder is published contract on both faces — packages/types/src/objectql.ts and its zod mirror both ship .describe() strings naming getDataConfig's order (77cb489b4, maintainer ruling 2026-09-02), pinned by objectql-record-source-refinement-6939.test.ts — and it was hand-copied into five plugin components with no gate holding them together. A change to the ruled order had five edit sites and nothing that noticed a missed one; that is the AGENTS.md #0.1 drift class.

.changeset/7712-kanban-calendar-filter-input.md

  • names ObjectCalendar.tsx → packages/plugin-calendar/src/ObjectCalendar.tsx — edited by this change

    ObjectKanban.tsx sends the authored key to the query as $filter: schema.filter and ObjectCalendar.tsx does the same, and @objectstack/spec's ComponentPropsMap declares filter on both blocks (measured: safeParse accepts it, and refuses an undeclared key by name on the same call). But none of the four registrations that publish those two renderers listed filter in inputs, and sdui-parser's validateTree reports unknown-prop for every key no inputs entry claims. So an author writing the one spelling that WORKS was told it was unknown — objectui#6678's shape, where a correct write draws the same diagnostic as a write that does nothing. That is worse than an inert key: it actively punishes the correct behaviour, and the honest response to it is to delete working metadata.

.changeset/7804-objectql-handler-key-arms.md

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

    The four plain objectql.ts node faces declare the nine handler keys their registered renderers read (the objectql.ts slice): ObjectFormSchema.onCancel / .onError / .onOpenChange / .onStepChange / .onSuccess, ObjectGallerySchema.onCardClick / .onRowClick, ObjectGridSchema.onNavigate and ObjectViewSchema.onNavigate.

.changeset/7804-tree-view-handler-slot.md

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

    'runtime-slot' and not 'retired', measured at this key's own channel. 'retired' publishes "no renderer reads this key, so nothing could ever run it" — true of the two siblings already tombstoned on this arm (onSelectChange, onExpandChange) and flatly false here, since the read is live and INVOKED. ⚠️ No in-repo host builds a tree-view node carrying the key: the channel is wired end to end and only the supplier is absent, which is the same shape as ObjectFormSchema.onStepChange in this card's objectql.ts slice and is not evidence of a dead read. The TypeScript declaration is unchanged and still callable, so a programmatic host supplies it exactly as before.

.changeset/7963-alert-dialog-footer-keys-retired.md

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

    Nothing else moves. These spellings are overloaded across the tree and every other owner is a live key on a different declaration — FormSchema.cancelLabel, objectql.ts's confirmLabel, plugin-designer's ConfirmDialog React props, plugin-grid's def.confirmLabel, and plugin-form's ModalForm / DrawerForm, which build a local cancelLabel from schema.cancelText. None is an AlertDialogSchema; none is touched, and a pin asserts it. No fixture, catalog schema, example app or doc fence authored any of the three on an alert-dialog node, so no shipped document is stranded.

.changeset/8171-calendar-sort-input.md

  • names ObjectCalendar.tsx → packages/plugin-calendar/src/ObjectCalendar.tsx — edited by this change

    objectui#7712's defect, one key over. ObjectCalendar.tsx lowers the authored key onto its own query as $orderby: convertSortToQueryParams(schema.sort), and @objectstack/spec's ComponentPropsMap['object-calendar'] declares sort (measured on 17.2.0: safeParse({ objectName, sort }) returns success: true, while the same strict schema on the same call refuses bogusProp by name — that control is what makes the acceptance a verdict). But neither of the two registrations that publish this renderer — plugin-calendar:object-calendar and view:calendar — listed sort in inputs, and sdui-parser's validateTree reports unknown-prop for every key no inputs entry claims. So an author writing the one spelling that WORKS was told it was unknown — objectui#6678's shape, where a correct write draws the same diagnostic as a write that does nothing.

.changeset/8174-kanban-calendar-filter-sort.md

  • names ObjectCalendar.tsx → packages/plugin-calendar/src/ObjectCalendar.tsx — edited by this change

    filter had four declaration faces and only three of them named it: @objectstack/spec declares it (ComponentPropsMap['object-kanban'] and ['object-calendar']), both plugins' registration inputs publish it, and both renderers read it — ObjectKanban.tsx lowers schema.filter onto $filter, ObjectCalendar.tsx lowers schema.filter onto $filter and schema.sort onto $orderby through convertSortToQueryParams. This package's own published faces (the TypeScript interface and its zod mirror) named none of them, so an authored value reached the renderer only through BaseSchema's index signature and the mirror's .passthrough() — admitted, never examined. That is the same reasoning finding(types,plugin-kanban): ObjectKanbanSchema requires groupField (zero read sites) and declares neither groupBy nor limit — no working object-kanban node is assignable to any declared type #7322 used to move groupBy and limit into this same interface.

.changeset/8466-calendar-color-allday-fields.md

  • names ObjectCalendar.tsx → packages/plugin-calendar/src/ObjectCalendar.tsx — edited by this change

    ObjectCalendar.tsx's getCalendarConfig reads FIVE flat keys off the node, and packages/plugin-calendar/README.md teaches all five in one sentence — "point titleField / startDateField / endDateField / allDayField / colorField at your own fields when they differ." Only three of the five were declared. The other two reached the renderer through BaseSchema's [key: string]: any on the TypeScript face and its .passthrough() on the zod mirror: admitted, never examined. A misspelling therefore left the calendar silently colourless while every published gate passed.

.changeset/8767-object-grid-refuses-string-sort.md

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

    Migration. Write the array: sort: [{ field: 'name', order: 'desc' }]. Both keys are required. SortConfig.order carries no ? in @object-ui/types (packages/types/src/objectql.ts) and no .optional() in its zod mirror, and the protocol's own reusable SortItemSchema requires order as well — measured: that schema refuses [{ field: 'name' }] with invalid_value at 0.order. Do not omit it: this block's array arm interpolates whatever is present, so an omitted order lowers to $orderby: 'name undefined' today. That is pre-existing behaviour on the arm this change does not touch, and it is filed as a successor card rather than widened into here.

.changeset/8801-object-kanban-allow-collapse-retired.md

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

    • the declarations retired here — packages/types/src/objectql.ts and its mirror packages/types/src/zod/objectql.zod.ts; - the pins that assert the retirement — object-kanban-allow-collapse-retired-8801.test.ts and bare-kanban-node-key-retired-8802.test.ts; - a comment in packages/types/src/zod/complex.zod.ts, recording that the deleted retiredZeroReadKanbanKey helper once carried this spelling on the SIBLING arm; - one row of content/docs/api/schema-reference.md; - the .changeset/ release notes that discuss it — this one, the two historical entries covering the sibling arm's own spelling, and objectui#9629's note recording the correction to this paragraph.

.changeset/8885-object-chart-drilldown-title-compareto.md

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

    ObjectChart.tsx reads all three off schema, and until now neither published copy declared any of them: not the TS interface (packages/types/src/objectql.ts) and not the zod mirror (packages/types/src/zod/objectql.zod.ts). They rode BaseSchema's index signature / .passthrough() and arrived unvalidated. drillDown was the sharpest case — this component's registry inputs advertise it to the designer palette, and @objectstack/spec publishes ChartDrillDownSchema for exactly this carrier, so an author was offered a key that neither published shape mentioned.

.changeset/8913-object-kanban-columns-declared.md

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

    What moved. ObjectKanbanSchema gains columns on both halves that move together — the TypeScript interface (objectql.ts) and its Zod mirror (zod/objectql.zod.ts). Retiring the bare kanban node type key (objectui#8802) removed the only face that judged a lane, and object-kanban had never declared the key, so it rode BaseSchema's [key: string]: any / .passthrough(): read by the renderer at three sites, named by no published face.

.changeset/8990-object-kanban-groupby-optional.md

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

    @objectstack/spec declares the key optional — groupBy: z.string().optional() on ObjectKanbanPropsSchema — while this package required it on the TypeScript declaration (packages/types/src/objectql.ts) and on the Zod mirror (packages/types/src/zod/objectql.zod.ts). objectui was therefore narrower than the protocol on a published key: ObjectKanbanSchema.safeParse and safeValidateSchema refused an object-kanban node the protocol accepts, and such a node could not be annotated with its own type.

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

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

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

.changeset/9309-object-gallery-filter-destination-typed.md

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

    ObjectGallerySchema.filter is typed as the destination its own docblock names — QueryParams['$filter'] — on both faces, the TS interface in objectql.ts and the zod mirror in zod/objectql.zod.ts (objectui#9309).

.changeset/9511-record-id-is-a-string.md

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

    The three authorable keys, each on BOTH faces. ObjectFormSchema.recordId (objectql.ts + zod/objectql.zod.ts), DetailViewSchema.resourceId (views.ts + zod/views.zod.ts) and DetailSchema.resourceId (crud.ts + zod/crud.zod.ts). ⚠️ The crud pair is DetailSchema, not DetailViewSchema, and it reaches the same renderer — not by symbol but by data flow: plugin-detail registers the 'detail' node type onto DetailView. A read that follows TypeScript symbols alone finds two keys and is incomplete.

.changeset/9549-tree-filter-declared.md

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

    ObjectTreeSchema.filter is declared on both faces, in the shape objectui#9309 settled for ObjectGallerySchema.filter: QueryParams['$filter'] by indexed access on the TS interface in objectql.ts, and the same two-arm union (array first) on the zod mirror in zod/objectql.zod.ts (objectui#9549).

.changeset/9550-object-tree-root-barrel.md

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

    ObjectQLComponentSchema declares the node types an ObjectQL block may be. Every one of its arms was a named export of this package's root barrel except ObjectTreeSchema, which was declared in objectql.ts, applied by the union, and re-exported by the ./zod barrel (objectui#7917) — while no TypeScript consumer could name it. There is no ./objectql subpath to reach around the barrel: the package's exports map is pinned by packages/types/src/__tests__/package-exports-manifest.test.ts, and the root barrel was the only route to this type.

.changeset/9606-object-kanban-card-title.md

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

    Both published faces of the object-kanban arm now name the key: the zod mirror ObjectKanbanSchema in zod/objectql.zod.ts and its TypeScript twin, the ObjectKanbanSchema interface in objectql.ts. Both declare it OPTIONAL, at the same requiredness the other face uses, so the two faces accept and refuse the same documents. (Located and cited by SYMBOL: line addresses in zod/objectql.zod.ts have drifted before, and this change is itself about a drifted mirror.)

.changeset/9628-kanban-column-collapsed-honoured.md

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

    The key was declared on both published faces of the object-kanban arm — the lane element of ObjectKanbanSchema (objectql.ts and its Zod mirror) and the runtime lane KanbanColumn (complex.ts and its mirror) — and read by KanbanEnhanced alone, a module no production source imports. An authored { "id": "todo", "title": "To Do", "collapsed": true } therefore parsed green on both faces and reached a board that did nothing with it: KanbanImpl's only collapse is the SWIMLANE row's, held in viewer state under objectui:kanban-collapsed:ANGLE-BRACKETS(swimlaneField) and never keyed to a lane's declared value. That is the ADR-0049 declared-but-unhonoured shape.

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.

Angle-bracketed names in the quoted prose above are rewritten as ANGLE-BRACKETS(name): GitHub deletes tag-shaped fragments from a stored body, and a quote that silently loses the identifier it is about is worse than a visible repair.

Compared the checked-out tree with 79a935c87 (merge-base with origin/main): 9 file(s) changed outside .changeset/, read against 1700 pending declaration(s) that publish a body (2302 pending in total). · run

@github-actions

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 330 chunks) 3103.9 KB 3104.5 KB
Main entry chunk (gzip) 149.8 KB 350 KB
Entry file index-DxkxMS0H.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.58KB 6.17KB
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.22KB 10.61KB
auth (AuthShell.js) 3.49KB 1.40KB
auth (ForgotPasswordForm.js) 12.21KB 3.45KB
auth (LoginForm.js) 18.17KB 5.40KB
auth (PreviewBanner.js) 0.90KB 0.50KB
auth (RegisterForm.js) 6.72KB 2.24KB
auth (SocialSignInButtons.js) 9.70KB 3.93KB
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.70KB 10.94KB
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) 558.59KB 133.88KB
core (index.js) 9.93KB 3.94KB
create-plugin (index.js) 27.94KB 9.51KB
data-objectstack (index.js) 227.62KB 63.16KB
fields (index.js) 261.01KB 66.28KB
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.35KB 9.18KB
i18n (useSafeTranslation.js) 5.60KB 2.33KB
layout (index.js) 39.32KB 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.53KB 4.89KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 6.25KB 2.17KB
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) 52.39KB 14.98KB
plugin-charts (index.js) 84.09KB 22.93KB
plugin-chatbot (index.js) 198.22KB 46.97KB
plugin-dashboard (index.js) 137.83KB 36.71KB
plugin-designer (index.js) 215.78KB 44.42KB
plugin-detail (index.js) 233.49KB 61.79KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 161.21KB 41.41KB
plugin-gantt (index.js) 170.35KB 42.19KB
plugin-grid (index.js) 228.33KB 62.59KB
plugin-kanban (index.js) 48.43KB 15.11KB
plugin-list (index.js) 115.86KB 28.64KB
plugin-map (index.js) 22.90KB 7.62KB
plugin-markdown (index.js) 13.88KB 4.80KB
plugin-report (index.js) 44.17KB 12.20KB
plugin-timeline (index.js) 31.07KB 9.15KB
plugin-tree (index.js) 11.21KB 3.89KB
plugin-view (index.js) 89.44KB 22.41KB
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.22KB
types (ai.js) 4.39KB 2.17KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 3.83KB 1.49KB
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.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

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 4dddfff0b9fa632d743b3612f7394d42b9ed5bf5

Isolated adversarial review of PR objectui#10994 (card objectui#10866, slice 4), written 2026-09-28. Read: the card's body and all 20 comments (triage 5861646819, the slice-1 owed list 5862887370, release 5870108114, the slice-4 claim 5870315836, the dev report 5872576493 as a claim and not as evidence), PR objectui#10957 with its two records 5869002399 and 5869858768, objectstack packages/spec/src/ui/view.zod.ts, the diff origin/main... head (10 files, +942 / -17), the head's 43 check-runs, and the objectui tree at the head and at origin/main 4b742f41d. Probes ran in a detached worktree at the head under the review's scratch directory (pnpm install --frozen-lockfile --offline), with the base measured by checking ObjectCalendar.tsx out from the merge base deca847a8 (blob b92e047ba, the diff's only runtime code change) and restoring it (blob 1eb3c3d7e, git diff HEAD empty); the worktree was removed afterwards.

① Derived judgments

1. Instants did not move: verified, byte for byte, in three zones. My own probe drove 38 moves through the real ObjectCalendar month grid (dragStart / dragOver / drop on the event pill or its end handle), base against head, in each zone. Every grab cell is computed from the value's LOCAL day in the zone under test, so every row executes in Shanghai as well; the dev's four Shanghai rows that were NOT MEASURED are measured here. The 38 rows are 15 date-only rows (the pin's ten moves, a no-schema pair, a day with an empty end, a day with no end field, two end-handle resizes across both changes) and 23 instant or mixed rows (datetime spans at 17:00Z and 18:00Z, a one-day datetime, three local-midnight datetime spans across November 1st and March 8th, a UTC-midnight instant in a datetime field and in a date field, instants in date fields, days in datetime fields, a date start with a datetime end and the reverse, the same with no schema, a no-schema instant pair, a no-schema local-midnight pair, an end-handle resize of an instant span, epoch milliseconds, Date objects in date fields, an instant with no end field, and two instants at 04:00Z).

zone rows byte-equal base vs head differing rows
UTC 38 38 0
America/Los_Angeles 38 34 4: the four date-only moves the PR names (Oct 29th to 31st moved two days, end 2026-11-01 to 2026-11-02; Nov 1st to 3rd grabbed on the 2nd moved one day, start 2026-11-01 to 2026-11-02; Oct 31st to Nov 2nd grabbed on the 2nd moved back, start 2026-10-29 to 2026-10-30; Mar 5th to 9th moved back, end 2026-03-07 to 2026-03-08)
Asia/Shanghai 38 38 0

All 23 instant and mixed rows are byte-equal in every zone, and no row errored. Among them, in Los Angeles: the local-midnight datetime span starting 2026-11-01T07:00:00.000Z grabbed on the 2nd and dropped on the 3rd writes 2026-11-02T07:00:00.000Z on base and on head (the dev's open-question instant, reproduced to the millisecond); a local-midnight span starting March 7th grabbed on the 9th and dropped on the 8th writes 2026-03-06T09:00:00.000Z on both; the UTC-midnight instant 2026-11-01T00:00:00.000Z in a date field writes 2026-11-02 on both; a 2026-10-29 day stored in a datetime field writes 2026-10-31T07:00:00.000Z on both. The pin's four datetime controls hold the same instants on both.

Classification, read at source: isRealCalendarDate is anchored ^\d{4}-\d{2}-\d{2}$, so isStoredDay refuses every string with a time part (a UTC-midnight instant included), every Date object and every number; isDateOnlyField answers true for a declared date field whatever it holds, but toMovedDateValue also requires isStoredDay(stored), so a date field holding an instant takes the old path (measured: three such rows equal), and a datetime field holding a day is refused by isDateOnlyField (measured equal). The quick-create path is untouched. No instant output differs.

2. The day repair. toMovedDateValue writes a day event's date field as stored moved by Math.round((moved - toDisplayDate(stored)) / 86_400_000) days on the UTC calendar (setUTCDate, toISOString().slice(0, 10)).

  • The four Los Angeles rows now write the dropped days (the table above); the other six day moves, Shanghai and UTC are unchanged and right.
  • Robustness: MonthView.handleDrop moves both dates by deltaMs = dropCellMidnight - grabCellMidnight, and a day event's dates are local midnights (toDisplayDate), so moved - toDisplayDate(stored) is exactly the grid's delta, off a whole day by at most one hour within a month grid (one DST change per grid). Measured deltas of 23 h, 25 h, 47 h, 49 h, 71 h and 73 h all round to the right count. The end-handle path sets an absolute cell midnight (newEnd.setHours of a day's 00:00), so its count is exact: two resizes across both changes are equal on base and head. A day event is draggable only in the month grid: both its dates sit at local midnight, so WeekView.isAllDayEvent (startsAtMidnight && endsAtMidnight) puts it in the all-day row, whose entries carry onClick only; the PR body's sentence is true. Reasoning only, not measured: in a zone whose DST change falls at midnight (America/Santiago, America/Havana), toDisplayDate of the change day is 01:00, a ONE-DAY date event on that day becomes a timed, pointer-draggable entry in the week view, and an afternoon drop would make Math.round write the day after the drop cell where the base writes the drop day. No producer, not one of the three probed zones.
  • A mixed event's date half stays on the defective path (measured, base equal to head). dayEvent is an event-level gate (isStoredDay(storedStart) && (!storedEnd || isStoredDay(storedEnd))), so a date start with a datetime end, or the reverse, takes toStoredDateValue for BOTH fields. In Los Angeles a datetime start 2026-10-29T17:00:00.000Z with a date end 2026-10-31, grabbed on the 29th and dropped on November 1st (three days), writes its end 2026-11-02 on base and on head, where UTC and Shanghai write 2026-11-03. Three more Los Angeles rows, each equal on base and head: a date start 2026-11-01 with a datetime end, grabbed on the 2nd and dropped on the 3rd, writes its start 2026-11-01 (UTC and Shanghai 2026-11-02; the all-date control beside it is repaired to 2026-11-02); the same pair with no schema, 2026-11-01; a datetime start with a date end 2026-10-31 moved two days writes its end 2026-11-01 (UTC 2026-11-02), and with a date end 2026-03-09 moved back one day across March 8th, 2026-03-07 (UTC 2026-03-08). The changeset says "every other write is unchanged", which is true, and the residual is pre-existing, not introduced; but a stored date-only day still does not move on the UTC calendar there. A per-field gate (isStoredDay(stored) && isDateOnlyField(declaredType, stored), dropping dayEvent) would repair it with the same arithmetic, since each field's moved is its own local midnight plus the grid's delta. Recorded as a defect for the card to carry (or for this PR, the seat's call); it does not touch an instant.
  • A day event with an empty end writes only its start (2026-11-02 for a three-day move across November 1st, base 2026-11-01 in LA); the no-schema day pair is repaired the same way (2026-11-02 / 2026-11-04, base 2026-11-01 / 2026-11-03 in LA).

3. The prose, each sentence against the code and a measurement.

  • @object-ui/types GanttConfig.timeZone: a datetime stays an instant (toStoredDateValue's non-day branch is toISOString()); a date is drawn from that day's midnight in the zone's calendar (readTaskDate hands chartZone.from(toDisplayDate(raw)), GanttView maps tzShift.to back); a drag writes the day it was dropped on there (toDateInputValue(chartZone.to(date)) after the wrapper's from); "near a DST change of this zone or the viewer's, that midnight can be placed an hour early ... the day before": measured on a verbatim copy of the shim, an America/Los_Angeles viewer of an America/New_York chart draws stored 2026-03-08 from [2026, 3, 7, 23] and a same-cell drop writes 2026-03-07; Europe/Berlin 2026-03-29 likewise; an America/Phoenix viewer (no DST) of the New York chart gets the same, so the chart zone's own change suffices, and an Asia/Shanghai viewer of it is exact. True.
  • plugin-gantt GanttViewProps.timeZone: the onTaskUpdate wrapper applies tzShift.from to out.start and out.end before onTaskUpdateProp; ObjectGantt hands a day in as from of its local midnight and writes back the day .to falls on. True.
  • makeTzShift: deltaAt(d) reads the configured zone's offset and the viewer's at the instant handed, so to and from are exact inverses except near a DST change of either zone. Re-measured over the 8760 hourly instants of 2026: a UTC viewer of an Asia/Shanghai chart, 0 fail; an America/Los_Angeles viewer of the same chart, 31 fail (to(from(x)) and from(to(x)) alike), all between March 8th 10:00Z and 12:00Z and November 1st 22:00Z and 02:00Z, the dev's figure exactly; an LA viewer of New York, 11; a UTC viewer of New York, 9; a Shanghai viewer of New York, 25. So the retired "fixed-offset zones (Asia/Shanghai) are exact" was true only for a viewer without DST and false for the card's own western viewer; replacing it was right. "to(from(midnight)) can then be 23:00 of the day before": measured above. True.
  • The onTaskUpdate wrapper comment ("the host decides what to persist: a datetime field the instant, a date field its day"): true of ObjectGantt.handleTaskUpdateDefault.

4. The pins.

  • The three files are in the driver's PINS (the diff adds them after the slice-3 rows, with the header sentence).
  • Base red, head green, run in a forks child with OBJECTUI_DATE_ZONE_CHILD=1 and ObjectCalendar.tsx from deca847a8: Tests 4 failed | 84 passed (88), the four red rows being "October 29th to 31st, grabbed on its start and moved two days", "November 1st to 3rd, grabbed on the 2nd and moved one day" ('2026-11-01' against '2026-11-02'), "October 31st to November 2nd, grabbed on the 2nd and moved back one day" ('2026-10-29' against '2026-10-30') and "March 5th to 9th, grabbed on its start and moved back one day", all in the Los Angeles block; every Shanghai row, every datetime control, every end-date and no-schema row and every rig and fixture case green. Head: Tests 88 passed (88). So dstDayMove is red on base for exactly the four Los Angeles day rows, and the two coverage pins pass on base by design, as the PR says.
  • The dev's four ablations, reproduced on the committed head, each anchor found once, each blob changed and restored (git diff HEAD empty): the calendar's stored-shape arm of isDateOnlyField answering false, Tests 6 failed | 30 passed (36) on the end-date pin, the no-schema move and end-drag rows in the suite zone, Los Angeles and Shanghai; the end write replaced by newEnd.toISOString(), Tests 33 failed | 31 passed (64) over the end-date and DST pins; the gantt's stored-shape arm of toStoredDateValue answering false, Tests 9 failed | 15 passed (24), the drag writes and the zoned drop in all three zones; readTaskDate through new Date(raw), Tests 6 failed | 18 passed (24), the Los Angeles and Shanghai reads and zoned cases ([2026, 10, 4, 17] and [2026, 10, 5, 8] against [2026, 10, 5, 0]). Each figure is the dev's, and each coverage pin fails when its path regresses.
  • Driver at head (scripts/__tests__/date-only-zone-pins-10183.test.ts, which spawns the forks child over all 23 registered pins): Tests 23 passed (23), exit 0, so every zone case of every pin, the three new ones included, ran and passed in the forks child.

5. The mixed-DATEDIFF docblock bullet. calendarFields reads a day's year and month with getUTCFullYear / getUTCMonth and anything else's with getFullYear / getMonth, and DATEDIFF's month and year units call it on each argument: the bullet is true (record 5869858768 measured the LA case). The diff for FormulaFunctions.ts is three lines inside an existing /** ... */ block in a method body: comment only, and it projects into no .d.ts.

6. CI. 43 check-runs on 4dddfff0b: 40 success, 3 skipped (dependabot, Test (coverage), the coverage shard matrix), 0 failed; Spec Main Shape Gate, Bundle Analysis, Type Check, Lint, Build & E2E, Changeset Bump Policy all success. The bundle report on the PR reads eager closure 3103.9 KB of the 3104.5 KB budget (0.6 KB headroom), PASS. This diff adds no import line; object-gantt, object-calendar, calendar and calendar-view all register through ComponentRegistry.registerLazy in apps/console/src/register-plugins.ts; the core change is a function-body comment and the types change a JSDoc. It adds nothing to the eager closure by construction; not built locally.

7. Commits. Three on the branch (07abe0e7c, d493b7dee, 4dddfff0b), each with Co-Authored-By: Claude and Claude-Session trailers only; no model name in any message, in the diff, or in the PR body.

② Semver level

patch for @object-ui/plugin-calendar (a day event's date fields stop being written a day short across a DST change; nothing else moves), @object-ui/plugin-gantt and @object-ui/types (JSDoc that reaches the published .d.ts, the slice-1 precedent) and @object-ui/core (a comment only; a patch is harmless in the fixed release group, though an empty declaration would have been the more exact spelling for a function-body comment). Right.

Changeset sentences: "the month grid moves each date of an event by the milliseconds between two local midnights" (handleDrop's deltaMs), "a date-only value is read at local midnight of its day" (toDisplayDate), "when a DST change lay between one of an event's dates and where it landed, but not between the two cells (or the other way round), that date came back an hour off local midnight; at 23:00 of the day before, the write took the day before" (the four base rows), "a span of date fields moved across November 1st or March 8th could be written a day short at its start or its end" (measured, both), "a move of an event whose start, and end when it has one, are both stored calendar days now writes each date field as its stored day moved by the whole days the grid moved it" (the code), "every other write is unchanged: a datetime field still writes the instant the grid hands back, and the grid's own arithmetic does not change" (23 instant and mixed rows byte-equal; CalendarView.tsx untouched), the gantt and types bullet ("a date field under a zoned chart has been written as a calendar day since this card's first slice", slice 1's toStoredDateValue; the DST sentence measured; "documentation only", the gantt diff is comments), and the core bullet ("comment only"). Every sentence is true.

③ Boundary flags

  • Open question, A / B / C. The measured instant defect is real and pre-existing: MonthView.handleDrop adds the milliseconds between two cell midnights, so across a DST change every datetime move shifts the wall clock by an hour, and a local-midnight datetime lands at 23:00 in the cell before the drop (2026-11-02T07:00:00.000Z for a drop on November 3rd, equal on base and head). The calendar's own month-view quick-create writes exactly such instants into a datetime field. A is consistent with the binding reading and with this slice's mandate: a datetime keeps its instant, and zero instant output moved. B (move by calendar days, keeping wall time) is the common calendar behaviour and the right eventual fix for the whole class, but it changes what instant every DST-crossing drag writes, which is the class of change record 5869002399 failed; C is a heuristic on midnight instants that would misfire on a real midnight event. B belongs in its own card with a maintainer ruling. If B lands later, toMovedDateValue still holds: its days would then be an exact whole count.
  • The dev's out-of-scope findings. (1) verified above by measurement: the zoned gantt writes the day before on a DST day for a DST viewer of a differently-changing chart, and for a no-DST viewer of a DST chart; days only; the repair is the shim's exact inverse for days in readTaskDate / toStoredDateValue, instant-neutral. (2) is the open question, measured. (3) verified: objectstack view.zod.ts's GanttConfig timeZone describe still ends "persisted data stays real instants", and @object-ui/types' zod mirror reuses it as timeZone: stripImportedDefaults(SpecGanttConfigSchema).shape.timeZone; the exact replacement clause the dev gives is right; it is a cross-repo half for the spec lane. (4) the pending slice-1 changeset's "writes the day of the chart's calendar that the bar was dropped on" is false in the DST case (1) measures. No rule in objectui's AGENTS.md or gates requires a dated note: check-changeset-overwrite's own census classes a factual prose correction to a pending changeset as a legitimate modify, and check-changeset-claims is a re-read request that blocks nothing. It is the seat's call; the sentence becomes true again when (1)'s repair lands, so the cheapest honest course is a one-clause qualification in that repair's PR, or now if a release may come first. Not this PR's defect. (5) the day-scale gantt misalignment: recorded by both slice-3 records as pre-existing and zone-independent; not re-measured here; the dev's reading that every scale shares the construction matches generateTimeScaleHeaders and calculateBarDimensions.
  • The fourth prose site. The onTaskUpdate wrapper comment is the same sentence class as the three claimed sites, in GanttView.tsx, a file already on the claim's surface, comment only, and no open PR touches the file. The bounded in-place fix is acceptable; the claim needs no widening.
  • Part of #10866 is right: the card still carries (1), the open question, the mixed residual above, the cross-repo half and the misalignment. The PR body carries no path:line address, no angle bracket and no model name; no false sentence found. One sentence is superseded rather than false: "four were not measured there" (Shanghai) is now measured, all four equal.
  • Serial. origin/main 4b742f41d carries PR objectui#10962's 285e36bd1; git merge-tree --write-tree origin/main refs/review/pr-10994 exits 0 with no conflict, and the PR reports mergeable_state: clean.
  • Defects, in one place. (a) The mixed event's date half (item 2): pre-existing, declared as unchanged, carried by the card; the per-field gate is the minimal repair. (b) Nit: @object-ui/core: patch for a function-body comment. Neither moves an instant, and neither blocks.

Implemented-by: claude/issue-10866-calendar-dst-owed-pins
Reviewed-by: session_01DuWo5bdP9SdVebamn99GGk

VERDICT: PASS


Generated by Claude Code

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants