AI layer

Agents

Agent runs, assistant permissions, retrieval sources, and future ROSii/IPA assistant operations.

V2 foundation

Required sources

Supabase: agent_runs
Supabase: documents
Local repo: ipa-agents later

Build sequence

Keep agent files in ipa-agents for now
Define first assistant permissions
Log agent_runs from app and automation activity