- Drift 21 tables (8 catalog + 11 user + habit_dose_variants + meta_kv) with R1~R10 CHECK constraints and 19 indexes - 8 hand-crafted seed JSON catalogs in app/assets/seed/ (refs 84, protocols 34, methodologies 21, frame_patterns 30, reward_menu_items 30, break_protocols 8, common_frames 5, diet_patterns 5) - 6 domain functions: recommend_variant, compute_streak, validate_frame_level, active_habit_quota, weekly_minimum_ratio, seed_importer (transactional, idempotent) - 4 vertical-slice Riverpod screens: HabitList, HabitCreate, CheckIn, Streak - 31 unit tests passing; flutter analyze clean - OQ-5 streak semantics: missing entry ≠ explicit blank (missing = end of history; only TrackerValue.blank triggers Never-miss-twice) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
45 lines
776 B
YAML
45 lines
776 B
YAML
name: life_helper
|
|
description: "Huberman + Atomic Habits + Tiny Habits + If-Then. Local-first habit/checklist/todo."
|
|
publish_to: 'none'
|
|
version: 0.1.0+1
|
|
|
|
environment:
|
|
sdk: ^3.12.2
|
|
|
|
dependencies:
|
|
flutter:
|
|
sdk: flutter
|
|
cupertino_icons: ^1.0.8
|
|
|
|
# State management
|
|
flutter_riverpod: ^2.5.1
|
|
|
|
# Local DB (Drift = sqlite ORM)
|
|
drift: ^2.18.0
|
|
sqlite3_flutter_libs: ^0.5.0
|
|
path_provider: ^2.1.0
|
|
path: ^1.9.0
|
|
|
|
# Models / serialization
|
|
freezed_annotation: ^2.4.0
|
|
json_annotation: ^4.9.0
|
|
|
|
# IDs
|
|
ulid: ^2.0.0
|
|
|
|
dev_dependencies:
|
|
flutter_test:
|
|
sdk: flutter
|
|
flutter_lints: ^6.0.0
|
|
|
|
# Codegen
|
|
drift_dev: ^2.18.0
|
|
build_runner: ^2.4.0
|
|
freezed: ^2.5.0
|
|
json_serializable: ^6.8.0
|
|
|
|
flutter:
|
|
uses-material-design: true
|
|
assets:
|
|
- assets/seed/
|