Skip to content

Add risk labels to document classification - #107

Merged
BigSimmo merged 1 commit into
mainfrom
feature/production-readiness-review
Jun 29, 2026
Merged

Add risk labels to document classification#107
BigSimmo merged 1 commit into
mainfrom
feature/production-readiness-review

Conversation

@BigSimmo

Copy link
Copy Markdown
Owner

Follow-up changes after PR #105 on production readiness flow.

@BigSimmo
BigSimmo merged commit db718fe into mainJun 29, 2026
6 checks passed
@BigSimmo
BigSimmo deleted the feature/production-readiness-review branch June 30, 2026 01:14
BigSimmo pushed a commit that referenced this pull request Jul 29, 2026
Confirms the squash merge landed by content: the diff between squash
commit f4a3f50 and branch tip bebc6c0 is empty, so nothing was orphaned
by the auto-merge race despite four concurrent pushes during the merge
window. Also records that the coverage follow-ups were renumbered
#98/#99 -> #106/#107 (main claimed #98-#105 concurrently) with both
rows verified intact, and that the three red `PR required` results were
concurrency cancellations rather than defects.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012YRCXgX4AWZ579bKN6sk6b
BigSimmo pushed a commit that referenced this pull request Jul 30, 2026
Appearance and client performance were the two verification surfaces with no
gate. `playwright.visual.config.ts` and `test:e2e:visual` existed but pointed
at a spec that only attaches screenshots for a human to eyeball, and Lighthouse
only ran against the deployed origin, after a merge had already auto-deployed.
Style contracts (required, deterministic). `tests/ui-style-contract.spec.ts`
asserts rendered computed style for the unlayered class rules in globals.css —
the rules that exist to beat a Tailwind utility and go inert if moved into a
layer. That is ledger #94: the search band's accent rail shipped inert while
its test asserted `toHaveClass("search-band")`, the cause rather than the
effect. jsdom cannot catch it (no cascade layers) and check:design-system-contract
cannot either (it reads source text). Where a rule has an attribute-scoped
variant, the contract also proves the variant wins the cascade.
`tests/style-contract-registry.test.ts` closes the inventory: all 38 unlayered
visual classes must carry a contract or a reasoned exemption, so the next one
cannot be added unnoticed. The single existing rail assertion was a one-off
with nothing forcing a successor.
Pixel baselines (advisory). `tests/ui-visual-baseline.spec.ts` compares clipped
locator screenshots against committed per-platform baselines. Never fullPage
(#93 — Next.js leaves a hidden duplicate page root under CI load), demo mode
only for stable content, motion off. No baselines are committed yet; the first
CI run's artifact supplies them, and the job is continue-on-error until they
have held across a few runs.
Performance budget (advisory). `verify:lighthouse` builds and serves an isolated
production app in demo mode, measures the budgeted routes, and grades relative
to a committed baseline with per-metric tolerances — absolute web-vitals
thresholds are meaningless against localhost. Reuses the fail-closed primitives
in summarise-web-vitals.mjs, so incomplete evidence always fails regardless of
`enforce`. Shares one pinned Lighthouse version with the live-domain workflow,
guarded by a test.
Component state matrix (#107). `tests/source-preview-popover.dom.test.tsx`
covers a zero-coverage document-access surface: placement flip, hidden-until-
measured, focus entry, and listener release on close and unmount.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XrPbbfU9yWuEjEVypCr4ZQ
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@BigSimmo