This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Repository navigation
chore: release packages - #91
Closed
github-actions[bot] wants to merge 1 commit into
Closed
github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
This was referenced Sep 8, 2026
os-zhuang
pushed a commit
that referenced
this pull request
Sep 9, 2026
…(objectui#8041) `buildPackageJson` wrote `license: 'MIT'` into every generated manifest, unconditionally and without ever asking, while `buildPluginFiles` emitted nine files and none of them was a LICENSE. The generated manifest declares no `files` array, so `npm pack` takes npm's default set — which packs `LICENSE*` whether or not anything lists it; the file simply was not on disk to pack. An author publishing a freshly scaffolded plugin therefore shipped a tarball that claimed a licence it did not carry, on a choice this generator made for them. Director-seat ruling, decision batch #91 (2026-09-08), option C verbatim: "the scaffolder asks for the licence, defaults to MIT, and writes the matching LICENSE text; non-interactive runs take the default." - `src/licenses.ts` (new) carries four licences — MIT, Apache-2.0, BSD-3-Clause, ISC — each with its full text copied VERBATIM from a canonical on-disk copy, the prompt as data, and `resolveLicenseId`, which is total: every non-answer becomes MIT, so there is no input for which the generator emits a claim it cannot honour. There is no free-text answer and no "other" escape hatch, because a licence the generator cannot write is one it must not offer. - `PluginTemplateVars` gains a required `license`; the manifest field, the README's `## License` line and the licence named in the four emitted source headers all read it, so a scaffolded package names one licence rather than two. - The emitted file set goes from nine files to ten. `buildLicenseFile` fills the copyright line from the author and the year, falling back to `the <package> authors` when the (optional) author prompt was left blank. Omitting `license` instead was refused on the record: an unlicensed manifest reads as all-rights-reserved on npm, the worse default for the author this card was written for. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01611D6ZaRaMmwTNQmSbk8MH
akarma-synetal
pushed a commit
to akarma-synetal/objectui
that referenced
this pull request
Sep 9, 2026
…(objectui#8041) (objectstack-ai#8779) `buildPackageJson` wrote `license: 'MIT'` into every generated manifest, unconditionally and without ever asking, while `buildPluginFiles` emitted nine files and none of them was a LICENSE. The generated manifest declares no `files` array, so `npm pack` takes npm's default set — which packs `LICENSE*` whether or not anything lists it; the file simply was not on disk to pack. An author publishing a freshly scaffolded plugin therefore shipped a tarball that claimed a licence it did not carry, on a choice this generator made for them. Director-seat ruling, decision batch objectstack-ai#91 (2026-09-08), option C verbatim: "the scaffolder asks for the licence, defaults to MIT, and writes the matching LICENSE text; non-interactive runs take the default." - `src/licenses.ts` (new) carries four licences — MIT, Apache-2.0, BSD-3-Clause, ISC — each with its full text copied VERBATIM from a canonical on-disk copy, the prompt as data, and `resolveLicenseId`, which is total: every non-answer becomes MIT, so there is no input for which the generator emits a claim it cannot honour. There is no free-text answer and no "other" escape hatch, because a licence the generator cannot write is one it must not offer. - `PluginTemplateVars` gains a required `license`; the manifest field, the README's `## License` line and the licence named in the four emitted source headers all read it, so a scaffolded package names one licence rather than two. - The emitted file set goes from nine files to ten. `buildLicenseFile` fills the copyright line from the author and the year, falling back to `the <package> authors` when the (optional) author prompt was left blank. Omitting `license` instead was refused on the record: an unlicensed manifest reads as all-rights-reserved on npm, the worse default for the author this card was written for. Claude-Session: https://claude.ai/code/session_01611D6ZaRaMmwTNQmSbk8MH Co-authored-by: Claude <noreply@anthropic.com>
os-zhuang
pushed a commit
that referenced
this pull request
Sep 9, 2026
…key failure through it (objectui#7980) The console's "Connect an AI agent" section read `json?.error?.message` and stopped, so a refused key mint dropped two DECLARED things: the producer's marked `error.userMessage` — the #9934 channel, whose presence IS the marking — and `error.code`. The 5xx band is where that cost most: the producing door substitutes the generic `Internal server error` into `message` while the mark rides through untouched, so a marked 500/503 showed the developer the generic sentence and discarded the specific one written for them. `readEnvelopeFailureText` is the one read of the ADR-0112 failure envelope, extracted and pinned in objectui#7959. That card kept it off the public entry as scope restraint — its file surface was `packages/app-shell/**` — not as a ruling that it should stay private. Exporting it, rather than giving `apps/console` a local copy, is the maintainer ruling of record on objectui#7980 (relayed by the director seat, decision batch #91): a second copy of one rule, on a card whose diagnosis is that copies drift, was refused by name. The function itself is unchanged. It returns `string | null`, so no type accompanies the export, and its module imports nothing, so it adds no module side effect and no transitive surface. The `!data?.key`-on-200 arm is left byte-identical: it is objectui#8782 / PR objectui#8787, in flight on this same file. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01611D6ZaRaMmwTNQmSbk8MH
akarma-synetal
pushed a commit
to akarma-synetal/objectui
that referenced
this pull request
Sep 17, 2026
…key failure through it (objectui#7980) (objectstack-ai#8792) The console's "Connect an AI agent" section read `json?.error?.message` and stopped, so a refused key mint dropped two DECLARED things: the producer's marked `error.userMessage` — the objectstack-ai#9934 channel, whose presence IS the marking — and `error.code`. The 5xx band is where that cost most: the producing door substitutes the generic `Internal server error` into `message` while the mark rides through untouched, so a marked 500/503 showed the developer the generic sentence and discarded the specific one written for them. `readEnvelopeFailureText` is the one read of the ADR-0112 failure envelope, extracted and pinned in objectui#7959. That card kept it off the public entry as scope restraint — its file surface was `packages/app-shell/**` — not as a ruling that it should stay private. Exporting it, rather than giving `apps/console` a local copy, is the maintainer ruling of record on objectui#7980 (relayed by the director seat, decision batch objectstack-ai#91): a second copy of one rule, on a card whose diagnosis is that copies drift, was refused by name. The function itself is unchanged. It returns `string | null`, so no type accompanies the export, and its module imports nothing, so it adds no module side effect and no transitive surface. The `!data?.key`-on-200 arm is left byte-identical: it is objectui#8782 / PR objectui#8787, in flight on this same file. Claude-Session: https://claude.ai/code/session_01611D6ZaRaMmwTNQmSbk8MH Co-authored-by: Claude <noreply@anthropic.com>
os-warren
pushed a commit
that referenced
this pull request
Sep 30, 2026
…anban and stop forwarding it (objectui#8285) Ruling B (decision batch #91): the board does not grow an inline record-creation write path. `@objectstack/spec` 17.5.0 already tombstones `ComponentPropsMap['object-kanban'].quickAdd`; this is objectui's half. - types: `ObjectKanbanSchema.quickAdd` is `?: never` on the TS face and a `retirementTombstone()` on the zod mirror, refused by name. - plugin-kanban: `ObjectKanban` no longer forwards `quickAdd` to the board, on every object-kanban entry point. `KanbanRenderer` keeps the pair for a React host that mounts it directly. - sdui-parser: the interim `inert-quick-add` diagnostic and its four exports are removed; the tier's own `unknown-prop` is accurate now that every face refuses the key. - The tripwire that stayed green after the spec retirement is rewritten: its helper read only `issue.keys`, which zod fills on `unrecognized_keys` issues, and a tombstone reports `invalid_type` at the key's path. Claude-Session: https://claude.ai/code/session_0122Knsowci76D2rBWReCzzZ Co-authored-by: Claude <noreply@anthropic.com>
This was referenced Sep 30, 2026
akarma-synetal
pushed a commit
to akarma-synetal/objectui
that referenced
this pull request
Oct 7, 2026
…anban and stop forwarding it (objectui#8285) (objectstack-ai#11231) Fixes objectstack-ai#8285 Clause-②: yes objectui's half of ruling B (director seat, decision batch objectstack-ai#91, comment 5583979207): "The board does not grow an inline record-creation write path", `object-kanban.quickAdd` is retired, and objectui stops forwarding it. `@objectstack/spec` 17.5.0 (installed since objectui#11086) already carries the spec half as a `retiredKey(...)` tombstone. The `Clause-②: yes` line is copied from the claim (comment 5912959131): the published `@object-ui/types` face narrows, and the `inert-quick-add` code leaves `@object-ui/sdui-parser`'s diagnostic payload. ## What changed - **`@object-ui/types`**: `ObjectKanbanSchema.quickAdd` is now `?: never` (TypeScript face) and `retirementTombstone(...)` (zod mirror). An authored value is refused BY NAME (`invalid_type` at `quickAdd`, with the remedy), not stripped. I used the existing tombstone helper; no new helper. The `onQuickAdd` docblock is rewritten because this change made its old wording false. See the open question below. - **`@object-ui/plugin-kanban`**: `ObjectKanban` stops forwarding `quickAdd`. Its `effectiveSchema` now carries `quickAdd: undefined`. `KanbanRenderer` is byte-identical. The `OBJECT_KANBAN_INPUTS` docblock now records the retirement instead of the "PREMATURE" carve-out. - **`@object-ui/sdui-parser`**: I deleted the interim `kanban-quick-add.ts` module, its wiring in `validate.ts` and its four barrel exports. The references to the deleted symbol in `body-dialect.ts` and its test are removed too. - **Pins**: I rewrote the tripwire, renamed `quickAddIsDiagnosedNotDropped-8285.test.ts` to `quickAddRetiredNotForwarded-8285.test.tsx`. I rewrote `kanban-quick-add-8285.test.ts` for the new state and added `object-kanban-quick-add-retired-8285.test.ts`. The 8801 and 8802 pins used `quickAdd: true` as a "live member" control, so it is removed from those lists. - **Docs**: `content/docs/plugins/plugin-kanban.mdx` and `content/docs/api/schema-reference.md`. Both passages said the key "still parses" and that the tier answers `inert-quick-add`, and both are false after this change. Only prose changed; no fenced block moved. - **Changeset**: `.changeset/8285-object-kanban-quick-add-retired.md`, `minor` ×3 with BREAKING wording and a migration section. Per objectui's version rule, a breaking change is `minor`, never `major`. ## The premises, measured (dispatch Zone 2) 1. **Spec tombstone: confirmed.** In the worktree's `node_modules/@objectstack/spec` (17.5.0), `ComponentPropsMap['object-kanban'].quickAdd` is a `retiredKey(...)`. Parsing `{ objectName, quickAdd: true }` gives `success=false` with one issue: `code=invalid_type`, `path=["quickAdd"]`, `keys=undefined`, and a message that starts "`object-kanban` property `quickAdd` was removed in @objectstack/spec 17 (ADR-0049)". `quickAdd: false` is refused the same way. Controls on the same call: `bogusProp` gives `unrecognized_keys` with `keys=["bogusProp"]`, and `{ objectName }` alone gives `success=true`. 2. **Why the tripwire stayed green: the helper read one issue shape only.** The old `refusedByName` collected `issue.keys`. zod fills `keys` only on `unrecognized_keys`. A tombstone declares the key as `never`, so its refusal is `invalid_type` at the key's path with no `keys`. The helper therefore returned `[]` whether the spec published the key or retired it. The row's `bogusProp` control is an `unrecognized_keys` issue, so it could not fail for the reason the row was meant to catch. On the base commit, the two 8285 files ran 18/18 green with the key already retired. The new `refusedByName` reads both shapes and has a control for each. 3. **Tags: one, not two.** `object-kanban` is the only `ComponentRegistry.register(...)` call for `ObjectKanbanRenderer`. `kanban` retired with objectui#8802 and `kanban-ui` with objectui#8257, and both read `has() === false` in the new row 5. `kanban-ui`'s Quick Add pair now lives on the exported `KanbanRenderer` component, and `ObjectKanban` also renders that component. So I cut the key upstream, in `ObjectKanban`, where the `schema` that `KanbanRenderer` reads is built. Every `object-kanban` entry point goes through `ObjectKanban`: the tag, the published `kanbanComponents['object-kanban']` map and a host mounting `ObjectKanban` directly. Cutting only in `ObjectKanbanRenderer`, the file the claim names, would have missed the map. The tombstone text names `KanbanRenderer`, not a `kanban-ui` tag, because a document naming that tag is now an `unknown-component` error. 4. **Zod member: done with the neighbours' construct.** `retirementTombstone()` is what the `groupField` and `allowCollapse` members next to it use. 5. **Html tier: I deleted the interim diagnostic.** The same `validateTree` probe over an `object-kanban` manifest gives, **with** the module: `quickAdd=true` produces `warning / inert-quick-add`, and `quickAdd=false` falls through to `warning / unknown-prop` ("has no prop quickAdd"). **Without** it, both produce `warning / unknown-prop`, and `compile()` stays `ok=true`. That message is now true on every face: the spec, both `@object-ui/types` faces, the registry inputs and the renderer. On this tier it is also the whole remedy, because a constrained-JSX page cannot write the handler, so deleting the key is the only edit open to its author. The retired `body` dialect keeps its own replacement diagnostic for a different reason: it has a replacement spelling (`children`) to name. `quickAdd` has none. Severity is unchanged (warning), so no page that saves today stops saving. ## Measurements All runs are at head `5218c1fa1a` (this branch with `main` merged at `dded788ada`), and heavy ones went through the shared verify lock. Exit codes were captured before any pipe. - Build: `turbo run build --filter='@object-ui/plugin-kanban^...' --concurrency=2`, 12/12 tasks successful. This includes `@object-ui/sdui-parser`'s own `check-dist-completeness`. - Type-check: `pnpm --filter X type-check` gives exit 0 for `@object-ui/types`, `@object-ui/plugin-kanban` and `@object-ui/sdui-parser`. All three new or rewritten test files are in the `tsconfig.test.json` programs (`--listFiles`, 1 hit each), so the type-level pins really run. - Tests: `pnpm exec vitest run packages/plugin-kanban/ packages/sdui-parser/ packages/types/`, plus a 16-file sweep. The sweep is the console registry↔spec ledger, `public-contract`, the handler-key and doc-type script tests, the schema-catalog corpora, and the cli validate, app-shell block-config, plugin-view and plugin-list consumers of the `object-kanban` arm, and the doc readers. Result: **391 files, 8375 tests passed**, VERDICT command-exit 0. - Gates, all exit 0: `check-changeset-presence` (15 source files of 3 released packages, 1 changeset), `check-changeset-no-major`, `check:control-bytes`, `check:handler-key-reads`, `check:new-line-citations`, `check:phantom-deps`, `check:unused-deps`, `check:doc-types`, `check:doc-fences`, `check:changeset-claims`, `check:pending-changeset-literals`, `check:test-path-roots`, `check:unreferenced-sources`, `check:self-import`, `check:spec-symbols`, `check:installed-pin-claims`, `check:component-surface-parity`, `check:designer-field-key-parity`. The governed-surface guard says NOT GOVERNED. - ESLint, narrowed and declared: the 13 changed TS/TSX files, 0 errors. The population is the config's own `**/*.{ts,tsx}` blocks, and the count of 13 comes from `--format json`. The config enables no type-aware linting (no `parserOptions.project`, no `projectService`), so this diff cannot move the verdict on any file it does not touch. Warnings on the four edited source files are identical to base, 31/23/34/1. - NOT MEASURED: `check:doc-snippets` and `check:doc-examples` exit 2 (PRECONDITION NOT MET, they need a broad build), but no fenced line changed in the docs diff (0 lines). `check:sdui-registration-pins` and `check:readme-exports` need console and whole-tree builds and were not run. This diff adds or changes no registration, and no README names the four removed exports. Ablations, each done through `ablation-replace.mjs` with an on-disk anchor count and blob-hash proof, and restored to `blob == HEAD` with an empty `git diff HEAD`: - **Remove the `quickAdd: undefined` cut.** The renderer pin's row 1 goes red (`expected [ button …, … ] to have a length of +0 but got 2`, one control per lane). The other 4 rows stay green, row 2 included. That row is the control: the same query finds the host pair's control. - **Turn the zod tombstone back into a boolean.** 3 rows go red (both refusal rows, and the describe-channel row) and 3 stay green (still declared, near miss, bare node), as predicted. - **Type reverse check.** A `quickAdd: true` literal typed `ObjectKanbanSchema`, planted in `@object-ui/plugin-kanban` against the rebuilt `@object-ui/types` dist, fails with `TS2322: Type 'true' is not assignable to type 'undefined'`. My first attempt was a no-op that the tool refused: the replacement contained the anchor, so the count did not drop and tsc never ran. I re-anchored it and ran it again. ## Open question: `onQuickAdd` on `object-kanban` (not settled here) With `quickAdd` retired and no longer forwarded, `ObjectKanbanSchema.onQuickAdd` still reaches the board by identity; the `handlerKeyDispositionsMeasured-7804` and `kanban-handler-slots-7664` pins still hold. But the board never calls it, because the control needs both halves. Retiring it too would need a `?: never` tombstone and a `'retired'` disposition. `check:handler-key-reads` refuses that while a renderer still reads the key off the document, and its static walk reaches `KanbanRenderer`'s `schema.onQuickAdd` read through `ObjectKanban`. So the read on the `ObjectKanban` path would first have to move off `KanbanRenderer`'s `schema`, without changing the host pair. The ruling names `quickAdd` only, so I left the slot as it is and wrote the question into the card report. ## Cross-repo consequence (not filed) objectstack keeps its own copy of this parser, and its `objectui-lockstep.json` still lists `inert-quick-add`, recorded against objectui `db11afd4967c`. At objectstack's next `.objectui-sha` bump, `check:sdui-lockstep` will name that code as present on one side only, and their copy should drop it the same way. That is the lockstep working as designed, so I have noted it rather than filed it. ## Acceptance notes - `index.tsx`'s `OBJECT_KANBAN_INPUTS` docblock still says "both `ObjectKanbanRenderer` tags" in its heading. That has been stale since objectui#8802 and this change does not touch it. Noted, not fixed. --- _Generated by [Claude Code](https://claude.ai/code/session_0122Knsowci76D2rBWReCzzZ)_ Co-authored-by: Claude <noreply@anthropic.com>
akarma-synetal
pushed a commit
to akarma-synetal/objectui
that referenced
this pull request
Oct 7, 2026
… object-kanban path renders an internal board that takes the quick-add pair as props (objectui#11234) (objectstack-ai#11269) Fixes objectstack-ai#11234 Clause-②: no (narrowing) Retires `ObjectKanbanSchema.onQuickAdd` on `object-kanban` on both faces, completing ruling B of the director seat's decision batch objectstack-ai#91 (`5583979207`, recorded on objectui#8285): the object-bound board does not grow an inline record-creation write path, and the Quick Add pair stays with a React host. Direction is option A of the PR objectui#11231 dev, as adopted in the card; no inline creation path is added, and `KanbanRenderer`'s host pair is unchanged. ## What changed - **`@object-ui/types`**: `ObjectKanbanSchema.onQuickAdd` is `?: never` on the TypeScript face (`objectql.ts`), and `handlerKeyRefusal('onQuickAdd', 'retired', 'Quick Add handler')` on the zod mirror (`zod/objectql.zod.ts`). The JSON face still refuses the key by name with code `custom`; the guidance now says RETIRED instead of RUNTIME SLOT. - **`@object-ui/plugin-kanban`**: - A new internal module `src/KanbanBoardCore.tsx` holds the board body that used to live in `KanbanRenderer`: the bucketing memo, the lazy `KanbanImpl`, and the Suspense fallback. It takes the Quick Add pair ONLY as explicit props (`quickAdd`, `onQuickAdd`), and its `schema` type is `KanbanRendererProps['schema']` with those two keys omitted, so a `schema.onQuickAdd` read written into it fails type-check. It is not re-exported from the `index.tsx` barrel. - `KanbanRenderer` (public) now renders `KanbanBoardCore` and passes `schema.quickAdd` / `schema.onQuickAdd`. Its props interface is byte-identical, and so is what a host gets. - `ObjectKanban` renders `KanbanBoardCore` and passes neither half. The old `quickAdd: undefined` line on `effectiveSchema` is removed, because nothing on this path reads `schema.quickAdd` any more; the comment in its place says where the cut now is. - Why the module move was needed: `check:handler-key-reads` refuses a `retired` disposition while a renderer reachable from the registration reads the key off the document. The `object-kanban` path reached `KanbanRenderer`'s `schema.onQuickAdd` read. After this change, the gate's census for `object-kanban` holds one row, `onCardClick [runtime-slot]`, read in `KanbanBoardCore.tsx`. - **Docs**: `content/docs/plugins/plugin-kanban.mdx` (the handler-key paragraph and the "Quick Add is a React-host capability" section) and `content/docs/api/schema-reference.md` (the `ObjectKanbanSchema` handler-keys callout, and one clause of the `quickAdd` callout). - **Changesets**: `.changeset/11234-object-kanban-onquickadd-retired.md`, with `minor` on `@object-ui/types` (a narrowing, breaking semantics stated in the body) and `patch` on `@object-ui/plugin-kanban` (no public props moved). Three pending entries that this release would otherwise ship with a false sentence are amended, one sentence each, with every other byte and the frontmatter unchanged: `8285-object-kanban-quick-add-retired.md` (its closing note said `onQuickAdd` stays a runtime slot), `7804-object-kanban-handler-keys-judged.md` (it said `onCardClick` and `onQuickAdd` are both runtime slots) and `8285-kanban-quickadd-html-diagnostic.md` (it said `onQuickAdd` is a runtime slot). ## Pins - **JSON face, by name, and TS face `never`**: new `packages/types/src/__tests__/object-kanban-on-quick-add-retired-11234.test.ts`. - Runtime legs: the key is refused as `custom` at path `onQuickAdd`, for an action object and for a live function. The `.describe()` text is the parse message. A near-miss key is kept. The CLI union refuses a whole node carrying the key. - The retired-disposition leg reads RETIRED for `onQuickAdd` against `onCardClick` on the same arm and helper, which still reads RUNTIME SLOT. That `onCardClick` reading is the lit control. - Type-level pins: `Equal` to `undefined`, not `any`, not callable, and an `@ts-expect-error` on a literal that writes the key. The sibling slot `onCardClick` is still callable. - **The host pair still draws and calls (control)**: `quickAddRetiredNotForwarded-8285.test.tsx` row 2, unchanged. `KanbanRenderer` with `quickAdd: true` plus a function draws one control per lane, and a submitted title reaches the host. - **An `object-kanban` node draws no Quick Add**: the same file's row 1, unchanged, through the real registry and the real board. It was already green before this change, because `quickAdd` was cut. The readings that discriminate on `onQuickAdd` itself flip in two files, each with `onCardClick` as the lit control on the same render: - `handlerKeyDispositionsMeasured-7804.test.tsx` suite 2: the board receives `onQuickAdd: undefined` and `quickAdd: undefined`, while the authored `onCardClick` runs once. - `kanban-handler-slots-7664.test.tsx` suite 1. - **Ablation** (below): re-declaring the key as a runtime slot turns the retired-disposition pin red on each face. Ledger rows moved with it: - the objectui#6124 ledger: the row moves from `RUNTIME_SLOT` to `RETIRED`, 61 + 21 becomes 60 + 22 with the total unchanged at 82, and the type blocks move the key from `KeepsFunction` to `RetiredIsNever`; - `zod-mirror-parity`: `onQuickAdd` leaves the `objectql.zod.ts#ObjectKanbanSchema` drift entry, and the header key total goes 87 to 86 with its history sentence; - the objectui#7340 docs census: 29 retired members, `objectql.ts` 2, and `onQuickAdd` joins the unambiguously retired names; - the objectui#7804 and objectui#7664 plugin-kanban readings: suite 3 of 7664 now derives the read sites from both bodies, and adds a barrel pin that `KanbanBoardCore` is not published; - `check-handler-key-read-sites.test.ts`: `onQuickAdd` leaves the `object-kanban` census, the arm reads `retired`, and the `onCardClick` row's file is `KanbanBoardCore.tsx`. Three source-reading pins had to be re-pointed at the moved text: - the objectui#9357 arity pin's `index.tsx` hop is now the hand-off to `KanbanBoardCore`; - the objectui#8932 firing control finds the live board's lazy import in `KanbanBoardCore.tsx`; - the objectui#8801 schema-channel end is now `KanbanBoardCore`'s signature. ## Measured producers of `onQuickAdd` on `object-kanban`: 0 in both repos - **objectui** (this branch): tracked files naming `onQuickAdd`, excluding tests and markdown, number 7 at the final head. They are `KanbanImpl.tsx` (the board's props), `index.tsx` (the host face), the two declarations, one comment in the gate script, `KanbanBoardCore.tsx` (its internal prop pair), and one comment in `ObjectKanban.tsx`. None writes the key onto an `object-kanban` node. Lit control on the same instrument: 7 non-test files write a `type: 'object-kanban'` node, and 2 JSON files in `examples/schema-catalog` carry `object-kanban`. JSON/YAML files naming `onQuickAdd`: 0. - **objectstack** `origin/main` `4d0b9cd54` (read-only `git grep`): `onQuickAdd` appears only in docs, CHANGELOGs, comments and diagnostic message text (`component.mdx`, the sdui-parser interim diagnostic and its test, the spec CHANGELOG, a `conversions/registry.ts` note). `packages/spec/src/ui/component.zod.ts` has 0 hits for `onQuickAdd`. Lit control on the same instrument: `quickAdd` hits 17 files, `component.zod.ts` among them. ## Verification All runs from the worktree root, through `os-verify-lock`, with `NODE_OPTIONS=--max-old-space-size=4096`. Pass counts are read from the vitest summary line, not from exit codes. Final head is `b1e88910f`. Its two commits over `e2bf34b97` are changeset text only, so the test and type-check runs below at `e2bf34b97` stand; the changeset gates were re-run at `b1e88910f` (last table row). | Run | Head | Result | |---|---|---| | `pnpm exec vitest run packages/plugin-kanban/src/` (verbose) | `611112e0e` | 64 files passed, 421 tests passed | | 8 named pins: the types 11234 / 6124 / zod-mirror-parity / 7340 / 8285 files, sdui-parser `kanban-quick-add-8285`, react 9357, scripts `check-handler-key-read-sites` | `611112e0e` | 8 files passed, 487 tests passed | | `pnpm exec vitest run packages/types/` plus the 14 test files outside types/scripts that import plugin-kanban (console, schema-catalog, app-shell, cli, core, i18n, plugin-calendar, plugin-list, runner) | `e2bf34b97` | 308 files passed, 8232 tests passed | | `pnpm exec vitest run scripts/__tests__/` (whole root suite, owed because docs were edited) | `e2bf34b97` | 177 passed, 2 skipped (179 files); 5371 passed, 2 skipped tests | | `pnpm --filter @object-ui/types type-check` (3 tsc projects; the test project lists 294 test files, the new pin among them) | `e2bf34b97` | exit 0 | | `pnpm --workspace-concurrency=2 --filter '@object-ui/plugin-kanban^...' build` (13 packages), then `pnpm --filter @object-ui/plugin-kanban type-check` | `e2bf34b97` | build exit 0; type-check exit 0 with 0 `error TS`. The rebuilt `packages/types/dist/objectql.d.ts` carries `onQuickAdd?: never`, so the plugin read the new typings | | `check:handler-key-reads` | `e2bf34b97` | exit 0, every judged read declared, 2 exempted by ledger | | `check-changeset-presence`, `check-changeset-no-major`, `check:control-bytes`, `check:new-line-citations` | `e2bf34b97` | all exit 0; 0 new cross-file line citations | | `check-i18n-call-site-keys`, `check-i18n-en-drift`, `check-i18n-dead-keys` (the `kanban.uncategorized` translation hook moved modules) | `e2bf34b97` | all exit 0 | | `node scripts/markdown-test-inputs.mjs --audit` | `e2bf34b97` | exit 0: 107 candidate files adjudicated, 78 entries present | | `pnpm exec eslint --format json` over the 16 changed code files | `e2bf34b97` | 0 errors, 96 warnings. Every pre-existing file has the same message count as the base version linted through stdin; the 2 new files have 0 | | `check-governed-queue-guard --test` over the 19 paths | `e2bf34b97` | NOT GOVERNED | | `check-changeset-presence`, `changeset:check`, `check:changeset-claims`, `check:pending-changeset-literals`, `check-governed-queue-guard --test` over the 22 paths | `b1e88910f` | all exit 0; NOT GOVERNED | **Declared narrowing**: repo-wide `pnpm lint` and the full `pnpm test` farm are left to CI. eslint's population is its own `files: ['**/*.{ts,tsx}']` block. The file count, 16, is read from the JSON output. `eslint.config.js` configures no `projectService` and no `parserOptions.project`, so linting is not type-aware and this diff cannot move a verdict on an untouched file. ### Ablation: re-declare `onQuickAdd` as a runtime slot, one face at a time Run on the committed head `e2bf34b97` through objectstack's `scripts/ablation-replace.mjs` in wrap mode, inside a script with its own `trap` restore, under the lock. The predictions were written before the run. - **Zod leg**: `'retired'` becomes `'runtime-slot'` in `objectql.zod.ts`. The anchor went x1 to x0 and the blob `c106c73cb1ec` to `6b9fc742c9d5`. Vitest over the 11234 pin and the 6124 ledger read 2 failed, 341 passed. The two failures are exactly the predicted legs: the 11234 retired-disposition leg, and the 6124 "guidance wording distinguishes a runtime slot from a retired key" leg. - **TS leg**: `onQuickAdd?: never;` becomes the callable in `objectql.ts`. The anchor went x1 to x0 and the blob `dde43cddfea1` to `afedc0cab24b`. `tsc -p packages/types/tsconfig.test.json` exited 2 with 5 errors: - the 11234 pin: TS2344 twice (tombstone, not-callable) and TS2578 (the `@ts-expect-error` became unused); - the 6124 `RetiredIsNever` row: TS2344; - `zod-mirror-parity`'s type-map ledger: TS2322, because the drift entry is owed again. This fifth error was not in the written prediction. It is the right direction, since the ledger answers to the faces. - **Restore proven**: `git diff HEAD` over both paths is 0 bytes, both blob hashes equal HEAD's, and `git status --porcelain` has 0 lines. ## Acceptance notes (observations; nothing filed) - Three pending changesets said `onQuickAdd` is, or stays, a runtime slot on `object-kanban`, which would ship false in the same release: `8285-object-kanban-quick-add-retired.md`, `7804-object-kanban-handler-keys-judged.md` and `8285-kanban-quickadd-html-diagnostic.md`. Each false sentence is amended in this PR, and the rest of each file, frontmatter included, is byte-identical. The seat added the three files to the claim's file surface. - The objectui#6124 ledger's `RetiredIsNever` type block has no `ObjectKanbanSchema['onCardMove']` row. That key's `never` is pinned by a source read in the 7804 suite 3 leg instead. Not added here. - A few comments still say "`KanbanRenderer`'s lazy boundary", and several tests' pre-warm comments say their `'../KanbanImpl'` specifier matches `index`'s. The lazy import now lives in `KanbanBoardCore.tsx`. It resolves to the same module, so the pre-warm imports still hit the cache. The comments are not swept; per AGENTS.md they get repaired when a change touches those files anyway. I fixed the ones on lines this change touched. - The retired guidance text is the shared `handlerKeyRefusal` wording (the node-type remedy). The practical remedy for this key, mounting `KanbanRenderer`, is carried by the TS docblock, the docs and the changeset, the same as for `onCardMove`. - The card body says `Clause-②: yes`; the PM claim says `no (narrowing)`. This body copies the claim's line, as the dispatch order directs. Session: `https://claude.ai/code/session_011p7ikEivgXefNDaE5S5Uec` (a dispatched `os-dev` run; branch `claude/issue-11234-kanban-onquickadd-retire`). --- _Generated by [Claude Code](https://claude.ai/code/session_011p7ikEivgXefNDaE5S5Uec)_ --------- Co-authored-by: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@object-ui/cli@0.2.2
Patch Changes
99cf828: Fixed changeset configuration and infrastructure improvements
Updated dependencies [99cf828]
@object-ui/components@0.2.2
Patch Changes
99cf828: Fixed changeset configuration and infrastructure improvements
Updated dependencies [99cf828]
@object-ui/core@0.2.2
Patch Changes
99cf828: Fixed changeset configuration and infrastructure improvements
Updated dependencies [99cf828]
@object-ui/data-objectql@0.2.2
Patch Changes
99cf828: Fixed changeset configuration and infrastructure improvements
Updated dependencies [99cf828]
@object-ui/designer@0.2.2
Patch Changes
99cf828: Fixed changeset configuration and infrastructure improvements
Updated dependencies [99cf828]
@object-ui/plugin-charts@0.2.2
Patch Changes
99cf828: Fixed changeset configuration and infrastructure improvements
Updated dependencies [99cf828]
@object-ui/plugin-editor@0.2.2
Patch Changes
99cf828: Fixed changeset configuration and infrastructure improvements
Updated dependencies [99cf828]
@object-ui/plugin-kanban@0.2.2
Patch Changes
99cf828: Fixed changeset configuration and infrastructure improvements
Updated dependencies [99cf828]
@object-ui/plugin-markdown@0.2.2
Patch Changes
99cf828: Fixed changeset configuration and infrastructure improvements
Updated dependencies [99cf828]
@object-ui/plugin-object@0.1.1
Patch Changes
@object-ui/react@0.2.2
Patch Changes
99cf828: Fixed changeset configuration and infrastructure improvements
Updated dependencies [99cf828]
@object-ui/runner@0.1.1
Patch Changes
@object-ui/types@0.2.2
Patch Changes
object-ui@0.1.2
Patch Changes