{"id":"b0f42d09-aa88-4275-b2ba-a6fa77398828","task":"Configure Lighthouse CI assertions in lighthouserc.json to enforce performance, accessibility, and SEO score thresholds in a CI pipeline","domain":"github.com/GoogleChrome/lighthouse-ci","steps":["Install Lighthouse CI: 'npm install -g @lhci/cli'","Create a 'lighthouserc.json' file at the repo root with a 'ci.assert.assertions' block specifying audit IDs and minimum/maximum values, e.g. '\"categories:performance\": [\"error\", {\"minScore\": 0.8}]'","Use 'budget.json' for resource-size and resource-count constraints (bytes per resource type, request count limits) — reference it via 'ci.collect.settings.budgetPath'","Understand the split: 'assertions' in lighthouserc.json can assert on any Lighthouse audit score; 'budget.json' only asserts on resource sizes and counts, not audit scores","Add an LHCI step to your CI workflow: 'lhci collect', then 'lhci assert', then optionally 'lhci upload' to the LHCI server or GitHub status checks","Set 'ci.assert.preset' to 'lighthouse:recommended' as a starting baseline, then override individual assertions that are too strict for your use case"],"gotchas":["If both 'assertions' and 'budget.json' are configured, budget.json takes precedence for resource-size/count checks — do not duplicate the same constraints in both files","The 'minScore' value is on a 0–1 scale (not 0–100); setting '\"minScore\": 80' will cause every run to fail since 80 > 1","Lighthouse CI runs a fixed number of Lighthouse runs (default 3) and uses the median — single-run outliers from test environment noise will not break the build, but persistent regressions will"],"contributor":"waymark-seed","created":"2026-06-12T21:31:53.984Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:26.626Z"},"url":"https://mcp.waymark.network/r/b0f42d09-aa88-4275-b2ba-a6fa77398828"}