docs: fix issues found in planning document review
Riverpod updated to 3.2+ (Dart 3.7+), deployment platform set to TBD, riverpod_generator updated to ^4.0.2.
This commit is contained in:
@@ -26,9 +26,9 @@ project with Claude API integration and a public demo mode.
|
|||||||
|
|
||||||
### Frontend (Flutter)
|
### Frontend (Flutter)
|
||||||
|
|
||||||
- **Language:** Dart 3.6+ / Flutter 3.27+
|
- **Language:** Dart 3.7+ / Flutter 3.27+
|
||||||
- **Architecture:** Feature-First with Riverpod
|
- **Architecture:** Feature-First with Riverpod
|
||||||
- **State Management:** Riverpod 3.1+ (generator syntax)
|
- **State Management:** Riverpod 3.2+ (generator syntax)
|
||||||
- **Navigation:** GoRouter
|
- **Navigation:** GoRouter
|
||||||
- **HTTP Client:** dio
|
- **HTTP Client:** dio
|
||||||
- **Charts:** fl_chart (radar/spider charts for metric scores)
|
- **Charts:** fl_chart (radar/spider charts for metric scores)
|
||||||
|
|||||||
@@ -13,3 +13,9 @@ This project uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|||||||
- Project documentation (readme, CLAUDE.md, changelog)
|
- Project documentation (readme, CLAUDE.md, changelog)
|
||||||
- Backend and frontend directory structure
|
- Backend and frontend directory structure
|
||||||
- Implementation plan with architecture, API design, and phased build order
|
- Implementation plan with architecture, API design, and phased build order
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- Updated Riverpod to 3.2+ (flutter_riverpod ^3.2.0, riverpod_annotation ^4.0.1)
|
||||||
|
- Updated Dart minimum to 3.7+ (required by Riverpod 3.2.0)
|
||||||
|
- Set deployment platform to TBD (decided at deployment time)
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ Detailed architecture and build plan for IdeaForge.
|
|||||||
## decisions
|
## decisions
|
||||||
|
|
||||||
- **Backend:** Python 3.11+, FastAPI, async SQLAlchemy, Pydantic, structlog, Anthropic SDK
|
- **Backend:** Python 3.11+, FastAPI, async SQLAlchemy, Pydantic, structlog, Anthropic SDK
|
||||||
- **Frontend:** Flutter 3.27+, Riverpod 3.1+ (generator syntax), GoRouter, dio, fl_chart
|
- **Frontend:** Flutter 3.27+, Riverpod 3.2+ (generator syntax), GoRouter, dio, fl_chart
|
||||||
- **Database:** SQLite (file-based, persistent Docker volume)
|
- **Database:** SQLite (file-based, persistent Docker volume)
|
||||||
- **Relationship to idea_manager:** Fresh codebase with core code ported (not fork, not dependency)
|
- **Relationship to idea_manager:** Fresh codebase with core code ported (not fork, not dependency)
|
||||||
- **Authentication:** None for v1 — demo mode uses middleware protection
|
- **Authentication:** None for v1 — demo mode uses middleware protection
|
||||||
@@ -221,9 +221,9 @@ target_audience, category, status (evaluated), tags, and 8 metric scores with re
|
|||||||
dependencies:
|
dependencies:
|
||||||
flutter:
|
flutter:
|
||||||
sdk: flutter
|
sdk: flutter
|
||||||
flutter_riverpod: ^2.6.1
|
flutter_riverpod: ^3.2.0
|
||||||
riverpod_annotation: ^2.6.1
|
riverpod_annotation: ^4.0.1
|
||||||
hooks_riverpod: ^2.6.1
|
hooks_riverpod: ^3.2.0
|
||||||
flutter_hooks: ^0.20.5
|
flutter_hooks: ^0.20.5
|
||||||
go_router: ^14.8.1
|
go_router: ^14.8.1
|
||||||
dio: ^5.7.0
|
dio: ^5.7.0
|
||||||
@@ -240,7 +240,7 @@ dev_dependencies:
|
|||||||
flutter_test:
|
flutter_test:
|
||||||
sdk: flutter
|
sdk: flutter
|
||||||
build_runner: ^2.4.13
|
build_runner: ^2.4.13
|
||||||
riverpod_generator: ^2.6.3
|
riverpod_generator: ^4.0.2
|
||||||
freezed: ^2.5.7
|
freezed: ^2.5.7
|
||||||
json_serializable: ^6.9.0
|
json_serializable: ^6.9.0
|
||||||
very_good_analysis: ^6.0.0
|
very_good_analysis: ^6.0.0
|
||||||
@@ -406,7 +406,7 @@ Retry interceptor: 2 retries on 502/503/504 and connection timeouts only.
|
|||||||
│
|
│
|
||||||
┌────────▼────────┐
|
┌────────▼────────┐
|
||||||
│ Docker Container │
|
│ Docker Container │
|
||||||
│ (Fly.io/Railway) │
|
│ (platform TBD) │
|
||||||
│ │
|
│ │
|
||||||
│ FastAPI serves: │
|
│ FastAPI serves: │
|
||||||
│ - /api/* routes │
|
│ - /api/* routes │
|
||||||
@@ -420,7 +420,8 @@ Retry interceptor: 2 retries on 502/503/504 and connection timeouts only.
|
|||||||
```
|
```
|
||||||
|
|
||||||
Single container. FastAPI serves both the API and the Flutter Web build as static files
|
Single container. FastAPI serves both the API and the Flutter Web build as static files
|
||||||
via `StaticFiles` mount. No CORS issues, single deployment target.
|
via `StaticFiles` mount. No CORS issues, single deployment target. Hosting platform to
|
||||||
|
be decided at deployment time (candidates: Fly.io, Railway, self-hosted).
|
||||||
|
|
||||||
### build pipeline
|
### build pipeline
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user