Commit a7ea328
`findMissingTests()` and `findDeprecatedUsages()` both walk
`<cwd>/packages/spec/src`, a path present in this monorepo and in no
application. Both returned `[]` for "that directory is not here" — the same
value they return for "I walked it and found nothing wrong" — so every stock
scaffold printed `✓ Test coverage` and `✓ Deprecations` about files doctor
never opened, exiting 0 either way.
Whether the tree was examined is now a fact in the return type
(`MonorepoTreeScan`), the shape #5413 used for the installed-package ledger,
so the print site cannot reach the `✓` from the unexamined arm. An unexamined
tree prints an informational skip naming the reason, with the resolved
directory under `--verbose`. It is deliberately not a warning: withholding a
false ✓ must not manufacture a false ⚠.
The adjacent `⚠ @objectstack/spec Not built` probe is gated on the workspace
existing — outside the monorepo it warned about an absent package and
prescribed a command that cannot succeed there. Inside it, unchanged.
Two control assertions that pinned `Environment is functional but has some
warnings` held only because of that phantom warning; they now assert the claim
they actually make (doctor reached its summary and did not call the
environment broken).
Claude-Session: https://claude.ai/code/session_019bmVFqoQPq63zhKrxdYG1r
Co-authored-by: Claude <noreply@anthropic.com>
1 parent 9ca303e commit a7ea328
5 files changed
Lines changed: 589 additions & 39 deletions
File tree
- .changeset
- packages/cli/src/commands
Lines changed: 54 additions & 0 deletions
| 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 | + | |
| 54 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
447 | 447 | | |
448 | 448 | | |
449 | 449 | | |
450 | | - | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
451 | 462 | | |
452 | 463 | | |
453 | 464 | | |
| |||
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
298 | 307 | | |
299 | | - | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
300 | 311 | | |
301 | 312 | | |
302 | 313 | | |
| |||
0 commit comments