- Split Plan 05 (5 tasks → 2 tasks): password reset request interface - Split Plan 06 (5 tasks → 2 tasks): created Plans 06-09 for focused scope - Fixed Plan 06 wave assignment: Wave 4 → Wave 3 (depends only on Wave 2) - Created Plan 07: password reset navigation and deep linking - Created Plan 08: authentication pages error handling - Created Plan 09: auth components error display and loading feedback - Updated Plan 07 → Plan 10: logout and verification - Updated ROADMAP.md with 10 plans in 4 waves - All plans now have 2-3 tasks as recommended
88 lines
2.8 KiB
Markdown
88 lines
2.8 KiB
Markdown
---
|
|
phase: 01-authentication
|
|
plan: 10
|
|
type: execute
|
|
wave: 4
|
|
depends_on: ["01-01", "01-02", "01-03", "01-04", "01-05", "01-06", "01-07", "01-08", "01-09"]
|
|
files_modified: ["lib/presentation/pages/home_page.dart", "lib/main.dart", "test/integration_test/auth_flow_test.dart"]
|
|
autonomous: false
|
|
user_setup: []
|
|
|
|
must_haves:
|
|
truths:
|
|
- "Password reset navigation works seamlessly"
|
|
- "Deep linking works on mobile and web"
|
|
artifacts:
|
|
- path: "lib/app/router.dart"
|
|
provides: "Complete routing with password reset support"
|
|
min_lines: 50
|
|
key_links:
|
|
- from: "lib/app/router.dart"
|
|
to: "reset_password_page.dart"
|
|
via: "route configuration"
|
|
pattern: "/reset-password"
|
|
- from: "lib/app/router.dart"
|
|
to: "update_password_page.dart"
|
|
via: "deep link handling"
|
|
pattern: "/update-password"
|
|
---
|
|
|
|
<objective>
|
|
Integrate password reset navigation and deep linking.
|
|
|
|
Purpose: Complete password reset flow with proper routing and URL handling.
|
|
Output: Full navigation system supporting password reset on mobile and web platforms.
|
|
</objective>
|
|
|
|
<execution_context>
|
|
@~/.opencode/get-shit-done/workflows/execute-plan.md
|
|
@~/.opencode/get-shit-done/templates/summary.md
|
|
</execution_context>
|
|
|
|
<context>
|
|
@.planning/PROJECT.md
|
|
@.planning/ROADMAP.md
|
|
@.planning/STATE.md
|
|
@.planning/phases/01-authentication/01-RESEARCH.md
|
|
</context>
|
|
|
|
<tasks>
|
|
|
|
<task type="auto">
|
|
<name>Integrate password reset with navigation</name>
|
|
<files>lib/app/router.dart</files>
|
|
<action>
|
|
Update router to:
|
|
1. Add /reset-password route for reset request page
|
|
2. Add /update-password route for password update page
|
|
3. Handle deep linking for password reset URLs
|
|
4. Parse reset tokens from URL parameters
|
|
5. Add proper route guards and validation
|
|
6. Include password reset links in login/signup pages
|
|
7. Configure proper URL scheme for mobile deep linking
|
|
8. Handle web redirect URLs properly
|
|
9. Add error handling for malformed reset URLs
|
|
10. Ensure navigation flow works correctly
|
|
</action>
|
|
<verify>Navigation properly handles password reset flow and deep linking</verify>
|
|
<done>Complete navigation integration for password reset functionality</done>
|
|
</task>
|
|
|
|
</tasks>
|
|
|
|
<verification>
|
|
1. Navigation flows correctly through entire password reset journey
|
|
2. Deep linking works on both mobile and web platforms
|
|
3. Route guards prevent unauthorized access to reset pages
|
|
4. Error handling covers malformed reset URLs
|
|
5. Password reset links appear in login/signup pages
|
|
6. URL scheme properly configured for mobile deep linking
|
|
</verification>
|
|
|
|
<success_criteria>
|
|
Complete password reset navigation system with deep linking support across platforms.
|
|
</success_criteria>
|
|
|
|
<output>
|
|
After completion, create `.planning/phases/01-authentication/01-10-SUMMARY.md`
|
|
</output> |