Repository navigation
Commit 90b4126
docs(tests): correct four stale claims about what check:cross-package-test-inputs recognises (#10561)
The gate resolves four directory-naming seed spellings plus the walked-file
form, not "exactly two". `import.meta.dirname` and `dirname(import.meta.filename)`
arrived with #9763 and the walked `import.meta.url` seed with #8995; both
extensions updated RECOGNISED_PATH_SPELLINGS, which the gate prints, and neither
swept for the count restated in prose elsewhere.
Corrected, pointing at RECOGNISED_PATH_SPELLINGS as the single source instead of
restating a number that drifts:
- managed-extension-fields.test.ts: the seed count, plus two more stale claims
measured on this tree — it is no longer the ONLY escaping read the gate sees
in plugin-auth (#10161 made rate-limit-storage-isolation.test.ts visible), and
that file no longer walks up from process.cwd(). The note also promised a
stale-declaration failure that no longer fires: reseeding this file from
process.cwd() now leaves the gate GREEN, with packages/**/*.object.ts declared
and held by nothing.
- managed-api-method-affordance-sweep.test.ts: the same seed count. Its
stale-declaration consequence IS still real and is now cited from the
measurement (that file is platform-objects' only escaping test; the ablation
exits 1 naming the package).
- check-type-check-coverage.mjs: the same claim in a TEST_DEBT note, the
worst-placed instance since an author reads it while choosing a seed.
- serve-multi-node-cap-advisory.pin.test.ts (not named in the card): stale in the
opposite direction — it claimed the gate cannot follow a new URL() seed or a
resolve() nested into the read. It follows both. The instruction to keep the
whole path in one literal stands, for the reason that is actually true: only
the flat literal collector needs that spelling.
Comments and one note string only — no test code, no type surface. The gate's own
repoRelativeLiterals roster for all three test files is unchanged from origin/main,
so no declaration and no turbo.json input moves.
Part of #10163
Claude-Session: https://claude.ai/code/session_01DdCnBGcHeufjrq7drTD3wt
Co-authored-by: Claude <noreply@anthropic.com>1 parent a16ff50 commit 90b4126
4 files changed
Lines changed: 65 additions & 28 deletions
File tree
- packages
- cli/src/commands
- platform-objects/src
- plugins/plugin-auth/src
- scripts
Lines changed: 21 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
58 | 73 | | |
59 | 74 | | |
60 | 75 | | |
| |||
Lines changed: 17 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
112 | 121 | | |
113 | 122 | | |
114 | 123 | | |
| |||
Lines changed: 23 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
321 | 331 | | |
322 | 332 | | |
323 | 333 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
752 | 752 | | |
753 | 753 | | |
754 | 754 | | |
755 | | - | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
756 | 759 | | |
757 | 760 | | |
758 | 761 | | |
| |||
0 commit comments