Commit Graph
13 Commits
Author SHA1 Message Date
Locust agent 640a04d483 feat(theme): add theme toggle and pre-mount theme bootstrap
Add a self-contained theme toggle component under
public/src/components/theme/ that toggles the dark class on the root
element and stores the choice under the beat-theme key in
localStorage. Apply the stored theme, or the prefers-color-scheme
default when nothing is stored, before the app mounts so a cold load
never paints the wrong theme.

The pre-paint script in index.html and both 404 copies reads the same
beat-theme key, so the theme is already on the root element when the
first frame is painted.
2026-11-02 18:03:56 +00:00
Locust agent 34f55f8dbf docs: complete the uncited-claim inventory for the assessment band copy and site claims 2026-11-02 17:29:20 +00:00
Locust agentandClaude Opus 4.8 bbb9ce3ae9 feat(scripts): add design-rule and banned-term check scripts
Two plain-Node check scripts, no new runtime dependency, that enforce the
BEAT design rules and the copy discipline mechanically. Both exit non-zero
when they find something and print file, line and column for every hit.

scripts/check-design-rules.mjs covers README.md and public/src: no emoji
characters, no gradient utilities or gradient declarations, no inline style
attributes, no <style> blocks in Vue components, and no icon markup other
than FontAwesome components or classes.

scripts/check-banned-terms.mjs reads the banned-term list from
scripts/banned-terms.txt, so the list can be tuned without touching the
script. It scans the site copy (string literals, template text and
user-visible attributes) and the README headings.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
2026-11-02 15:44:35 +00:00
Locust agent 153fb0ce58 docs: list assessment band copy and Principle 11 body in the uncited-claim list 2026-11-02 15:07:11 +00:00
Locust agent 3f6e237d4b chore(site): add 404.html to the Vite publicDir so the build copies it verbatim
Vite resolves publicDir to public/public (repo layout: /public is the npm package root), so the byte-identical fallback must exist there for 'vite build' to emit dist/404.html. Proven by removing it and rebuilding: dist/404.html disappears. public/404.html is the reviewable copy; this one is the build input.
2026-11-02 14:52:14 +00:00
Locust agent 5ee5820306 feat(site): emit 404.html SPA fallback into the Pages output
Add public/404.html, a byte-identical copy of the built index.html with relative asset references (base './'), so a cold request to any non-route path on GitHub Pages boots the SPA and the router redirects. Vite copies it verbatim into dist/ via publicDir; verified dist/404.html is byte-identical to public/404.html and a plain static server returns HTTP 200 with the app shell for an unknown path.
2026-11-02 14:52:06 +00:00
Locust agent a7da654f98 feat(router): restructure routes into sections with old-path aliases
Add the exported section list, per-route meta.title/section/sectionOrder, aliases for every pre-redesign path, and a catch-all that renders the not-found route. The catch-all uses HomeView until @/views/NotFoundView.vue exists (card 075da6c7).
2026-11-02 14:45:47 +00:00
Locust agent 39e300bddf docs: add the information architecture
Sections, pages, purposes, the old-to-new path map and the route meta contract that the router implements.
2026-11-02 14:45:45 +00:00
Locust agent e3bebca4f0 docs: capture the pre-redesign route list
Baseline captured from public/src/router/index.js, README.md and the GitHub Pages workflow at 9560c2c, before any route change.
2026-11-02 14:43:06 +00:00
Locust agent 9560c2c89a docs: link the weak-point record from the README 2026-11-02 13:47:09 +00:00
Locust agent 53cd4d4f41 docs: fix cross-references and the reading note in the weak-point record 2026-11-02 13:46:59 +00:00
Locust agent 4ff30d606f docs: complete the uncited-claim and figure list in the weak-point record 2026-11-02 13:46:25 +00:00
Locust agent ad050be061 docs: add weak-point inventory for the BEAT manifesto 2026-11-02 13:43:17 +00:00