This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Repository navigation
Commit 0fa7a9c
test(console): re-point record:activity.types calibration control at '' (objectui#8137) (#8259)
`@objectstack/spec` 17.3.0 made `RecordActivityProps.types` an OPEN vocabulary
(`z.array(z.union([FeedItemType, z.string().min(1)]))`) — objectstack#11658
executing the maintainer's 2026-08-24 ruling on objectstack#11507. The member
calibration control probed that vocabulary with an unlisted word, `'Account'`,
which the widened contract now accepts, so the row asserted something false.
Re-pointed at `''`, the one content refusal the widening kept: `''` IS a string,
so the only check it fails is `.min(1)` and it raises no `invalid_type`
anywhere — right kind, wrong content. That preserves the pair's whole job,
which is to separate a CONTENT refusal from the KIND refusal asserted on the
`42` line directly below (untouched).
The comment above the row is rewritten in the same edit: it stated the retired
premise ("a spec enum of strings"), and leaving it under a corrected value would
be exactly the stale-restatement defect.
Editing a calibration control is on the manual floor. Authorised by the
maintainer on 2026-09-07 against the exact diff, scoped to this one row and its
comment.
Claude-Session: https://claude.ai/code/session_0114Ytxr5sM1vdW19Y9WAx6E
Co-authored-by: Claude <noreply@anthropic.com>1 parent 0758bd8 commit 0fa7a9c
2 files changed
Lines changed: 25 additions & 5 deletions
File tree
- .changeset
- apps/console/src/__tests__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3144 | 3144 | | |
3145 | 3145 | | |
3146 | 3146 | | |
3147 | | - | |
3148 | | - | |
3149 | | - | |
3150 | | - | |
3151 | | - | |
| 3147 | + | |
| 3148 | + | |
| 3149 | + | |
| 3150 | + | |
| 3151 | + | |
| 3152 | + | |
| 3153 | + | |
| 3154 | + | |
| 3155 | + | |
| 3156 | + | |
| 3157 | + | |
| 3158 | + | |
| 3159 | + | |
| 3160 | + | |
| 3161 | + | |
3152 | 3162 | | |
3153 | 3163 | | |
3154 | 3164 | | |
| |||
0 commit comments