- fix(web): cast window through unknown in platform-sync.ts (TS2352) - docs: add AGENTS.md, README.md, CLAUDE.md, .windsurfrules, .cursorrules, env.example - feat(ios): port Recurrence.swift from web/src/lib/recurrence.ts - feat(ios): port NLParser.swift from web/src/lib/nl-parser.ts - feat(ios): port ContextMessages.swift from web/src/lib/context-messages.ts - feat(ios): add CMRoutine model + Routines.swift engine with state machine + templates - feat(ios): add RoutineListView, RoutineRunnerView, RoutineEditorView - feat(android): add RoutineScreen.kt with list, runner, templates, step controls Web: 373 tests passing, build succeeds with --webpack flag
903 B
903 B
ChronoMind — Claude Code Instructions
Read AGENTS.md for full context. Key rules:
Quick Reference
- Product: ChronoMind (productId: "chronomind")
- Web: Next.js 16 + React 19 + TailwindCSS v4 + Zustand 5
- iOS: SwiftUI (iOS 17+), watchOS 10+, macOS 14+
- Android: Jetpack Compose + Material 3 + Room + Hilt
- Backend: platform-service (Fastify 5) in ../learning_ai_common_plat
- Tests: Vitest (web), XCTest (iOS), JUnit5 (Android)
Build Commands
cd web && npm test && npm run typecheck && npm run build
Critical Rules
- Engine logic (web/src/lib/) must be pure TS — no React imports
- iOS shared logic in ios/ChronoMind/Shared/ — shared across all Apple targets
- Android engine in engine/ package — pure Kotlin
- Every Cosmos doc needs productId: "chronomind"
- Web build requires --webpack flag (Serwist + Turbopack incompatible)
- Commits: type(scope): description