type: meta

slug: ui-element-matrix

base_branch: main

gate0_mode: strict

preset: codex

land_mode: merge-to-main


type: goal

text: Add declarative per-page UI regression coverage for Overdeck dashboard routes.


type: methodology

text: TDD; reuse existing fixture collector; run target Playwright spec then workspace typecheck.


type: intent

text: Detect UI state regressions that existing flow tests can miss.


type: direction

verbatim: Never hand-write a test per element.


type: deferred

text: Role-specific matrices, axe checks, and visual baselines

reason: App has no auth roles and harness lacks a11y/visual infrastructure.


type: checkpoint

text: One sequential task; no irreversible operations or user decisions.


type: task

seat: coder

tier: medium

desc: Create apps/web/tests/ui-matrix.spec.ts per implementation plan, using TDD and required verification.

acceptance: pnpm exec playwright test apps/web/tests/ui-matrix.spec.ts passes — all route sweep and matrix cases pass