Verification Flow
The (verify-commit) route group handles active verification sessions where the user proves they are fulfilling their commitment.Verification Trigger
Verification is triggered when a task instance’s start_time arrives. The hardware AlarmManager fires, the app wakes, and the user is presented with the verification screen.Verification Modes
Verification Engine
The useVerificationEngine hook drives the session:- Polls GPS coordinates at 1Hz intervals
- Compares current position against the commitment’s geofence
- Manages camera state for photo capture
- Tracks CAPTCHA progress for waiver challenges
- Updates instance status via Triple-Write on completion
State Management
The useVerificationStore tracks real-time verification state:- Current GPS coordinates and accuracy
- Geofence match status (inside/outside)
- Camera capture state
- Checkpoint completion progress
- CAPTCHA solve count