Workbook Metadata Model
July 8, 2026 ยท View on GitHub
Required metadata for formula parity
- defined names
- table definitions
- pivot definitions and materialized output regions
- structured reference bindings
- spill ownership and blocked ranges
- workbook calc and volatile context
Ownership
@bilig/coreowns runtime workbook metadata state@bilig/formulaconsumes metadata during binding and evaluation@bilig/wasm-kernelconsumes lowered metadata needed by production execution- Workbook snapshots persist workbook metadata under
workbook.metadata; this tranche wires scalardefinedNames, spill ownership, and pivot definitions/output bounds
Canonical Corpus Relevance
The canonical formula corpus cannot close without workbook metadata because:
- names unlock named formulas
- tables unlock structured references
- spill metadata unlocks dynamic-array correctness
- pivot metadata unlocks stable materialized summary tables across sheets
Exit gate
- metadata is persisted, transported, and used consistently across parser, engine, and WASM execution