Skip to main content

Crate kkernel

Crate kkernel 

Source
Expand description

kkernel — khive admin/management library.

See ADR-003 for the kernel/MCP split rationale. This library exposes the building blocks that the kkernel binary composes into subcommands:

  • sync — build a queryable SQLite DB from NDJSON sources (issue #174).
  • pack_introspect — enumerate registered packs and their handler surface.
  • kg — KG validation, init, and hook management (ADR-034, ADR-035).
  • engine — embedding model lifecycle management (ADR-043).
  • vector — vector store introspection and orphan sweep (ADR-044).
  • coordinator — SubstrateCoordinator for cross-backend dispatch (ADR-029).

Modules§

coordinator
SubstrateCoordinator — cross-backend dispatch layer (ADR-003, ADR-029).
engine
kkernel engine — embedding model lifecycle management (ADR-043).
kg
kkernel kg — KG validation, init, and hook management (ADR-034, ADR-035).
pack_introspect
kkernel pack list and kkernel pack handler — introspection over registered packs.
sync
kkernel sync — thin wrapper around the khive_vcs::sync library boundary.
vector
kkernel vector — vector store introspection and housekeeping (ADR-044).