Commit Graph
58 Commits
Author SHA1 Message Date
Locust agent 2bc95279ef fix(design): read the theme toggle colours from the token layer
The toggle was the last hard-coded palette left in the owned paths: it
carried raw gray and blue utilities with explicit dark: variants instead of
the semantic tokens the rest of the site uses.

Replace them with text-muted-foreground, hover:text-foreground, hover:bg-muted
and focus-visible:outline-accent. The tokens already swap under .dark, so the
dark: variants are redundant.

Measured contrast of the resulting states, light and dark:
muted-foreground on background 7.58:1 and 6.96:1, foreground on muted 16.19:1
and 13.98:1, accent focus ring on background 6.70:1 and 7.02:1.
2026-11-03 00:52:56 +00:00
Locust agent 58f5b29dc2 test(scripts): check README and site id sets against the section map 2026-11-03 00:12:17 +00:00
locust dbb2263b32 Merge locust/075da6c7-58ff-48cc-8991-77d5d3e201f5 2026-11-02 23:42:43 +00:00
Locust agent b11d9fff9c feat(design): persistent wayfinding and typographic page shells on the token palette
- SiteHeader: brand, section navigation from route meta, section pages nav,
  theme toggle mounted as committed, keyboard menu under 640px.
- SiteFooter, PageHeader, PageSection and TableCard carry the page shells.
- Every view rewritten on the token type scale and reading public/src/data;
  the old layout and ui components it replaced are removed.
- NotFoundView plus the catch-all route, so an unknown path names itself.
- App.vue: skip link that moves focus without changing the hash route, focus
  moved to the main landmark after a page change, unique title from route meta.
- assets/styles/main.css reduced to the base layer on token utilities.
- FontAwesome self-hosted from the npm package instead of the CDN.
- Home carries all five commitments (WP-49).
2026-11-02 23:41:32 +00:00
locust 2a67b73420 Merge locust/d389960e-c4a7-4edf-81ca-42f5889038b6 2026-11-02 23:31:26 +00:00
Locust agent be129859c4 fix(data): replace gradient classes with semantic tokens in manifesto data 2026-11-02 23:30:16 +00:00
Locust agent b48787346d docs(map): map every section and principle id to its README heading and site data key
The BEAT manifesto exists twice, as README.md and as the site content in
public/src/data. This commit records the map between them: one row per id,
giving the id, the README heading with its anchor line, and the site data
key that holds it.

Thirteen ids, collected from the files rather than from the brief: the
`<!-- id: xxx -->` anchors in README.md and the `sectionMap` export in
public/src/data/manifesto.js. Both sides carry the same thirteen, so no id
exists on only one side.

The document names each of the five situations the method must cover
(onCall, timeZones, crossTeamDependencies, measurement, onboarding) with
the data key that carries it, and marks customerFeedback as a sixth
section that is not one of them.
2026-11-02 23:11:23 +00:00
Locust agent 1e36f0b15f fix(data): replace gradient colour classes with semantic tokens in assessment data 2026-11-02 23:04:27 +00:00
Locust agent 757f29f6e9 feat(scripts): add theme contrast measurement harness and measured table
Add scripts/check-contrast.mjs, a plain Node script with no runtime
dependency and no test framework, that measures the WCAG 2.2 contrast
ratio of every theme token pair in the light and the dark theme.

- Read the light values from the :root block and the dark values from
  the .dark block of public/src/main.css, the only stylesheet in the
  build that declares the token values.
- Read the measured pairs from scripts/contrast-pairs.json, so the list
  is reviewable next to the script. Every pair states its own threshold
  and the harness rejects a threshold that disagrees with its category.
- Apply 4.5:1 for body text, 3:1 for large text and 3:1 for UI
  component boundaries, and exit non-zero naming every pair below its
  threshold with its token names, values, measured ratio and threshold.
- Report a token that is missing from a theme as a failure, not a skip.

Commit the measured table to docs/theme-contrast.md: 16 pairs, 32
measurements, 32 pass, 0 fail at commit 552d847.
2026-11-02 22:23:22 +00:00
locust 552d8474bf Merge locust/3a158baf-5400-4a73-bc3b-54875e28ce0e 2026-11-02 21:25:51 +00:00
Locust agent 683cdd56d2 feat(tailwind): map semantic tokens and add system type scale
Map the nine contract colour tokens to their CSS custom properties so no
utility hard-codes a palette value, replace the webfont stack with a system
font stack, and rebuild the type scale with a 16px/1.6 body step and three
heading steps above it.
2026-11-02 21:23:13 +00:00
Locust agent 8232c6a1d4 feat(tokens): add light and dark colour tokens
Define the nine contract custom properties in public/src/main.css, with
light values in the :root block and dark values in the .dark block that
the theme helper applies to the root element.

