Ava needs access to the task database to validate task IDs and run orchestrator.
Current State
- Task DB: ~/.local/share/jr/jr.db (Ben's home)
- Ava runs as separate user, no access to Ben's home
- Ava's repo doesn't have _/bin/task built
Options
Option 1: Shared DB Path (recommended)
- Move DB to /var/lib/omni/tasks.db
- Set TASK_DB_PATH env var for both users
- Ensure proper permissions (group-writable)
Option 2: Symlink in Ava's home
- Create /home/ava/.local/share/jr/
- Symlink jr.db to Ben's copy
- Requires read access across users
Option 3: Build task CLI in Ava's environment
- Add task to Ava's nix dependencies
- Run with TASK_DB_PATH pointing to shared location
Implementation for Option 1
1. Create /var/lib/omni/ with omni group
2. Move/copy tasks.db there
3. Update Omni/Task/Core.hs default path or use env var
4. Add TASK_DB_PATH to Ava's systemd service
5. Add TASK_DB_PATH to Ben's shell config
Also needed
- Add
task binary to Ava's runtime deps so pi-orchestrate.sh can call it