Studio Compendium Internals
Scope
How LeniaStudio consumes compendium data surfaces and what assumptions matter for compatibility.
Source Surfaces
- Studio views consume indexed creature rows and metadata exposed from compendium schema.
- CLI indexing remains the writer of record for compendium content.
Contract Dependencies
Studio compendium behavior depends on:
- exact schema version matching current CLI expectation,
- presence of core tables (
compendium_meta,runs,campaigns,creatures,exports,results), - stable column names for taxonomy and morphometrics fields.
Practical Implications
- Schema additions must be migration-backed and version-gated before Studio consumes them.
- New derived fields should carry method/version tags so UI logic can branch explicitly.
- Null taxonomy fields are valid current-state data and must not be treated as ingest corruption.
Change Discipline
When changing compendium-facing columns:
- update schema + migration path,
- update CLI validations,
- update Studio readers and views,
- update docs in
contracts/CompendiumSchema.mdand this file.