Goal
Implement Bun-compatible shell/glob expansion for HTML CLI entry arguments so the unchanged test/js/bun/http/bun-serve-html-entry.test.ts suite passes in Home.
This is a focused child of #202 and contributes to #66.
Current evidence
At Home 951c86eb4 with Bun source pin 4982b91e3702094330f3be3883354c52b8c01323, the exact upstream suite reports 5 pass / 1 fail / 56 assertions.
The only failure is bun *.html: Home treats *.html as a literal path and reports File not found "*.html", so the test cannot discover the server URL. The following contracts already pass unchanged:
- single HTML entry
- multiple explicit HTML entries and route listing
- static asset Content-Type headers
- SVG Content-Type
- importing
bun:mainfrom an HTML-entry preload
Acceptance criteria
- Expand matching HTML entry globs with Bun-compatible cwd and ordering semantics.
- Preserve literal/missing-path errors when a pattern does not match according to Bun behavior.
- Run the vendored upstream suite unchanged: 6 pass, 0 fail.
- Do not rewrite the test, weaken its assertions, or shell out to Bun.
- Remove the
Bun HTML entry subprocess serverwhole-file TODO only after the exact native and corpus gates pass.