Every pair was measured against the WCAG 2.2 minimums and clears them
with headroom in both themes: body and muted text at 4.5:1, large text
and the border (which doubles as the UI component boundary) at 3:1, and
accent used as text at 4.5:1. Borders are checked on both the
background and the muted surface.

Import the file from public/src/main.js after the legacy sheet import,
so the tokens are in the bundle and are the last definition of any name
the legacy sheet also sets.
2026-11-02 21:15:32 +00:00
locust fbf62031fe Merge locust/b934bb78-7ca0-482e-b900-aa95a8e6b744 2026-11-02 20:52:39 +00:00
Locust agent 86028df383 feat(scripts): add the pre-redesign route compatibility check
scripts/check-routes.mjs reads the committed "before" route list from
docs/pre-redesign-routes.md and proves every path in it still resolves
at the branch head.

Two halves, both required for every old path:

- Router half: the path resolves against the route table of
  public/src/router/index.js as a route path, an alias or the target of
  a redirect chain.
- Published-output half: the directory the Pages workflow uploads
  (./public/dist) answers a cold request to the old URL. index.html and
  the 404.html fallback must both boot the app from the same bundle, and
  the route table inside that bundle must still carry the old path and
  resolve it to the same target as the router config.

The route list is parsed at run time, so a path added to the document
later is picked up without touching the script. The published output is
read from the workflow file, so the check follows the real deploy target.

Plain Node, no runtime dependency and no test framework: exit 0 when
every old path resolves, 1 naming each path that does not, 2 on a usage
or I/O error.
2026-11-02 20:51:28 +00:00
locust cb3a7662e5 Merge locust/78456d10-a01d-4b23-ab55-39bf529104e8 2026-11-02 20:51:23 +00:00
Locust agent 349af72f32 fix(content): mark remaining BEAT figures and correct the scoring derivation
Every digit-bearing prose string in the site data now carries an inline
citation id or an in-string BEAT-default marker, so a figure that is a
BEAT rule rather than a research finding says so where it is read:

- ceremonies[3].purpose: the 10-minute brainstorm exit window is now
  marked as a BEAT default.
- assessmentQuestions[0].question: the focus block question now states
  the 4-hour BEAT default and marks it as such.
- assessmentQuestions[4].options[2].description: the response option now
  reads "24 working hours", the same limit as constraints[8], instead of
  the vaguer "24-hour response".
- assessmentQuestions[11].options[3].description: the exploration option
  now reads "20% of working time for exploration" and marks it as a BEAT
  default.
- The seven digit-bearing beatRecommendations strings are marked the
  same way, and "can 50% become async?" loses its false precision.

The response window is now stated one way everywhere in the data: 24
working hours (manifesto.js principles.communication[2], constraints[8],
decisionRules "Decisions", assessmentQuestions[4], and the communication
recommendation). The earlier "one working day" phrasing in
principles.communication[2], decisionRules and timeZones.summary is gone.

overallAssessment.scoring.categoryThresholds no longer claims that one
pair of percentage cuts produces the four overall bands. It states the
category rule (below 40 percent of that category's own maximum, 40 to
70 percent, above 70 percent) and states the four overall bands as a
separate BEAT choice, given as absolute score ranges out of 48. The
bandCuts and derivation fields carry the same facts in structured form.

framework.subsections now lists the five situation blocks, and a new
sectionMap export maps section and principle ids to their data key and
heading so the README mirror has a data-side key for every section.
2026-11-02 20:49:56 +00:00
locust c5d2e55aa5 Merge locust/3b289f37-6490-46f6-8055-7fa038c7e242 2026-11-02 19:46:49 +00:00
Locust agent 36d42234ec fix(manifesto): repair README for BEAT weak points 2026-11-02 19:46:00 +00:00
locust 9ce9ea7ff7 Merge locust/d3aa0aa8-7095-4a4d-87df-a36ec9727ec1 2026-11-02 19:12:22 +00:00
Locust agent e12af7bc5b feat(build): generate the 404 fallback from the current build
The SPA fallback must load the hashed assets of the build that is actually
published, so it cannot be a frozen copy of an index document. The new
scripts/generate-404.mjs writes dist/404.html from the built dist/index.html
and runs last in the build, after vite build has copied publicDir.

