Preflight
What happened?
https://qoderai.github.io/better-harness/inspector/ returns HTTP 404 and a “Page Not Found” HTML document. The homepage itself links that trailing-slash URL. With JS on, the Inspector still hydrates; without JS (curl, crawlers, link checkers) it is a dead page. The slash-less URL is 200.
Where did it happen?
Other (public docs site)
Version and environment
Public site https://qoderai.github.io/better-harness/ on 2026-08-31 (UTC+8). Docusaurus site, GitHub Pages. No plugin/host install involved.
Steps to reproduce
curl -sSI https://qoderai.github.io/better-harness/inspector/ → HTTP/2 404, body title Page Not Found | Better Harness.
curl -sSI https://qoderai.github.io/better-harness/inspector → HTTP/2 200.
- Open the homepage, section “Follow delivery from intent to commit”. The preview image and “Open the interactive sample” use
href="/better-harness/inspector/". Navbar Inspector uses the slash-less path.
Expected vs actual result
Expected: 200, or a 301/302 to /better-harness/inspector, so no-JS readers and crawlers get the Inspector page.
Actual: trailing slash = 404 HTML; browser with JS then paints Inspector on top of a 404 response.
Logs or screenshots
$ curl -sSI https://qoderai.github.io/better-harness/inspector/ | head -1
HTTP/2 404
$ curl -sSI https://qoderai.github.io/better-harness/inspector | head -1
HTTP/2 200
Homepage hrefs include both /better-harness/inspector and /better-harness/inspector/.
Anything else?
现象:首页链到带尾斜杠的 Inspector,服务器给 404。
想改成啥:统一无斜杠并 301,或 Pages 对 /inspector/ 也 200。
验收:curl -sSI 两条 URL 都不是 404;首页不再链到 404。
Preflight
What happened?
https://qoderai.github.io/better-harness/inspector/returns HTTP 404 and a “Page Not Found” HTML document. The homepage itself links that trailing-slash URL. With JS on, the Inspector still hydrates; without JS (curl, crawlers, link checkers) it is a dead page. The slash-less URL is 200.Where did it happen?
Other (public docs site)
Version and environment
Public site
https://qoderai.github.io/better-harness/on 2026-08-31 (UTC+8). Docusaurus site, GitHub Pages. No plugin/host install involved.Steps to reproduce
curl -sSI https://qoderai.github.io/better-harness/inspector/→HTTP/2 404, body titlePage Not Found | Better Harness.curl -sSI https://qoderai.github.io/better-harness/inspector→HTTP/2 200.href="/better-harness/inspector/". Navbar Inspector uses the slash-less path.Expected vs actual result
Expected: 200, or a 301/302 to
/better-harness/inspector, so no-JS readers and crawlers get the Inspector page.Actual: trailing slash = 404 HTML; browser with JS then paints Inspector on top of a 404 response.
Logs or screenshots
Homepage hrefs include both
/better-harness/inspectorand/better-harness/inspector/.Anything else?
现象:首页链到带尾斜杠的 Inspector,服务器给 404。
想改成啥:统一无斜杠并 301,或 Pages 对
/inspector/也 200。验收:
curl -sSI两条 URL 都不是 404;首页不再链到 404。