This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Repository navigation
Commit dcbf0b2
* feat(types,plugin-kanban): execute the batch #70 ruling on the `kanban` arm
Retire `allowCollapse` / `cardTemplates` / `columnWidths` (declared on both
faces, read by no registered board) and `titleField` (the legacy spelling of
`cardTitle`; the `object-kanban` arm keeps its own) as named refusals on both
faces. Declare `navigation`, which `ObjectKanban` reads and no face named, on
the gantt precedent objectui#5903 — the `(schema as any)` cast goes.
Move `objectFields` off the schema bag onto `KanbanRendererProps` as a real
React prop: an internal channel from the one caller that fetched the object
definition, not an authoring surface.
Fixes #7742
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Jmxdo7bmeqCQHLSfmLVX9w
* test(types,plugin-kanban): pin both accept-set directions and the objectFields channel
The batch #70 ruling moves the `kanban` arm's accept set in both directions in
one change, so a file that pinned only one half would pass on a change that
forgot the other. Every refusal is asserted at its own path with an undeclared
key on the same parse as the control (a `.passthrough()` object accepts unknown
keys, so "the document failed" proves nothing alone), `navigation` is asserted
to JUDGE its value rather than merely admit it, and the sibling `object-kanban`
arm is asserted to still accept `titleField`.
The `objectFields` pin discriminates the two channels behaviourally through an
outcome only the field catalogue can produce, with the prop leg asserted first
as the firing control for the schema leg's negative.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Jmxdo7bmeqCQHLSfmLVX9w
* docs(plugin-kanban,changeset): scope the `objectFields` claim to the `kanban` arm
The move takes `objectFields` off the schema READ PATH, and on the ruled
`kanban` arm that closes the key outright — `ObjectKanbanRenderer` serves that
type key and discards its rest-spread (`void _props;`). It does NOT make the key
author-unreachable in general: `objectFields` is absent from `SchemaRenderer`'s
stripped-metadata list, so on the schema-only `kanban-ui` entry an authored
value survives the generic prop spread and lands on the very prop this change
introduced. Measured through the real `SchemaRenderer` — a `kanban-ui` node with
an authored `objectFields` paints the card; the same node without it, and the
same document as `type: "kanban"`, do not.
Three texts read as if the general claim held, and the changeset is the one that
ships: a changeset is this PR's input to the release notes, so a measured-false
claim there becomes a release note. All three now state the scope at the arm
level rather than dropping the claim:
- .changeset/7742-kanban-arm-batch70.md
- the KanbanRendererProps docblock in packages/plugin-kanban/src/index.tsx
- the pin file's docblock, and the pin file's NAME
Renamed objectFieldsIsNotAuthorable-7742.test.tsx to
objectFieldsIsAPropNotASchemaKey-7742.test.tsx. Its describes were always
accurate; only the filename claimed the generality the measurement refutes, and
a filename is the widest-reach text here — it prints in every vitest run and in
every file listing. Nothing in the repo referenced the old path, the two imports
are same-directory relative, and check-type-check-coverage enumerates test files
from the package root, so coverage is re-derived from disk (42/42 packages).
Also corrects the countsAreWindowed docblock, whose "same shape as objectFields
above" pointer this PR's own move had inverted, and the stale "Absent on the
schema-only kanban-ui entry" line that the new scope paragraph contradicted.
Wording only: no behaviour, no refusal, no declaration, no pin assertion and no
ablation leg is touched.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Jmxdo7bmeqCQHLSfmLVX9w
---------
Co-authored-by: Claude <noreply@anthropic.com>
1 parent b89583b commit dcbf0b2
9 files changed
Lines changed: 651 additions & 58 deletions
File tree
- .changeset
- content/docs/api
- packages
- plugin-kanban/src
- __tests__
- types/src
- __tests__
- zod
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
973 | 973 | | |
974 | 974 | | |
975 | 975 | | |
976 | | - | |
977 | 976 | | |
978 | | - | |
979 | | - | |
980 | 977 | | |
| 978 | + | |
981 | 979 | | |
982 | 980 | | |
983 | 981 | | |
984 | 982 | | |
| 983 | + | |
| 984 | + | |
985 | 985 | | |
986 | 986 | | |
987 | 987 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
902 | 902 | | |
903 | 903 | | |
904 | 904 | | |
905 | | - | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
906 | 909 | | |
907 | 910 | | |
908 | 911 | | |
| |||
1143 | 1146 | | |
1144 | 1147 | | |
1145 | 1148 | | |
1146 | | - | |
1147 | | - | |
| 1149 | + | |
1148 | 1150 | | |
1149 | 1151 | | |
1150 | 1152 | | |
1151 | 1153 | | |
1152 | 1154 | | |
1153 | | - | |
1154 | | - | |
1155 | | - | |
1156 | | - | |
1157 | | - | |
1158 | | - | |
1159 | | - | |
1160 | | - | |
1161 | | - | |
1162 | | - | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
1163 | 1173 | | |
1164 | 1174 | | |
1165 | 1175 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
0 commit comments