…restating it at eight sites (objectui#9684) (objectstack-ai#9926)
Part of objectstack-ai#9684 — this PR takes the live half and hands the rest back as a
decision; the card stays open for it.
> ## RE-DERIVED AT HEAD `baa386c4b` — one vintage, no stale sentence
left standing
>
> Written by the implementer in the same push that created this head. ⭐
Round 5 established the rule this body follows: the whole body is ONE
vintage, every figure re-derived against the head being pushed, and a
sentence the review falsified is **repaired in place** rather than
annotated. ⛔ Nothing is left for a banner to excuse.
>
> **What round 5's review falsified, and what became of it here:**
>
> 1. "caught only directly behind `or`, with nothing but a comma,
whitespace and an opening parenthesis allowed in between" — that named a
**set** while the pattern `,?\s*\(?` required an **order**. ⛔ **Repaired
by moving the pattern, not the sentence** — see A below. The sentence
now reads "any number of them, in any order", and it is true.
> 2. "Its population is every comment in the package" — two ABUTTING
comments were one block, so a drifted copy inherited its neighbour's
precondition. ⛔ **Repaired in the code** — see B below.
> 3. "Ablation ledger — 17 legs" beside a paragraph enumerating 18. ⛔
**Repaired by re-deriving the number from the table**, which is now 41
and is counted from the rows below rather than remembered.
>
> ⚠️ Round 5's body also carried this sentence: "⛔ The clause pattern
itself is **unchanged**; nothing was widened to make a sentence true."
**That is no longer true, and round 6 reverses that choice on purpose.**
The reversal and its four-axis reasoning are stated below rather than
quietly dropped.
Clause-②: yes
## What round 6 changed
Round 5's contract review passed the direction for the fifth time and
reproduced every figure the round printed — the pin, the reverse leg,
the full suite, the 65-file `.d.ts` equality with both marker controls,
the population at base and head, and the exact failure sets for B1, C1,
C2 and D1. Standing A, standing B/③C and ③D are all **closed**. Two
findings remained, both in the **silent** direction, both wordings
nobody had tried.
**A · the separator sentence named a SET; the pattern enforced an
ORDER.** All four carriers said `3`, `iii`, `third` and `thirdly` are
caught behind `or` "with nothing but a comma, whitespace and an opening
parenthesis allowed in between" — a set of permitted characters. The
pattern spelled that separator `,?\s*\(?`, which admits **comma, then
whitespace, then parenthesis, in that order only**. So `, or ( 3 ) …`
(whitespace *after* the parenthesis) and `, or ,3 …` (a comma *after*
whitespace) contained nothing any published sentence forbade and passed
**22/22**.
⛔ **The sentence was not patched to describe the order.** The separator
is now `[\s,(]*` — the genuine set its prose always claimed — and the
caught-list in all four carriers is **re-derived from the widened
pattern**, 20 wordings re-measured through the pin (legs W01–W20), never
hand-patched. Two properties make that safe and checkable:
- `[\s,(]*` is a strict **superset** of `,?\s*\(?` — every string the
old separator admits is made only of commas, whitespace and opening
parentheses ⇒ ⛔ **no wording that was caught became silent.** Measured,
not argued: the eight previously-caught wordings are all still caught
(W09–W15, W20), and the four wordings the header declares silent are all
still silent (W05–W08).
- The two escapes now red (W01, W02), and so do the two further
set-shaped spellings nobody had published either: `, or, (iii) …` (W03)
and `, or (( 3 )) …` (W04).
⚠️ Two observations the review asked to be folded in, both measured
here: `, and prong-3 keeps …` is **silent** (W19) — the hyphenated
spelling is not `prong 3` and ⛔ no carrier claims it is; and `, or
third-party tooling keeps …` **reds** (W20) — the anchor catches a
non-numbering `third` behind `or`. That second one is the **declared
spurious-red direction** and is fine by design: a spurious red sends a
human to read four blocks, a spurious green is the defect this pin
exists for.
**B · two abutting comments were ONE block, so a drifted copy inherited
its neighbour's precondition.** A blank line was the only thing that
ended a comment run. So an un-amended `//` statement wedged between the
`ChatbotSchema` JSDoc's closing delimiter and `export interface` — no
blank line — passed **22/22**, and so did an un-amended JSDoc stacked
directly above that JSDoc. A human reads five statements; the pin
counted four.
⭐ The pin's own prose already forbade exactly this: *"A blank line ends
a run on purpose — joining across one would let a drifted note inherit a
compliant neighbour's precondition and pass."* The code joined across
`*/`→`//` and `*/`→`/**` anyway. ⛔ The prose was right; the **code** now
says it — the same direction ③D took. A run now ends at a `*/` and
starts at a change of kind.
⚠️ That is a **boundary** rule, ⛔ not a rule about statements, so it
re-cuts every abutting pair in the package. Re-derived at this head with
the pin's own comment oracle rather than remembered:
| abutting shape, no blank line | sites in `packages/types/src` |
|---|---|
| `*/` → `//` | **3** (`spec-ui-namespace.ts:32`,
`zod/objectql.zod.ts:679`, `zod/objectql.zod.ts:1904`) |
| `*/` → `/**` | **13** |
| `*/` → `/*` | **1** (`field-types.ts:903`) |
| `//` → `/**` | **11** (`complex.ts` ×2, `index.ts` ×5, `layout.ts`,
`objectql.ts` ×2, `zod/objectql.zod.ts`) |
| `//` → `/*` | **1** (`index.ts:1326`) |
| **total** | **29** |
The block count over the package goes **4696 → 4725** — one new cut per
pair, exactly — and ⛔ no count anything asserts moves: the same **4**
statements at the same four line spans (`complex.ts` 165, 1026, 1381,
1830), **9** trailing comments, **0** of them stating the rule, before
and after.
⚠️ **A figure in the round-5 handoff that this round could not
reproduce, stated rather than quietly corrected.** The handoff recorded
this census as "`*/`→`//` with no blank **0**, `*/`→`/**` with no blank
**0**, `//`→`/**` with no blank **5** (`index.ts` 1085, 1129, 1170,
1224, 1428)". Measured here package-wide, those are **3**, **13** and
**11**; the named 5 are the `index.ts` subset of the third row, and
every site listed above was read back by eye with `cat -A` before being
reported. ⇒ the fix was verified against the real 29, ⛔ not against the
5.
## What the card asked for, and what the tree says now
The card measures one live defect on PR objectstack-ai#9682's head `dce4a74a1`: the
sixth statement of the retire-vs-remove discriminator, the
`GestureConfig` note in `mobile.ts`, did not carry the amended
surviving-carrier precondition.
⚠️ **That instance is already repaired, and it was repaired before objectstack-ai#9682
merged.** objectstack-ai#9682 landed as `5f8190c8cc98409e65400ff24adfb805b80a3ffc` at
2026-09-17T11:56:43Z — thirty minutes after the card was filed — and its
merged diff amends the `GestureConfig` note along with the other four.
Read on this branch's base `fc12bc8c6`, that note states the amended
rule in full.
⭐ **The card's class is live anyway, at two sites the card did not
name.** Re-derived on `fc12bc8c6`, which is still this branch's
merge-base with `origin/main` at this head:
| file @ `fc12bc8c6` | retirement it argues | carried the precondition?
| in the card's six? |
|---|---|---|---|
| `complex.ts` block opening at :165 | `KanbanColumn.color` | yes | yes
|
| `complex.ts` block opening at :1026 | `ChatbotSchema` dark keys | yes
| yes |
| `complex.ts` block opening at :1381 | `displayMode` | yes | yes |
| `complex.ts` block opening at :1830 | `triggerIcon` | yes | yes |
| `mobile.ts` block opening at :74 | `MobileResponsiveConfig` | ⛔ **no**
| ⛔ **no** |
| `mobile.ts` block opening at :122 | `MobileOverrides` | yes | yes |
| `mobile.ts` block opening at :293 | `GestureConfig` | yes (by
`5f8190c8c`) | yes |
| `mobile.ts` block opening at :371 | `MobileComponentConfig` | ⛔ **no**
| ⛔ **no**
Every address above is bound to `fc12bc8c6`; none of them is carried
into any file in this diff. The same population read at this head is
**four**, all in `complex.ts` — which the pin asserts rather than this
table.
So the population was **eight**, not six, and the amendment reached five
of eight. ⇒ the card's own argument holds harder than it claimed: the
failure is not "one site was missed", it is "the instrument that
enumerates the sites is itself a phrase grep, and it undercounts".
## The widened scan, and its controls
⛔ The card's six were not treated as a closed list. Scans, all bound to
`fc12bc8c6`:
- **Concept scan, whole tree** (not just the two files, not just the
package): `git grep -inE "steers? authors to|named live
replacement|keeps? loud|kept loud|taught as working|surviving carrier|no
carrier"` over every tracked file. Lit control: it fires well outside
the two files —
`packages/app-shell/.../FlowNodeConfigField.entryCondition.test.tsx`,
`packages/types/src/__tests__/page-breadcrumbs-refusal-8871.test.ts`,
three more test files, `scripts/check-governed-queue-guard.mjs`, and
**five** `.changeset/*.md` bodies (`4919`, `5942`, `7519`, `7678`,
`9183`) — so its zero elsewhere is a reading, not a silent probe. ⚠️
Rounds 1–5 printed "four `.changeset/*.md` bodies" here; re-derived at
`fc12bc8c6` in this push it is **five**, and the list is now named
rather than counted from memory.
- **Route-argument scan**, for paraphrases that state the rule without
any of those phrases: `git grep -inE "rather than (a )?tombston|rather
than kept as|removed outright|outright rather than|than a plain
removal|never. carcass|tombstone (exists|is available|rather)"` over
`packages/types/src` excluding tests and `zod/`. This is the scan that
found `MobileComponentConfig`, which paraphrases the precondition as
*"There is no surviving object to hang a `never` key on"* and is
invisible to every phrase the card's probe searched for. Lit controls in
the same pass: it fires on `ai.ts` and on `objectql.ts`, neither of
which the card names.
- **Two sites outside the card's two files, reported and deliberately
NOT changed**: `AIFormAssistSchema.formId` in `ai.ts` cites *"PRONG 2 of
the discriminator (objectui#5941, objectstack-ai#7526, objectstack-ai#7678)"* without restating it —
it is already the shape this card asks for, and it needed no edit when
objectstack-ai#7678 amended the rule, which is the measured precedent for the remedy
below. `ObjectKanbanSchema.allowCollapse` in `objectql.ts` argues "why a
tombstone rather than a plain deletion" from the passthrough silent-keep
mechanism; that is a different argument, not this discriminator, so it
is a boundary case, not a ninth site.
- ⚠️ **A wrapping hazard the card's probe shares with any line-based
grep**: `grep -inE` reads one line at a time, and this prose wraps
mid-phrase. Live demonstration re-taken at this head on a sentence this
PR must not disturb: `grep -c 'no silent-strip hazard for prong 2 to
guard'` over `mobile.ts` prints **1**, while flattening the comment
punctuation and line wrapping first prints **2** — the second occurrence
wraps. The pin flattens before matching for exactly this reason.
## The change
`mobile.ts` now **cites** the rule instead of restating it. The
statement it cites is the `ChatbotSchema` JSDoc in `complex.ts`; each of
its four retirement notes points there and keeps its own per-retirement
argument — which prong holds here and why — which no shared statement
can carry, exactly as the card says. ⚠️ That is the statement they cite
and ⛔ **not** the only one in the package: `complex.ts` states the rule
at four sites, `ChatbotSchema` among three peers (`KanbanColumn.color`,
`displayMode`, `triggerIcon`), and whether those four become citations
too is the open decision below. Nothing is deleted into a vacuum: every
prong measurement, reopen condition, spec-history note and ⚠️ carve-out
is kept. The `MobileComponentConfig` note keeps its own precondition as
the precondition rather than dropping it, with its wording brought to
the amended form — "no surviving **object**" became "no surviving
**carrier**", which is the rule's own phrasing and what the pin matches.
A file preamble states, once, where the rule lives and why this file
cites while `complex.ts` states.
## Measurements — all re-taken on `baa386c4b`
**① The `.d.ts` asymmetry the card lists as "not measured".**
`mobile.ts` argues its retirements in `//` comments; `complex.ts` argues
its four in JSDoc on exported members. Declaration emit treats those
differently. Measured by injecting one marker into each and rebuilding
the package clean, under the verify lock:
| marker injected into | occurrences in the emitted declaration file |
|---|---|
| a `//` note in `mobile.ts` (present once in `src` in the same run) |
**0** in `dist/mobile.d.ts`; per-file hash table unchanged vs the head
table (**0** diff lines) |
| the `ChatbotSchema` JSDoc in `complex.ts` (present once in `src` in
the same run) | **1** in `dist/complex.d.ts`, **0** in
`dist/mobile.d.ts`; per-file table moves **4** diff lines |
⚠️ **A first attempt at these two legs measured nothing and is reported
as such.** Both replacements re-emitted their own anchor, so
`ablation-replace` refused the mutation ("the anchor count moved 1 -> 1,
a drop of 0") and the build that followed carried **no marker at all** —
a reading of `0` that would have read exactly like the real leg. ⛔ It is
not counted as a measurement; the legs above are the re-run with
consumed anchors, each with its `src` count printed beside its `dist`
count so a zero cannot be an unplanted marker. Residual markers after
the pass: **0** files in `src/`, **0** in `dist/`.
⇒ a citation costs a consumer of the published declarations **nothing**
in `mobile.ts`, and would cost one a jump out of the block they are in
for every site in `complex.ts`. That is the reason this PR converts one
file and not the other.
**② What a `.d.ts` consumer's reading changes to: nothing.** Clean full
rebuilds in one locked pass (`rm -rf dist` + `pnpm --filter
@object-ui/types build`, then per-file `sha256sum` over
`dist/**/*.d.ts`), never incremental: this head emits **65** declaration
files, **130** files in `dist` total; with this branch's base
`mobile.ts` (blob `5e3ad63df`) swapped in it emits **65**; the per-file
hash tables differ by **0** lines and the set-hash is identical
(`6774b4db26140485`). A third clean build after restoring the head file
reproduces the first table exactly — **0** diff lines — so the equality
is ⛔ not a stale-`dist` artefact. The instrument is the same one that
scores 1 and moves the table by 4 lines for the `complex.ts` injection
above, so it is ⛔ not a probe that cannot fire.
**③ Reverse verification of the pin, at this head.** Fix committed
first, then `mobile.ts` alone written back to the base blob under a
`trap ... EXIT INT TERM`, the pin re-run, then restored with `git
checkout HEAD -- ABSOLUTE_PATH` (⛔ never a bare `git checkout --`, which
restores from the index):
- **this head: 22 passed / 22.**
- **base `mobile.ts` swapped in: 8 failed / 14 passed.** The
precondition assertion and the outside-`complex.ts` assertion both name
exactly the four base blocks — `mobile.ts` blocks opening on lines
**74**, **122**, **293** and **371** — found by an instrument that was
not told where to look; the four citation assertions and both
`mobile.ts` statement assertions fire alongside them. ⭐ Unchanged from
round 5, which is the point: the boundary change re-cut 29 pairs and
moved this reading by nothing.
- Landing proven by a changed blob (`1d33aebaece0` → `5e3ad63dfb29`) and
by an on-disk count of a base-only phrase, ⛔ never by an exit code.
Restore verified by blob hash (`1d33aebaece0` back to HEAD), an empty
`git diff HEAD` and an empty `git status --porcelain`.
## The pin
`packages/types/src/__tests__/tombstone-discriminator-agreement-9684.test.ts`
derives the population of rule statements from the source at run time.
**Six `describe` blocks, 22 assertions at this head** — read off the
file (16 `it` / `it.each` declarations, two of them `.each` over 4
cases). It fails when
1. any comment in this package states the rule without its
surviving-carrier precondition **in the rule's own phrasing**,
2. any file in this package **outside `complex.ts`** states the rule at
all — a prong, a clause, anything that matches its statement markers, in
a comment of any form, including one riding on a code line and including
one glued directly against a compliant neighbour,
3. any of `mobile.ts`'s four notes stops citing `ChatbotSchema`, or the
citation target stops stating the rule,
4. `complex.ts` states the rule at any number of sites other than the
recorded four, or at a site the roster does not name,
5. one of those four carries a clause its peers do not, and
6. the pin itself quotes the rule it guards.
Its population is every comment in the package. A comment run ends at a
blank line, at a `*/` and at a change of comment kind, so two abutting
comments are two blocks; a comment riding on a code line is its own
one-line block. It carries its own controls: a synthetic un-amended
statement that must be flagged, a synthetic amended one that must not,
prose that merely mentions a tombstone that must stay out of the
population, and two **vacuity controls** — the four published statements
in `complex.ts` must still be found, and the roster must still resolve
to four distinct blocks, so a marker that stops matching reds instead of
quietly emptying every other assertion. ⛔ What it cannot do is named in
its header rather than hidden: a NEW paraphrase past every marker is
invisible to it, exactly as `MobileComponentConfig` was to the card's
grep. "Is this span a comment" is answered by
`scripts/js-comment-mask.mjs`, never by a private regex.
## Ablation ledger — 41 legs, every one restored and proven
⛔ No sentence above about what the pin catches is asserted; each is a
hypothesis run through the pin. **41 = 6 pre-fix + 21 separator + 4
adjacency + 5 regression + 1 reverse + 4 `.d.ts`** — counted from the
rows below, ⛔ not remembered. Every source mutation went through
`ablation-replace` (literal anchor that must hit a declared number of
times, on-disk landing proven by a **changed blob**, restore proven by
blob equality plus an empty `git diff HEAD`). Working tree after every
batch: `git status --porcelain` **0 lines**.
⭐ **Six mutations were REFUSED by the tool and measured nothing** —
their replacements re-emitted their own anchor, so the anchor count did
not drop and `ablation-replace` exited non-zero before any test ran.
They are named here rather than silently re-run: the first attempts at
E4, E5, B1, C1, C2 and the two `.d.ts` marker legs. ⛔ None is counted as
a leg; each was re-run with an anchor the replacement consumes, and
those re-runs are the rows below. That is the tool doing the job it
exists for — a replacement that does not land produces a green that
reads exactly like a pass.
### Pre-fix — the two escapes reproduced at `e39b1a8da`, the head round
5 reviewed
| leg | mutation | mutated blob | pin |
|---|---|---|---|
| E1 | `, or ( 3 ) …` on the `ChatbotSchema` statement | `3dd7dc9432a9`
| 22/22 — **silent** |
| E2 | `, or ,3 …` on the same statement | `7858d7d5f1b5` | 22/22 —
**silent** |
| E3 | un-amended `//` statement between the `ChatbotSchema` JSDoc's
`*/` and the declaration | `2e66e693f106` | 22/22 — **silent** |
| E4 | un-amended JSDoc stacked directly above that JSDoc, no blank line
| `deb6c5d5fbe7` | 22/22 — **silent** |
| E5 | **control**: the same stacked JSDoc **with** a blank line |
`7568f7ec28b3` | **4 failed** |
| E6 | un-amended `//` statement above that JSDoc, no blank line |
`46da257f395e` | **2 failed** |
E1 and E2 reproduce the review's blobs exactly. E5 is what says the
instrument was not simply blind: separate the blocks by one blank line
and it reds 4.
### Separator wordings — all 21 re-measured at this head, the
caught-list re-derived from the widened pattern
| leg | clause appended | blob | pin | published as |
|---|---|---|---|---|
| W01 | `, or ( 3 )` | `3dd7dc9432a9` | **1 failed** | caught |
| W02 | `, or ,3` | `7858d7d5f1b5` | **1 failed** | caught |
| W03 | `, or, (iii)` | `043b990f235c` | **1 failed** | caught |
| W04 | `, or (( 3 ))` | `930694c9d41a` | **1 failed** | caught |
| W05 | `, and (iii)` | `2a16978c2c0a` | 22/22 | silent |
| W06 | `, or else (iii)` | `87ab694c7eca` | 22/22 | silent |
| W07 | `; and, third,` | `d7e68454cc5c` | 22/22 | silent |
| W08 | `, or: (iii)` | `4f39e633dc00` | 22/22 | silent |
| W09 | `, and (3)` | `7ac7178b7d6d` | **1 failed** | caught |
| W10 | `, and prong 3` | `97e341d72bcf` | **1 failed** | caught |
| W11 | `; and the third prong` | `d3a2e2cf7f24` | **1 failed** | caught
|
| W12 | `, or thirdly` | `04e633935e3f` | **1 failed** | caught |
| W13 | `, or else (3)` | `1f6a3808f51f` | **1 failed** | caught |
| W14 | `; or 3)` | `607141edf530` | **1 failed** | caught |
| W15 | `, OR (III)` | `ad27035ae7dc` | **1 failed** | caught |
| W16 | `, or—(iii)` (em dash) | `bb6083c2d4f2` | 22/22 | silent |
| W17 | `, and third,` | `3483d58c0a7e` | 22/22 | silent |
| W18 | `, or` (numbers nothing) | `8933075b669b` | 22/22 | silent |
| W19 | `, and prong-3` | `c62d60c5a29a` | 22/22 | silent |
| W20 | `, or third-party tooling` | `e7c5c7c8a2af` | **1 failed** |
caught — declared spurious red |
| W21 | `, or` / `(iii)` split across a line break | `04b3bc24932c` |
**1 failed** | caught, because markers match the FLATTENED block |
Every red names one assertion: *the `ChatbotSchema` statement carries
exactly its recorded clauses*, listing `a-prong-beyond-the-two` present
at one site and absent at its peers. ⭐ W05's blob `2a16978c2c0a`, W21's
`04b3bc24932c`, W14's `607141edf530` and W15's `ad27035ae7dc` are the
same blobs rounds 4 and 5 printed for the same mutations — an
independent cross-check that these are the review's legs and not
lookalikes.
### Adjacency — the same four mutations as E3–E6, re-run against the
fixed pin
⭐ **The blobs are identical to the pre-fix rows**, so nothing about the
mutation changed; only the pin did.
| leg | mutation | blob | pin before | pin after |
|---|---|---|---|---|
| X1 | `*/` → un-amended `//` statement → declaration | `2e66e693f106` |
22/22 **silent** | **5 failed** |
| X2 | un-amended JSDoc stacked above, no blank line | `deb6c5d5fbe7` |
22/22 **silent** | **4 failed** |
| X3 | **control**: the same, **with** a blank line | `7568f7ec28b3` |
**4 failed** | **4 failed** |
| X4 | un-amended `//` statement above the JSDoc, no blank |
`46da257f395e` | **2 failed** | **4 failed** |
⭐ X2 and X3 now fail **identically** — that is the whole fix: a blank
line no longer decides whether a drifted copy is seen. X4 was already
caught and still is; it now reds through the substantive assertions
(exact count, roster names, shared clauses, precondition) instead of
only through the two `kind === 'jsdoc'` assertions, and the **11** real
`//`→`/**` sites in the package are untouched by it — measured as the
unchanged population above (4 statements, 9 trailing, 0 stating the
rule) and by the pin's own 22/22 at this head.
### Regression — the legs the earlier rounds closed, re-run to show the
boundary change moved none of them
| leg | plant | blob | pin |
|---|---|---|---|
| B1 | fully amended statement in `data-display.ts` | `f4e7332729c7` |
**1 failed**, and exactly one: *no file outside `complex.ts` states the
rule AT ALL* |
| B2 | same, precondition removed | `1b078ce7682d` | **2 failed**: that
assertion plus the precondition assertion |
| C1 | round 4's exact wording appended to the `GestureContext` line in
`mobile.ts` | `2ce74bc7ceb5` | **4 failed** |
| C2 | amended statement appended to the `ChatbotSchema` declaration
line | `396d674178ed` | **2 failed**: both `complex.ts` roster
assertions |
| D1 | **vacuity control**: every statement marker replaced with one
that matches nothing | `a8152fa73877` | **9 failed / 13 passed**,
including *both* vacuity controls and all four roster assertions |
⇒ a dead marker cannot print the same quiet zero B1's assertion prints
when the tree really is clean. All five readings are identical to round
5's.
### Reverse and `.d.ts` — 5 more
The reverse leg (③ above) and the four `.d.ts` legs: base-`mobile.ts`
swap, third-build reproduction, the `ChatbotSchema` JSDoc marker
control, the `mobile.ts` `//` marker control.
## Why this shape and not the others — the four axes
**Option A — amend the two stragglers in place** (the shape the card's
remedy section refuses). **Option B — one block, every site cites it.**
**Option C — cite where a declarations reader pays nothing, state where
it pays, pin the agreement** (this PR). **Option D — pin only, leave all
eight statements.**
**实际业务需求.** Measured, not assumed: the rule is stated in six of this
repo's changeset bodies — `4919`, `5942`, `7519`, `7678`, `7703` and
this card's own `9684`, the list that marker sweep prints rather than a
remembered count, re-derived at this head — and it was amended once
(objectstack-ai#7678), an amendment that reached five of eight sites. So the
recurrence is real. But the cost actually paid was a reader getting the
WRONG rule, not an author paying for a slow edit ⇒ agreement is the
demand, fewer copies is a means. And the consumer side is asymmetric by
measurement ①: a `.d.ts` reader has never been able to read
`mobile.ts`'s four. A remedy that charges that reader a jump to fix a
problem they do not have fails this axis, which is what separates C from
B.
**项目长远合理性.** N statements of one rule is the N-dialects shape AGENTS.md
#0.1 refuses for metadata, and prose inherits the reasoning: one
contract beats N. A is the patch that fails it outright — it grows N to
eight-agreeing and makes the ninth amendment a nine-site edit. B is
right in principle and wrong on the published face, because
`complex.ts`'s statements ARE part of what the package publishes. C
takes the principle exactly as far as the contract face allows and says
so in the file. D leaves the structure that produced this card intact.
**防 AI 写代码犯错.** This card exists because an agent applied an amendment
at five of eight sites and nothing went red — the declaration was not
enforced. The pin is the 声明即强制 half, and round 6 is that half applied to
itself for the third time: the pin's prose promised a reach its code did
not have, and the **code** was moved to the prose rather than the prose
trimmed to the code (scope B, population ③D, and now the block
boundary). ⚠️ Its remaining reach is named rather than implied:
enforcement is real for every clause the roster records and for every
statement any marker matches; a clause worded past all of the markers is
silent, and that silence is stated as the pattern rather than
summarised. ⛔ No consumer-side tolerance anywhere: nothing here accepts
a looser spelling, and the pin refuses by name.
**创业阶段不扩散需求 — ⚠️ and this is where round 6 reverses round 5.** Round 5's
body argued: "⛔ the clause pattern was **not** widened to make a
sentence true, because widening it would have owed a re-derived and
re-published caught-list, which is capability growth bought to retire a
prose defect." ⛔ **That reasoning was wrong, and it is withdrawn here.**
The 创业阶段 axis governs *declared capability surfaces with no pull* — an
authorable key, an exported symbol, a published spelling.
`a-prong-beyond-the-two` is none of those: it is an internal test guard,
it publishes nothing (measurement ②), and widening it is a **contract
tightening**, which the 防 AI 写代码犯错 axis prefers outright (契约收紧优于消费端宽容).
⇒ the earlier reading treated "more characters in a regex" as capability
growth, and that is a category error. The cost round 5 was unwilling to
pay — a re-derived and re-published caught-list — is paid in full in
this push, by measurement, 20 wordings through the pin. ⭐ And the pin's
own header already carried the instruction: *"when you widen a pattern,
RE-DERIVE this paragraph from the pattern rather than editing the
sentence that summarises it."* Round 6 follows it instead of quoting it.
The rest of the axis holds unchanged: no staged window, per the
2026-08-27 ruling — `mobile.ts` converts in this one change, with no
second spelling left behind and no grace period.
⇒ **C.** A and D are refused on axis 2 and 3 respectively; B is refused
only for `complex.ts`, and only on evidence that did not exist before
measurement ① was taken.
## ⚠️ Decision box — the half this PR does NOT take
`complex.ts` still states the rule at four sites, all published.
Converting them is the trade the card declines to decide, and
measurement ① is what makes it decidable:
- **Convert them too** (cite `ChatbotSchema` from the other three): the
next amendment becomes a one-site edit, and every `.d.ts` consumer
reading `KanbanColumn.color`, `displayMode` or `triggerIcon` must jump
to `ChatbotSchema` to learn why the key is a tombstone. Cost falls on a
consumer who is not the beneficiary.
- **Leave them** (this PR): four sites to amend instead of eight, and
the pin holds those four to a recorded clause roster, so an amendment
landing at one of them reds at the other three — for every clause the
roster names, measured by legs W01–W04 and W09–W15. ⚠️ A clause worded
past all of the roster's markers is still silent, measured by legs
W05–W08 and W16–W19; that is the reach, and it is stated in the test
header as the pattern rather than as a summary of it. Recommended
fallback if nobody wants to spend a declarations reader's attention.
- ⚠️ Either way, one thing is unresolved and is NOT fixed here because
fixing it edits published JSDoc: the canonical block does not say it is
canonical. `ChatbotSchema`'s JSDoc attributes the quoted phrase to
`mobile.ts`, which is still accurate, but a reader landing there is not
told that this is the one statement the others cite. Naming it belongs
with whichever option is chosen (objectui#9930 holds it).
## `check:changeset-claims` asked, so: both pending claims survive this
diff
The report-only gate names two pending changesets that describe
`mobile.ts`. `7580-responsive-vocabulary-rehome.md` is about where
`BreakpointName` is declared — untouched.
`7703-chatbot-dark-keys-retired.md` quotes *"no silent-strip hazard for
prong 2 to guard"* and attributes it to `mobile.ts`; that sentence is
still in `mobile.ts` **twice** at this head — the count a flattening
reader prints, ⛔ not the `1` a line-based `grep -c` prints, one
occurrence being wrapped — and this round's `mobile.ts` diff does not
touch it. Neither claim is born false.
## Verification — every figure below taken on `baa386c4b`
Heavy runs serialized through `scripts/pm/os-verify-lock.sh` in the
sibling checkout (slot `objectui-9684-r6`); exit codes were captured
**before** any pipe, each into its own variable rather than read off a
chained command.
| run | result |
|---|---|
| `pnpm --filter @object-ui/types build` (clean, seven times — five
measuring legs plus two during the refused marker attempts) | exit 0 ·
**130** files in `dist` · **65** `.d.ts`, set-hash `6774b4db26140485`,
reproducible across builds |
| `pnpm exec vitest run packages/types/` (locked) | exit 0 · **208 files
/ 4838 tests passed** |
| the pin alone | exit 0 · **22 passed / 22** |
| `pnpm --filter @object-ui/types type-check` | exit 0 |
| `pnpm --filter @object-ui/types lint` | exit 0 · 0 errors, 290
pre-existing warnings |
| `node scripts/check-changeset-presence.mjs` | exit 0 · empty
frontmatter accepted as "releases nothing" |
| `check-changeset-no-major.mjs` / `-fixed.mjs` / `-claims.mjs` /
`check-pending-changeset-literals.mjs` | exit 0 |
| `node scripts/check-control-bytes.mjs` | exit 0 · 8000 tracked text
files scanned, 85 binary skipped |
| `node scripts/check-new-cross-file-line-citations.mjs` | exit 0 · **0
new** citations at `baa386c4b`, enforcement report-only |
| `node scripts/check-test-path-roots.mjs` | exit 0 · 2159 filesystem
calls in 458 of 3290 test files |
| `node scripts/check-hand-rolled-comment-mask.mjs` | exit 0 · no
carrier outside DEBT |
| `node scripts/check-comment-mask-corpus.mjs` | exit 0 · 5129 files, 1
disagree, within the residue objectui#7882 holds open |
| `node scripts/check-type-check-coverage.mjs` | exit 0 · 43/43 packages
compile their tests; the pin is inside the program |
| `node scripts/check-governed-queue-guard.mjs --test` on the three
paths | **NOT GOVERNED** — 3 paths checked against 5 governed surfaces,
none matched |
⚠️ Lint scope: this repo's `pnpm lint` is `turbo run lint`, per package.
All three changed files live in `packages/types` (plus one
`.changeset/*.md`, which no lint rule reads), and that package's own
`lint` script covers them, so nothing about this diff is outside what
ran — no narrowing was needed and none is claimed.
⛔ NOT MEASURED, stated rather than implied: CI's final state on this
head — the report is filed when the local runs finish, ⛔ not after
waiting for CI to converge. Round 5's head was fully green (33 success /
3 skipped / 0 red, 36 of 36 returned); ⛔ that is a reading about
`e39b1a8da` and says nothing about this one.
## Acceptance notes
Out-of-scope observations, **noted and not filed** — none is a
reproducible defect, a broken declared contract, or a trap that makes a
runtime refuse authored metadata:
- `noted, not filed:` the round-5 handoff's abutting-comment census
(`*/`→`//` 0, `*/`→`/**` 0, `//`→`/**` 5) does not reproduce
package-wide; measured here it is 3, 13 and 11, the named 5 being the
`index.ts` subset of the third row. It is a figure in a handoff, not a
defect in this tree, and the fix was verified against the re-derived 29.
Carrier: this body and the round-6 report, which both print the
instrument.
- `noted, not filed:` the card's measured position table is stale in a
way that cost this run a premise check — it was taken on an open PR's
head and that PR moved before merging. Carrier: whoever writes the next
finding from an in-seat review; no PR or person is currently on this
file.
- `noted, not filed:` `AIFormAssistSchema.formId` in `ai.ts` already
uses the citation form this card proposes and survived objectstack-ai#7678 untouched.
It is evidence, not a defect. Carrier: the decision box above, if option
B is taken.
- `noted, not filed:` `ObjectKanbanSchema.allowCollapse` in
`objectql.ts` argues the tombstone route from the passthrough mechanism
rather than from this discriminator. Both arguments are sound; nothing
disagrees. Carrier: none.
- `noted, not filed:` the round-4 review's suggested one-sentence fix
for A was itself one step wide (`, and (3) …` is caught, because `(3)`
carries no `or` anchor). Round 5's seat has since corrected its own
handoff on this point. Carrier: this body and the round-5 record, which
both say so.
Labels: ⛔ **this round wrote none.** `needs:contract-review` is the
seat's to hang or clear; the seat re-hangs it when this head moves, and
this push neither hangs, removes nor waits on it.
⚠️ **A standing rules conflict, flagged and not silently resolved.**
This round's dispatch names the PR body re-stamp as an owed item, while
the standing os-dev clause says the implementer writes the body once, at
PR creation, and never `PATCH`es it. The conflict is with the maintainer
as **objectui#9976** and is ⛔ unresolved. This round follows the
dispatch, exactly as round 5 did, and says so here rather than choosing
a side quietly.
⚠️ **Provenance, restated as prose rather than left to a footer block.**
A `PATCH` to this body downgrades a session-URL footer to the bare form
and unconditionally appends a second footer, so the durable carrier is
this sentence: this round was implemented by
`session_01Xm4WFhEe5mwcgyqHjxR2hn`, whose session URL is
`https://claude.ai/code/session_01Xm4WFhEe5mwcgyqHjxR2hn`. The body sent
in this edit carries no trailing footer, so the platform's append leaves
exactly one.
---
_Generated by [Claude Code](https://claude.ai/code)_
---------
Co-authored-by: Claude <noreply@anthropic.com>
Part of #7678
Prose only. No member added, removed, renamed or retyped in any file; no
?: nevertombstone touched; no accept set moved; nothing newly exported.Clause-②: no, re-measured at delivery ondce4a74a1:git diff 72f55c9ec..HEAD -U0 | grep -c '^+export'scores 0, and the same diff filtered to non-comment source lines scores 0 lines — every added and removed line inpackages/types/**is a comment line.Two premises of the dispatch falsified
1. The item-1 ask was NOT already discharged
The dispatch recorded the card's item-1 ask — "make the
complex.tsJSDoc cite prong 2 as the reason this key earns a tombstone" — as already done, measured at theKanbanColumn.colorblock. That block does state both prongs with a worked example for each. It states them for a different retirement.The
triggerIconblock — the site this card was filed about — mentions neither prong, nor the discriminator, nor the carrier precondition. Measured on72f55c9ecover that whole docblock:grep -c "prong|discriminator|carrier|5941|7526"returns 0. It argues from thetscdeleted-vs-tombstoned contrast alone, which is exactly the rationale the card names as the cause of the contradiction, since that contrast applied equally to objectui#4919 and #5942 and both were removed outright.Commit
dce4a74a1takes that site too. It is separable on purpose — drop it and the other three sites still agree.2. The
floatingConfigtripwire is alive, and it is not thedisplayModeoneAddress:
packages/types/src/__tests__/floating-chatbot-trigger-icon-retired.test.ts, theTRIPWIREcomment on the parse-green assertion inside thethere is NO zod refusal on a %s nodeblock. ThedisplayModetripwire inchatbot-display-mode-retired.test.tsis a separate, already-corrected one and was not touched —displayModestays out of scope.Measurement behind the tripwire rewrite
Injected a minted
floatingConfigarm onto both twins inpackages/types/src/zod/complex.zod.ts, ran the tripwire file, restored under atrap ... EXIT INT TERM. Both legs verified on disk: marker count 0 to 3, blob656fc015to the mutated blob and back to656fc015,git diff HEADempty afterwards.72f55c9ecz.objectmirrorz.strictObjectmirrorThis reproduces triage's table (triage counted per-key; the file's
describe.eachdoubles each reading). The comment now names the shape pin as the assertion that fires and records both readings; the shape pin gained a back-pointer.Before / after at each site
complex.ts—KanbanColumn.colorbefore:
after:
The site's own parenthetical named this card as its open correction; that parenthetical is now discharged rather than repeated.
complex.ts— theChatbotSchemadark-keys blockbefore:
after:
complex.ts— thetriggerIcontombstone (the separable commit)before: the
Why a tombstone and not a deletionsection ended at the deleted-vs-tombstoned table and went straight toPinned in .... No prong, no discriminator, no carrier.after, added between them:
complex.ts— thedisplayModetombstone⛔ Unchanged. It is the site that already carried the precondition and it was the model every other site was matched to.
mobile.ts— theMobileOverridesretirement noteThe prong-1 argument is kept verbatim — the removal is settled and is not re-argued. Added after it:
the tripwire comment
before:
after:
Stale addresses, reported and NOT repaired
This card is scope-pinned, so AGENTS.md #11's opportunistic citation repair does not apply.
5548730153both address thetriggerIconrationale aspackages/types/src/complex.ts:967. On72f55c9ecthat line isChatToolInvocation.stateprose, unrelated. The block is roughly 850 lines further down. ⛔ Not repaired here.72f55c9ec, includingbase.ts:499inside aBaseSchemabody running:70to:500— verified by reading the interface's true extent (^export interfaceat:70, closing}at:500), not a context window.Verification
Run through the shared verify lock where it is a package suite.
pnpm --filter @object-ui/types run type-check(tsc --noEmit+ examples +tsconfig.test.json)pnpm --filter @object-ui/types run testnode scripts/check-changeset-presence.mjscheck-changeset-claims/-no-major/-fixed/-overwrite/check-pending-changeset-literalsnode scripts/check-new-cross-file-line-citations.mjsnode scripts/check-control-bytes.mjsnode scripts/check-governed-queue-guard.mjs --test ...eslint . --no-inline-config --format json(whole repo, 5038 files)The 95 repo-wide eslint errors are pre-existing on
origin/main(react-hooks/static-components,no-consoleand friends inapps/consoleande2e/), untouched by a comment-only diff.Changeset
Empty frontmatter, following the repo's own precedent for comment-only changes in published source. Comments do reach the emitted
.d.tshere — the base tsconfig setsremoveComments: false, verified — and the changeset says so explicitly, but nothing a consumer can execute or type-check against moves.Generated by Claude Code