Skip to main content

Crate kkernel

Crate kkernel 

Source
Expand description

kkernel — khive admin/management library.

Modules§

cli
kkernel CLI — khive admin/management command surface (the kernel/MCP split keeps admin and infrastructure operations out of the MCP surface).
code_audit
kkernel code-audit: a read-only derived-report pipeline over a dedicated code-map database (docs/adr/ADR-114-code-audit-derived-report.md).
code_ingest
kkernel code-ingest: admin path that ingests a validated findings.json sweep into the graph via khive_pack_code::ingest::ingest_findings_json (ADR-085 Amendment 3).
compose
Host-composition entry point (ADR-191 D6, ADR-192 S4).
coordinator
SubstrateCoordinator — cross-backend dispatch layer (D2-D4).
dbpath
Shared --db / KHIVE_DB resolution for kkernel subcommands.
engine
kkernel engine — embedding model lifecycle management.
entity_type_backfill
Offline, registry-driven repair of legacy entity subtype properties.
exec
kkernel exec — run a verb DSL expression directly through the pack registry.
git_ingest
kkernel git-ingest — one-shot batch ingest of commit/issue/PR provenance notes into the graph (ADR-088). Builds a VerbRegistry the same way khive-mcp’s KhiveMcpServer::with_packs does (see server.rs), then drives khive_pack_git::ingest::run_ingest against it. NOT a daemon loop, NOT a webhook, NOT a poller — one pass per invocation.
kg
kkernel kg — KG validation, review, init, hooks, fetch, import/export, and status.
mount
Operator-only management of pinned tool-source definitions.
pack_introspect
kkernel pack list and kkernel pack handler — introspection over registered packs.
reindex
kkernel reindex — rebuild embedding vectors and FTS documents for entities and notes.
repo
Offline repository-showcase orchestration (ADR-147).
sync
kkernel sync — thin wrapper around the khive_vcs::sync library boundary.
vector
kkernel vector — vector store introspection and housekeeping.