The generator resolves the dist directory from its own location, so it
behaves the same from the repository root and from public/, where npm runs
it. It refuses to write a fallback that has no app mount point or that
references files missing from the build output, so a broken build fails
loudly instead of shipping a blank page.

The two frozen copies (public/404.html, public/public/404.html) are
removed; dist/404.html is a generated artefact with no committed source
copy.
2026-11-02 19:08:04 +00:00
Locust Worker ec83e8ea65 fix(content): mark the assessment scoring thresholds as BEAT's own rule 2026-11-02 19:01:33 +00:00
Locust Worker 588fb8dd59 fix(content): repair site data for BEAT weak points
- add generic references list (public/src/data/references.js) with stable
  ids, labels, locators and per-source notes on what each work measured
- inline citations on research claims; drop the unsupported 14% figure and
  correct 23 min -> 25 min, 52 min (block length), 4 h -> 3h43m, 72% -> 71%
- state every BEAT limit as a BEAT default instead of a research finding
- resolve self-contradictions: NOW bucket limit, exploration time unit,
  pull-vs-assign, autonomy-vs-done-condition
- give every rule what it applies to, who decides, and what to do when it
  does not fit (decisionRules)
- add onCall, timeZones, crossTeamDependencies, measurement, customerFeedback
  sections and the onboarding reading list, escalation path, first-review and
  junior-team rules
- add stable ids shared with the README mirror
- remove banned terms from data copy
2026-11-02 19:00:51 +00:00
locust 2cfa8b7975 Merge locust/5830c59d-019c-498a-8bc5-ad6d8e211253 2026-11-02 18:04:50 +00:00
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 63e9613499 Merge locust/45f0eb1f-a4f6-4a5b-9467-7bb6cfb3a9cf 2026-11-02 17:30:25 +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 1b590bd2ee Merge locust/45f0eb1f-a4f6-4a5b-9467-7bb6cfb3a9cf 2026-11-02 15:07:23 +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
github-actions[bot]andGitHub c4d2f5b1b4 chore(deps): update dependencies
Automated dependency update. All tests passed.
2026-10-29 03:15:40 +00:00
github-actions[bot]andGitHub 284f1c5307 chore(deps): update dependency vite to v8.3.5
Automated dependency update. All tests passed.
2026-10-24 03:18:37 +00:00
github-actions[bot]andGitHub b7b44ca737 chore(deps): update dependency postcss to v8.5.31
Automated dependency update. All tests passed.
2026-10-21 03:20:41 +00:00
github-actions[bot]andGitHub cff72b5efb chore(deps): update dependency vue to v3.5.44
Automated dependency update. All tests passed.
2026-10-16 03:20:01 +00:00
github-actions[bot]andGitHub 6d17dee1be chore(deps): update dependency postcss to v8.5.30
Automated dependency update. All tests passed.
2026-10-15 03:20:06 +00:00
github-actions[bot]andGitHub 3decffe43d chore(deps): update dependency @vitejs/plugin-vue to v6.0.10
Automated dependency update. All tests passed.
2026-10-13 03:26:11 +00:00
github-actions[bot]andGitHub 8f3fe90c6c chore(deps): update dependency vite to v8.3.4
Automated dependency update. All tests passed.
2026-10-11 03:25:11 +00:00
github-actions[bot]andGitHub a313618aa5 chore(deps): update dependency vue-router to v5.4.0
Automated dependency update. All tests passed.
2026-10-10 03:23:28 +00:00
github-actions[bot]andGitHub f6c37a1c62 chore(deps): update dependency vite to v8.3.3
Automated dependency update. All tests passed.
2026-10-09 03:23:55 +00:00
github-actions[bot]andGitHub c3896f9213 chore(deps): update dependency postcss to v8.5.29
Automated dependency update. All tests passed.
2026-10-08 03:24:00 +00:00
github-actions[bot]andGitHub 0cc20dc876 chore(deps): update dependency vue-router to v5
Automated dependency update. All tests passed.
2026-10-06 03:21:59 +00:00
github-actions[bot]andGitHub f8680e6adc chore(deps): update dependency vite to v8
Automated dependency update. All tests passed.
2026-10-05 03:27:55 +00:00