---
phase: 03-setups-and-dashboard
plan: 03
type: execute
wave: 3
depends_on: ["03-01", "03-02"]
files_modified: []
autonomous: false
requirements:
  - SETP-01
  - SETP-02
  - SETP-03
  - DASH-01

must_haves:
  truths:
    - "All four phase requirements verified working end-to-end in browser"
    - "Navigation restructure works correctly (/, /collection, /setups, /setups/:id)"
    - "Setup item sync and removal work correctly"
    - "Dashboard cards show accurate summary data"
  artifacts: []
  key_links: []
---

<objective>
Verify the complete Phase 3 implementation in the browser: dashboard, navigation, setup CRUD, item picker, and totals.

Purpose: Human confirmation that all features work correctly before marking phase complete.
Output: Verified working application.
</objective>

<execution_context>
@/home/jean-luc-makiola/.claude/get-shit-done/workflows/execute-plan.md
@/home/jean-luc-makiola/.claude/get-shit-done/templates/summary.md
</execution_context>

<context>
@.planning/ROADMAP.md
@.planning/phases/03-setups-and-dashboard/03-CONTEXT.md
@.planning/phases/03-setups-and-dashboard/03-01-SUMMARY.md
@.planning/phases/03-setups-and-dashboard/03-02-SUMMARY.md
</context>

<tasks>

<task type="checkpoint:human-verify" gate="blocking">
  <name>Task 1: Visual verification of Phase 3 features</name>
  <action>Human verifies all Phase 3 features in the browser</action>
  <what-built>Complete Phase 3: Dashboard home page, navigation restructure, setup CRUD with item management, and live totals</what-built>
  <how-to-verify>
    Start the dev server: `bun run dev`

    **1. Dashboard (DASH-01):**
    - Visit http://localhost:5173/
    - Verify three cards: Collection (item count, weight, cost), Planning (active thread count), Setups (setup count)
    - Verify "GearBox" title in top bar, no stats shown on dashboard
    - Click Collection card -> navigates to /collection
    - Click Planning card -> navigates to /collection?tab=planning
    - Click Setups card -> navigates to /setups

    **2. Navigation restructure:**
    - At /collection: verify gear/planning tabs work as before
    - Verify "GearBox" title in TotalsBar links back to / (dashboard)
    - Verify floating + button only appears on /collection gear tab (not on dashboard, setups, or planning tab)
    - Go to a thread detail page -> verify "GearBox" links back to dashboard

    **3. Setup creation (SETP-01):**
    - Navigate to /setups
    - Create a setup named "Summer Bikepacking" using inline form
    - Verify it appears in the list as a card

    **4. Item management (SETP-02):**
    - Click the new setup card to open detail page
    - Click "Add Items" button
    - Verify checklist picker opens in slide-out panel with items grouped by category
    - Check several items, click "Done"
    - Verify items appear on setup detail page grouped by category
    - Click x on an item card to remove it from setup (no confirmation)
    - Verify item disappears from setup but still exists in collection

    **5. Setup totals (SETP-03):**
    - On setup detail page, verify sticky bar shows setup name, item count, total weight, total cost
    - Remove an item -> totals update
    - Add items back -> totals update
    - Go back to setups list -> verify card shows correct totals

    **6. Cross-feature consistency:**
    - Edit a collection item's weight from /collection -> check setup totals update
    - Delete a collection item -> verify it disappears from the setup too
    - Create a thread, resolve it -> verify dashboard Planning card count updates
  </how-to-verify>
  <verify>Human confirms all checks pass</verify>
  <done>All four requirements (SETP-01, SETP-02, SETP-03, DASH-01) confirmed working in browser</done>
  <resume-signal>Type "approved" or describe any issues found</resume-signal>
</task>

</tasks>

<verification>
Human visual verification of all Phase 3 requirements.
</verification>

<success_criteria>
- All four requirements (SETP-01, SETP-02, SETP-03, DASH-01) confirmed working
- Navigation restructure works without broken links
- Visual consistency with existing collection and thread UI
</success_criteria>

<output>
After completion, create `.planning/phases/03-setups-and-dashboard/03-03-SUMMARY.md`
</output>
