Ariel Operations Runbook
Baseline Management
Create and Freeze a Baseline
Verify Baseline Integrity
pass, drift_detected, or missing_detected per CI.
Compare Baselines
Sync Troubleshooting
Sync Not Running
- Check SyncEngine initialization in
server.py - Verify database connectivity:
Database.health_check() - Check
ariel_sync_historyfor failed sync records:
Sync Conflicts
Default strategy:BASELINE_PRIORITY. Change via ConflictStrategy enum.
Options:
BASELINE_PRIORITY— Ariel data winsTRACEO_PRIORITY— Traceo data winsLAST_WRITE_WINS— Most recent timestamp winsMANUAL— Returns both sides for manual resolution
Cross-Workspace Isolation
All baseline operations are workspace-scoped via RLS. Verify:Baseline Recovery
Restore from YAML
If PostgreSQL data is lost but YAML files exist:- Set
TRACEO_STORAGE_BACKEND=file - Point
ARIEL_BASELINES_PATHto the baselines directory - Use
ariel_baseline_listto verify recovery
Restore from PostgreSQL
If YAML files are lost:- Set
TRACEO_STORAGE_BACKEND=postgres - Use
ariel_baseline_listto verify data - Export to YAML if needed via the API