Problem
The Home test command recognizes individual files under packages/runtime/test/bun-corpus and runs them through the Home corpus adapter, but a directory target currently falls through to native Bun.
For example:
./zig-out/bin/home test packages/runtime/test/bun-corpus/cli/installprints native bun test v1.3.14 output and reports 73 file-level errors. Most fail because Home-provided exports such as heapStats from bun:jsc are absent; the hosted-git-info files similarly miss hostedGitInfo from bun:internal-for-testing. Individual files such as bun-install.test.ts, bun-install-registry.test.ts, and bun-link.test.ts pass through the Home native corpus path.
This blocks authoritative directory- and suite-level proof for the Bun port tracked in #66.
Expected behavior
- Recognize Bun corpus directory targets and enumerate their supported test files through the Home corpus runner.
- Aggregate pass/fail/unsupported/todo counts consistently with single-file native corpus execution.
- Preserve deterministic file ordering and useful first-failure reporting.
- Never silently fall through to native Bun for a recognized Bun corpus directory.
- Add a regression covering at least one nested corpus directory and parity with its individual-file results.
Current evidence
./zig-out/bin/home test packages/runtime/test/bun-corpus/cli/install/bun-link.test.ts: 4 passed, 0 failed.- The containing
cli/installdirectory target falls through to native Bun and reports 73 errors before executing Home corpus semantics.
Parent tracking: #66.