Knowledge

← All knowledge

0007 — Design-engineering console: direction

docs/decisions/0007-console-direction.md

  • Status: accepted direction — mostly not built
  • Date: 2026-10-09
  • Decided by: Wunwan (designer)
  • Migrated from: Claude memory, playground-team-and-console-decisions (grilling Q29–Q48)

Decision

  • Audience. The wider team eventually; the designer is the main user.
  • New components are made through Claude Code (/new-component), sometimes from Figma drafts. Props controls are declared beside the component and type-checked.
  • Lab. src/lab/<name>/ never ships; a notes.md per lab component; board Options hold lab variations; a lab component is promoted through the gate in 0006.
  • Coming back. The console reopens exactly where you left off. The overview carries a since-last-visit card, unread dots and a daily digest.
  • Updates. The console checks the remote automatically; "Get updates" pulls safely on click.
  • Sharing. Versions are separated by branch, with a branch dropdown. Hosted per-branch previews first, then local switching. Eventually a fully hosted console including code edits — access protection and server-side GitHub writes are Bam's infrastructure call.
  • Polish. Figma for direction; an in-console, token-constrained Tweak panel that writes code and shows the usage count before Apply; pinned polish notes batch-fixed by Claude. A Figma overlay later. Button goes through the flow first.

Note: 0003 later retired Figma as a source of truth.