From a5c2ff0f0cd4e778b4a3e782ead35b2a63465352 Mon Sep 17 00:00:00 2001 From: otivm Date: Sat, 2 May 2026 10:53:30 +0000 Subject: [PATCH] docs: add archive entry 2026-05-02 OTIVM-III --- docs/archives.md | 50 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/docs/archives.md b/docs/archives.md index 4b70e8e..e75bee6 100644 --- a/docs/archives.md +++ b/docs/archives.md @@ -10,6 +10,56 @@ The Gitea repo is always the SSOT for code. Archives cover the OS, stack, and co ## Archive log +### vzdump-lxc-1105-2026_05_02-05_37_24.tar.zst + +| Property | Value | +| --- | --- | +| File | vzdump-lxc-1105-2026_05_02-05_37_24.tar.zst | +| Date | 2026-05-02 05:37 UTC | +| Size | 1.3 GB | +| Container | LXC 1105 — otivm-dev | +| Host | srv-a (10.0.0.11) | +| Storage | /var/lib/vz/dump/ + offsite cold storage | +| Gitea HEAD | main — 1853c1c feat: wire per-player SQLite for OTIVM-III | + +**Container state at time of archive:** + +- All of archive 2026-05-02 03:15 plus: +- OTIVM-III complete — per-player SQLite live in production +- `server/index.js` replaced — per-player SQLite wiring active +- `data/create_player_db.sql` committed — schema with 8 tables, 72 seed rows +- `data/saves/` — may contain first `.sqlite3` player databases from live traffic +- `data/saves/*.json` — legacy JSON saves preserved, never deleted +- Roadmap and handover-game-dev.md updated to reflect OTIVM-III state +- Parameter registry additions committed — 44 new tokens +- Law and commerce corpus complete — 37 dialogues reviewed and cleared + +**Known deferred items:** + +- Terrain in `data/otivm.sqlite3` is modern WorldCover — restoration layer not yet built +- Map coastline is five isolated H5 clusters — route corridor H5 hexes not in database +- `occ_flag` is placeholder (0x00) everywhere +- OTIVM-IV scope not yet defined — next discussion + +**What this archive is good for:** + +First complete OTIVM-III baseline. Per-player SQLite is live. Safe restore +point before any OTIVM-IV development begins. + +**Restore command (run on srv-a as root):** +```bash +pct restore 1105 /var/lib/vz/dump/vzdump-lxc-1105-2026_05_02-05_37_24.tar.zst --force +``` + +After restore: `cd ~/OTIVM && git pull && npm install && npm run build && pm2 restart otivm` + +Note: `otivm.sqlite3` and `data/saves/*.sqlite3` are gitignored — present in +archive but not in repo. If restoring to a fresh container, regenerate world +database from `data/create_otivm_db.sql` and pipeline scripts. Player +databases will be absent — players start fresh. + +--- + ### vzdump-lxc-1105-2026_05_02-03_15_12.tar.zst | Property | Value |