Expand description
Per-product render cache persisted as .render-cache.json at the
root of build/<product>/. The cache keeps the cache-hit path
byte-identical to the cache-miss path: when the recorded hash for a
skill matches and the output file is still on disk, render leaves
the file alone; otherwise the skill is re-rendered and overwritten.
Serialization uses BTreeMap so the on-disk file is byte-stable
across runs (the cache-hit equality test depends on that).
Structs§
Constants§
- AGENTS_
CACHE_ FILE - Separate cache file for the optional agents render surface. Kept
distinct from
CACHE_FILEso the agents loop and the skills loop never reconcile against each other’s entries (a shared cache would make each surface delete the other’s outputs on save). - CACHE_
FILE - CACHE_
SCHEMA_ VERSION - Bumped to 2 alongside the multi-file render landing (v0.14): cache
entries now record every file the skill wrote (
outputs: Vec<String>) so the renderer can surgically remove sibling files that disappear from source on a subsequent run. Caches written by older binaries silently load as empty and force a full re-render.