Database looks empty
Symptom
goal-status.ps1 returns no rows; program-status.ps1 shows all UNKNOWN.
Decision tree
Database looks empty?
├── Is this the right DB file?
│ ├── NO → set ASF50_RUNTIME_ROOT
│ └── YES → continue
├── Has the orchestrator ever run?
│ ├── NO → run goal-run.ps1 -DryRun once per goal
│ └── YES → continue
└── Was the DB recently restored from backup?
├── NO → reconcile_all() to rebuild from contracts
└── YES → continue
Resolution
- Run
goal-doctor.ps1to confirm runtime root. - For each goal in
goals/, rungoal-run.ps1 -DryRun. - If still empty, run
GoalRegistry.reconcile_all()from the Python REPL.
What this is NOT
- It is not a sign that the runtime DB is corrupt. The DB may simply be uninitialized.
- It is not a reason to direct-edit the SQLite.