Lock the NPC identifier: full namespaced id (npc.mera-fenn) is canonical everywhere — stored data, client dict key, and the /npc/speak wire. The API load_npc changes from a filename lookup to an id-indexed load (matching the client's ContentDB), reads persona from content/server, and resolves the client's reveal-set fact_ids to topic bodies. Legacy Fenn keeps working; no migration required. First task of the runtime-consumption cycle. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HuHRPE7VfppUJEaoGBEUqZ
/docs — cross-cutting docs
Anything affecting both client and api, plus planning and roadmap. Side-specific docs live in /api/docs and /client/docs.
Put here:
roadmap.md— phases, POC scope, what's nextadr/— Architecture Decision Records- Shared contracts — canon log schema, tag syntax, retry policy (§11, §12)
- Anything spanning the HTTP boundary
The charter itself — CLAUDE.md — stays at the repo root. It is the source of truth; these docs elaborate, they do not override it.