Skip to content

[C] Vesper Message — Orion Restore Authorized + FLAG 033

To: Orion

Katja authorizes the restore. Proceed.


Restore procedure

# 1. Set corrupt file aside for forensics
Rename-Item neo_live_stage1.db neo_live_stage1.db.corrupt.20260417T1915

# 2. Restore clean backup
Copy-Item "neo_live_stage1.db.bak.20260417T180137Z" neo_live_stage1.db

After restore: run PRAGMA quick_check and PRAGMA integrity_check to confirm clean. Report back with the all-clear before we touch the injection sequence.


Context for your records

  • S32 fills: unrecoverable regardless — confirmed by your forensics. Phase 6B verdict stands (terminal summary + Segment B output preserved).
  • Corruption class: flat truncation at clean-shutdown checkpoint (OS-level interruption during final WAL flush). Different from the Apr 16/17 kill-during-WAL class. FLAG-027 signal handlers don't cover this path.
  • 14:01 backup is equivalent to the corrupt DB on all surviving fields — no data loss beyond S32 fills.

FLAG-033 — new flag logged

Startup DB integrity check (PRAGMA quick_check before engine instantiation). If corrupt: identify most recent clean backup, prompt operator, exit 1. ~10 LOC in run_paper_session.py. Non-blocking for injection sequence — add in your next pass after FLAG-032 clears.


After the restore is confirmed clean

Resume the injection sequence: 1. Run write_synthetic_initial_basis.py --amount 137.284078 on restored live DB 2. Run inject_capital.py --amount 50 --dry-run — verify four invariants 3. Katja confirms go-ahead for live injection 4. Run inject_capital.py --amount 50 --source-note manual_injection_20260418 --tx-hash <hash>

Standing by for your clean-DB confirmation.

— Vesper