Evidence-led PRs

PR Gate Evidence & Handoff

08 / 12

Exercise 3 of 3

Block a Release That Fails Browser Quality Checks

Your Mission

A dashboard PR asks for approval using a screenshot and an average score. The dashboard loads slowly, an icon button has no accessible name, and the evidence does not justify the release recommendation.

Your challenge is to fix the defects and prepare a PR whose decision is supported by current browser measurements. One bad run must block release even when other runs pass. Evidence must cover the final code changes.

Use the verification-before-completion skill (opens in a new tab) before claiming the PR meets its quality budgets.

The duration for this challenge is 75 min or less after setup; audits may take longer.

Project

browser-quality-app (opens in a new tab) contains the dashboard and capture harness. Use the quality requirements (opens in a new tab), gate contract (opens in a new tab), and supplied description and reviewer comment in the PR review brief (opens in a new tab).

This exercise is standalone. Baseline examples are reference data, not measurements from your machine.

How To Go About It

  1. Inspect the draft, startup delay, button, and reports. Record unsupported claims and measurement gaps in evidence/before.md.
  2. Fix the defects without changing dashboard behavior.
  3. Configure three production-build Lighthouse runs and create the gate. Decide using the lowest scores, highest loading time, and every axe violation.
  4. Commit the implementation and capture raw Lighthouse and axe reports from that commit.
  5. Prove that one deliberately failing Lighthouse result and one accessibility violation each block release.
  6. Write evidence/pr-summary.md with a corrected title, evidence map, measured decision, and remaining manual checks. Answer the reviewer in evidence/review-response.md. Record evidence/after.md and evidence/comparison.md, then open the focused PR after verification.

Evidence

Submit the fixes, configuration, gate, raw reports, generated quality report, corrected PR description, reviewer response, and evidence/before.md, evidence/after.md, evidence/comparison.md.

Include actual skill use, source citations, sealed evidence, and captured output. Follow the setup and verification instructions (opens in a new tab), evidence instructions and template (opens in a new tab), and submission standard (opens in a new tab). Run npm run verify:exercise from browser-quality-app/ before opening the PR. Regenerate proof and update its description after any source change.

Completion Criteria

The PR links current reports to the measured commit, build, route, and browser. All runs meet the budgets; both failure controls block release. The reviewer response explains the decision and remaining accessibility checks without unsupported comparisons. Local verification passes. Approval and merging are not required.

Page 42 of 72: Block a Release That Fails Browser Quality Checks

Contents