chore(workplan): finish WHYNOT-WP-0002 (T07-T10 done; status finished)
Some checks failed
ci / check (push) Has been cancelled
ci / release (push) Has been cancelled

All 11 tasks complete: Lit adapter scaffold+drift (T07), parity (T08), refresh
orchestrator (T09), plain-css second-adapter smoke (T10). Documents the 3 open
governance drifts (PipelineStrip rename, PageHeader actions slot, Sidebar
current) as Claude-Design-side items the now-working machinery surfaces.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-30 09:22:58 +02:00
parent 36f7b9f7b9
commit a1c780af8c
3 changed files with 48 additions and 51 deletions

View File

@@ -6,6 +6,26 @@ Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). Version
## [Unreleased]
### Added
- **Lit adapter completed + refresh pipeline** (WHYNOT-WP-0002, Phases 36). The
one-way `React → designbook/ → ir/ → adapters/lit` pipeline is now end-to-end:
- `make adapt-lit` gains **component scaffold + drift** (T07): parses
`src/elements/*.js`, compares each `<wn-*>` to its IR contract, and writes
per-component drift reports + a machine roll-up (`adapters/lit/drift/`), with
write-once stubs (`adapters/lit/stubs/`) for new components — never overwriting
hand-authored sources. Severity split: actionable drift gates (exit 3);
`non-portable`/`prop-extra` are informational.
- `make parity-lit` (T08): renders every `<wn-*>` in a real browser and asserts
**contract + visual parity**, writing `adapters/lit/parity/_parity.json`
(exit 4 on failure).
- `make designbook-refresh` (T09): the refresh orchestrator
(check→pull→sync→ir→adapt-lit→drift-triage→parity) honouring the adapter
exit-code contract, plus a drift-resolution runbook in `designbook/README.md`.
- `make adapt-plain-css` (T10): a deliberately-unfinished second-adapter **smoke**
proving the IR/adapter seam — a non-Lit adapter consuming the same `ir/` with the
same contract shapes and zero `ir/` changes.
## [0.4.0] — 2026-06-28
### Fixed