Handle incorrect runtime root
If ASF50_RUNTIME_ROOT points to the wrong directory, the orchestrator may operate on a stale DB.
Symptoms
goal-status.ps1shows old or empty state.goal-doctor.ps1reportssplit-brain runtime.goal-run.ps1errors withruntime_root mismatch.
Steps
- Run
goal-doctor.ps1 -RuntimeRoot …to confirm. - Compare the runtime root with the canonical location:
D:\Projects\ASF50-Platform\ASF50\scripts\goal-runner\local\runtime(local dev).- The production runtime root (if different).
- Set
ASF50_RUNTIME_ROOTto the correct value. - Re-run
goal-doctor.ps1to confirm the runtime is no longer split-brain. - Re-run
goal-status.ps1to confirm state is correct.
What this playbook is NOT
- It does not move the runtime DB. Moving the DB requires a migration step.
- It does not change the canonical runtime location without explicit owner authorization.