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

@@ -4,14 +4,33 @@ type: workplan
title: "Technology-neutral designbook with stack adapters (Lit reference)"
domain: infotech
repo: whynot-design
status: proposed
status: finished
owner: claude
topic_slug: custodian
created: "2026-06-22"
updated: "2026-06-22"
updated: "2026-06-30"
state_hub_workstream_id: "0a3511c1-1771-438b-9364-104d8f0de2f8"
---
> **Completed 2026-06-30.** All 11 tasks done. The full pipeline is in place:
> `Claude Design (React) → designbook/ → ir/ → adapters/lit` with `make ir`,
> `make adapt-lit` (tokens + scaffold + drift), `make parity-lit`, the
> `make designbook-refresh` orchestrator, and a plain-css second-adapter smoke
> proving the IR seam. Parity passes (contractFail=0, visualFail=0).
>
> **Open governance items (surfaced by the now-working drift machinery, not WP-0002
> tasks):** three actionable drifts remain for Claude-Design-side resolution — they
> are language-modeling decisions, not stack defects, so per `designbook-propagation.md`
> they must be fixed upstream and re-propagated (never patched only in the stack):
> 1. **PipelineStrip** — IR tag `wn-pipeline-strip` (from the React component name)
> vs the hand-authored `wn-pipeline`; decide the canonical name in Claude Design.
> 2. **PageHeader.actions** — modelled as a *slot* in Lit but extracted as a *prop*;
> the React designbook should express it as slotted content.
> 3. **Sidebar.current** — IR carries a `current` prop/variant the element models as
> item-level `active` state; reconcile in Claude Design.
> Until then `make adapt-lit`/`designbook-refresh` exit `3` by design (stop for
> triage). This is the system working as intended, not unfinished work.
# Technology-neutral designbook with stack adapters (Lit reference)
## Problem
@@ -181,7 +200,7 @@ re-running is a no-op when nothing changed. Add `make adapt-lit` (tokens portion
```task
id: WHYNOT-WP-0002-T07
status: todo
status: done
priority: high
state_hub_task_id: "00ed1aff-7724-4e90-9a51-fd58699480ca"
```
@@ -201,7 +220,7 @@ hand-authored element**. Map React prop types → Lit property declarations. Wir
```task
id: WHYNOT-WP-0002-T08
status: todo
status: done
priority: medium
state_hub_task_id: "1f52ca1f-64a6-4643-992f-f0b4812461a0"
```
@@ -264,7 +283,7 @@ visual tests for determinism.
```task
id: WHYNOT-WP-0002-T09
status: todo
status: done
priority: high
state_hub_task_id: "07e60a34-0c62-4f8b-848b-d3b8d4292a18"
```
@@ -292,7 +311,7 @@ human-in-loop runbook for step 6. Document in `.claude/rules/stack-and-commands.
```task
id: WHYNOT-WP-0002-T10
status: todo
status: done
priority: low
state_hub_task_id: "483de131-f580-4031-85df-72cf70a45679"
```