Repository navigation
Commit 306ca50
* fix(spec): alias tables must be true claims about their schema (#5013)
`ReportSchema` answered `filter` with "Did you mean `filter` -> `filters`?"
and then rejected `filters` too, with no suggestion the second time — the
strictness campaign's own fix pointing authors into the failure mode it
exists to remove. Five more entries were filed under keys their schema
already declares, so they could never run at all.
Repointed the report's scope-filter aliases at `runtimeFilter` (matching
`JoinedReportBlockSchema` verbatim), deleted the dead entries, and fixed the
six further defects a repo-wide sweep found in `ai/skill.zod.ts` and
`system/email-template.zod.ts`.
`strictObject` now records each declaration so `alias-integrity.test.ts` can
judge every table in the package against the runtime `.shape` it makes claims
about.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018fxLGQdatPbBUvCgiVxg6D
* test(spec): pin the fix by parse, retire the superseded batch-14 section (#5013)
The 批 14 reverse pin fired exactly as its comment promised — "this list
cannot outlive its debt" — once all six defects it tracked were fixed. Its
prescription-integrity section is deleted rather than emptied: what would
remain is a second, weaker copy of a now-live package-wide check, built on
the source-literal reading that cannot see spreads, assembled tables, or
colliding surface strings. The parse-level assertion it carried, which no
structural gate can make, stays.
`report.test.ts` gains the author-visible half: all four scope-filter
spellings name `runtimeFilter`, the prescribed key parses, and `columns` /
`chart` still authoring cleanly proves those alias entries really were dead.
The gate also pins, shrink-only, the 44 tables that reach
`strictUnknownKeyError` directly and so sit outside it — measured clean, but
a boundary that must not grow unnoticed.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018fxLGQdatPbBUvCgiVxg6D
* docs(spec): name the two filed findings in the gate's coverage boundary (#5013)
Refs #5481, #5483.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018fxLGQdatPbBUvCgiVxg6D
---------
Co-authored-by: Claude <noreply@anthropic.com>
1 parent 0285f7f commit 306ca50
10 files changed
Lines changed: 663 additions & 200 deletions
File tree
- .changeset
- packages/spec/src
- ai
- system
- ui
| 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
72 | 91 | | |
73 | 92 | | |
74 | 93 | | |
| |||
0 commit comments