Expand description
The derived read-model for one corpus snapshot (ADR-099/ADR-103).
Port of services/derived_cache.py build_derived_index: one walk feeds
every structure, each a pure function of the sorted-path snapshot, so the
whole bundle is content-addressable and the persisted store reproduces a
fresh build byte-for-byte (spec/index-contracts.json derived_cache).
Structs§
- Derived
Index - The expensive derived structures for one corpus snapshot.
Constants§
- SCHEMA_
VERSION - The bundle schema version (
derived_cache.SCHEMA_VERSION).
Functions§
- build_
derived_ index - Build the derived structures fresh from one corpus walk (the miss path).
- build_
derived_ index_ from_ items - Build the derived structures from an already-walked corpus snapshot.