Commit Graph
18 Commits
Author SHA1 Message Date
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 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 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 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 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
lukaszraczylo 9536a9b501 kimi-changes 2026-02-19 23:33:32 +00:00
lukaszraczylo 08a6e0dd5c Add assessment page. 2025-12-13 02:03:10 +00:00
lukaszraczylo c7dd4d0371 Update user experience. 2025-12-13 01:38:45 +00:00
lukaszraczylo 2c35679bd8 Add page deployment 2025-12-13 00:59:42 +00:00