Skip to main content

Module state

Module state 

Source
Expand description

Engine state: lessons, beads, evidence import, runtime.

Value-returning operations; the CLI renders. Import bumps the evidence epoch and recompiles the derived layer (moved with the code).

Functions§

beads
embeddings_build
embeddings_get
embeddings_status
external_docs
import_evidence
ingest_runtime
lessons_add
lessons_list
plugin_state_delete
Delete one key. Requires StateWrite.
plugin_state_get
Namespaced plugin state (§23): get one key. Requires the calling plugin’s StateRead grant (checked by the host before dispatch; the engine re-checks here so direct invoke() callers are gated too).
plugin_state_put
Put one key (JSON text). Requires StateWrite.
plugin_state_scan
Scan keys by prefix (ordered, bounded). Requires StateRead.
reconcile
runtime_edges