Skip to main content

Crate hikmah_kernel

Crate hikmah_kernel 

Source

Re-exports§

pub use decision_port::admit;
pub use decision_port::ask;
pub use decision_port::AdmittedAnswer;
pub use decision_port::AdmittedDecision;
pub use decision_port::DecisionEngine;
pub use decision_port::DecisionRequest;
pub use decision_port::NoEngine;
pub use decision_port::Question;
pub use decision_port::QuestionKind;
pub use error::KernelError;
pub use error::Result;
pub use ledger::MemoryStore;
pub use recall::RecallQuery;
pub use recall::RecallResult;
pub use trace::PrivacyClass;
pub use trace::Provenance;
pub use trace::Trace;
pub use trace::TraceKind;
pub use trace::TraceStatus;
pub use why::TraceLineage;

Modules§

calibration
Calibration earned from outcomes.
claims
consolidation
council
Deterministic challenge lanes.
decision
Weighted multi-criteria decisions with hard blocks and a reversibility preference.
decision_port
Typed decision port: unstructured state in, typed decisions out.
error
focus
Focus Capsule: the bounded working set an agent deliberates over.
hook
Truth Gate: a narrow Stop-hook check for responses that claim completion while leaving work unfinished or deferred. It is not a fact-checker.
jev
TypeSafe Jev (System One) adapter for the typed decision port.
ledger
Append-only, hash-chained TraceWeave ledger.
model_port
planner
policy
Kernel policy: memory limits, recall and consolidation thresholds, every recall weight, and the calibration sample minimum, as data. The decision, council, planner, and statistical constants (for example decision::REVERSIBILITY_BAND or calibration::Z_CRITICAL) are code, not policy.
principal
Who is writing: detect an AI agent session from the environment its host sets.
prospective
recall
Deterministic contextual recall.
secrets
Conservative credential detection for text about to leave the machine (decision engines) and for every trace before it is written to memory (Trace::validate).
threshold
Data-driven Truth Gate threshold.
trace
validate
Package validator for the repository: manifests, versions, hooks, and skills.
why
Provenance chains: why a memory looks the way it does.