Status: done (2026-11-15)
Priority: 2
Size: S
Design ref: none (the build). After VB-449, once the site is published by the workflow
Goal: With the site published by the Pages workflow and the page’s tests building their own copy (VB-449), nothing reads the kept index.html. Stop keeping it: agents no longer rebuild or commit it (Kim, 15 November).
Acceptance criteria:
index.html is removed from the repository and listed in .gitignore; its line leaves .gitattributes.python3 build.py --check leaves the fast tier (tests/suites.js) and the build script; the fast tier still fails when the page cannot be built (a missing module of src/manifest.json or src/page.json, no <!--__PAGE__--> line).AGENTS.md, docs/testing.md, docs/gates.md and the backlog’s rules no longer ask for a rebuild before a commit; playing locally is python3 build.py, then opening index.html.tools/same.js, the fixtures’ key and the nightly workflow are checked for a use of the kept file.
Notes:index.html is removed from the index (git rm --cached) and listed in .gitignore; its .gitattributes line is gone (the .ignore line, for searches, stays).build.py --check is gone, and tests/build.js takes its place at the head of the fast tier: the page builds from the sources as they are, its three placeholders are filled, it names its build id, and two builds are the same page. With a module of src/page.json missing it exits 1.AGENTS.md (Taking a task 5, Commands, Working rules), BACKLOG.md (the refactor rules), README.md, docs/commands.md, docs/gates.md (check 1), docs/agents/worker.md (a conflict in the file), tools/brief.js (To finish) and tests/format.js’s message no longer ask for a rebuild. Playing locally is python3 build.py, then opening the file.tools/same.js, the fixtures’ key (tests/lib/fixtures.js, a hash of the modules of src/manifest.json), checks.yml and nightly.yml have none. The Pages workflow builds its own.index.html on disk: npm test 53/53, npm run verify 108/108, tests/smoke.js and tests/browser-start.js pass.docs/cities/shots.js and docs/stability/shots.js, scripts of past reviews that read an index.html (the first no longer finds its hook in today’s page; the second takes --html FILE); docs/typescript-plan.md and VB-374, whose plan for a bundler speaks of --check and is to be read against this when taken.index.html conflicts in it (modified there, deleted here); take the deletion.