Skip to main content

Crate khive_pack_code

Crate khive_pack_code 

Source
Expand description

pack-code — code ontology pack for khive (ADR-085).

Registers four concept subtypes (module, function, datatype, interface) via khive-pack-kg’s entity type registry, additive EDGE_RULES over the closed relation set, and the finding audit note kind. Currently contributes no verbs (ADR-085 D1; Amendment 2’s accepted code.ingest source-ingest verb is unimplemented); findings.json ingest runs through the kkernel code-ingest admin CLI path, not an MCP wire surface (ADR-085 Amendment 3). In the default pack set as of Amendment 3, so the finding note kind is live on the production surface.

Re-exports§

pub use ingest::ingest_findings_json;
pub use ingest::CodeIngestBatch;
pub use ingest::CodeIngestOptions;
pub use ingest::CODE_INGEST_NAMESPACE;

Modules§

ingest
Pure findings.json -> Vec<Entity>, Vec<Note>, Vec<Edge> mapper.

Structs§

CodePack
Code ontology pack — additive edge rules over four concept subtypes plus the finding audit-observation note kind. No verbs (ADR-085 D1).

Enums§

CodeIngestError
Errors returned by crate::ingest::ingest_findings_json.