introduce operational scaffold (conventions + 7 sub-dir stubs) Mirrors the nimmerverse.eachpath.local structure for nimmerworld-specific operational concerns. The fresh conventions/development-conventions.md inherits from the platform-wide nimmerverse conventions and only defines what's nimmerworld-specific: - Service identity: UID range 10300-10399 (gameserver/compositor/ director/gm) - Port allocation: +0100/+0200/+0300/+0400 within env-blocks - NATS subjects: under {env}.world.{domain}.{service}.{detail} - K8s namespaces: world-{env} - Deployment topology: dioscuri-as-substrate (per 2026-04-26 housekeeping clarification — old nimmersky/SkyrimNet retired; treat dioscuri empty) - Database conventions: nimmerworld_* table-prefix in shared phoebe-{env} Other 7 sub-dirs are stubs pointing at planned content + referencing platform conventions for shared patterns.

This commit is contained in:
2026-04-26 08:49:28 +02:00
parent 0fa597c25b
commit 6acdeb7b37
8 changed files with 322 additions and 0 deletions

33
database/README.md Normal file
View File

@@ -0,0 +1,33 @@
# Database — Nimmerworld
PostgreSQL (`phoebe-{env}`) and ChromaDB (`iris-{env}`) schema content for nimmerworld.
## Schema architecture
nimmerworld claims tables prefixed `nimmerworld_*` in shared `phoebe-{env}` instances. See [`../conventions/development-conventions.md`](../conventions/development-conventions.md#database-conventions) for the per-domain table allocation overview.
## Sub-structure (planned)
```
database/
├── README.md # this file
├── schemas/
│ ├── phoebe/ # PostgreSQL DDL per architectural domain
│ │ ├── runtime-engine/ # zones, slot-occupancy, emergent_signals, gesture-alignment
│ │ ├── identity-and-personhood/ # NPC trait-vectors, mods, mod-slots, mind-pool
│ │ ├── political-register/ # district_reports, imperial_*, memorialist_true_ledger
│ │ ├── narrative-composition/ # event_canon_summaries, world_canon, district_canon
│ │ └── inference-and-memory/ # player-LoRA backups, sharing-consent, base-model versions
│ └── iris/ # ChromaDB collections for memory-vector storage
└── migrations/ # schema-evolution migration scripts
```
## Status
**Stub** — [`../schemas/findings.md`](../schemas/findings.md) holds the v0.4 DDL drafts that will be progressively split per-domain into this directory as implementation begins.
> **Platform database conventions:** [`../../nimmerverse.eachpath.local/database/`](../../nimmerverse.eachpath.local/database/) (overview, schema patterns).
---
**Version:** 0.1 | **Created:** 2026-04-26 | **Updated:** 2026-04-26