Optional profileThe host's cognition profile, which sets the switches the config leaves unset. Default 'custom'.
Optional surfaceThe host that builds the layer. Default 'custom': a product that calls the layer around its own turn loop.
Optional hostWhat the host's own configuration says about the loops it runs, for the manifest.
Optional memoryA memory manager the host built itself (a product that runs its own turn loop): re-filed once, and kept by the layer.
Optional storageThe host's storage adapter: the learning store is SQL over it when store is unset and it has transactions.
Optional openOpens the learning store on first use (gmi(): over the adapter of the Brain memory.store opens). A throw leaves
the layer degraded until a later call opens it.
Optional memoryMemory-tools facades beside memoryTools (the full runtime's second one): each is re-filed once and kept by its brain id.
Optional modeDefault 'on'.
Optional agentNames the agent its learners belong to. Unset: the id of the registered persona, or of a named gmi() agent.
Optional namespaceThe organization of a gmi() agent's learners, fixed for the agent. The full runtime takes each turn's resolved
organization and refuses this field.
Optional anonymousUser ids that never name a learner, added to DEFAULT_ANONYMOUS_USER_IDS.
Optional traitsAsks for trait changes. Default: asked for in the full profile. The manifest says whether the loop runs.
Optional lessonsAsks for lessons. Default: asked for in the full profile. The manifest says whether the loop runs.
Optional skillsAsks for the skill library. Default: asked for in the full profile. The manifest says whether the loop runs.
Optional storeWhere learned state lives. Default: SQL over the host's storage adapter, else the process.
Optional ledgerKeys every ledger hash (HMAC-SHA-256), so a writer of the store that cannot read it cannot recompute the chain.
A secret the store never holds; without it the manifest says ledger: unkeyed.
Optional clockMilliseconds since the epoch; the ledger's and the trait row's clock. Default Date.now.
Optional memoryThe Memory facade the host's memory tools (and, on the full runtime, its standalone retriever and sink) are built
over: forgetUser deletes the user's scopes in its Brain and revert undoes a memory tool's write there. The full
runtime fills it; gmi() and a host that registers the tools itself pass it.
What a layer is built from: the host's
learningconfig, and what the host says about itself.