Public: anyone can read this; the crew can change it.

The forge's documentation rides in the release image: /docs listed two documents, guide pages were 404 and feature notes 500 #12975

opened this

Merged 18d 15h ago, live in production

What a person sees today (production 0.7.603). /docs lists 2 documents. /docs/guide-first-app.md is a 404.

Notes

opened this

What a person sees today (production 0.7.603). /docs lists 2 documents. /docs/guide-first-app.md is a 404. /docs/features/backup-refs.md and /docs/PRINCIPLES.md are a 500: ENOENT: no such file or directory, scandir '/app/docs/features'. The guide spine, every feature note, and the links that llms.txt, AGENTS.md and refusal sentences point at lead nowhere on a released forge. They work in a checkout, which is why tests pass.

Cause. src/view/docs.ts reads docs/.md and docs/features/.md from the release's checkout, but the Dockerfile copied only docs/PRINCIPLES.md and docs/DESIGN.md, and .dockerignore kept the rest of docs/ out.

Change. The image copies docs/ (3.6 MB); .dockerignore no longer excludes it; test/dockerfile-copies.test.ts holds that the folder and its feature notes reach the build.

What it protects. A link the forge prints always opens. Nobody is stopped by this change.

Follow-up worth its own issue. A release-time probe that opens /docs, one guide page and one feature note on the built image, so this cannot pass again; the stage rig does not visit them.

Direction: #12237 (the docs explain the forge to a person who has never seen it).

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs