03 · OPERATE THE ACTUAL LOCAL PROJECT
Leave the database behind. Bring the process back.
The updated project serves an operations console at /ops. It writes real claim/event rows, durable retry state, receipts, and operator commands in SQLite. Its API derives tenant, role, and actor from demo credentials and rejects stale revisions. Repeating an identical command returns its original response.
python3 operations_checks.py
python3 operations.py start --database northstar.sqlite --run first-drill --scenario R1
python3 server.py --candidate reference.py --database northstar.sqlite --port 8000
# Open http://127.0.0.1:8000/ops
# Stop and restart the same server without deleting northstar.sqlite.
python3 operations.py status --database northstar.sqlite --run first-drill
python3 operations.py export --database northstar.sqlite --run first-drill --report operations-evidence.json
Use demo-harbor-operator to act, or demo-harbor-observer to inspect. Keep the teaching server on loopback. It uses the reference-compatible intake transaction adapter; the original intake, review, and extraction checks remain separate. The included OPERATIONS-RUNBOOK.md documents exact CLI commands and acceptance checks.
Download the updated project ↓