Commit 1b5bc6b
docs(check-type-source-resolution): name the
* docs(check-type-source-resolution): name the `paths` precondition and the closure at the point of refusal
The refusal names `paths` first. That remedy has a precondition it never
stated: the consuming program's `rootDir` has to contain the dependency's
source. Where it does not, tsc admits the dep's file graph and then reports
TS6059 for all of it, billed to the consuming package's test-typecheck ledger
— the PR #12570 shape, reached from the `paths` limb instead of the
re-baseline one. Both the ledger and `rootDir` are maintainer-only, so at that
point the author has no self-serve remedy and the message named none.
The knowledge was already in this file — the header's with-`paths` red and the
PR #12570 reading over the registry — and nowhere in the text an author reads.
Written as a CONDITION, never a blanket closure: `paths` stays correct wherever
the program's `rootDir` does contain the source, and a message overstating the
closure would be worse than the current silence.
The refusing sentence, the ⛔ SHRINK-ONLY testimony and the ONBOARDED exception
are untouched, so `check-ratchet-remedy-authority` still classifies this gate as
`refused`. Two self-test pins added for the new halves and the battery floor
raised 10 -> 12 to match.
Claude-Session: https://claude.ai/code/session_01Vbw3RPgdtqesx4azk9SbW8
Co-authored-by: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
* docs(check-type-source-resolution): record the re-measured `paths` -> TS6059 leg
Measured on this branch rather than carried over from the filing: the runtime
test program goes 191 -> 204 errors under the `paths` remedy, +13, all TS6059
in `packages/services/service-realtime/src/**`, no new code error.
Claude-Session: https://claude.ai/code/session_01Vbw3RPgdtqesx4azk9SbW8
Co-authored-by: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>paths precondition and the maintainer-only closure at the point of refusal (#16257)1 parent 8472dae commit 1b5bc6b
1 file changed
Lines changed: 53 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | | - | |
| 189 | + | |
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| |||
1650 | 1650 | | |
1651 | 1651 | | |
1652 | 1652 | | |
1653 | | - | |
| 1653 | + | |
| 1654 | + | |
| 1655 | + | |
| 1656 | + | |
| 1657 | + | |
| 1658 | + | |
| 1659 | + | |
| 1660 | + | |
| 1661 | + | |
| 1662 | + | |
| 1663 | + | |
| 1664 | + | |
| 1665 | + | |
| 1666 | + | |
| 1667 | + | |
| 1668 | + | |
| 1669 | + | |
| 1670 | + | |
| 1671 | + | |
| 1672 | + | |
| 1673 | + | |
| 1674 | + | |
| 1675 | + | |
| 1676 | + | |
| 1677 | + | |
| 1678 | + | |
| 1679 | + | |
| 1680 | + | |
| 1681 | + | |
| 1682 | + | |
1654 | 1683 | | |
1655 | 1684 | | |
1656 | 1685 | | |
| |||
2231 | 2260 | | |
2232 | 2261 | | |
2233 | 2262 | | |
| 2263 | + | |
| 2264 | + | |
| 2265 | + | |
| 2266 | + | |
| 2267 | + | |
| 2268 | + | |
| 2269 | + | |
| 2270 | + | |
| 2271 | + | |
| 2272 | + | |
| 2273 | + | |
| 2274 | + | |
| 2275 | + | |
| 2276 | + | |
| 2277 | + | |
| 2278 | + | |
| 2279 | + | |
| 2280 | + | |
| 2281 | + | |
| 2282 | + | |
| 2283 | + | |
| 2284 | + | |
2234 | 2285 | | |
2235 | 2286 | | |
2236 | 2287 | | |
| |||
0 commit comments