Commit a749dcc
docs(audits): correct the strictness ledger's fourth union-flattening claim (#16792)
The `ui/` batch narrative's clause (a) restated, a few hundred lines below the
`chart.zod.ts` row, the same claim that row's clause made: that what carries a
strict arm's named surface and rename to the author is `packages/lint`'s arm
unpacking, and that this is "a general fact about this campaign's remaining
union sites". Both halves were already false the day they were written --
`e0f300ba5` (2026-08-08) is the same commit that wrote the `chart` row's
clause, and all three flatteners had closed before it (#4971 / #5014 on
2026-08-05, #5341 on 2026-08-04).
Under the ledger convention ruled on #14977, a clause false at its own batch is
corrected outright rather than kept as a WRITTEN AT THE TIME record, so this
site takes the same treatment the `chart` row received: the cleft is struck, the
generalisation withdrawn, and `packages/spec/src/shared/union-branch-policy.ts`
named as what lifted it. The two rows now state the mechanism identically.
Re-measured through the paragraph's own door: `ChartAggregateSchema.safeParse`
with `dateGranularty` inside `groupBy`, rendered by spec's own `formatZodError`
with no `packages/lint` in the path, delivers the surface, the offending key and
the rename beneath the one `invalid_union` wrapper line.
The parenthesis each row keeps -- zod still raises a keyless `invalid_union`
whose message is "Invalid input" -- is unchanged and still true. No other row is
touched and the os-regen `.counts.md` companion is not edited.
Claude-Session: https://claude.ai/code/session_016N6xmWt5hYm94ffVEwGH8x
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>1 parent ecd2158 commit a749dcc
1 file changed
Lines changed: 27 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
971 | 971 | | |
972 | 972 | | |
973 | 973 | | |
974 | | - | |
| 974 | + | |
975 | 975 | | |
976 | | - | |
977 | | - | |
978 | | - | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
979 | 1002 | | |
980 | 1003 | | |
981 | 1004 | | |
| |||
0 commit comments