Bundle Descriptor Cache
On-disk cache of lazily-extracted ksl.simulation.ModelDescriptor JSON for bundles that were not pre-enriched by kslpkg enrich. Entries are keyed by the SHA-256 of the bundle's source JAR so replacing the JAR automatically invalidates the cache.
Cache layout under rootDir:
The cache is best-effort: any I/O error during read or write is logged and swallowed. A failing cache never breaks the loader — the descriptor is recomputed on the next load.
Properties
Functions
Returns the cached descriptor for the given (JAR-hash, modelId) pair, or null on any kind of miss: no cache entry, schema-version mismatch, malformed JSON, or I/O error.
Writes the descriptor into the cache. Failures are logged and swallowed; an unwritable cache directory never prevents the caller from proceeding.