Files
HouseHoldKeaper/.planning/phases/03-daily-plan-and-cleanliness/03-03-PLAN.md

112 lines
3.9 KiB
Markdown

---
phase: 03-daily-plan-and-cleanliness
plan: 03
type: execute
wave: 3
depends_on:
- 03-02
files_modified: []
autonomous: false
requirements:
- PLAN-01
- PLAN-02
- PLAN-03
- PLAN-04
- PLAN-05
- PLAN-06
- CLEAN-01
must_haves:
truths:
- "dart analyze reports zero issues"
- "Full test suite passes (flutter test)"
- "All Phase 3 requirements verified functional"
artifacts: []
key_links: []
---
<objective>
Verification gate for Phase 3: confirm all daily plan requirements are working end-to-end. Run automated checks and perform visual/functional verification.
Purpose: Ensure Phase 3 is complete and the daily plan is the app's primary, functional home screen.
Output: Verification confirmation or list of issues to fix.
</objective>
<execution_context>
@/home/jlmak/.claude/get-shit-done/workflows/execute-plan.md
@/home/jlmak/.claude/get-shit-done/templates/summary.md
</execution_context>
<context>
@.planning/PROJECT.md
@.planning/ROADMAP.md
@.planning/STATE.md
@.planning/phases/03-daily-plan-and-cleanliness/3-CONTEXT.md
@.planning/phases/03-daily-plan-and-cleanliness/03-01-SUMMARY.md
@.planning/phases/03-daily-plan-and-cleanliness/03-02-SUMMARY.md
</context>
<tasks>
<task type="auto">
<name>Task 1: Run automated verification suite</name>
<files></files>
<action>
Run in sequence:
1. `dart analyze` -- must report zero issues
2. `flutter test` -- full suite must pass (all existing + new Phase 3 tests)
3. Report results: total tests, pass count, any failures
If any issues found, fix them before proceeding to checkpoint.
</action>
<verify>
<automated>cd /home/jlmak/Projects/jlmak/HouseHoldKeaper && dart analyze && flutter test</automated>
</verify>
<done>
- dart analyze: zero issues
- flutter test: all tests pass
</done>
</task>
<task type="checkpoint:human-verify" gate="blocking">
<name>Task 2: Visual and functional verification of daily plan</name>
<files></files>
<action>
Present the verification checklist to the user. All automated work is already complete from Plans 01 and 02.
</action>
<what-built>
Complete daily plan feature (Phase 3): The Home tab now shows the daily plan with progress tracking, overdue/today/tomorrow task sections, checkbox completion, and room navigation. Cleanliness indicators are already on room cards from Phase 2.
</what-built>
<how-to-verify>
1. Launch app: `flutter run`
2. PLAN-01: Home tab shows tasks due today. Each task row displays the room name as a small tag
3. PLAN-02: If any tasks are overdue, they appear in a separate "Uberfaellig" section at the top with warm coral highlighting
4. PLAN-03: Scroll down to see "Demnachst (N)" section -- it should be collapsed. Tap to expand and see tomorrow's tasks (read-only, no checkboxes)
5. PLAN-04: Tap a checkbox on an overdue or today task -- the task should complete and disappear from the list
6. PLAN-05: The progress card at the top shows "X von Y erledigt" -- verify the counter updates when you complete a task
7. PLAN-06: Complete all overdue and today tasks -- the screen should show "Alles erledigt!" celebration empty state
8. CLEAN-01: Switch to Rooms tab -- each room card still shows the cleanliness indicator bar
9. Room name tag: Tap a room name tag on a task row -- should navigate to that room's task list
</how-to-verify>
<verify>User confirms all 9 verification steps pass</verify>
<done>All Phase 3 requirements verified functional by user</done>
<resume-signal>Type "approved" or describe issues to fix</resume-signal>
</task>
</tasks>
<verification>
- Automated: dart analyze clean + flutter test all pass
- Manual: All 7 Phase 3 requirements verified by user
</verification>
<success_criteria>
- All automated checks pass
- User confirms all Phase 3 requirements work correctly
- Phase 3 is complete
</success_criteria>
<output>
After completion, create `.planning/phases/03-daily-plan-and-cleanliness/03-03-SUMMARY.md`
</output>