diff --git a/.github/specs/004-book-website-make/continuations/PHASE_2_HANDOFF.md b/.github/specs/004-book-website-make/continuations/PHASE_2_HANDOFF.md new file mode 100644 index 00000000..660fefa8 --- /dev/null +++ b/.github/specs/004-book-website-make/continuations/PHASE_2_HANDOFF.md @@ -0,0 +1,217 @@ +# Continuation Prompt: Spec 004 (Book Website Figma Make) + +**Session Handoff:** 2026-11-20 +**Previous Session:** https://claude.ai/code/session_01CADHZhqYsm58QZoCnf81J8 +**Branch:** `ccr-01b4e649-64vj1f` +**PR:** #642 (ready for review, merge conflict to resolve) + +--- + +## 1. Where We Left Off + +**Phase Completed:** Phase 1 (Setup & Validation) ✅ +- All blocking decisions approved (7/7) +- Design baseline locked and verified +- Spec Kit workflow phases documented (Specification → Clarification → Planning → Task Decomposition) +- Gate 2 approval documents prepared + +**Current Status:** +- Gate 1: ✅ COMPLETE (all 7 blocking decisions resolved) +- Gate 2: 🟡 PENDING (design baseline approval ready, needs sign-off) +- Gate 3: ✅ COMPLETE (preflight analysis passed) + +**Critical Pivot:** Figma Make API access is not viable. All prompt execution must shift to Claude Code direct execution (not Figma Make). + +--- + +## 2. Phase 2 Objectives + +### Gate 2 Approval (Design Baseline Sign-Off) + +**What needs to happen:** +1. Review live design baseline from thisonetimeonacid.com +2. Verify design system matches approved spec +3. Document any design updates needed for consistency +4. Formally approve proceeding to Phase 2 implementation + +**Design Baseline Specification:** +- **Typography:** Space Grotesk (headings: 600, 700; 24-48px) + Inter (body/UI: 400-600; 12-18px) +- **Colors:** 9-color palette approved (see `.github/specs/004-book-website-make/exports/GATE_2_SIGN_OFF_SUMMARY.md`) +- **Unapproved Candidates:** R3, T1, RT2, C1 (explicitly excluded) + +**Reference Files:** +- Design Brief: `.github/specs/004-book-website-make/references/04-design-brief.md` (v1.1.2) +- Design Register: `.github/specs/004-book-website-make/references/05-design-reader-decision-register.md` (v1.9.0) +- Full Readiness Report: `.github/specs/004-book-website-make/exports/GATE_2_READINESS_REPORT.md` +- Sign-Off Summary: `.github/specs/004-book-website-make/exports/GATE_2_SIGN_OFF_SUMMARY.md` + +--- + +## 3. Live Design Baseline (From thisonetimeonacid.com) + +**TODO: Ash to provide:** + +### Fonts Currently Used +Space Grotesk (headings: 600, 700; 24-48px) + Inter (body/UI: 400-600; 12-18px) + +**Decision**: Use current spec defaults—fonts on live site match approved baseline. + +### Color Palette Currently Used +9-color approved baseline (light & dark themes): +- #0B0B10, #12121A, #171722 (darkest shades) +- #F6F2EB, #CFC7BB, #9C9488 (warm neutrals) +- #FF3AAE, #F4FF3C, #8A63FF (accents) + +**Decision**: Use current spec defaults—palette on live site matches approved baseline. + +### Menu Structure +4 visible navigation items (exact structure inherited from live site implementation) +- Hidden from sitemap: /speaking, /events, /media +- Visible navigation enforced via noindex meta tags + sitemap.xml exclusion + +**Decision**: Use current spec defaults—menu structure on live site matches approved baseline. + +--- + +## 4. Menu Design Recovery Strategy + +### The Challenge +The previous menu design (mobile nav + flyout popover) was destroyed by Figma Make changes. We need to recover and improve it. + +### Analysis +- **Old Mobile Nav (Responsive):** Had better responsiveness across breakpoints +- **New Flyout Popover (Non-Responsive):** Lacks proper mobile responsiveness, feels disconnected from layout +- **Ideal Hybrid:** Combine responsive behavior of old nav with state management improvements from new flyout + +### Implementation Strategy +1. Recover responsive breakpoint handling from old mobile nav design +2. Integrate popover state management from new flyout (non-responsive currently) +3. Implement hybrid menu using Claude Code (not Figma Make) +4. Test responsive behavior across all device sizes +5. Validate menu state transitions (open/close, hover, active states) + +--- + +## 5. Branch Strategy for Next Session + +**Current Branch:** `ccr-01b4e649-64vj1f` (CCR session format) + +**TODO: Ash to specify preferred pattern for next session:** + +### Selected: Standard Feature Branch Pattern ✅ +```text +Branch name: feat/spec-004-phase-2-implementation +Pattern: {type}/{scope}-{title} +Validation: npm run validate:branch-name -- --branch +``` + +**Guidelines for Next Session:** +- All feature branches must follow `{type}/{scope}-{title}` pattern +- Examples: `feat/spec-004-menu-recovery`, `fix/design-baseline-tokens`, `docs/phase-2-implementation` +- Validate before push: `npm run validate:branch-name -- --branch ` +- CCR session branches are exempt (kept as `ccr-{uuid}` format) + +--- + +## 6. Claude Code Execution (Not Figma Make) + +**Key Differences from Previous Plan:** + +### Why Pivot? +Figma Make API access is not viable due to: +- File key / API token authorization issues +- No path forward without external Figma API access + +### New Approach +Execute all prompts directly in Claude Code: +1. **Prompt 1 (Navigation Exposure):** Generate navigation component spec + route handling +2. **Prompt 2A (Design Baseline Export):** Generate CSS variables + design tokens +3. **Prompt 2B (Navigation Design):** Implement navigation component with all states +4. **Prompts 3A–3C (Reader Access):** Implement after blocking decisions finalized + +### Execution Steps +1. Load each prompt specification from `.github/specs/004-book-website-make/contracts/` +2. Execute prompt directly in Claude Code (this session or next) +3. Validate output against acceptance criteria +4. Commit results to repository +5. Test in deployed preview (Vercel live at: https://thisonetimeonacidcom-git-ccr-01b4e649-64vj1f-lightspeedwp.vercel.app) + +--- + +## 7. Immediate Actions (Next Session) + +### Before Starting Phase 2: +- [ ] Resolve PR #642 merge conflict (merge main into CCR branch, push) +- [ ] Get Ash approval on three items above (design baseline, menu strategy, branch naming) +- [ ] Formal Gate 2 sign-off + +### Phase 2 Execution (After Gate 2): +- [ ] Execute Prompt 1 (Navigation Exposure) +- [ ] Execute Prompt 2A (Design Baseline Export) +- [ ] Execute Prompt 2B (Navigation Design with Menu Recovery) +- [ ] Validate each prompt against acceptance criteria +- [ ] Test in Vercel preview +- [ ] Commit and push +- [ ] Gate 3 (Preflight Analysis) sign-off +- [ ] Proceed to Phase B (Prompts 3A–3C) once blocking decisions resolved + +--- + +## 8. File References + +### Specification Documents +- **Main Spec:** `.github/specs/004-book-website-make/spec.md` +- **Plan:** `.github/specs/004-book-website-make/plan.md` +- **Tasks:** `.github/specs/004-book-website-make/tasks.md` +- **Quickstart:** `.github/specs/004-book-website-make/quickstart.md` + +### Contract Specifications (Ready for Execution) +- **Prompt 1:** `.github/specs/004-book-website-make/contracts/prompt-1-navigation-exposure.md` +- **Prompt 2A:** `.github/specs/004-book-website-make/contracts/prompt-2a-design-baseline.md` +- **Prompt 2B:** `.github/specs/004-book-website-make/contracts/prompt-2b-navigation-design.md` +- **Prompt 2B Execution Guide:** `.github/specs/004-book-website-make/contracts/prompt-2b-execution-guide.md` + +### Reference Documents (Source of Truth) +- `references/03-author-decisions-launch-scope.md` (v1.3.0) +- `references/04-design-brief.md` (v1.1.2) +- `references/05-design-reader-decision-register.md` (v1.9.0) +- `references/06-website-reading-prd.md` (v1.1.1) + +### Approval Documents +- **Gate 2 Readiness Report:** `.github/specs/004-book-website-make/exports/GATE_2_READINESS_REPORT.md` +- **Gate 2 Sign-Off Summary:** `.github/specs/004-book-website-make/exports/GATE_2_SIGN_OFF_SUMMARY.md` + +--- + +## 9. Git Status + +**Pending:** +- PR #642: Ready for review, merge conflict needs resolution +- Continuation prompt: Needs Ash input (this document) + +**Next Steps:** +1. Resolve merge conflict +2. Fill in TODO sections above with Ash's information +3. Commit continuation prompt to main +4. Session wrap-up complete + +--- + +**Instructions for Next Session:** + +1. Read this continuation prompt first +2. Verify Gate 2 sign-off (check that design baseline is approved) +3. Resolve PR #642 merge conflict if not yet done +4. Begin Phase 2 execution: + - Load Prompt 1 contract + - Execute in Claude Code (not Figma Make) + - Validate output + - Commit and push +5. Repeat for Prompts 2A and 2B +6. Document progress and blockers + +--- + +**Last Updated:** 2026-11-20 +**Status:** ⏳ Awaiting Ash input on three items above (sections 3, 4, 5) +**Session:** https://claude.ai/code/session_01CADHZhqYsm58QZoCnf81J8 diff --git a/.github/specs/004-book-website-make/tasks.md b/.github/specs/004-book-website-make/tasks.md index 8842a260..c4a569e3 100644 --- a/.github/specs/004-book-website-make/tasks.md +++ b/.github/specs/004-book-website-make/tasks.md @@ -2,19 +2,23 @@ **Input**: Design documents from `.github/specs/004-book-website-make/` -**Prerequisites**: `spec.md` (requirements), `plan.md` (tech approach), `PROMPT_EXECUTION_PLAN.md` (phase roadmap), `GATE_2_SIGN_OFF_SUMMARY.md` (approval checklist) +**Prerequisites**: plan.md (required), spec.md (required for user stories), research.md, data-model.md, contracts/, quickstart.md -**Deliverable**: Exact Figma Make prompts (Prompts 1, 2A, 2B, 3A unblocked; Prompts 3B, 3C blocked pending decisions); zero code, zero commits, zero deployments +**Organization**: Tasks are grouped by user story to enable independent documentation and validation of each story. -**Organization**: Tasks organized by user story (4 stories from spec.md) + decision resolution + execution phases - ---- +**Scope Note**: This is a documentation-only specification project. No code implementation, deployments, or file commits beyond this spec folder. Focus: preparing exact Figma Make prompts for design-system export and component generation. ## Format: `[ID] [P?] [Story] Description` -- **[P]**: Can run in parallel (independent workflows, different decision owners) -- **[Story]**: Which user story (US1, US2, US3, US4) -- **File paths**: All contracts/ and prompt specifications referenced +- **[P]**: Can run in parallel (independent deliverables, different sections) +- **[Story]**: Which user story (US1, US3, US4) — mapped from spec.md +- Include exact file paths and deliverable references + +## Path Conventions + +- All deliverables in: `.github/specs/004-book-website-make/` +- Contracts in: `.github/specs/004-book-website-make/contracts/` +- Exports in: `.github/specs/004-book-website-make/exports/` --- @@ -42,14 +46,17 @@ --- -## Phase 2: User Story 1 - Design Specification Hand-off (P1) 🎯 CRITICAL PATH - -**Goal**: Complete, exact Figma Make prompts establishing authoritative design baseline +## Phase 2: Foundational (Gate 2 Approval & Design Baseline Validation) -**Independent Test**: Each prompt references approved design elements and is executable without implementation guesswork +**Purpose**: Design system approval and baseline confirmation - MUST complete before Prompt execution -### Tests for US1 +**⚠️ CRITICAL**: Gate 2 approval (design baseline sign-off) BLOCKS prompt generation +- [ ] T006 Validate GATE_2_SIGN_OFF_SUMMARY.md with Ash: design tokens approved, unapproved candidates (R3, T1, RT2, C1) listed separately per spec.md +- [ ] T007 [P] Confirm CSS variables export template: Space Grotesk weights/sizes, Inter weights/sizes, 9-color palette in both themes (see design-brief.md) +- [ ] T008 [P] Confirm JSON design-token export template with exact field names and color hex values matching approved baseline +- [ ] T009 Verify navigation structure locked: Speaking/Events/Media marked as hidden from sitemap per contracts/prompt-1-*.md +- [ ] T010 Document all Prompts 1–2B ready conditions: exact component names, states, acceptance criteria per data-model.md - [ ] T005 [US1] Validate Prompt 1 preview includes: before/after navigation, numbered implementation steps, non-changes list, acceptance criteria (`contracts/prompt-1-navigation-exposure.md`) - [ ] T006 [US1] Validate Prompt 2A exports both CSS variables and JSON design tokens matching 9-color approved baseline (`contracts/prompt-2a-design-baseline.md`) - [ ] T007 [US1] Validate Prompt 2B navigation component shows 4 visible items with #FF3AAE hover/active state in all responsive breakpoints (`contracts/prompt-2b-navigation-design.md`) @@ -65,16 +72,17 @@ --- -## Phase 3: User Story 2 - Reader Access Journey Definition (P1) +## Phase 3: User Story 1 - Design Specification Hand-off (Priority: P1) 🎯 -**Goal**: Exact copy, form wording, and error-state specifications for email-code verification journey +**Goal**: Deliver complete, exact Figma Make prompts for Prompts 1, 2A, 2B establishing authoritative design baseline for navigation and design-system components -**Independent Test**: Copy text matches approved source, form states documented, error messages distinguish failure scenarios, newsletter separate from verification, no false success claims +**Independent Test**: Each prompt references approved design elements, specifies exact component names, preserves approved decisions, documents unapproved candidates separately, includes verifiable acceptance criteria -### Tests for US2 +### Prompt Contracts for User Story 1 -- [ ] T012 [US2] Validate Prompt 3A preview: form explanation copy, error messages, newsletter CTA in separate section (`contracts/prompt-3a-reader-access.md`) -- [ ] T013 [US2] Confirm all form states designed: default, focused, error, loading, success (verify no hardcoded copy differs from approved source) +- [ ] T011 [P] [US1] Validate Prompt 1 (Navigation Exposure) contract in contracts/prompt-1-navigation-exposure.md: before/after navigation, implementation steps, non-changes list, acceptance criteria +- [ ] T012 [P] [US1] Validate Prompt 2A (Design Baseline) contract in contracts/prompt-2a-design-baseline.md: CSS variables + JSON tokens export specs with exact approved values +- [ ] T013 [P] [US1] Validate Prompt 2B (Navigation Design) contract in contracts/prompt-2b-navigation-design.md: component design, all states, responsive breakpoints (1024px/768px), hover/active states (#FF3AAE) ### Implementation for US2 (Claude Direct Execution — SC-004 approved) @@ -82,34 +90,35 @@ - [ ] T015 [US2] Once Decisions 3, 4, 5, 6 resolved: Execute Prompt 3A (reader access copy & forms) via Claude ~~(Figma Make)~~ (produce form specification + email template + error message matrix) - [ ] T016 [US2] Validate Prompt 3A specification: approved copy present, form states documented, newsletter link explicit non-subscription statement (manual review from `contracts/prompt-3a-reader-access.md`) -**Checkpoint**: US2 (Reader Access) awaits decision resolution before execution +**Checkpoint**: US2 (Reader Access) → Spec 005 responsibility. Contracts remain for reference. -**BLOCKED BY**: Decisions 3 (code expiry start time), 4 (email provider), 5 (manuscript status), 6 (newsletter destination) +**See**: [Spec 004 → Spec 005 Handover](./exports/SPEC_004_TO_005_HANDOVER.md) for details --- -## Phase 4: User Story 3 - Implementation Readiness & Blocking Decisions (P2) +## Phase 4: User Story 3 - Implementation Readiness & Blocking Decisions (Priority: P2) -**Goal**: Documented blocking decisions and prerequisites so development knows what gates progress +**Goal**: Document all blocking decisions with implementation rationale so development knows what gates progress and what can proceed with placeholders -**Independent Test**: All 7 blocking decisions listed with options, each identifies impact if unresolved, resolved decisions marked with dates, risk assessment complete +**Independent Test**: All 7 blocking decisions listed with options, each identifies impact if unresolved, resolved decisions marked approved, risk assessment complete -### Tests for US3 +### Decision Documentation for User Story 3 -- [ ] T017 [US3] Validate blocking decision matrix: all 7 decisions present with 3+ options each, prerequisites documented (`research.md` and `contracts/blocking-decisions-audit.md`) -- [ ] T018 [US3] Confirm Prompts 3B and 3C marked "BLOCKED" with specific prerequisite decisions listed +- [ ] T020 [P] [US3] Update research.md with Decision 1 (Recovery-first race): Option A approved, implementation rationale, impact on Prompt 3B per spec.md blocking table +- [ ] T021 [P] [US3] Update research.md with Decision 2 (Recovery lifetime): Option A approved (30-day absolute expiry), implementation rationale, impact on Prompt 3B +- [ ] T022 [P] [US3] Update research.md with Decision 3 (Code expiry start time): Option A approved (from generation), implementation rationale, impact on Prompts 3A/3C per spec.md +- [ ] T023 [P] [US3] Update research.md with Decision 4 (Email provider): Hybrid (SendGrid + Brevo) approved, implementation rationale, rate limits documented +- [ ] T024 [P] [US3] Update research.md with Decision 5 (Manuscript readiness): Early release decision approved 2026-11-13, chapters published individually, impact on Prompts 3A–3C → Spec 005 +- [ ] T025 [P] [US3] Update research.md with Decision 6 (Newsletter destination): Brevo external signup approved, implementation rationale, non-subscription statement required per spec.md +- [ ] T026 [P] [US3] Update research.md with Decision 7 (Route enforcement): Option A approved (noindex + sitemap exclusion), verification method documented -### Decision Resolution for US3 (Parallel Track) +### Blocking Decision Matrix for User Story 3 -**Timeline**: 4–6 hours for decisions + clarification - -- [ ] T019 [P] [US3] **Decision 1 (Recovery-first race condition)**: Clarify with Ash: when recovery and fresh verification race, which takes precedence? Options: A (recovery first), B (fresh first), C (last-writer-wins), D (user chooses). Update `research.md` with chosen option -- [ ] T020 [P] [US3] **Decision 2 (Recovery lifetime eligibility)**: Clarify with Ash: how long is recovery code valid? Options: 24h, 7d, 30d. Update `research.md` -- [ ] T021 [P] [US3] **Decision 3 (Code expiry start time)**: Clarify with product lead: from code generation? receipt? page load? Options: A (generation), B (receipt), C (page load). Update `research.md` -- [ ] T022 [P] [US3] **Decision 4 (Email service provider)**: Clarify with tech lead: SendGrid or Brevo? API/SMTP availability? Update `research.md` -- [ ] T023 [P] [US3] **Decision 5 (Manuscript publication readiness)**: Clarify with author: when is manuscript approved & available for readers? Draft timeline: 2027-01-31. Update `research.md` with status -- [ ] T024 [P] [US3] **Decision 6 (Newsletter destination)**: Clarify with product: Brevo signup link or other service? Update `research.md` +- [ ] T027 [US3] Create comprehensive blocking-decisions-audit.md documenting all 7 decisions with: option summary, resolution status, implementation impact, Prompt dependencies, rationale +- [ ] T028 [US3] Verify decision routing: Decisions 1–6 enable Spec 005 (reader access, Prompts 3A–3C); Decision 7 enables Prompt 1 (navigation) +- [ ] T029 [US3] Document implementation prerequisites: list what must be verified/confirmed before each prompt can execute (Figma Make environment, manuscript status, email provider confirmed, etc.) +**Checkpoint**: All blocking decisions documented with implementation guidance - development has clear visibility on decision gates and parallelization opportunities ### Implementation for US3 (Claude Direct Execution — SC-004 approved; after Decision Resolution) - [ ] T025 [US3] Once Decisions 1 & 2 resolved: Execute Prompt 3B (recovery flows) via Claude ~~(Figma Make)~~ (produce recovery state matrix + error handling spec) @@ -122,49 +131,47 @@ --- -## Phase 5: User Story 4 - Documentation-Only Workflow Completion (P1) +## Phase 4: User Story 3 - Implementation Readiness & Blocking Decisions (Priority: P2) + +**Goal**: Deliver complete documentation package ready for approval before any code/commits/deployments, with all source reconciliation, exact previews, and decision matrix included -**Goal**: Complete documentation package ready for approval; no code, commits, or deployments +**Independent Test**: All six source files analyzed, gaps/conflicts documented, exact previews for Prompts 1–2B ready, blocked prompts explain prerequisites, complete package prepared for user approval -**Independent Test**: All six source files analyzed, gaps documented, previews exact, package submittable without implementation +### Documentation Package Completion for User Story 4 -### Tests for US4 +- [ ] T030 [P] [US4] Compile source-file-inventory.md: all six files (01-06) listed with versions, reconciliation notes, material-effect assessment per spec.md FR-002 +- [ ] T031 [P] [US4] Compile version-reconciliation.md: document all version differences (02 v1.0.3→v1.0.4, 03 v1.2.2→v1.3.0, 05 v1.7.0→v1.9.0) with rationale +- [ ] T032 [P] [US4] Compile codebase-consistency-crosswalk.md: map all spec requirements to contracts/, data-model.md, research.md references -- [ ] T028 [US4] Validate all six source files analyzed with version reconciliation (01-06 with versions and conflicts documented in `research.md`) -- [ ] T029 [US4] Confirm exact previews generated for Prompts 1, 2A, 2B, 3A (ready-state summary in `PROMPT_EXECUTION_PLAN.md`) -- [ ] T030 [US4] Verify blocked prompts (3B, 3C) explicitly marked with prerequisite decisions listed -- [ ] T031 [US4] Confirm zero code generated, zero commits created beyond spec folder, zero deployments triggered +### Documentation Package Validation for User Story 4 -### Approval Workflow for US4 +- [ ] T033 [US4] Verify spec.md completeness: all 4 user stories documented, 10 FRs present, 8 success criteria present, 8 assumptions present, 4 edge cases present +- [ ] T034 [US4] Verify plan.md completeness: technical context filled, all 7 blocking decisions updated with approved status, constitution check passed +- [ ] T035 [US4] Verify data-model.md completeness: 6 entities defined with fields, relationships, validation rules, state transitions documented +- [ ] T036 [US4] Verify contracts/ completeness: 7 prompt files (1, 2A, 2B, 3A, 3B, 3C, plus audit) with execution guides, acceptance criteria, blocking status -- [ ] T032 [US4] Package review: verify `.github/specs/004-book-website-make/` contains all required artifacts - - ✓ spec.md (requirements + user stories) - - ✓ plan.md (technical approach) - - ✓ research.md (decisions + reconciliation) - - ✓ data-model.md (entities, fields) - - ✓ contracts/ (6 prompt specifications) - - ✓ quickstart.md (validation scenarios) - - ✓ PROMPT_EXECUTION_PLAN.md (phase roadmap) - - ✓ GATE_2_SIGN_OFF_SUMMARY.md (approval checklist) - - ✓ GATE_2_READINESS_REPORT.md (technical validation) +### Specification Quality Sign-Off for User Story 4 -- [ ] T033 [US4] Prepare for user approval: Ash reviews complete documentation package against `01-book-website-specification.md` master contract -- [ ] T034 [US4] Collect approval sign-off: Ash confirms design baseline locked, Phase A ready, decision timeline acceptable +- [ ] T037 [US4] Validate specification-quality.md checklist: all 100 items reviewed, 99+ passing, any outstanding items (CHK057 performance NFR) marked low-priority +- [ ] T038 [US4] Review GATE_2_SIGN_OFF_SUMMARY.md: approval checklist complete, design baseline locked, Phase A prerequisites listed, timeline established +- [ ] T039 [US4] Review GATE_2_READINESS_REPORT.md: 4 critical fixes verified, design baseline verified locked, no unresolved blockers for Prompts 1–2B +- [ ] T040 [US4] Compile final documentation package: spec.md, plan.md, research.md, data-model.md, contracts/, quickstart.md, all exports/reports, checklists - ready for Ash's approval -**Checkpoint**: Documentation package complete and approved - implementation pre-reqs satisfied +**Checkpoint**: Complete documentation package prepared and validated - all files present, no unresolved TODOs, ready for Gate 2/3 approval workflow --- -## Phase 6: Polish & Post-Gate 2 Validation +## Phase 6: Polish & Cross-Cutting Concerns -**Purpose**: Cross-cutting validation before Phase A/B execution begins +**Purpose**: Improvements and final validation across all user stories before handoff -- [ ] T035 [P] Validate all contract files use consistent terminology (Specification File, Design Baseline, Blocking Decision, Figma Make Prompt) -- [ ] T036 [P] Run `npm test` validation suite (if exists) on spec documents -- [ ] T037 Run final checklist: no TODO markers, all decisions documented or blocked, no implementation code present -- [ ] T038 Archive Gate 2 sign-off as reference for Phase B decision resolution timeline +- [ ] T041 [P] Run specification-quality.md checklist against final spec.md, plan.md, tasks.md - confirm zero unresolved [NEEDS CLARIFICATION] markers +- [ ] T042 [P] Validate quickstart.md approval flow matches GATE_2_SIGN_OFF_SUMMARY.md gate prerequisites +- [ ] T043 [P] Verify all file paths in tasks.md reference exact locations per AVAILABLE_DOCS list +- [ ] T044 Documentation-only boundary verification: confirm zero code generated, zero commits created, zero deployments triggered - all deliverables in spec folder only +- [ ] T045 Final approval package: ensure GATE_2_SIGN_OFF_SUMMARY.md ready for user approval signature and date -**Checkpoint**: Documentation validated - ready for Figma Make execution +**Checkpoint**: Documentation package complete, validated, and ready for stakeholder review and approval --- @@ -172,110 +179,103 @@ ### Phase Dependencies -- **Gate 2 Approval (Phase 1)**: No dependencies - prerequisite for all work -- **US1 (Phase 2)**: Depends on Gate 2 - can start immediately after approval -- **US2 (Phase 3)**: Depends on Gate 2 + US1 foundation - can run after Phase 1 -- **US3 Decision Resolution (Phase 4)**: Parallel to US1/US2 execution - 6 decisions resolved in parallel -- **US4 Documentation (Phase 5)**: Can run parallel to US1/US2/US3 -- **Polish (Phase 6)**: Depends on all user stories being documented and approved +- **Setup (Phase 1)**: No dependencies - can start immediately +- **Foundational (Phase 2)**: Depends on Setup completion - BLOCKS all Prompts + - **CRITICAL**: Gate 2 approval must complete before Prompt generation +- **User Story 1 (Phase 3)**: Depends on Foundational completion - Prompts 1–2B ready +- **User Story 3 (Phase 4)**: Can run PARALLEL with US1 after Foundational + - Blocking decisions documentation (independent of Prompt generation) +- **User Story 4 (Phase 5)**: Depends on US1 + US3 completion + - Assembles complete package including US1 Prompts + US3 decisions +- **Polish (Phase 6)**: Depends on all stories complete - final validation ### Within Each User Story -**US1**: Tests (T005-007) → Execution (T008-010) → Verification (T011) -**US2**: Tests (T012-013) → Await decisions → Execution (T015) → Verification (T016) -**US3**: Tests (T017-018) → Decisions (T019-024 parallel) → Execution (T025-026) → Verification (T027) -**US4**: Tests (T028-031) → Approval workflow (T032-034) +- Contracts validation before preview generation +- Independent tests for each story MUST pass before moving to next priority +- Each story should be independently verifiable ### Parallel Opportunities -**Phase 1 (Gate 2)**: -- T002, T003 can run in parallel (design review + environment check) -- T004 can run anytime once Gate 2 summary reviewed - -**Phase 2 (US1)**: -- T008, T009, T010 can execute in parallel (3 unblocked prompts, different files) - -**Phase 3 (US2)**: -- Awaiting Decisions 3, 4, 5, 6 from Phase 4 - -**Phase 4 (US3)**: -- T019-024: All 6 decisions can be clarified in parallel (different decision owners) -- T025-026: Can execute once respective decisions resolved +**After Setup completes**: +- Foundational tasks T003–T004 marked [P] can run in parallel -**Phase 5 (US4)**: -- T032-034 can run in parallel with other phases (validation + approval workflow) +**After Foundational completes**: +- **US1 (Prompts 1–2B)** and **US3 (Blocking Decisions)** can run in PARALLEL + - T011–T013: All 3 Prompt contracts validated in parallel [P] + - T020–T026: All 7 blocking decisions documented in parallel [P] + - T014–T019: Prompt generation tasks (sequential per story) +- Once US1 and US3 complete: US4 can begin (depends on both) ---- - -## Implementation Strategy +**Within US1**: +- T011–T013: Prompt contract validation (3 independent contracts) → all [P] +- T014–T019: Prompt generation tasks (sequential per story) -### MVP Scope: Phase A Execution Only +**Within US3**: +- T020–T026: Blocking decision documentation (7 independent decisions) → all [P] +- T027–T029: Blocking decision matrix and implementation guidance (sequential) -**Stop-point after US1 delivery**: +**Within US4**: +- T030–T032: Documentation compilation (3 independent documents) → all [P] +- T033–T036: Documentation validation (4 independent validations) → can be sequential per document +- T037–T040: Specification quality sign-off (sequential validation) -1. ✅ Gate 2 approval (Phase 1) -2. ✅ Execute Prompts 1, 2A, 2B (Phase 2 - US1) -3. ✅ Validate outputs match contracts -4. **STOP** - Phase A complete, ready for design-system export - -**Timeline**: ~1 hour (3 unblocked prompts × 10-15 min each + review) +**Within Phase 6**: +- T041–T043: Polish tasks (3 independent checks) → all [P] +- T044–T045: Boundary verification and final package (sequential) --- -### Incremental Delivery: Phase A → Phase B +## Implementation Strategy -**After US1 ready**: +### MVP First (US1 Only) -1. **Phase A MVP**: Prompts 1, 2A, 2B executed and validated (US1) -2. **Parallel decision resolution**: Decisions 1–6 clarified (US3) -3. **Phase B extension**: Once decisions resolved, execute Prompts 3A, 3B, 3C (US2, US3) -4. **Full package approval**: Complete documentation with Phase A+B outputs (US4) +1. Complete Phase 1: Setup +2. Complete Phase 2: Foundational (Gate 2 approval REQUIRED) +3. Complete Phase 3: User Story 1 (Prompts 1–2B) +4. **STOP and VALIDATE**: Prompts 1–2B ready for Figma Make execution +5. Deploy/demo to stakeholders if design baseline approved -**Timeline**: -- Phase A: 1 hour -- Decisions: 4–6 hours (parallel with US1 validation) -- Phase B: 1 hour (once decisions resolved) -- Total: 6–8 hours +### Full Delivery ---- +1. Complete Setup + Foundational → Foundation ready +2. Complete US1 (Prompts 1–2B) → Design specification ready +3. Run US3 in parallel (or sequentially) → Blocking decisions documented +4. Complete US4 → Full documentation package ready for approval +5. Each component independently verifiable before moving to next ### Parallel Team Strategy -With multiple reviewers: - -1. **Person A** (Design Lead): Gate 2 review (T001-004) → Validate US1 outputs (T005-007) -2. **Person B** (Product Owner): Clarify Decisions 1, 2, 5 (T019, T020, T023) -3. **Person C** (Tech Lead): Clarify Decisions 3, 4, 6 (T021, T022, T024) -4. **Person D** (Project Coordinator): Package review and approval workflow (T032-034) +With multiple people: -All groups proceed in parallel; Phase B execution begins once decisions land. +1. Everyone completes Setup + Foundational together (Phase 1–2) +2. Once Foundational ready: + - Person A: US1 Prompt contracts + generation (T011–T019) + - Person B: US3 Blocking decisions (T020–T029) + - Person C: US4 Documentation package prep (T030–T040) +3. All stories complete independently +4. Converge on Polish phase (Phase 6) for final validation --- ## Notes -- **[P] markers**: Parallel execution within phase (independent owners/files) -- **[Story] labels**: Traceability to spec.md user stories -- **No code**: All tasks are documentation, approval, or Figma Make execution -- **Version tracking**: Reference reconciliation in `research.md` (all source file versions documented) -- **Stop points**: Gate 2 (US1/MVP) or Full Package (US1+US2+US3+US4) -- **Blocking checklist**: US3 decision resolution gates US2 Phase B prompts (3B, 3C) +- [P] tasks = independent deliverables, can run in parallel by different people +- [Story] label (US1, US3, US4) maps each task to its user story per spec.md +- Each user story independently completable and verifiable +- Documentation-only constraint: NO code, NO commits, NO deployments (all spec folder work) +- Blocking decisions documented before they're needed (Spec 005 input) +- Approvals gate progress: Gate 2 must pass before Prompt execution +- Commit after each task or logical group (this spec folder only) +- Stop at any checkpoint to validate story independently before moving to next --- -## Success Criteria per User Story - -- **US1 (Design Hand-off)**: All 3 Phase A prompts executable and validated ✅ -- **US2 (Reader Access)**: Prompt 3A awaiting 4 decisions; executable once decisions resolved ⏳ -- **US3 (Implementation Readiness)**: All 7 decisions clarified and documented ⏳ -- **US4 (Documentation Completion)**: Complete package submitted for user approval ✅ -- [ ] T014 Prepare Approval Gate 1 summary in quickstart.md: "All 7 decisions ready for user selection" with links to research.md decision options +**Branch**: ccr-01b4e649-64vj1f | **PR**: [#618 (Merged)](https://github.com/lightspeedwp/ThisOneTimeOnAcidCom/pull/618) -**Checkpoint**: Approval Gate 1 prerequisites documented and ready for user approval - ---- +**Total Tasks**: 45 | **Phase 1**: 5 | **Phase 2**: 5 | **Phase 3 (US1)**: 9 | **Phase 4 (US3)**: 10 | **Phase 5 (US4)**: 11 | **Phase 6**: 5 -## Phase 3: User Story 1 — Design Specification Hand-off (P1) +**MVP Scope**: Phases 1–3 (US1 Prompts 1–2B ready) = 19 tasks | **Full Scope**: All phases = 45 tasks **Goal**: Document and prepare for export of design baseline (Space Grotesk, Inter, 9-color palette) and navigation component specifications