Expand description
TOML-based embedding engine configuration for khive.
Loads .khive/config.toml (or --config / KHIVE_CONFIG) and exposes an
[[engines]] array for arbitrary-N embedding engine registration. Falls back
to KHIVE_EMBEDDING_MODEL env vars when no config file is present.
Structs§
- Actor
Config - Actor configuration — the default namespace / identity for this khive instance.
- Backend
Config - Configuration for a named storage backend.
- Engine
Config - Configuration for a single embedding engine.
- GitWrite
Entry Config - One
[[git_write.allowed]]entry: a repo this operator has declared trusted for khive-mediated git writes, plus the branches on it a write verb (git.commit/git.branch/git.push) may target. - GitWrite
Section Config [git_write]section — the closed repo/branch allowlist consulted bykhive-pack-git’s write verbs at the handler level (ADR-108 Amendment), independent of Gate policy. Absent or emptyallowedis the fail-closed default: the write verbs report themselves unavailable rather than defaulting open.- Khive
Config - Top-level khive configuration loaded from
khive.tomlorconfig.toml. - Pack
Config - Per-pack backend assignment.
- Runtime
Section Config [runtime]section inkhive.toml.- Storage
Section Config [storage]section inkhive.toml. Holds storage-layer config not already covered by[[backends]](ADR-028).
Enums§
- Backend
Kind - Storage backend kind.
- Blob
Config [storage.blob]section: a closedbackend = "fs" | "s3"selector.- Config
Error - Errors produced while loading or validating a
KhiveConfig.
Functions§
- config_
from_ env - Build an in-memory
KhiveConfigfrom the legacy env-var path.