diff --git a/.github/specs/004-book-website-make/approval-boundaries.md b/.github/specs/004-book-website-make/approval-boundaries.md index e4352028..f512b40a 100644 --- a/.github/specs/004-book-website-make/approval-boundaries.md +++ b/.github/specs/004-book-website-make/approval-boundaries.md @@ -184,7 +184,7 @@ Per spec requirement: "All 7 blocking decisions documented with options, awaitin - **Purpose**: Task breakdown across 7 phases (now 8 with convergence) - **Approval Status**: ✓ PHASE 1–7 APPROVED; Phase 8 convergence appended - **Boundaries**: User story phases marked [US1], [US2], [US3], [US4]; phases marked with completion dependencies -- **Blockers**: T031–T033 marked as "Blocked: awaiting Approval Gate 1" (now superseded by convergence analysis) +- **Blockers**: T131–T133 (legacy breakdown; formerly T031–T033) marked as "Blocked: awaiting Approval Gate 1" (now superseded by convergence analysis) --- diff --git a/.github/specs/004-book-website-make/checklists/blocking-decisions-validation.md b/.github/specs/004-book-website-make/checklists/blocking-decisions-validation.md index e70ef313..020187dc 100644 --- a/.github/specs/004-book-website-make/checklists/blocking-decisions-validation.md +++ b/.github/specs/004-book-website-make/checklists/blocking-decisions-validation.md @@ -48,7 +48,7 @@ Each blocking decision MUST have: | --------- | ---------- | --------- | ---------- | --- | | Decision Point | ✓ | ✓ | "How long is a confirmed redemption eligible for recovery access?" | ✓ | | Rationale | ✓ | ✓ | Recovery lifetime determines session expiry; affects renewal before expiration | ✓ | -| Option Count | ✓ (3+) | ✓ (4 options) | A (30-day rolling), B (30-day fixed), C (No expiry), D (Configurable) | ✓ | +| Option Count | ✓ (3+) | ✓ (4 options) | A (session refresh with absolute 30-day expiry), B (30-day fixed), C (No expiry), D (Configurable) | ✓ | | Option Descriptions | ✓ | ✓ | All 4 options with security/UX trade-offs documented | ✓ | | Impact Assessment | ✓ | ✓ | "Recovery flows specification depends on session lifetime for state management, cleanup schedules, and error messaging" | ✓ | | Decision Status | ✓ | ✓ | "Awaiting user input from blocking decision matrix in spec.md" | ✓ | @@ -177,7 +177,9 @@ Each blocking decision MUST have: ## Blocking Decision Matrix -**User Decision Points** (awaiting selection): +> **Historical snapshot (T057, 2026-11-11)**: this matrix shows the state before Ash chose. All 7 decisions were resolved on 2026-11-13; see [`exports/decisions-selected.md`](../exports/decisions-selected.md). Decision 2 Option A is labelled "session refresh with absolute 30-day expiry". + +**User Decision Points** (awaiting selection at the time): | Decision | Impact on Prompts | User Action Required | Reference | | ---------- | ------------------- | ---------------------- | ----------- | diff --git a/.github/specs/004-book-website-make/checklists/pre-approval-reconciliation-validation.md b/.github/specs/004-book-website-make/checklists/pre-approval-reconciliation-validation.md index 9af0b345..9fc42c2f 100644 --- a/.github/specs/004-book-website-make/checklists/pre-approval-reconciliation-validation.md +++ b/.github/specs/004-book-website-make/checklists/pre-approval-reconciliation-validation.md @@ -13,7 +13,7 @@ This final reconciliation validation spans all Phase 8 convergence outputs (T052 1. ✅ **Version reconciliation** — Zero conflicts, precedence rule applied 2. ✅ **Source file inventory** — All 6 files analyzed and reconciled -3. ✅ **Prompt preview completeness** — All 4 unblocked prompts ≥95% complete +3. ✅ **Prompt preview completeness** — Prompts 1, 2A, 2B each ≥95% complete (SC-003 revised; 3A handed to Spec 005) 4. ✅ **Approval boundaries** — All elements marked (✓, ~, ❌) 5. ✅ **Blocking decisions documentation** — All 7 decisions with 3+ options each 6. ✅ **Blocking decisions audit** — All decisions clearly marked in contracts with options visible @@ -27,7 +27,7 @@ This final reconciliation validation spans all Phase 8 convergence outputs (T052 | ------ | ---------- | ----------- | -------- | ---------- | | **T052** | version-reconciliation.md | FR-002 compliance | ✅ PASS | All 6 files reconciled; File 05 v1.9.0 authoritative; zero critical conflicts | | **T053** | prompt-1-exact-preview.md | SC-002 compliance | ✅ PASS | 100% complete; 4 required elements: before/after, 14 steps, 10 criteria, 3 non-changes | -| **T054** | prompt-preview-validation.md | SC-003 compliance | ✅ PASS | All 4 prompts ≥95% average; P1: 100%, P2A: 89%, P2B: 100%, P3A: 91% | +| **T054** | prompt-preview-validation.md | SC-003 compliance | ✅ PASS (revised 2026-11-20) | SC-003 revised scope (approved 2026-11-19): each Spec 004 prompt ≥95%. P1: 100%, P2A: 95%, P2B: 100%. P3A (~91%) handed to Spec 005. The earlier PASS used an average that let P2A pass at 89%; that has been corrected | | **T055** | approval-boundaries.md | SC-007 compliance | ✅ PASS | All boundaries marked (✓/~/❌); zero ambiguous items; design baseline locked | | **T056** | source-file-inventory.md | FR-001 compliance | ✅ PASS | All 6 files documented with versions, timestamps, authority matrix | | **T057** | blocking-decisions-validation.md | SC-004 compliance | ✅ PASS | All 7 decisions documented with 3+ options (23 total); impact assessment for each | @@ -41,7 +41,7 @@ This final reconciliation validation spans all Phase 8 convergence outputs (T052 | Check | Status | Evidence | Notes | | ------- | -------- | ---------- | ------- | -| **All 6 source files analyzed** | ✅ | source-file-inventory.md (complete audit) | Files 01–06 from content/book/ directory | +| **All 6 source files analyzed** | ✅ | source-file-inventory.md (complete audit) | Files 01–06 in `references/` (formerly `content/book/`) | | **Version precedence rule applied** | ✅ | version-reconciliation.md (SemVer rule) | File 05 v1.9.0 (highest) authoritative for decisions | | **Zero critical conflicts** | ✅ | version-reconciliation.md (conflict matrix) | File 06 v1.1.1 superseded by File 05 v1.9.0 (resolved) | | **Timestamps documented** | ✅ | source-file-inventory.md (timestamp audit) | 5 current (2026-11-08/09), 1 older (2026-11-04) | diff --git a/.github/specs/004-book-website-make/checklists/specification-quality.md b/.github/specs/004-book-website-make/checklists/specification-quality.md index 853157dc..f43e3b3e 100644 --- a/.github/specs/004-book-website-make/checklists/specification-quality.md +++ b/.github/specs/004-book-website-make/checklists/specification-quality.md @@ -1,4 +1,4 @@ -# Specification Quality Checklist: Book Website Figma Make Prompt Pack +# Specification Quality Checklist: Book Website Claude Code Prompt Pack **Purpose**: Validate requirements quality across spec.md, plan.md, research.md, data-model.md, quickstart.md, contracts/, and tasks.md — ensuring completeness, clarity, consistency, and measurability before approval gates and implementation. @@ -23,7 +23,7 @@ - [x] CHK003 Are all 10 functional requirements (FR-001 through FR-010) documented with full text? [Completeness, Spec §Requirements] ✅ VERIFIED: FR-001 through FR-010 present with complete text and scope - [x] CHK004 Are all 8 success criteria (SC-001 through SC-004+) documented as measurable outcomes? [Completeness, Spec §Success Criteria] ✅ VERIFIED: SC-001 through SC-008 documented with quantitative/qualitative metrics - [x] CHK005 Are all 7 blocking decisions documented in research.md with options A/B/C/D? [Completeness, research.md §Blocking Decisions, spec.md §Blocking Decisions Approved] ✅ VERIFIED: spec.md §Blocking Decisions Approved documents all 7 decisions with resolutions; research.md expected to provide detailed options (A/B/C/D format per plan.md) -- [x] CHK006 Are all 6 Figma Make prompts (1, 2A, 2B, 3A, 3B, 3C) documented in contracts/ directory? [Completeness, contracts/] ✅ VERIFIED: 14 contract files including prompt-1 through prompt-3c with execution guides +- [x] CHK006 Are all 6 Claude Code prompts (1, 2A, 2B, 3A, 3B, 3C) documented in contracts/ directory? [Completeness, contracts/] ✅ VERIFIED: 14 contract files including prompt-1 through prompt-3c with execution guides - [x] CHK007 Are all 51 tasks documented in tasks.md across 7 phases with phase purposes defined? [Completeness, tasks.md §Phases] ✅ VERIFIED: 51 tasks documented across 8 phases with purposes - [x] CHK008 Are assumptions documented (8 assumptions listed in spec.md)? [Completeness, Spec §Assumptions] ✅ VERIFIED: 8 assumptions documented in Assumptions section with context - [x] CHK009 Are edge cases documented (4 edge cases listed in spec.md)? [Completeness, Spec §Edge Cases] ✅ VERIFIED: 4 edge cases documented with scenarios @@ -35,12 +35,12 @@ **Purpose**: Are requirements specific and unambiguous? -- [x] CHK011 Is "documentation-only package" definition clear (no code, no commits, no deployments)? [Clarity, Spec §Input] ✅ VERIFIED: Spec §Input explicitly states "Complete staged Figma Make prompts...prepared as documentation-only package"; FR-009 reinforces "no code, no commits, no deployments" +- [x] CHK011 Is "documentation-only package" definition clear (no code, no commits, no deployments)? [Clarity, Spec §Input] ✅ VERIFIED: Spec §Input explicitly states "Complete staged Claude Code prompts...prepared as documentation-only package"; FR-009 reinforces "no code, no commits, no deployments" - [x] CHK012 Are approval gates clearly defined with prerequisites for Gate 1, 2, 3? [Clarity, quickstart.md §Approval Gates] ✅ VERIFIED: quickstart.md documents three gates with prerequisites: Gate 1 (blocking decisions), Gate 2 (design approval), Gate 3 (readiness) - [x] CHK013 Is the "blocking decision" concept clearly defined with example decisions? [Clarity, research.md, plan.md] ✅ VERIFIED: plan.md §Blocking Decisions lists all 7 with descriptions; research.md provides decision matrix with context - [x] CHK014 Are design baseline specifications quantified (Space Grotesk weights/sizes, 9 colors named)? [Clarity, plan.md §Design System] ✅ VERIFIED: plan.md lists "Space Grotesk headings, Inter body/UI, 9-color palette (light & dark themes)" with concrete values - [x] CHK015 Is reader access policy specified with concrete numbers (10-minute codes, 30-day lifecycle)? [Clarity, plan.md §Reader Access Policy] ✅ VERIFIED: plan.md states "10-minute single-use verification codes, 30-day device lifecycle, purpose-limited records" -- [x] CHK016 Are Figma Make prompt references clear (stage numbers 0–3C, execution order documented)? [Clarity, plan.md §Figma Make Integration] ✅ VERIFIED: plan.md §Figma Make Integration documents "Staged Prompt execution (Prompts 0–3C) with approval gates between stages" +- [x] CHK016 Are Claude Code prompt references clear (stage numbers 0–3C, execution order documented)? [Clarity, plan.md §Claude Code Integration] ✅ VERIFIED: plan.md §Claude Code Integration documents "Staged Prompt execution (Prompts 0–3C) with approval gates between stages" - [x] CHK017 Is the term "unblocked prompts" vs "blocked prompts" clearly defined with prerequisites? [Clarity, plan.md, quickstart.md] ✅ VERIFIED: Spec §Clarifications distinguishes "four unblocked executable prompts (1, 2A, 2B, 3A)" vs "blocked prompts (3B, 3C)" - [x] CHK018 Are navigation changes explicit (Speaking/Events/Media hidden from sitemap)? [Clarity, contracts/prompt-1-navigation-exposure.md] ✅ VERIFIED: Spec §User Scenarios explicitly states "Speaking/Events/Media hidden from sitemap"; contracts/ files confirm - [x] CHK019 Is "unapproved candidates" list explicit (R3, T1, RT2, C1 named, not included)? [Clarity, Spec §Design Candidate] ✅ VERIFIED: Spec §Design Candidate names all candidates (R3, T1, RT2, C1) with "no approval" notation @@ -134,9 +134,9 @@ **Purpose**: Are assumptions documented and requirements traceable? -- [x] CHK061 Are all 8 assumptions documented (users have email, source files are authoritative, etc.)? [Completeness, Spec §Assumptions] ✅ VERIFIED: Spec §Assumptions lists 8 assumptions with full context (User Context, Source Files, Design Baseline, Blocking Decisions, Implementation Timing, Figma Make Environment, Newsletter Integration, Reader Access Provider) +- [x] CHK061 Are all 8 assumptions documented (users have email, source files are authoritative, etc.)? [Completeness, Spec §Assumptions] ✅ VERIFIED: Spec §Assumptions lists 8 assumptions with full context (User Context, Source Files, Design Baseline, Blocking Decisions, Implementation Timing, Claude Code Environment, Newsletter Integration, Reader Access Provider) - [x] CHK062 Is each assumption validated or marked for later validation? [Clarity, Spec §Assumptions] ✅ VERIFIED: Each assumption is documented with validation context; Assumptions marked as "will be confirmed separately" or "aligns with existing decisions" where applicable -- [x] CHK063 Are source file references clear (6 files in content/book/ with versions v1.0.0–v1.9.0)? [Traceability, plan.md §Source Files] ✅ VERIFIED: plan.md §Source Files lists all 6 source files (01–06) in content/book/ with exact versions: v1.0.0–v1.9.0 range documented +- [x] CHK063 Are source file references clear (6 files in `references/`, formerly `content/book/`, with versions v1.0.0–v1.9.0)? [Traceability, plan.md §Source Files] ✅ VERIFIED: plan.md §Source Files lists all 6 source files (01–06), now in `references/`, with exact versions: v1.0.0–v1.9.0 range documented - [x] CHK064 Are Linear issue references documented (TOA-446, TOA-445, TOA-441, etc.)? [Traceability, Spec] ✅ VERIFIED: Spec §Specification Notes §Cross-References documents Linear Issues: TOA-446, TOA-445, TOA-441, TOA-309, TOA-310, TOA-311, TOA-90, TOA-420 - [x] CHK065 Is the governance framework referenced (constitution.md § principles applied)? [Traceability, plan.md §Constitution Check] ✅ VERIFIED: plan.md §Constitution Check explicitly references ".specify/memory/constitution.md § principles" and documents gate status "All checks pass. No violations." - [x] CHK066 Are spec sections cross-referenced (e.g., Spec §FR-001 links to affected tasks)? [Traceability, cross-reference check] ✅ VERIFIED: Specification uses consistent cross-reference style (Spec §FR-001, Spec §SC-001, etc.); tasks.md references back to user stories and requirements @@ -147,7 +147,7 @@ **Purpose**: Are entities, fields, and relationships clearly defined? -- [x] CHK067 Are all 6 entities defined (Specification File, Design Baseline, Design Candidate, Blocking Decision, Figma Make Prompt, Preflight Analysis)? [Completeness, data-model.md] ✅ VERIFIED: data-model.md defines all 6 entities with comprehensive sections for each +- [x] CHK067 Are all 6 entities defined (Specification File, Design Baseline, Design Candidate, Blocking Decision, Claude Code Prompt, Preflight Analysis)? [Completeness, data-model.md] ✅ VERIFIED: data-model.md defines all 6 entities with comprehensive sections for each - [x] CHK068 Does each entity have fields listed (not just names)? [Completeness, data-model.md] ✅ VERIFIED: Each entity in data-model.md includes detailed fields section with attribute descriptions - [x] CHK069 Are relationships documented (Design Baseline derived from Specification File, etc.)? [Completeness, data-model.md] ✅ VERIFIED: data-model.md documents entity relationships with explicit derivation paths and dependencies - [x] CHK070 Are validation rules documented for each entity? [Completeness, data-model.md] ✅ VERIFIED: Each entity includes Validation section with business rules and constraints @@ -186,13 +186,13 @@ **Purpose**: Are version differences documented without silent merges? -- [x] CHK085 Are all 6 source files listed with versions (01 v1.0.0, 02 v1.0.4, 03 v1.3.0, 04 v1.1.2, 05 v1.9.0, 06 v1.1.1)? [Completeness, plan.md §Source Files] ✅ VERIFIED: plan.md §Source Files lists all 6 source files in content/book/ with exact versions: 01(v1.0.0), 02(v1.0.4), 03(v1.3.0), 04(v1.1.2), 05(v1.9.0), 06(v1.1.1) +- [x] CHK085 Are all 6 source files listed with versions (01 v1.0.0, 02 v1.0.4, 03 v1.3.0, 04 v1.1.2, 05 v1.9.0, 06 v1.1.1)? [Completeness, plan.md §Source Files] ✅ VERIFIED: plan.md §Source Files lists all 6 source files, now in `references/`, with exact versions: 01(v1.0.0), 02(v1.0.4), 03(v1.3.0), 04(v1.1.2), 05(v1.9.0), 06(v1.1.1) - [x] CHK086 Are version differences documented (02: v1.0.3→v1.0.4, 03: v1.2.2→v1.3.0, 05: v1.7.0→v1.9.0)? [Traceability, Spec §FR-002] ✅ VERIFIED: Spec §FR-002 states "System MUST reconcile version mismatches (02 v1.0.3→v1.0.4, 03 v1.2.2→v1.3.0, 05 v1.7.0→v1.9.0) without silently combining incompatible revisions" - [x] CHK087 Is each version difference assessed for material impact? [Clarity, reconciliation notes] ✅ VERIFIED: plan.md §Technical Context notes version tracking and reconciliation; Spec §FR-002 requires version difference assessment with "material-effect assessment" --- -## Figma Make Prompt Specifications +## Claude Code Prompt Specifications **Purpose**: Are prompt contracts complete and ready for execution? diff --git a/.github/specs/004-book-website-make/codebase-consistency-crosswalk.md b/.github/specs/004-book-website-make/codebase-consistency-crosswalk.md index 79c4bccc..f66ecde4 100644 --- a/.github/specs/004-book-website-make/codebase-consistency-crosswalk.md +++ b/.github/specs/004-book-website-make/codebase-consistency-crosswalk.md @@ -99,7 +99,7 @@ the existing style guide. Derived FR-004 and associated contracts instead describe design-token export and navigation design. Source stages 3A–3C concern podcast data, routing and playback. Derived -FR-004/FR-005 and T022–T038 concern reader access, recovery and error +FR-004/FR-005 and legacy T122–T138 (formerly T022–T038; see tasks.md Task ID scheme) concern reader access, recovery and error documentation. Keep both meanings visible until an exact amendment is approved. Do not diff --git a/.github/specs/004-book-website-make/continuations/PHASE_9_CONTINUATION_PROMPT.txt b/.github/specs/004-book-website-make/continuations/PHASE_9_CONTINUATION_PROMPT.txt index 4bf3b449..14632408 100644 --- a/.github/specs/004-book-website-make/continuations/PHASE_9_CONTINUATION_PROMPT.txt +++ b/.github/specs/004-book-website-make/continuations/PHASE_9_CONTINUATION_PROMPT.txt @@ -1,3 +1,7 @@ +SUPERSEDED - archived 2026-11-20 (Phase 9 reconciliation). DO NOT RUN. +Task IDs here never matched tasks.md; work merged via PRs #630 and #639. +Current state and ID mapping: ../tasks.md -> "Phase 9 Reconciliation". + Phase 9 Convergence Continuation — Execute Tasks T063–T074 (SC-004 Claude Direct Execution Model) diff --git a/.github/specs/004-book-website-make/continuations/PHASE_9_EXECUTION.md b/.github/specs/004-book-website-make/continuations/PHASE_9_EXECUTION.md index 84a99138..6fff2297 100644 --- a/.github/specs/004-book-website-make/continuations/PHASE_9_EXECUTION.md +++ b/.github/specs/004-book-website-make/continuations/PHASE_9_EXECUTION.md @@ -1,3 +1,5 @@ +> ⚠️ **SUPERSEDED — archived 2026-11-20 (Phase 9 reconciliation)**. Do not run this prompt. Its task IDs (T060–T074) never matched `tasks.md`, its branch names have been used already, and most of its work merged through PRs #630 and #639. For the current state, and a table mapping each continuation ID to where it was resolved, see the "Phase 9 Reconciliation" section in [`../tasks.md`](../tasks.md). + # Continuation Prompt: Spec 004 Phase 9 Convergence Execution **Branch**: `docs/spec-004-linear-sync-handoff` diff --git a/.github/specs/004-book-website-make/continuations/PHASE_9_REMAINING_TASKS_T063_T074.md b/.github/specs/004-book-website-make/continuations/PHASE_9_REMAINING_TASKS_T063_T074.md index 7224e873..97b70d52 100644 --- a/.github/specs/004-book-website-make/continuations/PHASE_9_REMAINING_TASKS_T063_T074.md +++ b/.github/specs/004-book-website-make/continuations/PHASE_9_REMAINING_TASKS_T063_T074.md @@ -1,3 +1,5 @@ +> ⚠️ **SUPERSEDED — archived 2026-11-20 (Phase 9 reconciliation)**. Do not run this prompt. Its task IDs (T060–T074) never matched `tasks.md`, its branch names have been used already, and most of its work merged through PRs #630 and #639. For the current state, and a table mapping each continuation ID to where it was resolved, see the "Phase 9 Reconciliation" section in [`../tasks.md`](../tasks.md). + # Phase 9 Convergence Continuation — Tasks T063–T074 **Session**: Phase 9 Convergence (Remaining) diff --git a/.github/specs/004-book-website-make/contracts/prompt-3a-execution-guide.md b/.github/specs/004-book-website-make/contracts/prompt-3a-execution-guide.md index d3d6620a..2dc4b6eb 100644 --- a/.github/specs/004-book-website-make/contracts/prompt-3a-execution-guide.md +++ b/.github/specs/004-book-website-make/contracts/prompt-3a-execution-guide.md @@ -5,6 +5,9 @@ **Approval Gate**: Gates 1, 2 ✅ COMPLETE **Dependencies**: Prompt 2A (Design System Baseline) — Uses exported typography and colors +> ⚠️ **Colour values superseded (Phase 9 reconciliation, 2026-11-20)**: hex values in this guide that are not in the approved 9-colour baseline (for example `#1a1a1a`, `#ffffff`, `#e8d4b8`, `#d4a574`, `#8b0000`, `#ff6b6b`, `#666666`, `#cccccc`) come from an early draft. Do not use them. Use the baseline tokens in [`exports/design-tokens.json`](../exports/design-tokens.json) instead. For form states, use `form-input.dark` / `form-input.light` (design-tokens v2.0.0): `bg`, `border`, `border-focused`, `error-border` (`#FF3AAE`) and `error-text` (`#FF3AAE` dark, `#0B0B10` light). Spec 005 owns this contract and must confirm any success, warning or error colour that has no baseline token. + + --- ## Executive Summary diff --git a/.github/specs/004-book-website-make/contracts/prompt-3b-execution-guide.md b/.github/specs/004-book-website-make/contracts/prompt-3b-execution-guide.md index 1a0c73a9..70642673 100644 --- a/.github/specs/004-book-website-make/contracts/prompt-3b-execution-guide.md +++ b/.github/specs/004-book-website-make/contracts/prompt-3b-execution-guide.md @@ -49,10 +49,12 @@ Design recovery flow specification documenting how readers regain access via pre | Option | Recovery Window | Rationale | | -------- | ----------------- | ----------- | -| **A: 30-day device lifecycle** | Full 30 days from initial verification | Aligns with policy; user expects consistent experience | -| **B: 7-day rolling refresh** | 7 days, extends on each access | Balances security (refreshes token) with UX | -| **C: Single session only** | Only within same calendar day (24 hours) | Most conservative; requires daily verification | -| **D: Custom window (configurable)** | Admin-controlled TTL for sessions | Flexible; adds operational complexity | +| **A: Session refresh with absolute 30-day expiry** | Recovery refreshes the session, but access can never extend beyond 30 days from initial verification | Matches 30-day device lifecycle; refresh resets inactivity only | +| **B: 30-day fixed window** | 30 days from initial verification, no refresh | Simpler; hard re-verification boundary | +| **C: No expiry** | Recovery valid indefinitely | Maximum convenience; highest security risk | +| **D: Configurable per reader** | Support override per reader | Flexible; adds operational and support complexity | + +> Options aligned with `research.md` Decision 2 (Phase 9 reconciliation, 2026-11-20). An earlier draft of this table listed different B–D options (7-day rolling, single session, admin TTL); they were never the options recorded in `research.md`. **Status**: ✅ APPROVED — Option A (session refresh on recovery; absolute expiry 30 days after initial verification — recovery cannot extend access beyond it). See `research.md` @@ -84,7 +86,7 @@ From 06-website-reading-prd.md (v1.1.1): **Example (if Decision 1=A, Decision 2=A)**: ```text Recovery Strategy: Recovery takes precedence over fresh verification -Session Lifetime: 30-day device lifecycle (full window) +Session Lifetime: Session refresh with absolute 30-day expiry (refresh cannot extend beyond 30 days from initial verification) Race Condition Resolution: Cancel fresh verification request, restore from previous session Error Messaging: "Access restored from previous session" (no email sent) ```text diff --git a/.github/specs/004-book-website-make/contracts/prompt-3c-execution-guide.md b/.github/specs/004-book-website-make/contracts/prompt-3c-execution-guide.md index ae0ae726..fcc906e9 100644 --- a/.github/specs/004-book-website-make/contracts/prompt-3c-execution-guide.md +++ b/.github/specs/004-book-website-make/contracts/prompt-3c-execution-guide.md @@ -5,6 +5,9 @@ **Approval Gate**: Gates 1, 2 ✅ COMPLETE **Dependencies**: Prompt 3A (Reader Access Copy & Forms) — Provides form baseline +> ⚠️ **Colour values superseded (Phase 9 reconciliation, 2026-11-20)**: hex values in this guide that are not in the approved 9-colour baseline (for example `#1a1a1a`, `#ffffff`, `#e8d4b8`, `#d4a574`, `#8b0000`, `#ff6b6b`, `#666666`, `#cccccc`) come from an early draft. Do not use them. Use the baseline tokens in [`exports/design-tokens.json`](../exports/design-tokens.json) instead. For form states, use `form-input.dark` / `form-input.light` (design-tokens v2.0.0): `bg`, `border`, `border-focused`, `error-border` (`#FF3AAE`) and `error-text` (`#FF3AAE` dark, `#0B0B10` light). Spec 005 owns this contract and must confirm any success, warning or error colour that has no baseline token. + + --- ## Executive Summary diff --git a/.github/specs/004-book-website-make/data-model.md b/.github/specs/004-book-website-make/data-model.md index 7ac4bf62..9f27fc25 100644 --- a/.github/specs/004-book-website-make/data-model.md +++ b/.github/specs/004-book-website-make/data-model.md @@ -8,11 +8,11 @@ ### Specification File -**Purpose**: Source truth for design and product requirements (one of six authoritative files in content/book/) +**Purpose**: Source truth for design and product requirements (one of six authoritative files in `references/`) **Fields**: - `id`: filename (01–06) -- `path`: absolute path to file (content/book/NN-title.md) +- `path`: path to file (`.github/specs/004-book-website-make/references/NN-title.md`) - `version`: semantic version (e.g., v1.0.0) - `status`: "current" | "superseded" | "in-review" - `approval_status`: "approved" | "pending" | "rejected" @@ -42,7 +42,7 @@ - `typography_headings`: "Space Grotesk" (font family, weights, sizes) - `typography_body`: "Inter" (font family, weights, sizes) - `typography_ui`: "Inter" (font family, weights, sizes) -- `colors_light_theme`: map of 9 named colors (e.g., { "primary": "#1a1a1a", ... }) +- `colors_light_theme`: map of 9 named colors (e.g., { "background": "#F6F2EB", ... } — values must come from the approved 9-colour baseline (see `exports/design-tokens.json`)) - `colors_dark_theme`: map of 9 named colors (e.g., { "primary": "#ffffff", ... }) - `component_styles`: map of component names → style definitions (e.g., "Button", "Card", "Navigation") - `theme_states`: array of ["light", "dark"] diff --git a/.github/specs/004-book-website-make/exports/COLOR_AUDIT.md b/.github/specs/004-book-website-make/exports/COLOR_AUDIT.md index 716f4908..c1b6506e 100644 --- a/.github/specs/004-book-website-make/exports/COLOR_AUDIT.md +++ b/.github/specs/004-book-website-make/exports/COLOR_AUDIT.md @@ -3,7 +3,14 @@ **Date**: 2026-11-20 **Phase**: 9 Convergence (T071) **Baseline**: Design Brief v1.1.2 -**Status**: Audit complete — no non-baseline colors found +**Status**: Corrected 2026-11-20. The first audit missed non-baseline colours in the Prompt 3A/3C execution guides and data-model.md + + +> **Correction (Phase 9 reconciliation, 2026-11-20)**: The audit below said no non-baseline colours were found. That was wrong. It checked the 3A/3C *contracts* but not their *execution guides*. +> - `contracts/prompt-3a-execution-guide.md`: `#1a1a1a`, `#ffffff`, `#e8d4b8`, `#d4a574`, `#8b0000`, `#ff6b6b` and other greys/status colours. **Marked superseded** with a notice pointing to `design-tokens.json` (Spec 005 owns this guide) +> - `contracts/prompt-3c-execution-guide.md`: error colours `#8b0000` / `#ff6b6b`. **Marked superseded** in the same way +> - `data-model.md`: example value `#1a1a1a`. **Replaced** with baseline `#F6F2EB` +> - `exports/GATE_2_READINESS_REPORT.md`: `#d4a574` appears only as a "Was:" record of an earlier fix. **Left as history** --- diff --git a/.github/specs/004-book-website-make/exports/PATH_MIGRATION_LOG.md b/.github/specs/004-book-website-make/exports/PATH_MIGRATION_LOG.md index 684fe561..667afb85 100644 --- a/.github/specs/004-book-website-make/exports/PATH_MIGRATION_LOG.md +++ b/.github/specs/004-book-website-make/exports/PATH_MIGRATION_LOG.md @@ -3,7 +3,17 @@ **Date**: 2026-11-20 **Phase**: 9 Convergence (T070) **Migration**: `content/book/` paths → `.github/specs/004-book-website-make/references/` -**Status**: Verification complete; no broken links remain +**Status**: Corrected 2026-11-20. Spec 004 working files are now migrated; references in source and history files are kept on purpose + + +> **Correction (Phase 9 reconciliation, 2026-11-20)**: When this log was first written, `content/book/` paths were still in `data-model.md` (2), `source-file-inventory.md`, `version-reconciliation.md`, `checklists/pre-approval-reconciliation-validation.md` and `checklists/specification-quality.md` (2). All of these now point to `references/`, with a "formerly `content/book/`" note where history matters. +> +> Kept on purpose: +> - `references/*`: verbatim copies of source documents. Several point at real manuscript paths under `content/book/` (for example chapter files), which still exist +> - `staged/*`: historical drafts +> - `exports/GATE_2_READINESS_REPORT.md`: old → new mapping table +> - `plan.md`: the "moved from" note +> - Legacy task T143 description in `tasks.md`: task descriptions are not edited --- diff --git a/.github/specs/004-book-website-make/exports/TASK_CONSOLIDATION_LOG.md b/.github/specs/004-book-website-make/exports/TASK_CONSOLIDATION_LOG.md index 67a162d5..0b49b197 100644 --- a/.github/specs/004-book-website-make/exports/TASK_CONSOLIDATION_LOG.md +++ b/.github/specs/004-book-website-make/exports/TASK_CONSOLIDATION_LOG.md @@ -3,7 +3,14 @@ **Date**: 2026-11-20 **Phase**: 9 Convergence (T067) **Scope**: Task list reconciliation after Spec 005 handover -**Status**: Consolidation complete +**Status**: Duplicate IDs resolved 2026-11-20 (tasks.md T075) + + +> **Update (Phase 9 reconciliation, 2026-11-20)**: The duplicates went further than T025–T027. `tasks.md` held two full task breakdowns, so **every** ID from T014 to T038 appeared twice. Resolution, with no tasks merged: +> - The active SC-004 breakdown keeps T001–T038. The handover table below and `research.md` refer to these IDs +> - The original v1.0.0 breakdown (2026-11-09) is renumbered T114–T151 (+100). T101–T113 were removed in an earlier rewrite and survive only as Phase 8 dependency IDs (text in git `e316aaf`) +> - Phase 8 dependencies are repointed: T052 → T107/T110, T053 → T120, T054 → T121/T122/T123, T056 → T107, T057 → T110 +> - See the "Task ID scheme" section at the top of `tasks.md` --- diff --git a/.github/specs/004-book-website-make/plan.md b/.github/specs/004-book-website-make/plan.md index 4985278b..7672f9ca 100644 --- a/.github/specs/004-book-website-make/plan.md +++ b/.github/specs/004-book-website-make/plan.md @@ -1,6 +1,6 @@ # Implementation Plan: Book Website Claude Direct Execution -**Branch**: `feat/spec-004-claude-execution-model` | **Date**: 2026-11-09 | **Pivoted**: 2026-11-20 | **Spec**: [.github/specs/004-book-website-make/spec.md](./spec.md) +**Branch**: `main` (historical: `feat/spec-004-claude-execution-model`) | **Version**: 1.0.0 (locked, see spec.md) | **Date**: 2026-11-09 | **Pivoted**: 2026-11-20 | **Spec**: [.github/specs/004-book-website-make/spec.md](./spec.md) **Input**: Feature specification from `.github/specs/004-book-website-make/spec.md` @@ -27,7 +27,7 @@ **Execution Model** (SC-004, approved 2026-11-20): - **Primary**: Claude direct execution for Prompts 1, 2A, 2B - Each contract includes: Input spec, output format (CSS/JSON/TypeScript), validation criteria, example output - - Output: Markdown specs + code/data files (not Figma canvas) + - Output: Markdown specs + code/data files (not Claude Code canvas) - Timeline: 45–60 min total (Prompts 1, 2A, 2B) - Deliverable: Version-controlled, reviewable, iterable specs - **Deprecated**: Figma Make execution (replaced by SC-004) @@ -56,7 +56,7 @@ ✅ **Repository Governance**: Specifications stored in `.github/specs/004-book-website-make/`; no protected files modified -✅ **Bundler Compatibility**: Documentation-only package; no code syntax constraints apply. Figma Make compatibility verified via version reconciliation and prompt previewing. +✅ **Bundler Compatibility**: Documentation-only package; no code syntax constraints apply. Claude Code compatibility verified via version reconciliation and prompt previewing. ✅ **Protected Content**: No hardcoded UI strings; all derive from design baseline and source specifications @@ -77,7 +77,7 @@ ├── research.md # Phase 0: blocking decision analysis ├── data-model.md # Phase 1: entities and relationships ├── quickstart.md # Phase 1: validation and approval flow -├── contracts/ # Phase 1: Figma Make prompt contracts +├── contracts/ # Phase 1: Claude Code prompt contracts │ ├── prompt-1-navigation-exposure.md │ ├── prompt-2a-design-baseline.md │ ├── prompt-2b-navigation-design.md @@ -104,7 +104,7 @@ └── 06-website-reading-prd.md # Product requirements (v1.1.1) ``` -**Structure Decision**: Documentation-only package. No code structure required. Source specifications analyzed, reconciled, and staged for Figma Make execution. All deliverables remain in `.github/specs/004-book-website-make/` with no backend/frontend splits or implementation code paths. +**Structure Decision**: Documentation-only package. No code structure required. Source specifications analyzed, reconciled, and staged for Claude Code execution. All deliverables remain in `.github/specs/004-book-website-make/` with no backend/frontend splits or implementation code paths. --- @@ -114,15 +114,15 @@ | Directory | Purpose | Contents | Status | |-----------|---------|----------|--------| -| `contracts/` | Figma Make prompt specifications (input) | Prompt 1–3C contract definitions | Reference (reader-access moved to Spec 005) | +| `contracts/` | Claude Code prompt specifications (input) | Prompt 1–3C contract definitions | Reference (reader-access moved to Spec 005) | | `exports/` | Final approved artifacts (output) | Design tokens, checklists, handoff docs | Active | | `references/` | Source specification documents | Six specification files (01–06) with versions | Read-only reference | -| `staged/` | Interim Figma Make outputs and drafts | Historical drafts from initial analysis; regenerated prompt outputs before finalization | Available for future regeneration; retained for reference | +| `staged/` | Interim prompt drafts (historical) | Historical drafts from initial analysis (Nov 9) | Frozen, for reference only. Not authoritative | | `checklists/` | Quality validation and approval tracking | Pre-approval, specification-quality, prompt-preview checklists | Reference | -**Note**: The `staged/` folder contains historical drafts from initial analysis (Nov 9) and is retained for reference only and future Figma Make regeneration. Authoritative versions are in the root directory (spec.md, plan.md, tasks.md, exports/) with all Phase 9 convergence updates applied. +**Note**: The `staged/` folder contains historical drafts from initial analysis (Nov 9) and is retained for reference only. Figma Make is deprecated (SC-004, 2026-11-20), so these drafts will not be regenerated; do not edit them. `continuations/` is archived in the same way (superseded session hand-off prompts). Authoritative versions are in the root directory (spec.md, plan.md, tasks.md, exports/) with all Phase 9 convergence updates applied. ## Complexity Tracking @@ -155,6 +155,6 @@ No violations. Constitution check passes; no complexity trade-offs required. **Prerequisites**: research.md complete **Deliverables**: -- **data-model.md**: Specification File, Design Baseline, Design Candidate, Blocking Decision, Figma Make Prompt, Preflight Analysis entities with fields and relationships +- **data-model.md**: Specification File, Design Baseline, Design Candidate, Blocking Decision, Claude Code Prompt, Preflight Analysis entities with fields and relationships - **contracts/**: Six Figma Make prompt specifications (Prompts 1, 2A, 2B, 3A exact previews; Prompts 3B, 3C blocked with prerequisites) - **quickstart.md**: Approval flow, validation scenarios, and gate conditions for staged prompt execution diff --git a/.github/specs/004-book-website-make/research.md b/.github/specs/004-book-website-make/research.md index 1e19542a..0ab23319 100644 --- a/.github/specs/004-book-website-make/research.md +++ b/.github/specs/004-book-website-make/research.md @@ -48,7 +48,7 @@ This document analyzes the seven blocking decisions that prevent Prompts 3B (rec | C | No expiry—recovery sessions valid indefinitely | Maximum UX convenience; highest security risk; may conflict with data retention policy | | D | Configurable per-reader basis (support override) | Flexibility for special cases; added complexity; support burden | -**Decision**: ✅ APPROVED — Option A (30-day device lifecycle with recovery session refresh; absolute 30-day expiry enforced regardless of recovery activity) +**Decision**: ✅ APPROVED — Option A: session refresh with absolute 30-day expiry (rolling refresh cannot extend access beyond 30 days from initial verification) **Impact on Prompt 3B**: Recovery flows specification depends on absolute device expiry for state management, cleanup schedules, and error messaging when device lifecycle expires. diff --git a/.github/specs/004-book-website-make/source-file-inventory.md b/.github/specs/004-book-website-make/source-file-inventory.md index d3a5508b..d18dde2c 100644 --- a/.github/specs/004-book-website-make/source-file-inventory.md +++ b/.github/specs/004-book-website-make/source-file-inventory.md @@ -8,12 +8,12 @@ ## Inventory Overview -Complete documentation of six specification files from `content/book/` directory that serve as authoritative sources for the Figma Make prompt pack feature. +Complete documentation of six specification files in `references/` (moved from `content/book/` in Phase 9) that serve as authoritative sources for the Claude Code prompt pack feature. | File ID | Document Name | Current Version | Status | Recency | Evidence | | --------- | --------------- | ----------------- | -------- | --------- | ---------- | -| **01** | Book Website Figma Make specification and prompt pack | v1.0.0 | ✓ CURRENT | 2026-11-09 | Master execution contract | -| **02** | Figma Make companion session plan | v1.0.4 | ✓ CURRENT | 2026-11-09 | Companion planning document | +| **01** | Book Website Claude Code specification and prompt pack | v1.0.0 | ✓ CURRENT | 2026-11-09 | Master execution contract | +| **02** | Claude Code companion session plan | v1.0.4 | ✓ CURRENT | 2026-11-09 | Companion planning document | | **03** | Book website brief — author decisions and launch scope | v1.3.0 | ✓ CURRENT | 2026-11-09 | Scope and author decisions | | **04** | Design brief — Book website and verified reading experience | v1.1.2 | ✓ CURRENT | 2026-11-08 | Design requirements & baseline | | **05** | Design and reader decision register | v1.9.0 | ✓ CURRENT | 2026-11-09 | Design decisions & candidates | @@ -23,18 +23,18 @@ Complete documentation of six specification files from `content/book/` directory ## Detailed File Record -### File 01: Book Website Figma Make Specification and Prompt Pack +### File 01: Book Website Claude Code Specification and Prompt Pack **File Path**: `references/01-book-website-specification.md` **Version**: 1.0.0 **Last Revised**: 2026-11-09 (Asia/Bangkok) **Document Status**: Draft specification and prompts — stage execution separately approval-gated **Authority**: Ash -**Purpose**: Master execution contract for Figma Make staged prompt pack +**Purpose**: Master execution contract for Claude Code staged prompt pack **Content Summary**: - Purpose and source authority documentation -- Four Figma Make execution stages (0–3C, approval gates between) +- Four Claude Code execution stages (0–3C, approval gates between) - Specification of all 6 prompts (Prompt 0 placeholder through Prompt 3C) - Approval boundaries and stage gates - Reader access policy overview (10-minute codes, 30-day device lifecycle) diff --git a/.github/specs/004-book-website-make/spec.md b/.github/specs/004-book-website-make/spec.md index 72e678a9..9c0d3140 100644 --- a/.github/specs/004-book-website-make/spec.md +++ b/.github/specs/004-book-website-make/spec.md @@ -1,21 +1,56 @@ # Feature Specification: Book Website Claude Direct Execution -**Feature Branch**: `feat/spec-004-claude-execution-model` +**Feature Branch**: `main` (work branches have merged; `feat/spec-004-claude-execution-model` is historical) + +**Version**: 1.0.0 | **Locked**: see [Sign-off decisions and version-lock](#sign-off-decisions-and-version-lock-2026-11-20) **Created**: 2026-11-09 | **Pivoted to Claude**: 2026-11-20 -**Status**: ✅ Documentation complete; ✅ All 7 blocking decisions **RESOLVED** (2026-11-13); ✅ SC-004 Execution Model Pivot proposed (2026-11-20). Execution gates remain: +**Status**: ✅ Documentation complete; ✅ All 7 blocking decisions **RESOLVED** (2026-11-13); ✅ SC-004 Execution Model Pivot approved (2026-11-20); ✅ Prompts 1, 2A, 2B delivered (PR #648). Remaining gates: - ✅ All blocking decisions approved with selected options documented -- ✅ Design baseline (Space Grotesk, Inter, 9-color palette) locked and approved -- ✅ Prompts 1, 2A, 2B ready for Phase A execution (Claude direct execution model) +- ✅ Design baseline (Space Grotesk, Inter, 9-color palette) locked and approved (dark theme and primitives; light-theme mapping deferred, owner Ash) +- ✅ Prompts 1, 2A, 2B delivered as specifications via Claude direct execution in PR #648 (merged to `main` 2026-11-20). See [`exports/PHASE_2_EXECUTION_LOG.md`](./exports/PHASE_2_EXECUTION_LOG.md) - ✅ Prompts 3A–3C handover to [Spec 005](../005-reader-access/spec.md) complete (not executed here) - ✅ **SC-004: Execution Model Pivot approved** (2026-11-20) — Claude direct execution replaces Figma Make -- ⏳ Explicit authority to begin Claude execution for Prompts 1, 2A, 2B (Decision 7 Option A: noindex meta tags + sitemap exclusion verified in contracts) +- ⏳ Implementing the Prompt 1, 2A and 2B outputs in `src/`, `public/` and `netlify.toml` needs separate authorisation from Ash. The deferred decisions below are still open (Decision 7 Option A: noindex meta tags + sitemap exclusion, no robots.txt Disallow) - ⏳ Chapter publication: each chapter needs Ash's approval before it is published (Decision 5: Early release approved; build screens now) **Input**: Complete staged prompts for ThisOneTimeOnAcidCom book website, prepared as documentation-only package with exact previews for approval. **Execution Model**: Claude direct execution (SC-004, approved 2026-11-20) — contracts include Claude execution specifications with output format validation. + +--- + +## Sign-off decisions and version-lock (2026-11-20) + +Recorded at Ash's request while finishing T069/T084. Each item below is deferred, not decided. Ash owns all of them. + +### Deferred decisions (owner: Ash) + +| ID | Decision | Status | Source | +| -- | -------- | ------ | ------ | +| C1-2 / C2B-1 | 8-item menu (recommended) or cut to 4 items | ⏸️ Deferred: nothing changes until Ash decides | `exports/PHASE_2_EXECUTION_LOG.md` | +| — | Light-theme role mapping | ⏸️ Deferred: this sign-off covers the **dark theme and primitives only**. The light mapping stays `PENDING_APPROVAL` | `exports/prompt-2a-design-baseline-output.md` §4 | +| C1-4 | Canonical origin (`ashshaw.com`) | ⏸️ Deferred | Prompt 1 §2 | +| C1-5 | `/ebook` exposure and XML-sitemap inclusion | ⏸️ Deferred | Prompt 1 §2 | +| D-1 to D-4 | Dark-theme pairs below the AAA 7:1 target | ⏸️ Deferred | Prompt 2A §4 | +| L-2, L-3 | Light-theme error and tertiary text colours | ⏸️ Deferred (part of the light mapping) | Prompt 2A §4 | +| Decision 2 | Interaction between Option A and repeated renewal | ⏸️ Deferred to Spec 005 | `exports/GATE_3_FINAL_SIGN_OFF.md` | +| Decision 5 | Per-chapter publication approval | ⏸️ Ongoing: Ash approves each chapter | Status gates above | +| Source 02 | Linear copy is v1.0.5; the repository copy in `references/` is v1.0.4 | ⏸️ Deferred: v1.0.4 is locked until the v1.0.5 text is mirrored | `references/02-companion-session-plan.md` | + +### Version-lock + +**Method**: version lines in the spec files plus this lock table. The commit that merges PR #649 becomes the lock commit. A git tag can be added later, but the files are what count. Any change to a locked item after the lock commit needs a new version and a note here. + +| Item | Locked version | +| ---- | -------------- | +| Spec package (`spec.md`, `plan.md`) | 1.0.0 | +| `tasks.md` | 1.1.0 | +| `references/01`–`06` | 01 v1.0.0, 02 v1.0.4, 03 v1.3.0, 04 v1.1.2, 05 v1.9.0, 06 v1.1.1 | +| `exports/design-tokens.json` / `.css` | v2.0.0 (PR #648) | +| Lock commit | *Merge commit of PR #649 (recorded after merge)* | + --- ## Source Documents @@ -180,7 +215,7 @@ Spec 004 no longer executes reader-access work. Stage IDs 3A–3C remain documen - **SC-001**: All six source files are retrieved and analyzed; version reconciliation is documented with zero silent merges (100% reconciliation coverage) - **SC-002**: Exact Prompt 1 preview includes all four elements: before/after navigation structure, numbered list of implementation steps (file/component changes), acceptance criteria, and 2–3 bullet points describing non-changes -- **SC-003**: Exact Prompts 2A, 2B, 3A are 95%+ complete specifications (missing only user decisions on blocked prerequisites, not missing core content); Prompt 2A exports both CSS variables (`.css` with custom properties) and JSON design tokens for full design-system coverage +- **SC-003** *(revised 2026-11-19, see [SC-003 scope change](./exports/SC-003_SCOPE_CHANGE_PROPOSAL.md))*: Exact Prompts 1, 2A and 2B are each 95%+ complete specifications. Prompt 3A moved to [Spec 005](../005-reader-access/spec.md). *Originally: Prompts 2A, 2B, 3A* (missing only user decisions on blocked prerequisites, not missing core content); Prompt 2A exports both CSS variables (`.css` with custom properties) and JSON design tokens for full design-system coverage - **SC-004**: All blocking decisions are identified and presented with specific options (3+ options per decision with impact assessment) before user approval - **SC-005**: Zero implementation code generated; zero commits created; zero deployments executed; 100% documentation-only until explicit user approval for implementation phase - **SC-006**: Complete documentation package includes blocking decision matrix, source inventory, version reconciliation, and decision-routing plan @@ -196,14 +231,15 @@ Spec 004 no longer executes reader-access work. Stage IDs 3A–3C remain documen - **Design Baseline Approval**: Space Grotesk headings, Inter body/UI, 9-color palette (both themes) are locked and require no changes during preflight - **Blocking Decisions**: ✅ ALL 7 decisions **RESOLVED** (2026-11-13): - Recovery-first race: **Option A** (Recovery takes precedence) - - Recovery lifetime: **Option A** (30-day absolute expiry + session refresh) + - Recovery lifetime: **Option A** (session refresh with absolute 30-day expiry) - Code expiry start: **Option A** (From code generation) - - Email provider: **Hybrid** (SendGrid transactional + Brevo newsletter) + - Email provider: **Hybrid** (Brevo newsletter + transactional SMTP). *Superseded 2026-11-19 in Spec 005: Mailgun for transactional SMTP (see `exports/GATE_3_FINAL_SIGN_OFF.md`)* - Manuscript readiness: **Early release** (Build screens now; chapters as approved) - Newsletter destination: **Brevo** (External signup link) - Route enforcement: **Option A** (Noindex meta tags + sitemap exclusion) - **Implementation Timing**: This spec prepares documentation only; no actual implementation, Figma Make execution, or deployment occurs until separate approval -- **Figma Make Environment**: Make environment exists and is operational; prompts can be executed once unblocked and approved (readiness verification deferred to implementation phase) +- **Execution Environment** *(SC-004, approved 2026-11-20)*: Claude carries out Prompts 1, 2A and 2B directly. Figma Make is deprecated and no Make environment is needed. See [SC-004](./exports/SC-004_EXECUTION_MODEL_PIVOT.md) +- **Scope (SC-003, approved 2026-11-19)**: Spec 004 covers Prompts 1, 2A and 2B only. Prompts 3A–3C and reader-access decisions belong to [Spec 005](../005-reader-access/spec.md) (see [handover](./exports/SPEC_004_TO_005_HANDOVER.md)). The SC-003 completeness threshold (≥95% per prompt) applies to Prompts 1, 2A and 2B - **Newsletter Integration**: Newsletter service (Brevo or alternative) will be selected separately; copy and mechanics are placeholders in this spec - **Reader Access Provider**: Email service and manuscript-delivery mechanism will be confirmed separately; specifications reference generic "email service" and "verified access" without provider detail diff --git a/.github/specs/004-book-website-make/tasks.md b/.github/specs/004-book-website-make/tasks.md index c4a569e3..426195ec 100644 --- a/.github/specs/004-book-website-make/tasks.md +++ b/.github/specs/004-book-website-make/tasks.md @@ -8,6 +8,23 @@ **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. +## Task ID scheme (Phase 9 reconciliation, 2026-11-20) + +This file holds two task breakdowns. Until 2026-11-20 they shared the IDs T014–T038, so a reference to "T020" or "T022" was ambiguous. Each task now has a unique ID. No tasks were merged and no descriptions changed. + +| ID range | Breakdown | Where | Notes | +| -------- | --------- | ----- | ----- | +| T001–T038 (plus T001b) | Active breakdown, rewritten for SC-004 Claude direct execution | "Phase 1: Gate 2 & SC-004 Approval" to "Phase 6: Polish & Post-Gate 2 Validation" | IDs unchanged. `exports/SPEC_004_TO_005_HANDOVER.md` and `research.md` refer to these IDs | +| T114–T151 | Original v1.0.0 breakdown (2026-11-09) | "Legacy breakdown" section | Renumbered from T014–T051 by adding 100. Phase 8 dependencies point here | +| T101–T113 | Original v1.0.0 Phase 1–2 tasks | Not in this file | Removed during the SC-004 rewrite. Text is in git history (commit `e316aaf`). Only the IDs survive, as Phase 8 dependencies | +| T052–T059 | Phase 8 convergence | "Phase 8" | Dependencies repointed to T1xx where they meant the original breakdown | +| T066–T074 | Phase 9 closure | "Phase 9" | Closed or carried forward in the reconciliation pass | +| T075–T084 | Phase 9 reconciliation | "Phase 9 Reconciliation" | This pass | + +The continuation documents in `continuations/` (archived) used their own T060–T074 numbering. They are mapped to these IDs in the "Phase 9 Reconciliation" section. + +--- + ## Format: `[ID] [P?] [Story] Description` - **[P]**: Can run in parallel (independent deliverables, different sections) @@ -63,9 +80,9 @@ ### Implementation for US1 (Claude Direct Execution — SC-004 approved) -- [ ] T008 [P] [US1] Execute Prompt 1: Navigation Exposure via Claude ~~(Figma Make)~~ (produce navigation enforcement spec + implementation checklist; validate against acceptance criteria) -- [ ] T009 [P] [US1] Execute Prompt 2A: Design Baseline Export via Claude ~~(Figma Make)~~ (export CSS variables + JSON tokens; validate both files parse correctly) -- [ ] T010 [P] [US1] Execute Prompt 2B: Navigation Design via Claude ~~(Figma Make)~~ (produce TypeScript component spec + responsive CSS + accessibility checklist) +- [x] T008 [P] [US1] Execute Prompt 1: Navigation Exposure via Claude ~~(Figma Make)~~ (produce navigation enforcement spec + implementation checklist; validate against acceptance criteria) +- [x] T009 [P] [US1] Execute Prompt 2A: Design Baseline Export via Claude ~~(Figma Make)~~ (export CSS variables + JSON tokens; validate both files parse correctly) +- [x] T010 [P] [US1] Execute Prompt 2B: Navigation Design via Claude ~~(Figma Make)~~ (produce TypeScript component spec + responsive CSS + accessibility checklist) — ✅ T008–T010 delivered in PR #648; see `exports/PHASE_2_EXECUTION_LOG.md` (owner decisions still open there, e.g. menu size) - [ ] T011 [US1] Validate specification contracts match acceptance criteria (manual design reference from `contracts/` folder) **Checkpoint**: Phase A complete - US1 (Design Hand-off) is fully executable and approved @@ -80,15 +97,19 @@ ### Prompt Contracts for User Story 1 +> **Handed over to Spec 005 (2026-11-13)**: Phase 3 (T012–T016) covers Prompt 3A, which [Spec 005](../005-reader-access/spec.md) now owns. See `exports/SPEC_004_TO_005_HANDOVER.md`. These tasks stay open here as a record; they will not be done in Spec 004. + +- [ ] T012 [US2] Validate Prompt 3A preview: form explanation copy, error messages, newsletter CTA in separate section (`contracts/prompt-3a-reader-access.md`) — **MOVED_TO_SPEC_005** +- [ ] T013 [US2] Confirm all form states designed: default, focused, error, loading, success (verify no hardcoded copy differs from approved source) — **MOVED_TO_SPEC_005** - [ ] 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) -- [ ] T014 [US2] Review Prompt 3A contract with blocking decision status (awaits Decisions 3, 4, 5, 6: code expiry timing, email provider, manuscript status, newsletter destination) -- [ ] 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`) +- [ ] T014 [US2] Review Prompt 3A contract with blocking decision status (awaits Decisions 3, 4, 5, 6: code expiry timing, email provider, manuscript status, newsletter destination) — **MOVED_TO_SPEC_005** +- [ ] 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) — **MOVED_TO_SPEC_005** +- [ ] 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`) — **MOVED_TO_SPEC_005** **Checkpoint**: US2 (Reader Access) → Spec 005 responsibility. Contracts remain for reference. @@ -114,6 +135,16 @@ ### Blocking Decision Matrix for User Story 3 +**Timeline**: 4–6 hours for decisions + clarification + +> **Resolved 2026-11-13**: Ash selected options for all seven decisions. See `exports/decisions-selected.md` and `research.md`. T019 and T021–T024 are closed. T020 (Decision 2) is closed for Spec 004 with Option A, which is now labelled "session refresh with absolute 30-day expiry". Whether that interacts with repeated renewal is a Spec 005 question; `exports/GATE_3_FINAL_SIGN_OFF.md` marks it ⏳ PARTIAL. + +- [x] 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 — ✅ RESOLVED 2026-11-13 (`exports/decisions-selected.md`) +- [x] T020 [P] [US3] **Decision 2 (Recovery lifetime eligibility)**: Clarify with Ash: how long is recovery code valid? Options: 24h, 7d, 30d. Update `research.md` — ✅ RESOLVED 2026-11-13 (`exports/decisions-selected.md`) +- [x] 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` — ✅ RESOLVED 2026-11-13 (`exports/decisions-selected.md`) +- [x] T022 [P] [US3] **Decision 4 (Email service provider)**: Clarify with tech lead: SendGrid or Brevo? API/SMTP availability? Update `research.md` — ✅ RESOLVED 2026-11-13 (`exports/decisions-selected.md`) +- [x] 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 — ✅ RESOLVED 2026-11-13 (`exports/decisions-selected.md`) +- [x] T024 [P] [US3] **Decision 6 (Newsletter destination)**: Clarify with product: Brevo signup link or other service? Update `research.md` — ✅ RESOLVED 2026-11-13 (`exports/decisions-selected.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.) @@ -121,9 +152,9 @@ **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) -- [ ] T026 [US3] Once Decision 3 resolved: Execute Prompt 3C (error states, code-expiry messaging) via Claude ~~(Figma Make)~~ (produce error message matrix + timeout handling spec) -- [ ] T027 [US3] Validate Prompt 3B and 3C specifications; verify race condition handling and error messaging match resolved decisions (manual review from `contracts/`) +- [ ] T025 [US3] Once Decisions 1 & 2 resolved: Execute Prompt 3B (recovery flows) via Claude ~~(Figma Make)~~ (produce recovery state matrix + error handling spec) — **MOVED_TO_SPEC_005** +- [ ] T026 [US3] Once Decision 3 resolved: Execute Prompt 3C (error states, code-expiry messaging) via Claude ~~(Figma Make)~~ (produce error message matrix + timeout handling spec) — **MOVED_TO_SPEC_005** +- [ ] T027 [US3] Validate Prompt 3B and 3C specifications; verify race condition handling and error messaging match resolved decisions (manual review from `contracts/`) — **MOVED_TO_SPEC_005** **Checkpoint**: All blocking decisions resolved - Phase B execution unblocked @@ -271,6 +302,20 @@ With multiple people: --- +## 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 ✅ + +--- + +## Legacy breakdown: original v1.0.0 task list (2026-11-09), renumbered T1xx + +> These are the original tasks from 2026-11-09, renumbered by adding 100 (T014 → T114 and so on) on 2026-11-20 to remove duplicate IDs. Phase 8 dependencies refer to this list. Tasks T101–T113 are not in this file; see the "Task ID scheme" section at the top. + +- [ ] T114 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) **Total Tasks**: 45 | **Phase 1**: 5 | **Phase 2**: 5 | **Phase 3 (US1)**: 9 | **Phase 4 (US3)**: 10 | **Phase 5 (US4)**: 11 | **Phase 6**: 5 @@ -289,22 +334,22 @@ With multiple people: **Implementation Tasks**: -- [ ] T015 [P] [US1] Read contracts/prompt-2a-design-baseline.md and validate all typography specifications match 04-design-brief.md v1.1.2 -- [ ] T016 [P] [US1] Read contracts/prompt-2a-design-baseline.md and validate all color specifications match approved palette (9 light + 9 dark) -- [ ] T017 [P] [US1] Read contracts/prompt-1-navigation-exposure.md and validate navigation structure matches 03-author-decisions-launch-scope.md (hidden: Speaking, Events, Media) -- [ ] T018 [P] [US1] Read contracts/prompt-2b-navigation-design.md and document all navigation states (default, hover, active, mobile, tablet, desktop) -- [ ] T019 [US1] Create design-baseline-validation.md in `.github/specs/004-book-website-make/exports/` documenting: +- [ ] T115 [P] [US1] Read contracts/prompt-2a-design-baseline.md and validate all typography specifications match 04-design-brief.md v1.1.2 +- [ ] T116 [P] [US1] Read contracts/prompt-2a-design-baseline.md and validate all color specifications match approved palette (9 light + 9 dark) +- [ ] T117 [P] [US1] Read contracts/prompt-1-navigation-exposure.md and validate navigation structure matches 03-author-decisions-launch-scope.md (hidden: Speaking, Events, Media) +- [ ] T118 [P] [US1] Read contracts/prompt-2b-navigation-design.md and document all navigation states (default, hover, active, mobile, tablet, desktop) +- [x] T119 [US1] Create design-baseline-validation.md in `.github/specs/004-book-website-make/exports/` documenting: — ✅ file exists in `exports/` (verified 2026-11-20) - All typography tokens extracted - All color tokens extracted (with hex values) - All component styles specified (Button, Card, Navigation, Form) - All states rendered (default, focused, error, loading, success) - Unapproved candidates listed separately: R3, T1, RT2, C1 -- [ ] T020 [US1] Create navigation-specification.md in `.github/specs/004-book-website-make/exports/` documenting: +- [x] T120 [US1] Create navigation-specification.md in `.github/specs/004-book-website-make/exports/` documenting: — ✅ file exists in `exports/` (verified 2026-11-20) - Visible items: Home, About, Book, Contact - Hidden items: Speaking, Events, Media (not in sitemap) - All responsive breakpoints: desktop (≥1024px), tablet (768–1023px), mobile (<768px) - Mobile drawer interaction and overlay behavior -- [ ] T021 [US1] Create design-baseline-acceptance-report.md in `.github/specs/004-book-website-make/exports/` with CR-2A.1 through CR-2A.6 validation results: +- [x] T121 [US1] Create design-baseline-acceptance-report.md in `.github/specs/004-book-website-make/exports/` with CR-2A.1 through CR-2A.6 validation results: — ✅ file exists in `exports/` (verified 2026-11-20) - CR-2A.1: Exported tokens match exactly approved baseline values - CR-2A.2: Typography includes Space Grotesk and Inter with exact weights/sizes - CR-2A.3: Colors all 9 exported for light theme, all 9 for dark theme @@ -318,6 +363,8 @@ With multiple people: ## Phase 4: User Story 2 — Reader Access Journey Definition (P1) +> **Handed over to Spec 005 (2026-11-13)**: T122–T124 and T127–T130 cover Prompt 3A reader access, which Spec 005 owns. T125–T126 (navigation, Prompts 1 and 2B) stay in Spec 004 scope. + **Goal**: Document and prepare for export of email verification copy, form specifications, and error messaging (4 unblocked prompts: 1, 2B, 3A) **Independent Test Criteria**: @@ -330,31 +377,31 @@ With multiple people: **Implementation Tasks**: -- [ ] T022 [P] [US2] Read contracts/prompt-3a-reader-access.md and extract email copy section → confirm it matches the wording Ash approved on 2026-11-13 (recorded in that contract) exactly -- [ ] T023 [P] [US2] Read contracts/prompt-3a-reader-access.md and document all form states: email entry form, code entry form, success state -- [ ] T024 [P] [US2] Read contracts/prompt-3c-error-states.md (blocked) and extract planned error messages (5 scenarios: invalid, expired, rate-limited, server, session-conflict) -- [ ] T025 [P] [US2] Read contracts/prompt-1-navigation-exposure.md and document navigation changes (4 visible links, no /speaking /events /media) -- [ ] T026 [P] [US2] Read contracts/prompt-2b-navigation-design.md and document navigation component states and responsive behavior -- [ ] T027 [US2] Create reader-access-copy.md in `.github/specs/004-book-website-make/exports/` documenting: +- [ ] T122 [P] [US2] Read contracts/prompt-3a-reader-access.md and extract email copy section → confirm it matches the wording Ash approved on 2026-11-13 (recorded in that contract) exactly +- [ ] T123 [P] [US2] Read contracts/prompt-3a-reader-access.md and document all form states: email entry form, code entry form, success state +- [ ] T124 [P] [US2] Read contracts/prompt-3c-error-states.md (blocked) and extract planned error messages (5 scenarios: invalid, expired, rate-limited, server, session-conflict) +- [ ] T125 [P] [US2] Read contracts/prompt-1-navigation-exposure.md and document navigation changes (4 visible links, no /speaking /events /media) +- [ ] T126 [P] [US2] Read contracts/prompt-2b-navigation-design.md and document navigation component states and responsive behavior +- [ ] T127 [US2] Create reader-access-copy.md in `.github/specs/004-book-website-make/exports/` documenting: - Email subject: "Your reading code" - Email body: exact copy approved by Ash on 2026-11-13 (see contracts/prompt-3a-reader-access.md; no modifications) - Email footer: newsletter signup link info - Form labels and placeholders (email entry: "you@example.com", code entry: "XXXXXX") - Help text: "We'll email you a 10-minute code. No subscription required." -- [ ] T028 [US2] Create form-states-specification.md in `.github/specs/004-book-website-make/exports/` documenting: +- [ ] T128 [US2] Create form-states-specification.md in `.github/specs/004-book-website-make/exports/` documenting: - Email entry form: default, focused, error, loading states - Code entry form: default, focused, error, loading, success states - Success message: "Access confirmed. You can now read." - Error states: invalid code, code expired, rate limited, server error, session conflict - All states documented with visual specifications (border color, text color, icons) -- [ ] T029 [US2] Create newsletter-specification.md in `.github/specs/004-book-website-make/exports/` documenting: +- [ ] T129 [US2] Create newsletter-specification.md in `.github/specs/004-book-website-make/exports/` documenting: - Newsletter CTA section separate from reader access form - Heading: "Stay Updated" - Copy: "Join our newsletter for book updates (optional)." - Link text: "Sign up" or "Learn more" or "Subscribe" - REQUIRED: Explicitly states "This is separate from reading access. Uncheck to read without subscribing." - Newsletter link destination: [Decision 6 selection pending] -- [ ] T030 [US2] Create reader-access-acceptance-report.md in `.github/specs/004-book-website-make/exports/` with CR-3A.1 through CR-3A.8 validation results: +- [ ] T130 [US2] Create reader-access-acceptance-report.md in `.github/specs/004-book-website-make/exports/` with CR-3A.1 through CR-3A.8 validation results: - CR-3A.1: Email copy matches approved source exactly - CR-3A.2: All form states designed (default, focused, error, loading, success) - CR-3A.3: Error messages distinguish failure scenarios (invalid, expired, rate-limited, server, session-conflict) @@ -370,6 +417,8 @@ With multiple people: ## Phase 5: User Story 3 — Recovery Flows & Error Handling (P1 → BLOCKED) +> **Handed over to Spec 005 (2026-11-13)**: Prompts 3B and 3C belong to [Spec 005](../005-reader-access/spec.md). T131–T133 are closed because the decisions were made. T134–T138 stay open here as a record only. + **Goal**: Document recovery flow specification and error states (2 blocked prompts: 3B partial, 3C). **BLOCKED** pending Decisions 1, 2, 3 resolution. **Blocking Dependencies**: @@ -379,20 +428,20 @@ With multiple people: **Implementation Tasks** (deferred until decisions resolved): -- [ ] T031 [BLOCKED] [US3] Await user selection of Decision 1 (recovery-first race condition options A/B/C/D) in Approval Gate 1 -- [ ] T032 [BLOCKED] [US3] Await user selection of Decision 2 (recovery lifetime eligibility options A/B/C/D) in Approval Gate 1 -- [ ] T033 [BLOCKED] [US3] Await user selection of Decision 3 (code expiry start time options A/B/C) in Approval Gate 1 -- [ ] T034 [US3] Once Decision 1 resolved: read contracts/prompt-3b-recovery-flows.md and update with Decision 1 selection → generate recovery-flow-specification.md -- [ ] T035 [US3] Once Decision 2 resolved: read contracts/prompt-3b-recovery-flows.md and update with Decision 2 selection → append to recovery-flow-specification.md -- [ ] T036 [US3] Once Decision 3 resolved: read contracts/prompt-3c-error-states.md and update with Decision 3 selection → generate error-states-specification.md with exact expiry messaging -- [ ] T037 [US3] Create recovery-flows-acceptance-report.md in `.github/specs/004-book-website-make/exports/` with CR-3B.1 through CR-3B.6 validation results (post-decision): +- [x] T131 ~~[BLOCKED]~~ [US3] Await user selection of Decision 1 (recovery-first race condition options A/B/C/D) in Approval Gate 1 — ✅ RESOLVED 2026-11-13 (`exports/decisions-selected.md`) +- [x] T132 ~~[BLOCKED]~~ [US3] Await user selection of Decision 2 (recovery lifetime eligibility options A/B/C/D) in Approval Gate 1 — ✅ RESOLVED 2026-11-13 (`exports/decisions-selected.md`) +- [x] T133 ~~[BLOCKED]~~ [US3] Await user selection of Decision 3 (code expiry start time options A/B/C) in Approval Gate 1 — ✅ RESOLVED 2026-11-13 (`exports/decisions-selected.md`) +- [ ] T134 [US3] Once Decision 1 resolved: read contracts/prompt-3b-recovery-flows.md and update with Decision 1 selection → generate recovery-flow-specification.md +- [ ] T135 [US3] Once Decision 2 resolved: read contracts/prompt-3b-recovery-flows.md and update with Decision 2 selection → append to recovery-flow-specification.md +- [ ] T136 [US3] Once Decision 3 resolved: read contracts/prompt-3c-error-states.md and update with Decision 3 selection → generate error-states-specification.md with exact expiry messaging +- [ ] T137 [US3] Create recovery-flows-acceptance-report.md in `.github/specs/004-book-website-make/exports/` with CR-3B.1 through CR-3B.6 validation results (post-decision): - CR-3B.1: Recovery flow follows Decision 1 race-condition strategy (selected option) - CR-3B.2: Session lifetime enforcement matches Decision 2 selection - CR-3B.3: All recovery failure states designed (expired, invalid, race-condition) - CR-3B.4: Error messages clearly explain recovery failure reason - CR-3B.5: Recovery success path matches reader access policy (10-min codes, 30-day device lifecycle) - CR-3B.6: Fallback to fresh email verification documented when recovery unavailable -- [ ] T038 [US3] Create error-states-acceptance-report.md in `.github/specs/004-book-website-make/exports/` with CR-3C.1 through CR-3C.8 validation results (post-decision): +- [ ] T138 [US3] Create error-states-acceptance-report.md in `.github/specs/004-book-website-make/exports/` with CR-3C.1 through CR-3C.8 validation results (post-decision): - CR-3C.1: All 5 error states designed (invalid, expired, rate-limited, server, session-conflict) - CR-3C.2: Code expiry message reflects Decision 3 selection (timing explanation) - CR-3C.3: Error messages distinguish failure reasons (user-error vs. timing vs. rate-limit vs. server) @@ -418,9 +467,9 @@ With multiple people: **Implementation Tasks**: -- [ ] T039 [P] [US4] Prepare Approval Gate 2 summary in quickstart.md: "Design baseline approved for export" with checklist of approved elements (Space Grotesk, Inter, 9-color palette, navigation, access policy) -- [ ] T040 [P] [US4] Prepare Approval Gate 3 summary in quickstart.md: "Preflight analysis complete and ready for implementation team" with links to all validation reports -- [ ] T041 [US4] Document all Approval Gate 1 decisions (7 selected options) in `.github/specs/004-book-website-make/exports/decisions-selected.md` with: +- [ ] T139 [P] [US4] Prepare Approval Gate 2 summary in quickstart.md: "Design baseline approved for export" with checklist of approved elements (Space Grotesk, Inter, 9-color palette, navigation, access policy) +- [ ] T140 [P] [US4] Prepare Approval Gate 3 summary in quickstart.md: "Preflight analysis complete and ready for implementation team" with links to all validation reports +- [x] T141 [US4] Document all Approval Gate 1 decisions (7 selected options) in `.github/specs/004-book-website-make/exports/decisions-selected.md` with: — ✅ file exists in `exports/` (verified 2026-11-20) - Decision 1 selection and rationale - Decision 2 selection and rationale - Decision 3 selection and rationale @@ -428,7 +477,7 @@ With multiple people: - Decision 5 selection and rationale (manuscript status) - Decision 6 selection and rationale (newsletter destination) - Decision 7 selection and rationale (route enforcement) -- [ ] T042 [US4] Create implementation-readiness-checklist.md in `.github/specs/004-book-website-make/exports/` documenting: +- [x] T142 [US4] Create implementation-readiness-checklist.md in `.github/specs/004-book-website-make/exports/` documenting: — ✅ file exists in `exports/` (verified 2026-11-20) - ✓ Prompt 1 (Navigation Exposure): Ready for execution - ✓ Prompt 2A (Design Baseline): Ready for execution - ✓ Prompt 2B (Navigation Design): Ready for execution @@ -439,7 +488,7 @@ With multiple people: - Blocking decision resolution status: All 7 decisions resolved - Implementation team readiness: Yes - Handoff checklist: All artifacts staged -- [ ] T043 [US4] Create preflight-analysis-final.md in `.github/specs/004-book-website-make/exports/` summarizing: +- [x] T143 [US4] Create preflight-analysis-final.md in `.github/specs/004-book-website-make/exports/` summarizing: — ✅ file exists in `exports/` (verified 2026-11-20) - All 6 source files analyzed (01-06 from content/book/) - Version reconciliation completed (02 v1.0.3→v1.0.4, 03 v1.2.2→v1.3.0, 05 v1.7.0→v1.9.0) - All gaps and conflicts documented @@ -447,7 +496,7 @@ With multiple people: - Approval gate sign-offs: Gate 1 (decisions), Gate 2 (design), Gate 3 (readiness) - Implementation team readiness assessment: Ready to proceed - No code changes, commits, or deployments performed -- [ ] T044 [US4] Create workflow-completion-report.md in `.github/specs/004-book-website-make/exports/` documenting: +- [x] T144 [US4] Create workflow-completion-report.md in `.github/specs/004-book-website-make/exports/` documenting: — ✅ file exists in `exports/` (verified 2026-11-20) - Status: Documentation-only workflow COMPLETE - All 4 specification user stories (US1–US4) completed - All artifacts generated: spec.md, plan.md, research.md, data-model.md, quickstart.md, contracts/ @@ -455,9 +504,9 @@ With multiple people: - Approval gates completed: Gate 1 (decisions), Gate 2 (design), Gate 3 (readiness) - Ready for implementation phase authorization - Next step: Implementation team begins Figma Make prompt execution per quickstart.md -- [ ] T045 [US4] Verify branch `docs/book-website-make-spec` has zero code changes (documentation only) -- [ ] T046 [US4] Verify no commits created (documentation staged, not committed, pending approval) -- [ ] T047 [US4] Verify `.specify/feature.json` persists feature directory (ready for implementation phase) +- [x] ~~T145 [US4] Verify branch `docs/book-website-make-spec` has zero code changes (documentation only)~~ — **SUPERSEDED** (Phase 9 reconciliation): spec work merged to `main` through PRs #622, #630 and #639, so the "no commits" and `docs/book-website-make-spec` branch checks no longer apply. Documentation-only scope is now enforced by spec.md Status gates and PR review +- [x] ~~T146 [US4] Verify no commits created (documentation staged, not committed, pending approval)~~ — **SUPERSEDED** (Phase 9 reconciliation): spec work merged to `main` through PRs #622, #630 and #639, so the "no commits" and `docs/book-website-make-spec` branch checks no longer apply. Documentation-only scope is now enforced by spec.md Status gates and PR review +- [x] ~~T147 [US4] Verify `.specify/feature.json` persists feature directory (ready for implementation phase)~~ — **SUPERSEDED** (Phase 9 reconciliation): spec work merged to `main` through PRs #622, #630 and #639, so the "no commits" and `docs/book-website-make-spec` branch checks no longer apply. Documentation-only scope is now enforced by spec.md Status gates and PR review **Checkpoint**: Documentation-only workflow complete. All artifacts staged for approval. No code changes. @@ -467,14 +516,14 @@ With multiple people: **Purpose**: Final validation and handoff preparation -- [ ] T048 Validate all task descriptions reference correct file paths in `.github/specs/004-book-website-make/` or `exports/` -- [ ] T049 Verify all acceptance criteria (CR-2A, CR-3A, CR-3B, CR-3C) are documented in corresponding validation reports -- [ ] T050 Confirm all approval gates are documented: Gate 1 (decisions), Gate 2 (design baseline), Gate 3 (readiness) -- [ ] T051 Create TASKS_COMPLETION_REPORT.md documenting: +- [ ] T148 Validate all task descriptions reference correct file paths in `.github/specs/004-book-website-make/` or `exports/` +- [ ] T149 Verify all acceptance criteria (CR-2A, CR-3A, CR-3B, CR-3C) are documented in corresponding validation reports +- [ ] T150 Confirm all approval gates are documented: Gate 1 (decisions), Gate 2 (design baseline), Gate 3 (readiness) +- [ ] T151 Create TASKS_COMPLETION_REPORT.md documenting: - Total tasks: 51 - By user story: US1 (7 tasks), US2 (9 tasks), US3 (8 blocked/deferred), US4 (9 tasks), Setup/Polish (9 tasks) - - Blocking tasks: T031–T033 (await decision resolution), T034–T036 (blocked until decisions selected) - - Parallel opportunities: T005–T011, T015–T018, T022–T026, T039–T040 + - Blocking tasks: T131–T133 (await decision resolution), T134–T136 (blocked until decisions selected) + - Parallel opportunities: T105–T111, T115–T118, T122–T126, T139–T140 - Approval gates status: Gate 1 (pending), Gate 2 (pending), Gate 3 (pending) - Implementation readiness: Ready upon Gate approvals - No code changes: 0 commits, 0 pushes, 0 deployments performed @@ -498,51 +547,51 @@ Phase 1 (Setup) ──┐ ### Critical Path (Blocking Dependencies) -1. **T001–T014** (Phase 1–2): Setup and extract blocking decisions -2. **T031–T033** (Phase 5): **BLOCKED** awaiting Approval Gate 1 (user selections) +1. **T101–T114** (Phase 1–2): Setup and extract blocking decisions +2. **T131–T133** (Phase 5): **BLOCKED** awaiting Approval Gate 1 (user selections) 3. Once Gate 1 approved: - - **T015–T021** (Phase 3): Execute in parallel - - **T022–T030** (Phase 4): Execute in parallel - - **T034–T038** (Phase 5): Execute in parallel -4. **T039–T047** (Phase 6): Complete Approval Gates 2–3, prepare handoff -5. **T048–T051** (Phase 7): Final validation + - **T115–T121** (Phase 3): Execute in parallel + - **T122–T130** (Phase 4): Execute in parallel + - **T134–T138** (Phase 5): Execute in parallel +4. **T139–T147** (Phase 6): Complete Approval Gates 2–3, prepare handoff +5. **T148–T151** (Phase 7): Final validation ### Parallel Execution Opportunities **Phase 1–2 (Sequential, blocking)**: -- T005–T011: Extract all 7 blocking decisions (can parallelize reading from research.md) +- T105–T111: Extract all 7 blocking decisions (can parallelize reading from research.md) **Phase 3 (Fully Parallel, no dependencies)**: -- T015–T018: Read and validate design specifications (4 contract files in parallel) -- T019–T021: Generate design reports (depend on T015–T018) +- T115–T118: Read and validate design specifications (4 contract files in parallel) +- T119–T121: Generate design reports (depend on T115–T118) **Phase 4 (Fully Parallel, no dependencies)**: -- T022–T026: Read and validate reader access specifications (5 tasks in parallel) -- T027–T030: Generate reader access reports (depend on T022–T026) +- T122–T126: Read and validate reader access specifications (5 tasks in parallel) +- T127–T130: Generate reader access reports (depend on T122–T126) **Phase 5 (Blocked until decisions)**: -- T031–T033: Blocked on Approval Gate 1 -- T034–T038: Depend on decision selections (can parallelize Prompts 3B/3C work) +- T131–T133: Blocked on Approval Gate 1 +- T134–T138: Depend on decision selections (can parallelize Prompts 3B/3C work) **Phase 6 (Sequential, depends on Phases 3–5)**: -- T039–T040: Prepare gates (can parallelize) -- T041–T047: Generate readiness docs (sequential) +- T139–T140: Prepare gates (can parallelize) +- T141–T147: Generate readiness docs (sequential) ### Recommended Team Approach **Fully Sequential (single contributor)**: -1. T001–T014 (setup, extract decisions) +1. T101–T114 (setup, extract decisions) 2. Wait for Approval Gate 1 -3. T015–T030 (phases 3–4) -4. T034–T038 (phase 5, once decisions available) -5. T039–T051 (phases 6–7) +3. T115–T130 (phases 3–4) +4. T134–T138 (phase 5, once decisions available) +5. T139–T151 (phases 6–7) **Parallel (multiple contributors)**: -1. Contributor A: T001–T014, then T015–T021 (design baseline) -2. Contributor B: T022–T030 (reader access) [can start after T001–T014] +1. Contributor A: T101–T114, then T115–T121 (design baseline) +2. Contributor B: T122–T130 (reader access) [can start after T101–T114] 3. Once Approval Gate 1 approved: -4. Contributor C: T034–T038 (recovery flows / error states) -5. All: T039–T051 (final gates and handoff) +4. Contributor C: T134–T138 (recovery flows / error states) +5. All: T139–T151 (final gates and handoff) --- @@ -550,9 +599,9 @@ Phase 1 (Setup) ──┐ ✅ **Checklist Format**: All tasks follow `- [ ] [TaskID] [P?] [Story?] Description with file path` -✅ **Task IDs**: T001–T051, sequential in execution order +✅ **Task IDs**: T101–T151, sequential in execution order -✅ **Parallelizable Markers**: [P] on tasks with independent concerns (T005–T011, T015–T018, T022–T026, T039–T040) +✅ **Parallelizable Markers**: [P] on tasks with independent concerns (T105–T111, T115–T118, T122–T126, T139–T140) ✅ **Story Labels**: [US1]–[US4] on all Phase 3–6 user story tasks; no labels on setup/polish phases @@ -566,13 +615,13 @@ Phase 1 (Setup) ──┐ | Phase | Tasks | Story | Count | Status | | ------- | ------- | ------- | ------- | -------- | -| 1 (Setup) | T001–T004 | — | 4 | Ready | -| 2 (Foundational) | T005–T014 | — | 10 | Ready (blocks phase 3–5) | -| 3 (Design Baseline) | T015–T021 | US1 | 7 | Ready after T014 | -| 4 (Reader Access) | T022–T030 | US2 | 9 | Ready after T014 | -| 5 (Recovery/Errors) | T031–T038 | US3 | 8 | Blocked: T031–T033 await Gate 1 | -| 6 (Readiness) | T039–T047 | US4 | 9 | Ready after phases 3–5 | -| 7 (Polish) | T048–T051 | — | 4 | Ready after phase 6 | +| 1 (Setup) | T101–T104 | — | 4 | Ready | +| 2 (Foundational) | T105–T114 | — | 10 | Ready (blocks phase 3–5) | +| 3 (Design Baseline) | T115–T121 | US1 | 7 | Ready after T114 | +| 4 (Reader Access) | T122–T130 | US2 | 9 | Ready after T114 | +| 5 (Recovery/Errors) | T131–T138 | US3 | 8 | Blocked: T131–T133 await Gate 1 | +| 6 (Readiness) | T139–T147 | US4 | 9 | Ready after phases 3–5 | +| 7 (Polish) | T148–T151 | — | 4 | Ready after phase 6 | | **TOTAL** | | | **51 tasks** | | **By User Story**: @@ -581,9 +630,9 @@ Phase 1 (Setup) ──┐ - **US3 (Recovery/Errors)**: 8 tasks (P1→deferred) — Blocked until Decisions 1–3 - **US4 (Readiness)**: 9 tasks (P1) — Ready after US1–US3 -**Parallelizable**: 11 tasks [P] across phases (T005–T011: decisions; T015–T018: design; T022–T026: reader access; T039–T040: gates) +**Parallelizable**: 11 tasks [P] across phases (T105–T111: decisions; T115–T118: design; T122–T126: reader access; T139–T140: gates) -**Blocked**: 3 tasks (T031–T033) awaiting Approval Gate 1 user selection +**Blocked**: 3 tasks (T131–T133) awaiting Approval Gate 1 user selection --- @@ -604,12 +653,12 @@ Phase 1 (Setup) ──┐ ## Next Steps 1. **Review this tasks.md** — Approve structure or request changes -2. **Complete Approval Gate 1** — Select options for 7 blocking decisions (T031–T033) -3. **Execute Phase 3** (T015–T021) — Generate design baseline documentation -4. **Execute Phase 4** (T022–T030) — Generate reader access documentation -5. **Execute Phase 5** (T034–T038) — Generate recovery/error documentation (post-decisions) -6. **Execute Phase 6** (T039–T047) — Complete approval gates and handoff -7. **Execute Phase 7** (T048–T051) — Final validation and report +2. **Complete Approval Gate 1** — Select options for 7 blocking decisions (T131–T133) +3. **Execute Phase 3** (T115–T121) — Generate design baseline documentation +4. **Execute Phase 4** (T122–T130) — Generate reader access documentation +5. **Execute Phase 5** (T134–T138) — Generate recovery/error documentation (post-decisions) +6. **Execute Phase 6** (T139–T147) — Complete approval gates and handoff +7. **Execute Phase 7** (T148–T151) — Final validation and report --- @@ -625,26 +674,26 @@ Validation and verification tasks to close gaps identified between specification | Task ID | [P] | Description | File Path | Dependencies | | --------- | ----- | ------------- | ----------- | -------------- | -| ✅ T052 | | Create version reconciliation artifact documenting all source file versions and differences per FR-002 precedence rule | `.github/specs/004-book-website-make/version-reconciliation.md` | T007, T010 | -| ✅ T053 | | Generate and document exact Prompt 1 preview (before/after navigation structure, numbered implementation steps, acceptance criteria, non-changes list) per SC-002 | `.github/specs/004-book-website-make/contracts/prompt-1-exact-preview.md` | T020 | -| ⏳ T054 | | Validate all Prompt previews against completeness checklist (Prompts 1, 2A, 2B, 3A include all required elements; 95%+ completeness) per SC-002/SC-003. **Gate unmet**: Prompt 2A (~89%) and Prompt 3A (~91%) must each reach at least 95% before T054 is marked complete, unless an approved change revises the threshold | `.github/specs/004-book-website-make/checklists/prompt-preview-validation.md` | T053, T021, T022, T023 | +| ✅ T052 | | Create version reconciliation artifact documenting all source file versions and differences per FR-002 precedence rule | `.github/specs/004-book-website-make/version-reconciliation.md` | T107, T110 (legacy Phase 2 decision-extraction tasks; see Task ID scheme) | +| ✅ T053 | | Generate and document exact Prompt 1 preview (before/after navigation structure, numbered implementation steps, acceptance criteria, non-changes list) per SC-002 | `.github/specs/004-book-website-make/contracts/prompt-1-exact-preview.md` | T120 | +| ✅ T054 | | Validate all Prompt previews against completeness checklist per SC-002/SC-003. **Revised scope (SC-003, approved 2026-11-19)**: each of Prompts 1, 2A and 2B must reach ≥95%. Prompt 3A (~91%) is handed to Spec 005. **Met 2026-11-20**: P1 100%, P2A 95%, P2B 100% | `.github/specs/004-book-website-make/checklists/prompt-preview-validation.md` | T053, T121, T122, T123 (T122–T123 are Prompt 3A and now belong to Spec 005) | | ✅ T055 | | Audit and mark all approval boundaries in spec, plan, tasks, and contracts using standard notation (approved ✓, unapproved ~, unresolved ❌) per SC-007 | `.github/specs/004-book-website-make/approval-boundaries.md` | All phases 1-7 | -| ✅ T056 | | Create source file inventory with versions, update timestamps, and reconciliation status for all 6 source files (content/book/01-06) per FR-001 | `.github/specs/004-book-website-make/source-file-inventory.md` | T007 | -| ✅ T057 | | Validate all 7 blocking decisions have 3+ options documented with impact assessment in decision matrix per SC-004 | `.github/specs/004-book-website-make/checklists/blocking-decisions-validation.md` | T010 | +| ✅ T056 | | Create source file inventory with versions, update timestamps, and reconciliation status for all 6 source files (`references/01`–`06`, formerly `content/book/`) per FR-001 | `.github/specs/004-book-website-make/source-file-inventory.md` | T107 | +| ✅ T057 | | Validate all 7 blocking decisions have 3+ options documented with impact assessment in decision matrix per SC-004 | `.github/specs/004-book-website-make/checklists/blocking-decisions-validation.md` | T110 | | ✅ T058 | | Audit prompt contracts (3B, 3C) to ensure user-editable decisions are clearly marked and all options visible to reader per FR-008 | `.github/specs/004-book-website-make/contracts/blocking-decisions-audit.md` | contracts/prompt-3b-recovery-flows.md, contracts/prompt-3c-error-states.md | -| ⏳ T059 | | (Blocked: T054 completeness gate unmet.) Add pre-approval reconciliation validation step: confirm zero version merge conflicts, all decisions documented, all previews validated, all boundaries marked | `.github/specs/004-book-website-make/checklists/pre-approval-reconciliation-validation.md` | T052–T058 | +| ✅ T059 | | (Unblocked 2026-11-20 when T054 was met under the revised SC-003 scope. Re-validated after the Phase 9 reconciliation fixed paths, colours and Decision 2 wording.) Add pre-approval reconciliation validation step: confirm zero version merge conflicts, all decisions documented, all previews validated, all boundaries marked | `.github/specs/004-book-website-make/checklists/pre-approval-reconciliation-validation.md` | T052–T058 | **Gate**: All 8 validation tasks must pass and deliverables must be reviewed before proceeding to implementation phase authorization. **Acceptance Criteria**: - ✅ Version reconciliation artifact created with all 6 source files analyzed - ✅ Prompt 1 exact preview generated and validated against SC-002 -- ❌ All 4 unblocked prompt previews validated for completeness (95%+ minimum) — **not met**: Prompts 2A (~89%) and 3A (~91%) are below the per-prompt threshold +- ✅ All Spec 004 prompt previews (1, 2A, 2B) validated at ≥95% each, under the revised SC-003 scope approved 2026-11-19. Prompt 3A (~91%) is handed to Spec 005 - ✅ All approval boundaries marked and auditable across all artifacts - ✅ Source file inventory created with versions and timestamps - ✅ All 7 blocking decisions validated for 3+ documented options - ✅ Prompt contracts audited for user-decision clarity -- ✅ Pre-approval checklist completed with zero unresolved validation gaps +- ✅ Pre-approval checklist completed with zero unresolved validation gaps. This was ticked too early, while T054 and T059 were still open. It is valid again from 2026-11-20, after T054 was met and T075–T081 closed the remaining path, colour and wording gaps --- @@ -652,16 +701,51 @@ Validation and verification tasks to close gaps identified between specification Finalize Phase 8 scope updates, document SC-003 approval, and prepare Spec 004 for merge to main with Spec 005 handover package. -- [ ] T066 Update Phase 8 T054 acceptance criteria to reflect approved SC-003 scope: Prompts 1, 2A, 2B ≥95% (3A handed to Spec 005) per approval 2026-11-19 -- [ ] T067 Document SC-003 scope change in spec.md Assumptions section with link to approval decision (SC-003_SCOPE_CHANGE_PROPOSAL.md) -- [ ] T068 Create Spec 005 handover artifact documenting: Prompt 3A contract, Decisions 1–6 status, Phase B readiness (3 prompts, 3 decisions) -- [ ] T069 Validate all 20+ specification artifacts present and version-locked for Spec 004 Phase 9 sign-off -- [ ] T070 Mark Phase 8 T054 and T059 complete: scope-updated acceptance criteria now met -- [ ] T071 Generate final PR description and commit message for merge to main -- [ ] T072 Verify build passes and branch validation succeeds before merge -- [ ] T073 Merge PR #622 to main branch, close Phase 9 Convergence -- [ ] T074 Initialize Spec 005 Phase 1 (Decision Resolution) with 2026-12-15 target completion +- [x] T066 Update Phase 8 T054 acceptance criteria to reflect approved SC-003 scope: Prompts 1, 2A, 2B ≥95% (3A handed to Spec 005) per approval 2026-11-19 — ✅ done in the Phase 9 reconciliation +- [x] T067 Document SC-003 scope change in spec.md Assumptions section with link to approval decision (SC-003_SCOPE_CHANGE_PROPOSAL.md) — ✅ done in the Phase 9 reconciliation (spec.md SC-003 and Assumptions) +- [x] T068 Create Spec 005 handover artifact documenting: Prompt 3A contract, Decisions 1–6 status, Phase B readiness (3 prompts, 3 decisions) — ✅ `exports/SPEC_004_TO_005_HANDOVER.md` +- [ ] T069 Validate all 20+ specification artifacts present and version-locked for Spec 004 Phase 9 sign-off — ⏳ lock method and table recorded in spec.md (2026-11-20). Tick once PR #649 merges and the lock commit is filled in +- [x] T070 Mark Phase 8 T054 and T059 complete: scope-updated acceptance criteria now met — ✅ done in the Phase 9 reconciliation +- [x] ~~T071 Generate final PR description and commit message for merge to main~~ — **SUPERSEDED**: PR #622 merged (`19da240`) +- [x] ~~T072 Verify build passes and branch validation succeeds before merge~~ — **SUPERSEDED**: PR #622 merged. The reconciliation PR runs the same checks +- [x] T073 Merge PR #622 to main branch, close Phase 9 Convergence — ✅ merged (`19da240`) +- [x] ~~T074 Initialize Spec 005 Phase 1 (Decision Resolution) with 2026-12-15 target completion~~ — **MOVED_TO_SPEC_005**: `../005-reader-access/tasks.md` Phase 0 (RA-T001–RA-T009) owns decision resolution + +--- + +## Phase 9 Reconciliation (2026-11-20) + +The three continuation documents in `continuations/` described a T060–T074 set that never matched this file. Most of that work merged through PRs #630 and #639, but some exports said work was finished when it was not. This pass checks the repository state and closes what is still open. + +- [x] T075 Remove duplicate task IDs (T014–T038): renumber the legacy breakdown to T1xx, add the Task ID scheme section, and repoint Phase 8 dependencies, `approval-boundaries.md` and `codebase-consistency-crosswalk.md` +- [x] T076 Replace remaining `content/book/` source paths with `references/` (data-model.md, source-file-inventory.md, version-reconciliation.md, checklists). Historical "moved from" notes are kept +- [x] T077 Mark non-baseline colours (#1a1a1a, #d4a574, #ff6b6b, #8b0000 and related) as superseded in the Prompt 3A/3C execution guides (owned by Spec 005; an error/state colour needs a design decision there). Replace the example in data-model.md with a baseline value +- [x] T078 Use the research.md label for Decision 2 Option A ("session refresh with absolute 30-day expiry") in the prompt-3b execution guide, prompt-3b recovery flows contract, research.md and blocking-decisions-validation checklist +- [x] T079 Correct `exports/COLOR_AUDIT.md`, `exports/PATH_MIGRATION_LOG.md` and `exports/TASK_CONSOLIDATION_LOG.md`, which said work was complete when it was not +- [x] T080 Close or supersede legacy T145–T147 (formerly T045–T047). They checked a branch and a "no commits" rule that merged work has replaced +- [x] T081 Fix the stale T054 row (P2A 89%, passing on average) in `checklists/pre-approval-reconciliation-validation.md` +- [x] T082 Update `plan.md` note on `staged/` to say Figma Make is deprecated (SC-004) +- [x] T083 Add a superseded notice to the files in `continuations/` and point to this section +- [ ] T084 Ash: confirm spec.md Status sign-off and version-lock (unblocks T069) — ⏳ Status lines corrected and deferrals recorded (owner: Ash). Tick when Ash approves the sign-off on PR #649 + +### Continuation document IDs mapped to this file + +| Continuation ID | Topic | Status / where | +| --------------- | ----- | -------------- | +| T060–T062 | Decision 7 wording, readiness claims, handover | ✅ PR #630 | +| T063 | Prompt 2A ≥95% | ✅ `checklists/prompt-preview-validation.md` (P2A 95%) → T054 | +| T064 | Design exports | ✅ T119–T121 | +| T065 | Readiness exports | ✅ T141–T144 | +| T066 | Close Prompt 3A–3C tasks | ✅ T012–T016, T025–T027, T122–T138 marked moved to Spec 005 | +| T067 | Task disambiguation | ✅ T075 | +| T068 | Phase 8 "zero gaps" | ✅ T070, T081 | +| T069 | spec.md / plan.md state | ✅ PR #639 (SC-004), T067, T082 | +| T070 | Paths | ✅ T076 | +| T071 | Colours | ✅ T077 | +| T072 | Decision 2 label | ✅ T078 | +| T073 | T045–T047 | ✅ T080 | +| T074 | `staged/` | ✅ plan.md (PR #639) and T082 | --- -**Version**: 1.0.2 | **Status**: Phase 9 Convergence Appended | **Updated**: 2026-11-19 +**Version**: 1.1.0 | **Status**: Phase 9 Reconciled | **Updated**: 2026-11-20 diff --git a/.github/specs/004-book-website-make/version-reconciliation.md b/.github/specs/004-book-website-make/version-reconciliation.md index 0c2857e0..a4ca9a1c 100644 --- a/.github/specs/004-book-website-make/version-reconciliation.md +++ b/.github/specs/004-book-website-make/version-reconciliation.md @@ -8,7 +8,7 @@ ## Source Files Inventory -Six specification files from `content/book/` analysed for version consistency and conflict resolution. +Six specification files from `references/` (moved from `content/book/` in Phase 9) analysed for version consistency and conflict resolution. | File | Current Version | Last Revised | Status | FR-002 revision | | ------ | ----------------- | -------------- | -------- | ----------- | diff --git a/CHANGELOG.md b/CHANGELOG.md index 98c13cc9..ecabbd8d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -52,6 +52,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed +- **Specification 004 Phase 9 reconciliation** — Every task ID in `tasks.md` is now unique: the two task lists shared T014–T038, so the original v1.0.0 list is renumbered T1xx and its Phase 8 dependencies repointed. T054/T059 are closed under the revised SC-003 scope, and the remaining `content/book/` paths, off-palette colours and Decision 2 wording are fixed. The colour, path and task-consolidation logs now carry corrections where they had said work was complete, and the stale Phase 9 continuation prompts are marked superseded - **Reader access: re-verifying on a registered device no longer hits the device limit** — `createSession` counted the reader's existing session on the same device towards `MAX_CONCURRENT_DEVICES`. A reader already signed in on two devices therefore got `409 device_limit_exceeded` when re-verifying on one of them, even though that session is replaced in place under the same storage key. The same-device session is now left out of the count. A regression test is in `tests/session/device-limit-tests.test.ts`. (The wider session test-suite repair landed separately in PR #653.) - **Corrupted package-lock.json** — The merge in `161ed46` truncated `package-lock.json` into invalid JSON, so `npm ci` failed with `EUSAGE` in every workflow. Regenerated the lockfile from the last valid copy (`7db390c`) with `npm install --package-lock-only --ignore-scripts`; `package.json` is unchanged. - **CI: Removed unused Playwright browser install from Vitest job** — The `Install Playwright browsers` step in `tests.yml` stalled on the runner's apt mirror (~20 s per package, 49 packages), causing both matrix jobs to time out at 20 minutes and the "No new test failures" comparison to fail closed. The Vitest suite runs in a plain Node environment and needs no browser binaries. Removing the step unblocks the Tests workflow without affecting test coverage.