Record state-hub workstream + task IDs for WHYNOT-WP-0002
Some checks failed
ci / check (push) Has been cancelled
ci / release (push) Has been cancelled

Written back by fix-consistency after registering the workstream.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-22 22:51:10 +02:00
parent 443da655ea
commit 4e68a5c51d

View File

@@ -9,6 +9,7 @@ owner: claude
topic_slug: custodian
created: "2026-06-22"
updated: "2026-06-22"
state_hub_workstream_id: "0a3511c1-1771-438b-9364-104d8f0de2f8"
---
# Technology-neutral designbook with stack adapters (Lit reference)
@@ -79,6 +80,7 @@ Establish the durable interfaces before any code, so future stacks slot in clean
id: WHYNOT-WP-0002-T01
status: todo
priority: high
state_hub_task_id: "66187d76-3755-4204-ad71-d9fae8ed38ac"
```
Specify the technology-neutral blueprint. Tokens: adopt the **W3C Design Tokens Community
@@ -95,6 +97,7 @@ name, group, description, props (name/type/enum/default/required), **prop→attr
id: WHYNOT-WP-0002-T02
status: todo
priority: high
state_hub_task_id: "6fe8481c-02b3-407d-9b7b-c47f161c0dcd"
```
Document the contract every stack adapter implements so Vue/Angular/plain-CSS adapters are
@@ -109,6 +112,7 @@ machine-readable **drift report**, a **parity result**), idempotency rules (rege
id: WHYNOT-WP-0002-T03
status: todo
priority: medium
state_hub_task_id: "97aadf8a-4d56-47d0-b841-d664d0676a53"
```
Document directionality (React canonical, one-way to stacks, Lit changes round-trip through
@@ -126,6 +130,7 @@ triaged/closed), and how this extends the existing atelier→repo pipeline. Upda
id: WHYNOT-WP-0002-T04
status: todo
priority: high
state_hub_task_id: "ed4dd1d4-f649-40f0-83f5-9cbd88622a7b"
```
The pivot needs a real React source in Claude Design (the current project holds the
@@ -146,6 +151,7 @@ a minimal token-plus-core-components React designbook is enough to prove the pip
id: WHYNOT-WP-0002-T05
status: todo
priority: high
state_hub_task_id: "dcdc0b01-756f-4253-9599-e5d5dfbe1083"
```
Build `scripts/ir-extract.mjs`: read the `designbook/` React mirror — `.d.ts` (props),
@@ -164,6 +170,7 @@ T01. Add `make ir`. `ir/` is committed so a re-extract surfaces blueprint change
id: WHYNOT-WP-0002-T06
status: todo
priority: high
state_hub_task_id: "a106c673-e849-4d06-91c9-3f7f63fec2ea"
```
`adapters/lit/`: generate CSS custom properties from `ir/tokens.json` into
@@ -176,6 +183,7 @@ re-running is a no-op when nothing changed. Add `make adapt-lit` (tokens portion
id: WHYNOT-WP-0002-T07
status: todo
priority: high
state_hub_task_id: "00ed1aff-7724-4e90-9a51-fd58699480ca"
```
Extend `adapters/lit/`: for an IR component with no `wn-*` counterpart, generate a Lit stub
@@ -195,6 +203,7 @@ hand-authored element**. Map React prop types → Lit property declarations. Wir
id: WHYNOT-WP-0002-T08
status: todo
priority: medium
state_hub_task_id: "1f52ca1f-64a6-4643-992f-f0b4812461a0"
```
`make parity-lit`: (a) **contract parity** — assert each `wn-*` element's observed
@@ -213,6 +222,7 @@ gate that confirms Lit actually matches the designbook appearance.
id: WHYNOT-WP-0002-T09
status: todo
priority: high
state_hub_task_id: "07e60a34-0c62-4f8b-848b-d3b8d4292a18"
```
Wire and document the end-to-end refresh sequence so keeping Lit current against the React
@@ -240,6 +250,7 @@ human-in-loop runbook for step 6. Document in `.claude/rules/stack-and-commands.
id: WHYNOT-WP-0002-T10
status: todo
priority: low
state_hub_task_id: "483de131-f580-4031-85df-72cf70a45679"
```
Sketch a minimal second adapter (plain-CSS utility classes or a Vue stub) that consumes the