TWiT-Ads v2 Rebuild

Stage Plans

One file per build stage from the master spec (~/Obsidian/lgl/AI/TWiT-Ads/Specification.md, section 8).

Lifecycle

  1. Before a stage starts: Kenobi (or Leo) writes <stage-id>-<slug>.md here from the spec — concrete tasks, file-level design, test list, acceptance checklist. Written just-in-time so it reflects the codebase as it actually is.
  2. Execution: an Opus 4.8 session reads ../CLAUDE.md + the spec + this plan, executes with TDD, ticks the checklist, appends a "Decisions & deviations" section.
  3. Verification: Leo runs the stage's verify steps on the Framework testbed (UI stages: Lisa/Debi eyeball too). Only then does the next stage's plan get written.

Status board

Stage Plan Status
A1 Scaffold A1-scaffold.md verified ✅ (Leo, 2026-07-06: healthz over tailnet, timer+dump, tests)
A2 Auth/users/roles A2-auth.md verified ✅ (Leo, 2026-07-06: browser login as admin; role gate + audit proven E2E)
A3 Shows & episodes A3-shows-episodes.md verified ✅ (Leo, 2026-07-06: real lineup entered, SN numbers line up, reinstate added same night)
A4 Advertisers & agencies A4-advertisers-agencies.md verified ✅ (Leo, 2026-07-06)
A5 Rate card & catalog A5-ratecard.md executed (Kenobi/Fable, 2026-07-06) — awaiting Leo/Lisa verification
B1 Order math core not started
B2 Orders list + CRUD not started
B3 Editor: episode lines not started
B4 Editor: catalog/softness/terms not started
B5 Finalize & sea of red not started
B6 Order outputs (PDF/XLSX) not started
🚦 Checkpoint 1: Lisa parallel week
C1 Upcoming + fair rotation not started
C2 Ad copy not started
C3 Rundown not started
C4 Attention dashboard not started
C5 Host fees not started
🚦 Checkpoint 2: full parallel order
D1 Inventory report not started
D2 Sales reports not started
D3 Hardening not started
E0 Legacy historic-data import not started (needs fresh dump from live SQL Server)
E1 Formal parallel run not started
E2 Cloud deployment not started

Update this table as stages progress (planned → in progress → verified ✅).