docs: canon log schema + origin seed design

Design spec for the §11 canon log, plus origin seeds as thin initial-state
overlays over a single static world. Three layers (world content / origin seed /
runtime canon log), the in/out boundary (numeric Luck never enters the AI
payload, §7), field-level schemas, new-game construction order, turn-to-turn
maintenance, and JSON storage validated on both client and api.

Folds content/npcs and content/quests under content/world/; adds
content/world/{locations,items} and content/origins. fallback/ kept outside
world/ (authored prose, not id-referenced).

Spec: docs/superpowers/specs/2026-07-09-canon-log-schema-design.md

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-09 12:03:37 -05:00
parent d340e06dad
commit 800811dac2
8 changed files with 351 additions and 7 deletions

View File

@@ -0,0 +1,7 @@
# /content/npcs
Per-NPC knowledge lists — an explicit list of what each NPC knows (charter §6). This is the *entire content* the NPC has to draw on, injected as `knowledge: [...]`. Not a prompt suggestion — the whole design.
POC scope (§17): **two NPCs** with authored knowledge lists.
Companions (Cadwyn, Brannoc) are voiced too but carry more (approval, humiliation log) — see charter §9.