From f2398545f31c4092ae4d8305946ec3b8f99955e7 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Wed, 19 Aug 2026 00:25:22 +0200 Subject: [PATCH] Document hosted lore Vault entitlements --- README.md | 13 +++++ docs/product/lore-vault-entitlements.md | 70 +++++++++++++++++++++++++ notes/ghostlight-dungeon.md | 3 +- 3 files changed, 85 insertions(+), 1 deletion(-) create mode 100644 docs/product/lore-vault-entitlements.md diff --git a/README.md b/README.md index e54d3da..e4623db 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,9 @@ multiresolution agency graph for keeping large settings active at finite cost. enters the same validated campaign mailbox and atomic CultCache commit path. - Vault evidence grounds world compilation; branch-local invention remains distinct from canon. +- Hosted lore Vaults are planned as Git-synchronized, Obsidian-compatible + Markdown hierarchies. The Vault service owns their indexes; campaigns retain + only manifest bindings and exact evidence receipts. - Projector → Persona → Interpreter turns produce proposals. Models never commit world state. - Knowledge, perception, capability, location, custody, and authority are @@ -72,6 +75,16 @@ The durable intention and unresolved social-policy questions are recorded in [`docs/architecture/ghostlight-dungeon-multiplayer-intention.md`](docs/architecture/ghostlight-dungeon-multiplayer-intention.md). It does not expand the current MVP acceptance promise. +## Lore Vault Product Intention + +The hosted product will accept ordinary Obsidian-compatible lore Vaults synced +through Git. Contributor and Private plans provision one active custom Vault; +their Plus variants provision three, subject to combined indexed-source and +import allowances. The entitlement, accounting rules, authority boundary, and +security gates are recorded in +[`docs/product/lore-vault-entitlements.md`](docs/product/lore-vault-entitlements.md). +Custom tenant import is not yet part of the deployed tester harness. + ## Architecture The shortest reliable re-entry path is: diff --git a/docs/product/lore-vault-entitlements.md b/docs/product/lore-vault-entitlements.md new file mode 100644 index 0000000..fdac91d --- /dev/null +++ b/docs/product/lore-vault-entitlements.md @@ -0,0 +1,70 @@ +# Lore Vault Entitlements + +## Product decision + +Ghostlight Dungeon will accept Git-synchronized, Obsidian-compatible lore +Vaults. A compatible Vault is a folder hierarchy of Markdown documents; it does +not require an Obsidian runtime or a proprietary export format. GameCult's +Aetheria and Zyphos lore sites use this shape and serve as reference corpora. + +| Plan | Active custom Vaults | Combined indexed source allowance | Full imports per month | +| --- | ---: | ---: | ---: | +| Contributor | 1 | 10 million source tokens | 2 | +| Contributor Plus | 3 | 30 million source tokens | 6 | +| Private | 1 | 10 million source tokens | 2 | +| Private Plus | 3 | 30 million source tokens | 6 | + +Prices, allowances, and import accounting remain provisional until service-rig +benchmarks establish ingestion, storage, and retrieval cost. Plus increases +both active Persona-cell capacity and lore capacity. Contributor versus Private +continues to select provider data policy; it does not change Vault ownership. + +## Authority map + +- **Owner:** the Vault service owns source checkout, parsing, chunking, + embeddings, indexes, incremental synchronization, deletion, and retrieval. +- **Inputs:** an authorized Git repository or synchronized directory containing + Markdown lore, its revision, and the subscriber's entitlement. +- **Outputs:** a versioned `ghostlight.vault_manifest.v1` binding and exact + retrieval witnesses through the generic `VaultProvider` contract. +- **Derived state:** campaigns retain the bound manifest revision and exact + evidence receipts used during play. They do not own a second semantic index. +- **Forbidden writers:** campaigns, model stages, and the browser cannot modify + source lore or silently promote branch inventions into the Vault. +- **Shared path:** import, Git update, reindex, campaign compilation, destination + expansion, and runtime retrieval resolve through one tenant-scoped Vault + identity and revision. +- **Cut line:** arbitrary document upload and campaign-local vector stores do + not become competing authorities. + +## Resource accounting + +The marketed Vault count is a comprehensible entitlement, not the resource +boundary. Enforcement also measures indexed source tokens, stored chunks and +embeddings, full imports, incremental document changes, and retrieval load. + +Imports are content-addressed. Unchanged documents retain their chunks and +embeddings; a Git update replaces only changed document partitions. An update +counts as a full import only when Ghostlight must rebuild the whole Vault. +Oversized or unsupported imports receive a compatibility and size preview +before work begins. They do not create surprise usage charges. + +Campaign Vault precedence is explicit: + +```text +campaign branch facts + > campaign-specific lore Vault + > setting lore Vault + > optional rules/reference Vault +``` + +Conflicts are reported during compilation or retrieval. Sources are not blended +into an unattributed answer. + +## Product and security gates + +This entitlement is a product decision, not evidence that arbitrary tenant +imports are accepted by the current tester harness. Hosted import opens only +after tenant isolation, repository authorization and revocation, deletion, +provenance, size admission, Markdown/link parsing, prompt-injection resistance, +copyright reporting, and incremental-index benchmarks are verified. diff --git a/notes/ghostlight-dungeon.md b/notes/ghostlight-dungeon.md index 9c039f1..bb75748 100644 --- a/notes/ghostlight-dungeon.md +++ b/notes/ghostlight-dungeon.md @@ -44,6 +44,7 @@ Ghostlight’s existing v0 schemas and training fixtures remain evidence and reg - Define a generic `VaultProvider` contract for source search, surrounding context, source witnesses, authority lanes, temporal scope, and exact-document retrieval. - Implement the bundled Aetheria adapter against VoidBot’s streamable MCP endpoint at Starfire loopback. +- Add a hosted custom-Vault path for Git-synchronized, Obsidian-compatible Markdown hierarchies after tenant-isolation and import-security gates are met. The Vault service owns indexing; campaigns store only manifest bindings and exact evidence receipts. Provisional plans include one active Vault and 10 million indexed source tokens for Contributor/Private, or three active Vaults and 30 million combined tokens for Plus, with two or six full imports per month respectively. - At campaign creation: 1. Retrieve broad Aetheria evidence and generate three distinct suggested openings across different eras, places, and pressures. 2. For the selected opening, generate three source-grounded player roles plus a custom-role path. @@ -288,5 +289,5 @@ Publish JSON Schema only as the schema catalog. Runtime documents and exports us - Aetheria is the only bundled Vault adapter, but no compiler logic is Aetheria-specific. - Generated suggestions plus unrestricted custom compilation replace fixed featured openings. - No D&D classes, spell slots, six-ability statistics, or 5e sheet are canonical in the MVP. The typed character ledger remains sufficient for later D&D-shaped projections. -- No arbitrary Vault upload/import UI, multiplayer campaign, voice, image generation, direct canon mutation, or public internet exposure in the MVP. Multiplayer is an intended extension of the existing one-kernel/many-actors authority model and is documented separately; it does not expand this acceptance plan. +- No arbitrary Vault upload/import UI in the current MVP; Git-synchronized Obsidian-compatible tenant Vaults are a documented post-gate product intention. No multiplayer campaign, voice, image generation, or direct canon mutation in the MVP. Multiplayer is an intended extension of the existing one-kernel/many-actors authority model and is documented separately; it does not expand this acceptance plan. - The live deployment requires a DeepSeek key and restoration of the trusted VoidBot retrieval crossing; fixture-backed development may proceed before those two setup gates.