Engram · Configuration & integration
OTE configuration fields
Start from default-ote rather than assembling a partial manifest. Required root schema_version is engram.ote.v1; required tables are seat, ontology, topology. Omitted epistemology/retrieval use defaults; omitted attestation disables new graduation. Unknown authored fields fail validation, including nested tables.
| Table | Public fields and operational constraints |
|---|---|
seat |
seat_id (nonblank), archetype, optional description, keyspace_budget_tokens (default 2000, range 256–16384), generated_layer_share_pct (default 20, 0–100; producer advisory, not a quota enforced on import). |
ontology |
domain, allowed_kinds; optional entity_patterns (valid regexes), synonyms (term → list), glob_conventions (array of {pattern, glob} regex/template rules). Templates must reference valid capture groups; entity preservation applies to summaries. |
topology |
Optional reports_to, verified_by identity metadata; mounts array of {ring, ring_id, access, budget_share_pct}. Nonempty; one mount per ring, shares sum to 100. Access spellings: read_only, read_nominate, read_write_nominate, read_write, owner_read_write; only the last three allow direct minting. These declarations do not provision an external verifier. |
epistemology |
credible_z (1.96), graduation_lcb_threshold (0.78), graduation_min_samples (8), nomination_lcb_threshold (0.85), nomination_min_verifications (5); priors.AUTHORITY = {alpha, beta}; likelihoods.SIGNAL = {delta_alpha, delta_beta}; gate_commands (list of test-shaped command substrings), guard_mode (shadow default / enforce), guard_canary_min_events (5, at least 1). Priors must be finite/positive; deltas finite/nonnegative; model-judged components cannot exceed 0.30; attested likelihood overrides are refused. Credible z/sample threshold must be finite/positive; credible-bound thresholds are checked in range [0,1). |
retrieval |
embedding_provider (local-hash default / remote-openai; underscore aliases accepted), embedding_endpoint, embedding_model (no remote default), embedding_dims (128; remote 1–16384), connect_timeout_ms (200), timeout_ms (2500), fail_open (true). Remote mode requires an effective HTTP(S) endpoint and nonempty model. |
retrieval.reranker |
enabled (false), provider (none default / vllm-rerank, underscore alias), endpoint, model (no remote default), prompt_template (qwen3_reranker_chatml default, hyphen alias / raw), instruct, candidates_k (20), guaranteed_dense_k (5), min_score (0), connect_timeout_ms (200), timeout_ms (2500), fail_open (true). Active remote ranking requires HTTP(S) endpoint/model; when enabled, candidates must be 1–200, protected dense count at most candidates, timeouts positive. Explicit empty OTE remote endpoints are rejected even if an environment fallback exists. |
attestation |
allowed_signers (default .engram/attestors, relative to the OTE directory), reverify_fraction (0.2, finite 0–1). Withdrawn trusted_ref is explicitly refused: trust is not loaded from a Git ref. Protect the allowlist itself; signatures are verified against the currently loaded anchor. |