Skip to main content

keel_record/
lib.rs

1//! Record: ground-truth events for a Keel space.
2//!
3//! Distinct from agent framework logs: these describe FS / net / exec / lifecycle
4//! as observed or enacted by Keel, always tagged with policy and space ids.
5//!
6//! Optional **hash chain** integrity: see [`HashChainSink`] and [`verify_chain`].
7
8mod chain;
9mod event;
10mod paths;
11mod sink;
12
13pub use chain::{
14    compute_event_hash, content_sha256, seal_event, verify_chain, verify_jsonl, ChainVerifyError,
15    GENESIS_PREV,
16};
17pub use event::{EventKind, RecordEvent};
18pub use paths::{keel_home, keel_tmp_dir, space_dir, space_events_path, space_policy_path};
19pub use sink::{
20    default_space_sink, HashChainSink, JsonlSink, MemorySink, MultiSink, RecordSink,
21};