Commit Graph
53 Commits
Author SHA1 Message Date
github-actions[bot]andGitHub fa69bbee35 chore(deps): update dependency tailwindcss to v4 2026-11-24 03:13:32 +00:00
github-actions[bot]andGitHub c992fc070a chore(deps): update dependency vue to v3.5.46
Automated dependency update. All tests passed.
2026-11-23 03:15:09 +00:00
github-actions[bot]andGitHub b7d3c39294 chore(deps): update dependency autoprefixer to v10.7.0
Automated dependency update. All tests passed.
2026-11-22 03:13:16 +00:00
github-actions[bot]andGitHub a965114f70 chore(deps): update dependency axe-core to v4.14.1
Automated dependency update. All tests passed.
2026-11-19 03:13:31 +00:00
github-actions[bot]andGitHub 8f28400253 chore(deps): update dependencies
Automated dependency update. All tests passed.
2026-11-16 03:15:30 +00:00
github-actions[bot]andGitHub b8784b4e3b chore(deps): update dependency @vitejs/plugin-vue to v6.0.11
Automated dependency update. All tests passed.
2026-11-15 03:13:37 +00:00
github-actions[bot]andGitHub 99b6e57486 chore(deps): update dependency vite to v8.3.8
Automated dependency update. All tests passed.
2026-11-14 03:12:43 +00:00
github-actions[bot]andGitHub 3f445975f6 chore(deps): update dependency vue-router to v5.5.0
Automated dependency update. All tests passed.
2026-11-13 03:13:26 +00:00
github-actions[bot]andGitHub f896f3fa30 chore(deps): update dependency vite to v8.3.7
Automated dependency update. All tests passed.
2026-11-12 03:13:41 +00:00
github-actions[bot]andGitHub 6e90dfa158 chore(deps): update dependencies
Automated dependency update. All tests passed.
2026-11-08 03:14:02 +00:00
github-actions[bot]andGitHub 26329b1319 chore(deps): update dependency @fortawesome/fontawesome-free to v7
Automated dependency update. All tests passed.
2026-11-04 03:13:11 +00:00
Locust agent 11276fb9eb fix(a11y): keep core values dt/dd one div below the dl in ValuesView 2026-11-03 06:02:44 +00:00
Locust agent 71d96c6220 fix(a11y): keep dt/dd pairs one div below the dl in TableCard and ValuesView 2026-11-03 05:05:17 +00:00
Locust agent 14b442109a test(a11y): add axe-core scan and manual WCAG checks over every route, width and theme
Adds two dev-only harnesses and reports what they find. No application code
is touched.

scripts/check-a11y.mjs runs axe-core 4.14 against the built site over every
router route and alias, at 360px and 1440px, in the light and dark themes.
The theme is set through localStorage['beat-theme'] and asserted on every
page before scanning, so a theme that fails to apply aborts the run.

scripts/check-a11y-manual.mjs records the manual criteria as assertions:
keyboard operability with a visible focus indicator, landmarks, heading
order, meaningful link text, alt text, and measured contrast computed from
the rendered DOM.

axe-core and playwright-core are added as devDependencies. playwright-core
is used rather than playwright so no postinstall browser download happens
and `npm ci` in the Pages workflow stays clean.
2026-11-03 03:39:33 +00:00
Locust agent de7d7d8039 fix(theme): follow prefers-color-scheme until the reader chooses
The theme was resolved once at mount, so the site did not follow a later
change of the system preference while no explicit choice was stored. The
design contract asks for the site to keep following the system until the
reader makes a choice.

The theme module now subscribes to the prefers-color-scheme change event
and applies the new system preference while nothing is stored. A stored
choice still wins and stops the site from following the system.

The toggle subscribes to theme changes, so its icon and its accessible
label stay in step with the active theme.
2026-11-03 01:58:22 +00:00
Locust agent fa782d0801 fix(copy): state the assessment in plain terms without the unsourced question count
The question count, per-question points and maximum score are BEAT's own
figures with no source. The view-side prose led with them as facts, which
reads as an unsourced claim. Replace the count-bearing sentences with plain
statements of what the assessment does, keeping the scoring rule where the
data already disclaims it as BEAT's own.
2026-11-03 01:03:03 +00:00
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 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 1e36f0b15f fix(data): replace gradient colour classes with semantic tokens in assessment data 2026-11-02 23:04:27 +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 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 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 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 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
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
github-actions[bot]andGitHub 53b0014673 chore(deps): update dependency @vitejs/plugin-vue to v6
Automated dependency update. All tests passed.
2026-10-04 04:21:29 +00:00
github-actions[bot]andGitHub 835abc925c chore(deps): update dependencies
Automated dependency update. All tests passed.
2026-10-04 04:20:32 +00:00
lukaszraczylo 9536a9b501 kimi-changes 2026-02-19 23:33:32 +00:00