Conversation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Greptile SummaryThis PR bumps the maximum number of active goals from 3 to 4 across all layers of the Omi stack — Flutter mobile (UI guards and constant), Python backend (router limit and database default), Rust desktop backend (fetch limit and auto-deactivation threshold), and Swift desktop UI (button visibility conditions). The change is straightforward and well-propagated, with two minor oversights: a stale inline comment in Key changes:
Issues found:
Confidence Score: 4/5
Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A["User taps Add/Generate Goal\n(Flutter/Swift UI)"] --> B{"goals.length < 4?"}
B -- No --> C["Button hidden — limit reached"]
B -- Yes --> D["Show Add/AI Goal Button"]
D --> E["POST /v1/goals (Python or Rust backend)"]
E --> F{"Active goal count >= 4?"}
F -- Yes --> G["Deactivate oldest goal"]
G --> H["Create new goal in Firestore"]
F -- No --> H
H --> I["GET /v1/goals/all (limit=4)"]
I --> J["Return up to 4 active goals"]
J --> K["UI refreshes — displays ≤ 4 goals"]
|
## Summary - Increases the maximum allowed goals from 3 to 4 across all layers - Flutter mobile: `GoalsWidget`, `ActionItemsPage` - Desktop Swift: `GoalsWidget.swift` - Rust backend: fetch limit + auto-deactivation threshold - Python backend: fetch limit + creation max - Desktop layout uses flexible VStack — no sizing issues with 4 goals 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Summary
GoalsWidget,ActionItemsPageGoalsWidget.swift🤖 Generated with Claude Code