Expand description
Runtime defaults and context-assembly helpers.
harness-core defines the abstract World/Clock/ProcessRunner/KvStore
traits; this crate provides the concrete implementations the framework
actually runs on.
Re-exports§
pub use file_recall::*;pub use memory_file::*;pub use memory_guard::*;pub use runtime::*;
Modules§
- file_
recall - File-backed
RecallStore: append-only JSONL transcripts, one directory per owner. Open-format, greppable, operator-owned — same posture ascrate::FileMemory. Search is a linear token-overlap scan (no FTS), fine at kilobyte–MB scale; apps at scale useharness-recall-sqliteinstead. - memory_
file - File-backed
Memoryimplementation. - memory_
guard - Memory write-time guards: dedup + sensitivity filter.
- runtime
- Concrete
Worldruntime impls.
Traits§
- Context
Ext - Convenience constructors and mutators for
Context.
Functions§
- default_
world - Quick way to construct a
Worldrooted at the given path with the default runtime impls (tokio process runner, system clock, in-memory kv) and an empty user profile. - with_
profile - Builder shorthand: construct a default world and attach a profile in one go.