Wiki Schema
Why this schema
This wiki follows the idea of a persistent, compounding markdown knowledge base:
- Raw layer:
README.mdscene text. - Wiki layer: files in
wiki/. - Schema: this page + page-level conventions.
Required files
Home.md— entry point.index.md— inventory of pages.Project-Overview.md— scope, state, assumptions.Story-Outline.md— narrative structure.Characters-and-Roles.md— major entities.Source-Notes.md— provenance and cleanup status.log.md— chronological audit trail.
Conventions
- Use concise summaries and keep one conceptual claim per paragraph.
- Use wiki links (
[[...]]) for cross-reference. - Do not duplicate full scene text in every page; point to
README.mdfor canonical text. - When a source change occurs, create an entry in Log.
Quality checks
- Run
python wiki/lint_wiki.pyfrom repo root to validate:- required pages exist,
- all wiki links resolve,
- all pages are linked from
index, - all required scene pages
Scene-00throughScene-34are present.
Operations
Ingest
When new source text is added:
- Update
Story-Outline.mdwith new beats. - Update
Characters-and-Roles.mdif entities are added. - Refresh this index if page coverage changes.
- Add one
log.mdentry describing the ingest.
Query usage
For future LLM-assisted work, prefer this sequence:
- index
- Target topic page
README.md
Linting check
- Orphan page check: every page should be reachable from index or linked from another page.
- Naming consistency check: especially recurring characters.
- Stale note check: no claim should conflict silently across pages.