- Status: WORKING
- Real Data: Yes - retrieving actual calendar events
- Example: "ADHD Focus Time" event detected
- Used in: State gathering for upcoming events
- Status: WORKING
- Real Data: Yes - 32 tasks retrieved
- Urgent Tasks: "Call Hobart ADHD", "Prepare Statement for Lawyer"
- High Priority: "Meds (9am)", "Nicotine Patch!", "Meds (Midday)"
- Used in: Claude receives these in the prompt for decision-making
- Status: WORKING
- Real Data: Yes - 709 steps today
- Movement Detection: Correctly identifies "needs movement"
- Used in: Physical state assessment
These values in claude_cognitive_engine_v2.py are still hardcoded but SHOULD be dynamic:
- Sitting duration (line 465): Returns fixed 30 minutes
- Last hydration (line 468): Returns fixed 45 minutes
- Medication times (lines 506-509): Fixed "8:00 AM" / "8:00 PM"
- Crash times (line 521): Fixed ["3:00 PM", "8:00 PM"]
- Hyperfocus triggers (line 524): Fixed ["coding", "research", "gaming"]
- Success rate (line 527): Fixed 0.65
- Last nudge/break times (lines 530-533): Fixed strings
- Ambient noise (line 495): Returns "moderate"
- Distractions (line 501): Returns empty list
- Sitting/hydration: Track via Redis timestamps or movement sensors
- Medication: User preferences or calendar reminders
- Crash times: Learn from user patterns over time
- Hyperfocus triggers: Learn from task history
- Success rate: Calculate from completed vs planned tasks
- Ambient noise: Environment sensors or user input
- Distractions: Calendar conflicts, notification counts
Despite some hardcoded values, Claude IS receiving:
- ✅ Real calendar events
- ✅ Real task lists with priorities
- ✅ Real step counts and movement data
- ✅ Actual device availability (Nest speakers)
- ✅ Current time and temporal context
The hardcoded values are not critical because:
- Most important data (tasks, calendar, fitness) is real
- Hardcoded values provide reasonable defaults
- System still makes intelligent decisions based on real data
- Can be improved incrementally without breaking functionality
- Priority 1: Keep using real Google data (working well!)
- Priority 2: Track sitting/hydration via Redis timestamps
- Priority 3: Learn patterns over time to replace hardcoded crash times
- Future: Add environment sensors for ambient data