Skip to content

Fix main: the Astro probe test project includes the probe's scratch twins - #72

Merged
VirtualMachinist merged 1 commit into
mainfrom
m3/g5-probe-astro-project
Nov 20, 2026
Merged

VirtualMachinist merged 1 commit into
mainfrom
m3/g5-probe-astro-project

Conversation

@VirtualMachinist

Copy link
Copy Markdown
Member

This fixes main, which went red after the G5 prep merged (#71). Two Astro probe tests fail in src/cli/laws-probe-astro.test.ts.

Why

#71 and the Astro rules step (#69) each passed CI against the main of their time. Together on main, the typed Astro rules no longer find the probe's scratch twins, because the test project's tsconfig doesn't include the directory the probe writes them to.

What it does

The test project's tsconfig now includes .web-tops/out/laws-probe/**/*, with a comment saying why. One test file, 6 lines added and 1 removed. No probe or source file changes.

Gate on this head

  • layers: 5 in range, 5 ran, 0 failed, 0 not-evaluated.
  • Mutation is vacuous, because the diff is a test file only.
  • The highest CRAP score is 4.00.

🤖 Generated with Claude Code

… reads

The astro preset parses a .astro file with project: ./tsconfig.json, so the
file must be in that program. The test's project tsconfig now names the
directory the probe copies its twins to; a wildcard include skips the hidden
.web-tops directory, so main's two astro probe tests failed after the Astro
rules landed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@VirtualMachinist
VirtualMachinist merged commit 3d52310 into main Nov 20, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant