Commit 3a57e3d
committed
fix(spec): true up the variant-docs and strictness ledgers the batch removal moved (#4618)
CI's "Spec property liveness" job runs four gates, not one. `check:liveness`
itself was fine; the two that broke are the ledgers that track the SHAPE of
the code the batch removal changed.
- `variant-docs.json`: the outer `DataEngineRequestSchema` union carried a
`batch` variant, and a SECOND entry described the inner union inside
`DataEngineBatchRequestSchema.requests` — the same member set minus `batch`.
With the batch schema gone the inner union no longer exists and the outer
one narrowed to exactly the inner one's old key, so the two entries collapse
into one. Keeping both would have left an entry whose union is gone, which
is what the gate reported.
- The strictness ledger's `data-engine.zod.ts` row (14 → 13 `z.object(` sites)
and the `data/` section header it sums into (162 → 161).
Both are hand-maintained maps of the code, and the point of the gates is that
a map which drifts is worse than none because it gets followed. Verified by
running all 17 `@objectstack/spec` check:* scripts, not just the four in the
failing job.
Refs: #4618, ADR-0119 D3
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NKcGqCYCCpMkB5UW8jNPXx1 parent ed1c772 commit 3a57e3d
2 files changed
Lines changed: 4 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
455 | 455 | | |
456 | 456 | | |
457 | 457 | | |
458 | | - | |
| 458 | + | |
459 | 459 | | |
460 | 460 | | |
461 | 461 | | |
462 | 462 | | |
463 | | - | |
| 463 | + | |
464 | 464 | | |
465 | 465 | | |
466 | 466 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | 129 | | |
136 | 130 | | |
137 | | - | |
| 131 | + | |
138 | 132 | | |
139 | | - | |
| 133 | + | |
140 | 134 | | |
141 | 135 | | |
142 | 136 | | |
| |||
0 commit comments