Skip to content

Commit 6a835b8

Browse files
hyperpolymathclaude
andcommitted
arch: VeriSimDB replaces PostgreSQL — dogfooding decision
All Stapeln data will use VeriSimDB (port 8093) instead of PostgreSQL. The Ecto/DbStore/migrations layer was verified working but is superseded by this architectural decision to dogfood VeriSimDB. - PostgreSQL container stopped and will be removed - VeriSimDB instance to be created: port 8093, volume stapeln-verisimdb-data - Existing Stapeln.VeriSimDB.Client to be extended for stack/user/settings CRUD - NativeBridge to route through VeriSimDB instead of DbStore - STATUS.md and STATE.a2ml updated with decision and next-actions Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent eda9758 commit 6a835b8

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

.machine_readable/6a2/STATE.a2ml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ frontend-views = 9
1919
frontend-errors = 0
2020
frontend-warnings = 0
2121
backend-api-verified = true
22-
database-running = true
23-
database-engine = "postgresql-17-alpine-podman"
22+
database-running = false
23+
database-engine = "verisimdb (port 8093, to be migrated from postgresql)"
24+
database-decision = "Full VeriSimDB, no PostgreSQL — dogfooding decision 2026-03-23"
2425
end-to-end-verified = true
2526

2627
[recent-changes]
@@ -41,11 +42,13 @@ key-additions = [
4142
]
4243

4344
[blockers]
45+
verisimdb-migration = "Replace Ecto/PostgreSQL with VeriSimDB for all data — dogfooding"
4446
auth-ui = "JWT backend exists but no login screen"
4547
attack-surface-analyzer = "Documented in ROADMAP, 0% built"
4648
websocket = "Socket.res scaffolded, no live channel events"
4749

4850
[next-actions]
51+
priority-0 = "Migrate persistence from PostgreSQL to VeriSimDB (port 8093)"
4952
priority-1 = "Build AttackSurfaceAnalyzer.res (MUST-2)"
5053
priority-2 = "Auth login screen (MUST-9)"
5154
priority-3 = "Browser visual testing (BoJ browser cartridge needed)"

STATUS.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,17 @@ A reasonably IT-capable 12-year-old can help their parents build a secure contai
3939
- **DOM‑mounter track:** Extracted to `/var/mnt/eclipse/repos/stapeln-dom-mounter`.
4040
- This work is not on the critical path for the container‑hater MVP.
4141

42+
## Architectural Decision: VeriSimDB (2026-03-23)
43+
44+
**All Stapeln data will use VeriSimDB, not PostgreSQL.** Dogfooding decision.
45+
- Dedicated instance: port 8093, volume `stapeln-verisimdb-data`
46+
- Existing `Stapeln.VeriSimDB.Client` module to be extended for stack CRUD
47+
- Ecto/DbStore/PostgreSQL layer to be removed (was a conventional shortcut)
48+
- The PostgreSQL container has been stopped; migrations were verified working but are superseded
49+
4250
## What Is Not Implemented Yet
4351

52+
- **VeriSimDB as primary store:** Client exists for audit logging; needs extending for stack/user/settings CRUD
4453
- **Backend runtime orchestration API:** Not implemented in `stapeln/backend` by design; runtime operations belong to Svalinn/Vordr.
4554
- **Validation Engine Depth:** 12 check categories returning real findings; not yet parity with full security roadmap.
4655
- **Formal Verification Layers:** Idris2 types are now present for ABI contracts, but full proof pipeline is not wired.

0 commit comments

Comments
 (0)