|
| 1 | +# SPDX-License-Identifier: PMPL-1.0-or-later |
| 2 | +# Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) |
| 3 | +# |
| 4 | +# VeriSimDB backup instance configuration for Game Server Admin |
| 5 | +# Stores game save metadata, snapshots, and restore points. |
| 6 | +# This is a SEPARATE instance — data lives in gsa-verisimdb-backup-data volume. |
| 7 | + |
| 8 | +@verisimdb-instance(name="gsa-verisimdb-backup", version="0.1.0"): |
| 9 | + @network: |
| 10 | + http_host = "[::1]" |
| 11 | + http_port = 8091 |
| 12 | + max_request_body = "50MB" |
| 13 | + request_timeout_seconds = 60 |
| 14 | + @end |
| 15 | + |
| 16 | + @storage: |
| 17 | + mode = "persistent" |
| 18 | + persistence_dir = "/data" |
| 19 | + wal_enabled = true |
| 20 | + wal_sync_interval_ms = 500 |
| 21 | + graph_backend = "redb" |
| 22 | + document_backend = "tantivy" |
| 23 | + @end |
| 24 | + |
| 25 | + @drift: |
| 26 | + enabled = true |
| 27 | + check_interval_seconds = 60 |
| 28 | + thresholds: |
| 29 | + semantic_vector_drift = 0.5 |
| 30 | + graph_document_drift = 0.5 |
| 31 | + temporal_consistency = 0.3 |
| 32 | + provenance_drift = 0.1 |
| 33 | + @end |
| 34 | + @end |
| 35 | + |
| 36 | + @auth: |
| 37 | + mode = "local-only" |
| 38 | + public_read = false |
| 39 | + require_api_key = false |
| 40 | + @end |
| 41 | + |
| 42 | + @labels: |
| 43 | + application = "game-server-admin" |
| 44 | + domain = "infrastructure/game-saves" |
| 45 | + role = "backup" |
| 46 | + clade = "ix" |
| 47 | + @end |
| 48 | + |
| 49 | + @octad-schema: |
| 50 | + # Each game save is an octad: |
| 51 | + # Document: save file metadata (game, server, timestamp, size, checksum) |
| 52 | + # Semantic: save type tags (auto-save, manual, pre-update, rollback-point) |
| 53 | + # Graph: save → server, save → game-profile, save → parent-save |
| 54 | + # Temporal: save creation timestamp, TTL, retention policy |
| 55 | + # Provenance: who triggered the save, why (pre-config-change, scheduled, manual) |
| 56 | + # Spatial: (unused for saves) |
| 57 | + # Vector: config embedding for "find similar save states" |
| 58 | + # Tensor: server metrics at save time [players, tps, memory, uptime] |
| 59 | + @end |
| 60 | +@end |
0 commit comments