Repository navigation
refactor(types)!: retire ObjectKanbanSchema.allowCollapse on both faces (#8801) - #9621
Conversation
…aces
The key was declared on the TypeScript face and on the zod mirror of the
`object-kanban` arm and read by no registered board: an author who wrote
`allowCollapse: true` type-checked green, parsed green, and got a board that
never collapsed anything off it.
`@objectstack/spec`'s `ComponentPropsMap['object-kanban']` has never declared
the key, and it is a `strictObject` — so the platform was already refusing an
authored value by name at publish while this face said yes. ADR-0049
enforce-or-remove, ruled A (retire) rather than B (wire a reader).
An ADR-0087 D2 tombstone rather than a deletion: `BaseSchema` ends
`.passthrough()`, so a dropped member would be KEPT rather than refused, which
trades one silent no-op for another. `?: never` on the interface,
`retirementTombstone()` on the mirror, so the value is refused BY NAME.
Both unnamed channels were traced rather than grepped: `ObjectKanban` discards
its rest props (`void _props;`), and `KanbanRenderer` names every key it
forwards to the lazy board, so the `{ ...schema }` spread the key does ride
terminates before any sink.
`bare-kanban-node-key-retired-8802.test.ts` pinned this arm as still ACCEPTING
the key — that row moves to a refusal assertion with its reason at the site;
its three siblings stay accepting, because the arm-scoped claim that suite
makes is still true and this retirement is not that claim.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VCpmqvacV4BypY48QdoxcE
|
changeset-claim-re-read
|
✅ Console Performance Budget
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
Size Limits
|
Contract reviewServed-tier: ① Derived judgments
② Semver levelDeclared ③ Boundary flagsFlags the dev raised in the PR body, one by one:
Decided question 2a, the tombstone's prose. The ruling required text naming that lane collapse is Decided question 2b, the 8802 pin row. Correct: YES, as measured in ① item 5. Authorised: YES, by entailment — the ruling authorised narrowing this arm's accept set, and a pin that asserts the old accept set is reached by that ruling as a matter of necessity, not of choice; nothing of #8802's own ruling (retire the bare Third thing, the migration target. The tombstone names Additional non-blocking hygiene, named so it is on the record: the new TS docblock writes control counts into prose (" Implemented-by: VERDICT: PASS Generated by Claude Code |
清标 provenance —— 条款②双载体已剥,凭据在此记录:PR 评论 逐字采纳。上面那条记录是隔离达档复核子代理的产物,由本席原样转贴,⛔ 一个字没改、没挑用、没润色。它只看到卡片、卡上裁决与本 PR 本体;⛔ 没看到派发令、⛔ 没看到本席结论、⛔ 没看到开发报告 —— 它自己在记录外的附言里报告,它读卡时撞见了认领评论与 dev 报告两条,并声明每一条判断都是从 diff、head 树与裁决重新推导的。本席把这句照记,⛔ 不替它背书也 ⛔ 不据此作废:隔离是简报纪律,不是它能控制的阅读环境。 档位是本席独立量的同题发火对照(同一次扫描,最近 5 个子代理): 落地前检三条
受管面: 复核件点名的残留,逐条处置(⛔ 都不改变 PASS)它判为非阻断的有四条,本席不推翻,但也 ⛔ 不当没看见 —— 报告不等于修复,所以另行立卡:
⭐ 另有一条本轮已立卡:复核件确认了 — PM Generated by Claude Code |
…ctui#8572) (objectstack-ai#9639) Fixes objectstack-ai#8572 Executes maintainer ruling **A** on objectui#8572 (decision batch objectstack-ai#137, item 4, 2026-09-15, verbatim 「同意」 — comment 5689209004): `ChatbotSchema.body` becomes an ADR-0049 retirement tombstone on **both published faces**, pointing the author at `requestBody`. **B** (keep and document) and **C** (narrow to the children slot) were refused by that ruling and are not built here. ## What landed, file by file | file | change | |:--|:--| | `packages/types/src/complex.ts` | new `body?: never` member on `ChatbotSchema`, beside the `children` tombstone objectui#9256 / ADR-0049 already put there | | `packages/types/src/zod/complex.zod.ts` | `body: z.record(z.string(), z.unknown()).optional()` → `retirementTombstone(…)`; the `ChatbotSharedMirrorShape` note that said the ruling was "a separate question and is not decided here" now records that it was decided | | `packages/types/src/__tests__/node-recursion-point-8344.test.ts` | the two load-bearing pins **INVERTED, not deleted** | | `packages/types/src/__tests__/zod-mirror-parity.test.ts` | `KnownDrift` row loses `body` and records the ruling; the `WiderThanDeclared` entry goes (its whole content left); `WIDER_ARMS` row goes; header figures re-derived by this file's own pins | | `.changeset/8572-chatbot-body-retired.md` | `minor` on `@object-ui/types`, **BREAKING** banner, ADR-0087 D2 disposition line | | `.changeset/8344-…` · `.changeset/9256-…` | prose-only amendments — see the changeset-claim section below | | `packages/types/src/__tests__/content-channel-family-d-9256.test.ts` | **surface extension, granted** — the two hold-out controls RE-POINTED at a twin face | | `packages/types/src/__tests__/strict-authoring-face-8345.test.ts` | **surface extension, granted** — the root half of one case INVERTED | | `packages/types/src/zod/base.zod.ts` | **prose only** — the comment block whose three sentences this diff falsifies, including a live instruction citing this card | | `content/docs/plugins/plugin-chatbot.mdx` | **prose only** — the `requestBody` row's mechanism half (AGENTS.md objectstack-ai#2, docs-driven) | ## ⭐ The ruling's last sentence, answered with measurements > The report names the delivery surface of the refusal (parse-time) and whether any consumer path skips the root parse. **Delivery surface: parse-time on the zod mirror, compile-time on the TypeScript face — and nowhere else.** **YES — a consumer path skips the root parse, and it is the one authors hit most.** The runtime render path never parses through these mirrors at all. `SchemaRenderer` (`@object-ui/react`) validates **in dev builds only**, through `@object-ui/core`'s hand-written `validateSchema`, which walks base keys and recurses into content and knows **no per-component key**. Traced to the end: | consumer path | engine it validates with | does the tombstone arrive? | |:--|:--|:--| | `objectui validate` / `objectui check` (`@object-ui/cli`) | `safeValidateSchema` = `AnyComponentSchema.safeParse` on the **document root** | **YES** | | a TypeScript author writing a `ChatbotSchema` literal | `tsc` | **YES** (compile-time) | | `SchemaRenderer` render path (dev build) | `@object-ui/core`'s `validateSchema` — hand-written, no mirror | **NO** | | `SchemaRenderer` render path (production build) | nothing — `__DEV__` gates the whole pass | **NO** | | VS Code extension `SchemaValidator` | its own walker (recurses `body` only), never imports the zod face | **NO** | | `plugin-map` / `plugin-view` / `plugin-list` / `plugin-detail` imports of `@object-ui/types/zod` | `ObjectMapConfigSchema.shape` **key lists**, not parses | n/a — no parse on the path | ### The readings, with their controls **1. The refusal, on the BUILT artifacts** (`@object-ui/cli` and its dependency closure built from this branch — the `dist` bytes a consumer installs, not `src`): ``` objectui validate FIXTURE: root chatbot + body: { model: 'gpt-4', temperature: 0.2 } exit 1 · "Path: body" · "Code: invalid_type" · message names `requestBody` <- SUBJECT objectui validate FIXTURE: the same document spelled requestBody exit 0 · "✓ Schema is valid!" <- LIT CONTROL objectui validate FIXTURE: the same chatbot nested in card.body[] exit 1 · refused through the node union <- DEPTH ``` **2. The render path, rendered** (`@testing-library/react`, dev build, `console.warn` spied): ``` chatbot + body: { model: 'gpt-4' } warns "schema.children.type: type is required" chatbot + requestBody: { … } (no warning) <- LIT CONTROL chatbot, neither key (no warning) <- LIT CONTROL card + body: [{ label: 'x' }] warns "schema.children[0].type: type is required" <- FIRING CONTROL ```⚠️ That warning is **not this retirement arriving**. It is the generic child walker mistaking the API params for a child node: it names `children` for a key the author spelled `body`, and it prescribes adding a `type` to the params. It says the same thing before and after this change. (The probe rendered through the fallback component — `plugin-chatbot` is not registered in it — which does not affect the validation reading, since validation runs before component resolution. Only the warnings are cited.) **3. The same document through the render-path validator directly** (`@object-ui/core`'s `validateSchema`): ``` SUBJECT chatbot + record body valid:false ["schema.children.type: type is required" MISSING_REQUIRED] SUBJECT the same node in card.body[] valid:false ["schema.children[0].children.type: …"] CONTROL chatbot, no body valid:true <- LIT CONTROL FIRING validateSchema(null) valid:false INVALID_SCHEMA FIRING form field without a name valid:false MISSING_FIELD_NAME FIRING card child without a type valid:false MISSING_REQUIRED ``` ⇒ the retirement is delivered where documents are **authored and checked**, and ⛔ not where they are **rendered**. Making the render path agree is a change to `@object-ui/core` on a different card and is **not** made here. ## Re-taken reachability (the card's own table, re-measured on this branch — ⛔ not cited from the card) `AnyComponentSchema.safeParse`, this branch's source: | document | before this change | after | |:--|:--|:--| | chatbot + record `body` at the ROOT | ACCEPTED | **REFUSED** — `invalid_type` at path `body`, message names `requestBody` | | the same node inside `card.body[]` | REFUSED | REFUSED | | the same node inside `div.children[]` | REFUSED | REFUSED | | the same node with `requestBody` instead | ACCEPTED | ACCEPTED (LIT CONTROL) | | chatbot with neither key, root and nested | ACCEPTED | ACCEPTED (NON-VACUITY) |⚠️ The card's older reading said the width was reachable "at the root **and** in child slots". That half is no longer the tree's state and was **not** cited: PR objectui#8501 had already eliminated the nested half with a `superRefine` on the installed arm, so what this card actually retires is the ROOT. ## Corpus impact: zero documents Every tracked file carrying a `chatbot` node is in `examples/schema-catalog/src/schemas/plugin-chatbot/` (3 files). Each was parsed and its node key sets read **structurally** (⛔ not grepped — a tombstone leaves a comment behind and `grep -c` counts it): ``` basic-chatbot.json body:absent requestBody:absent messages:present <- LIT CONTROL chatbot-with-timestamps.json body:absent requestBody:absent messages:present <- LIT CONTROL customer-support-chat.json body:absent requestBody:absent messages:present <- LIT CONTROL ``` ## Pin inventory — what moved, and in which direction **`node-recursion-point-8344.test.ts`, two pins INVERTED (⛔ neither deleted):** 1. `is still ACCEPTED at the ROOT — the published mirror is untouched` → `is REFUSED at the ROOT too — objectui#8572 retired the published record arm`. The inverted leg asserts the issue's `code` and that the message names `requestBody` — the named remedy, ⛔ not the sentence carrying it. 2. `ArmsNotAssignableToSchemaNode ≡ 'chatbot'` → `≡ never`.⚠️ **Measured, not assumed:** the alias's bare projection — the exclusion projected through an `extends { type: infer K }` conditional — resolves to `unknown` — not `never` — when the exclusion set is empty, because `never` satisfies the probe shape and `K` is inferred from nothing. Written that way the inverted pin could only ever be red. It now answers the empty case first with a tuple-wrapped `extends [never]` guard and keeps the projection for its diagnostic value: it still NAMES the arm when there is one. **Unchanged and still green** (the legs that make this a measurement rather than an echo): `is REFUSED one slot down`, `NON-VACUITY: the same node without body is accepted at both depths`, `names body in the refusal`, and the whole `the fill is LIVE` suite. **`zod-mirror-parity.test.ts`:** `KnownDrift['complex.zod.ts#ChatbotSchema']` 'body' | 'onError' | 'onSend' → 'onError' | 'onSend' (the entry survives; the ruling is recorded in its docblock — this is the row the ruling says "becomes 「ruled」"); `WiderThanDeclared['complex.zod.ts#ChatbotSchema']` and its `WIDER_ARMS` row are **gone**, per that ledger's own clause 4 ("a key DISAPPEARED — the faces agree again; correct or delete the entry"), with the departure recorded in place as a standalone note in the ledger's own convention. Header figures were corrected to the derived ones with the cumulative history sentence each bullet keeps. ## Ablation — both halves proven load-bearing, from the committed state⚠️ **The first attempt was a NULL MEASUREMENT and is declared rather than quietly re-run.** Its mutation was anchored on the first `body: retirementTombstone(` in the file, which belongs to `CalendarViewSchema`, not to `ChatbotSchema` — so it reddened pins about a different pair and said nothing about this change. The re-run below anchors on this card's own guidance string, which occurs exactly once in the file, and carries scoped structural counters (the declaration block only, comments stripped) plus untouched-neighbour controls. | leg | mutation, proven on disk before any colour was read | result | |:--|:--|:--| | **baseline** (head `24b009d08`) | chatbot zod arm: tombstone 1 / record 0 · TS member `body?: never` 1 | vitest **exit 0** — 4 files, **807 passed** · tsc **exit 0** | | **A** — zod arm back to the record | tombstone 0 / record 1; chatbot `children` arm still 1 and the four other schemas' `body` tombstones still 4 (CONTROLS); on-disk hash ≠ HEAD blob | **RED in the claimed direction**: the inverted root pin fails, the strict-face case fails, `ArmsNotAssignableToSchemaNode ≡ never` fails, and the parity WIDER ratchet names `complex.zod.ts#ChatbotSchema` and its key `body` | | **B** — delete the TS `body?: never` (zod tombstone kept) | member 0; chatbot `children?: never` still 1 and four other interfaces' `body?: never` still 4 (CONTROLS); on-disk hash ≠ HEAD blob | **RED in the OTHER direction**: vitest stays green (a `?: never` is erased before a test runs) and the `KnownDrift` ratchet fails naming `complex.zod.ts#ChatbotSchema` — the mirror refuses what the declaration admits | ⭐ One reading is worth naming because it is evidence about the surface extension itself: under leg A the two RE-POINTED controls in objectui#9256's file stay **green**. They are aimed at a twin, so they are insensitive to this card's arm — which is what re-pointing rather than inverting buys, and it is the difference between borrowing another card's file and writing this card's verdict into it. Both legs restored from `HEAD` (⛔ never a bare `git checkout --`), each verified by `git diff HEAD` being empty **and** the file hash returning to its HEAD blob.⚠️ Honest asymmetry worth reading: leg A does **not** redden `KnownDrift` and leg B does **not** redden the WIDER ledger — each ledger sees one direction, which is why the entry left one and the whole row left the other. ## Local verification | check | verdict | |:--|:--| | `pnpm exec vitest run packages/types/` | **exit 0 — 195 files, 4607 tests, all passing** | | `pnpm --filter @object-ui/types run type-check` | **exit 0** (`tsc --noEmit` + the examples project + the tests project) | | `pnpm --filter @object-ui/types run build` | exit 0 · dist completeness: 130 emitted files verified | | `node scripts/check-changeset-presence.mjs` | exit 0 — 1 changeset declared for 4 published source files | | `pnpm changeset:check` | exit 0 — fixed group intact, no `major` | | `pnpm check:changeset-claims` | exit 0 (report-only) — 20 pending changesets named; answered below | | `pnpm check:new-line-citations` | exit 0 — **0 new** cross-file line citations | | `node scripts/check-control-bytes.mjs` | exit 0 — 7,760 tracked text files scanned | | `pnpm check:doc-snippets` | first run **PRECONDITION NOT MET (exit 2)** — it measured nothing; after the scoped 35-task build it was **re-run**: exit 0, 670/670 blocks compile | | `pnpm check:doc-types` · `check:prompt-keys` · `check:component-surface-parity` | exit 0 (the last is report-only by its own ruling) | | `pnpm check:doc-types` · `check:doc-fences` · `check:doc-example-ids` | exit 0 — re-run after the docs row changed | | whole-repo gate farm (`pnpm lint` and the rest of the `check:*` roster) | **NOT MEASURED** locally — left to CI | | `--ran` reconciliation against a derived gate list | **UNAVAILABLE** — `dispatch-gates.mjs` lives in objectstack and refuses cross-repo; this list was hand-derived from this repo's own `check:*` scripts and `.github/workflows/`, and ⛔ `check-expected-skips.mjs` was not pointed at this repo (it carries objectstack's roster and would answer about the wrong board) |⚠️ Every figure above is read at the FINAL head (`24b009d08`), after the surface extension, not at the first commit. One reading is explicitly a re-run and says so; one gate invocation in between exited 1 for a reason that is **not** a red — `pnpm run check:changeset-presence` is not a script name in this repo (the script is run directly), which is "I could not run", and it was re-run correctly to exit 0.⚠️ **Declared narrowing.** The ablation legs and the final runs were executed **without** the shared heavy-verify lock. Two consecutive acquisitions timed out (9m00s each, `exit 99` = never acquired, place kept) behind a live holder — a sibling worktree's full `packages/` vitest run, held for 22+ minutes and still running at the second timeout. The narrowed runs are two named test files plus one `tsc` project, and every reading cited here is a **verdict** (exit code, FAIL line, error identity), not a wall-clock figure, so contention cannot move it. ## Surface extension — granted, reasoned, and bounded The ruling names four files. Four more are in this diff. Each is here because the ruling **reaches** it, not because it was convenient; the alternative for each is stated so the choice is reviewable, and the ground is the one an at-tier reviewer already ruled on this round (objectui#8801 / PR objectstack-ai#9621): *"the ruling authorised narrowing this arm's accept set, and a pin that asserts the old accept set is reached by that ruling as a matter of necessity, not of choice."* **1. `content-channel-family-d-9256.test.ts` — two hold-out controls, RE-POINTED (⛔ not inverted).** Both were aimed at `ChatbotSchema.body` precisely *because* objectui#9256 held that key out pending a ruling: the runtime `LIVE CONTROL` kept the chatbot rows "a reading about `children`", and the type-level `CONTROL` pinned the two-meanings collision. This ruling ends that hold-out — for **one** of the three chatbot faces. Measured: the two TWIN faces still accept `body` as the content channel (`chatbot-enhanced` and `chatbot-floating` parse `body: CONTENT`; `chatbot-enhanced` refuses a record `body` and refuses `children`, which objectui#9256 narrowed). ⇒ both controls are re-pointed at a twin, where the hold-out this card recorded is **still true**, and neither line says anything about `ChatbotSchema.body`. **The alternative was to invert them** — to assert the refusal — and that is exactly the residual the objectstack-ai#9621 reviewer named: restating a retirement inside another card's file. Dropping them was the third option and was refused: the file's header leans on that control by name. **2. `strict-authoring-face-8345.test.ts` — one case, root half INVERTED.** Here re-pointing is not available and dropping does **not** suffice. The case asserts that the derived strict twin keeps the clause the tolerant face carries; its two root legs asserted acceptance. Dropping them would leave a case that no longer reads the root at all — it would stop noticing if the two faces ever disagreed there. So the root legs are inverted, and⚠️ the comment records the honest consequence: this input **no longer discriminates** the clause, because the arm refuses it with or without the wrapper. That clause's disposition is not this ruling's and is not touched. **3. `packages/types/src/zod/base.zod.ts` — prose only, three sentences.** That block does not only describe behaviour: it **instructs** readers not to narrow `ChatbotSchema` *because objectui#8572 has not ruled*. Shipping a live instruction, in a published package's source, citing this card and saying the opposite of what it decided, is the silent-misinformation shape this board exists to stop. The block now records what the clause was for (past tense), that it is **REDUNDANT** after this ruling, and — the sentence that matters for the next reader — **why it nevertheless stays**: the wrapper is load-bearing independently of what it checks (`node-recursion-point-8344.test.ts`'s `the fill is LIVE` leg reads that slot 0 holds the WRAPPED union, and the read-back assertion throws when the recursion point did not take), so removing the clause is surgery on objectui#8344's recursion point, not a deletion. ⛔ The `superRefine` clause, its installation and the pin that reads it are untouched — `git diff` on this file is comment lines only. **4. `content/docs/plugins/plugin-chatbot.mdx` — prose only, one table row.** The `requestBody` row told authors that writing `body` "sets the base schema's children container and never reaches the API". The remedy was right and the mechanism is now wrong. AGENTS.md objectstack-ai#2 makes this a required companion edit, not optional scope. ### The host cards' own claims survive — checked suite by suite Both files run whole and green (758 cases across the two): | file | suites | cases | |:--|:--|--:| | `content-channel-family-d-9256.test.ts` | `family D refuses the content channels its renderers never read` · `a nested family-D node is refused too` · `the TypeScript face refuses both channels at the AUTHORING site` · `CONTROLS: the node itself, and the held-out channel, are untouched` | 525 · 2 · 3 · 203 | | `strict-authoring-face-8345.test.ts` | `(a) a known-good document parses under the strict face` · `(b) one invented top-level key is refused, and the key is named` · `(c) the tolerant face is behaviourally unchanged` · `a nested node is judged by its own component schema` · `checks survive the clone` · `the barrel is the sole entry into the module cycle` · `the node face (child slot) twin` · `the population is closed` · `the strict authoring face — positive controls` · `the type-level pins are reachable` · `what strict could not close is enumerated, not claimed` | 2 · 2 · 2 · 2 · 3 · 2 · 2 · 4 · 2 · 1 · 3 | ⇒ objectui#9256's narrowing rows, its nested refusal, its authoring-site `@ts-expect-error` block and its other live controls (`button` family C, the `tabs` and `list` ITEM channels, `div`) all still assert what they existed to assert; objectui#8345's strict-face suites likewise, including the closed-population pin its own header calls the one whose absence let a real defect ship. ## The `changeset-claim-re-read` answer The gate named **20 pending changesets** on the first commit and **29** once the surface extension widened the diff (`base.zod.ts` and the docs page bring their own). Read paragraph by paragraph: **29 still true, 0 falsified.** The near calls, stated so the reading is checkable: - `6687-chatbot-surface-authorable.md` quotes "`ChatbotSchema` … declared 34 keys" — a count this diff moves, but the paragraph frames it explicitly as "measured on both declaration faces **before the fix**", so it is a historical reading and cannot rot. Closest call of the twenty. - `8338-retire-toast-action.md` quotes ledger deltas (`KnownDrift` 42/64 → 41/63, `WiderThanDeclared` 23/36/47 → 22/35/45). Those are that card's own move at its own head, not live totals; this change moves the live totals and leaves those sentences true. ⛔ My changeset deliberately quotes **no** ledger digit for the same reason. - `8478-zod-pins-complex.md` says the published `.describe()` strings in `complex.zod.ts` carry no source-line citations. Still true: the describe string this PR replaces carried none and the one it adds carries none — 0 of 167 `.describe()` strings in that file contain a line address, and `check:new-line-citations` reports 0 new. - `7703-chatbot-dark-keys-retired.md` states the `?: never` + `retirementTombstone()` lockstep convention; this change follows it rather than falsifying it. - The other sixteen of the first twenty name `zod-mirror-parity.test.ts` or the two schema files for ledgers, keys and pairs this diff does not touch (`EXCLUSIONS`, `RuntimeOnlyDeclared`, `UnmirroredDeclared`, `KanbanColumn`, `FilterBuilderCondition`, `ChatMessage`, `CalendarView`, …). - The nine added by the widened diff all name `base.zod.ts`, and every one of them is about a part of that file this change does not touch: `ComponentInput`'s tombstones (`5905` ×2, `7493`), the `disabled` twin symmetry (`7087`), the `ExpressionWireSchema` hoist (`7530`), the `z.lazy` spelling census (`7918` — this diff changes comment text only, not a single `z.lazy` initializer), the node-slot `z.number()` arm (`9162`) and `ComponentMetaSchema` (`5893`). The four naming the docs page (`6169`, `6687`, `7295`, `7703`) are the chatbot ones already read above. ⭐ **The gate's list and the falsified set were DISJOINT here, which is the gate's own stated blind spot.** It judges name resolution, and the two paragraphs this diff actually falsifies name no file at all: - `.changeset/8344-node-recursion-point-redirect.md` §2 — "accepted at the root before and after" and "the published `ChatbotSchema` is untouched". Both halves sit in ONE paragraph. **Route taken: corrected in place, prose only, frontmatter untouched** — an AMENDED note naming this card, which keeps that card's own measurements (the nested verdict, the installed check, "narrows at 109, widens at none") intact because those are readings of a fixed head. - `.changeset/9256-content-channel-family-d.md` — this key recorded as "a naming collision **awaiting a ruling**". **Route taken: corrected in place, prose only** — the hold-out has ended for one of the three chatbot faces, and the reason that card gave for holding it out stays true. - `.changeset/7655-chatbot-registration-authoring-faces.md` — "the twins … do not copy `ChatbotSchema`'s `body` naming collision". **Route taken: left as written and named in my own changeset**, because its claim about the TWINS is still exactly true; only the collision it refers to is the thing retired here. ## Deviations from the ruling's literal wording, declared 1. The ruling names the `KnownDrift` row as the one that "becomes 「ruled」". Mechanically, a ruled key **leaves** that ledger (the faces agree, so the row would be stale and its own ratchet would fail on "a listed key that has been fixed"). The row therefore keeps the entry, drops the key, and **records the ruling in its docblock** — that is the reading of 「ruled」 taken here. 2. The same change forces two things the ruling does not name, both inside the file it does name: the `WiderThanDeclared` entry and its `WIDER_ARMS` row go, per that ledger's own clause 4, and the header figures move with them. Both are the file's own pins refusing a stale ledger, not scope taken on. 3. The `ArmsNotAssignableToSchemaNode` pin is inverted to `never` **with an added empty-set guard** — measured, not preferred: without it the inverted pin can only ever be red. ## 维护者速读 聊天机器人节点上的 `body` 从今天起会被**当场拒绝**,并在拒绝文案里告诉作者该写 `requestBody`(渲染器一直读的就是它)。本仓三份聊天机器人文档一份都没写过 `body`,所以没有任何现存文档受影响。⚠️ 一句不能省的话:这个拒绝**只在解析与编译时到达** —— `objectui validate` / `objectui check` 会拒,TypeScript 会拒;而**运行时渲染路径根本不走这套镜像**(它走 `@object-ui/core` 手写的校验器,且只在开发构建里跑),所以在渲染路径上写错的人得到的仍然是一条**指错键名**的旧警告,生产构建里则什么都没有。要让渲染路径也说同一句话,是另一个包、另一张卡。 ⛔ 另有四处被本裁决推翻、但在本 PR 文件面之外的位置(两条 hold-out 对照、一处 `base.zod.ts` 注释、一处文档行),已在上面逐条点名,等 PM 决定是否扩面。 --- _Generated by [Claude Code](https://claude.ai/code/session_01VCpmqvacV4BypY48QdoxcE)_ --- _Generated by [Claude Code](https://claude.ai/code)_ --------- Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Fixes #8801
Retires
ObjectKanbanSchema.allowCollapseon theobject-kanbanarm, on bothpublished faces, under ADR-0049 enforce-or-remove. Executes the director seat's
class-1 self-adjudication of 2026-09-16 (letter A — retire; B, wiring a reader,
was refused as a capability nobody asked for).
What the key was
Declared on the TypeScript face (
allowCollapse?: boolean) and on the zodmirror (
z.boolean().optional()), and read by no registered board. Anauthor who wrote
allowCollapse: truetype-checked green, parsed green, and gota board that never collapsed anything off it — a published entry point with
nothing behind it.
What landed
packages/types/src/objectql.tsallowCollapse?: booleanallowCollapse?: never(tombstone)packages/types/src/zod/objectql.zod.tsz.boolean().optional().describe(...)retirementTombstone(...)An ADR-0087 D2 tombstone, not a deletion, and that is load-bearing:
BaseSchemacarries an index signature and its mirror ends.passthrough(), soa dropped member would be kept, not refused — one silent no-op traded for
another. The member stays declared and unwritable, so the value is refused BY
NAME with a prescription attached.
Premises, re-measured on this branch rather than inherited
Every one of the four the card rests on was re-taken here, each with a control
firing on the same instrument in the same run.
@objectstack/spec(17.4.0) in this worktree, not the shared checkout.ObjectKanbanPropsSchema—ComponentPropsMap['object-kanban']— declaresobjectName groupBy columns filter limit data cardTitle titleField cardFields swimlaneField grouping quickAdd coverImageField conditionalFormatting, andno
allowCollapse. Token counts over the published package:allowCollapse0 insrc/dist/json-schema; controlsgroupBy12 / 52 / 37 and
coverImageField1 / 4 / 2; a minted absent tokenscored 0 / 0 / 0.
move the verdict:
groupFieldappears in that schema as an alias entry(
groupFieldtogroupBy), not as a declared member. ⭐ And the schema is astrictObject, so the platform was already refusing an authoredallowCollapseby name at publish while this face said yes.address the ruling quoted: one declaration inside
interface ObjectKanbanSchemaand one insideexport const ObjectKanbanSchemaon themirror. CONFIRMED.
packages/plugin-kanbanname the token, against firing controls in the same pass —
groupBy45files,
conditionalFormatting8,quickAdd6,coverImageField3 — and a freshly minted absent token at 0. Repo-wide, no file under
any
packages/*/srcnames it at all.survives of it is an explanatory block on the
kanbanmirror recording thatits refusals were arm-scoped by construction and that an
object-kanbandocument "is judged exactly as it always was". The tombstone landed here
agrees with that rather than contradicting it: this is a separate ruling on
this arm's own protocol row.
⭐ The grep is not the reading — both unnamed channels were traced to their ends
A renderer can consume a key it never names, so a source grep alone cannot
answer the inertness question. Both channels terminate before any sink:
SchemaRendererspreads every non-metadata key as a Reactprop;
ObjectKanbanRendererdestructuresschemaand forwards its rest intoObjectKanban, whose first statement after its own destructure isvoid _props;. The rest is discarded, never spread onward.ObjectKanban's{ ...schema }spread into
effectiveSchema, and reachesKanbanRenderer— whichdestructures
schema/objectFields/onCardMoveand names every keyit hands to the lazy board. An unnamed key stops there.
Both terminators are pinned as source text in the new test, so the reading is
re-derived on every run rather than remembered.
Evidence on the BUILT artifact
The BREAKING banner is earned on
dist— the bytes a consumer installs — not onsrc.dist/objectql.d.tscarriesallowCollapse?: never;anddist/zod/objectql.zod.d.tscarries an OPTIONAL ofz.ZodNever; the previousspelling survives nowhere under
dist. Parsed through the built entry:Live members parse green, so the arm is not refusing everything. ⭐ The near miss
parsing green is the discriminator that makes the tombstone load-bearing:
this arm is not strict, so a never-declared neighbour is kept rather than
refused — which is exactly what deleting the member would have shipped.
Pins, in both directions
New:
packages/types/src/__tests__/object-kanban-allow-collapse-retired-8801.test.ts.invalid_type, fortrue/false/ a string alike; the message asserted for the ruling's ownrequired content (that lane collapse is
KanbanColumn.collapsed's and not aboard-level authored toggle), not frozen as a whole paragraph.
the bare node as the firing control, plus this arm's OTHER tombstone
(
groupField) still refusing, so the narrowing did not sweep the arm..describe()metadata is asserted to bethe parse message, the invariant
retirementTombstone()exists for.undefinedand is notany(deleting it instead would fall through the index signature to
any, andthat pin would go red), with a live member as the non-vacuity control and an
unused-directive
@ts-expect-errorliteral that goes red with TS2578 if thetombstone is ever widened back.
packages/orapps/, with a firing control in the same walk. Tree-scoped onpurpose: a file-scoped pin sees only the files its author thought of.
Moved, not deleted:
bare-kanban-node-key-retired-8802.test.tssuite 3 assertedthat this arm still accepted the key. That row is now a refusal assertion
with its reason stated at the site; its three sibling rows stay accepting,
because the claim that suite makes — batch #70's refusals were arm-scoped and
cannot cross an arm — is still true, and this retirement is not that claim.
Region fence
The claim released this lane at region granularity, not file granularity:
packages/types/src/objectql.tsandpackages/types/src/zod/objectql.zod.tsare both held by open PR #9540, frozen head, whose region is
ObjectGallerySchema.filter. The fence held. Both hunks fall inside theObjectKanbanSchemaregion of their file and carry that symbol as their hunkcontext header;
ObjectGallerySchemasits several hundred lines further down inthe declaration file and is untouched, as is that PR and its branch. Nothing
here required stepping outside the region.
Gates
Hand-derived from this repo's own
check:*scripts and workflows —dispatch-gates.mjsrefuses cross-repo and cannot answer for this repository,so
--ranreconciliation is unavailable here and is stated as such rather thanfaked. Exit codes captured to disk as each ran, before any pipe.
Acceptance notes
content/docs/api/schema-reference.mdcarries a note that reads, in part, that
@object-ui/types"still declaresboth on its mirror of this face, so a reader will find them there; that half
is objectui#8801, not this table." This pull request lands that half, so the
sentence is now stale. The file is outside the file surface this lane was
released on, and the claim's instruction on a breach is to stop and report
rather than widen — so it is reported instead of edited. It is a prose
staleness, not a gate failure: no gate reads it, and the note fails loudly
rather than silently for anyone who acts on it (the key is now refused by
name). Dedupe words: schema-reference, allowCollapse, object-kanban, mirror,
stale.
quickAdd— retiredby objectui#8285 on the strict authoring face while this mirror still declares
it live — is the other half of that same paragraph and is not this card.
No action taken, named here only so the next reader of that note knows which
half moved.
Generated by Claude Code