5. Phased plan
| Step | Scope | Gate |
|---|---|---|
| 0 | Black-box profile of the reference (chapter 6) | rule evaluation dominates the page read: GO, 2026-11-29 |
| 1 | Clean-room spec in docs/spec/, written by separate spec agents | spec committed before any implementation |
| 2 | Name, mark, palette, og-image | name free everywhere; contrast script passes |
| 3 | This design and COMPAT.md | every public function and every MVP rule has a COMPAT row |
| 4a | Core: snapshot, facts, ARIA tables, accessible name, dispatcher, results | Rust unit and property tests green |
| 4b | Collector, wasm bindings, API layer, source build |
API conformance tests from the spec green |
| 4c | The 70 MVP rules (tags wcag2a, wcag2aa, wcag21a, wcag21aa, wcag22aa) | differential 100% on the corpus; ACT cases agree with the reference |
| 4d | The reference's integration fixtures, fetched at v4.14.1 in CI | every MVP rule's fixtures pass |
| 5 | Benchmarks (chapter 7) | headline ≥ 2× the reference |
| 6–9 | Repository, site, release pipeline, portfolio | per the programme's checklists |
| 10 | Owner's launch gate | owner approves going public and the first publish |
After launch, the other 35 rules (best-practice and experimental tags) follow, with the same gates per rule.
Decisions
- MVP scope is set by the first adopter's tags. COMPAT.md lists exactly which rules exist.
- The in-page collector, not a CDP snapshot, so the
sourcestring stays a drop-in for every tool that injects it. - Unimplemented rules are absent, never silently passing.
- Messages are glance's own words. Ids, tags, impacts, check ids and
datakeys match the reference, because they are interface.