Read the discriminated, root-scoped embedding configuration discovery
through a bounded LRU cache. Entries are isolated by exact file/root tuple
and invalidated when the main file's mtimeMs/size or the WAL sidecar's
presence/mtimeMs/size changes. The returned owned metadata is cloned so
callers cannot mutate a cached authority snapshot. Raw peek entries and
other roots never share this cache keyspace. refused is never cached:
transient open/read/close/permission uncertainty is re-probed on every call.
This remains pre-open guidance rather than bootstrap authority; every
writable EmbedDb.open() repeats same-handle transactional admission.
Parameters
file: string
Absolute path to the candidate embedding database.
Read the discriminated, root-scoped embedding configuration discovery through a bounded LRU cache. Entries are isolated by exact file/root tuple and invalidated when the main file's
mtimeMs/size or the WAL sidecar's presence/mtimeMs/size changes. The returned owned metadata is cloned so callers cannot mutate a cached authority snapshot. Raw peek entries and other roots never share this cache keyspace.refusedis never cached: transient open/read/close/permission uncertainty is re-probed on every call.This remains pre-open guidance rather than bootstrap authority; every writable
EmbedDb.open()repeats same-handle transactional admission.