Skip to main content

Crate keel_record

Crate keel_record 

Source
Expand description

Record: ground-truth events for a Keel space.

Distinct from agent framework logs: these describe FS / net / exec / lifecycle as observed or enacted by Keel, always tagged with policy and space ids.

Structs§

JsonlSink
Append-only JSONL file sink.
MemorySink
In-memory sink for tests and demos.
MultiSink
Fan-out sink.
RecordEvent

Enums§

EventKind

Traits§

RecordSink

Functions§

default_space_sink
Create the default on-disk JSONL sink for a space (~/.keel/spaces/<id>/events.jsonl).
keel_home
Keel state directory ($KEEL_HOME or ~/.keel).
keel_tmp_dir
Ephemeral dir for spawn-time policy files.
space_dir
Directory for one space: ~/.keel/spaces/<id>/.
space_events_path
Default event log path: ~/.keel/spaces/<id>/events.jsonl.
space_policy_path
Optional persisted policy snapshot path.