memoryd: sync begins when Honcho is turned on, and conclusions are matched by peer
Co-Authored-By: ornith-1.5-35b-a3b <agent@wntrmute.dev>
This commit is contained in:
@@ -45,6 +45,12 @@ fn hs(name: &str, speakers: &[&str]) -> Option<HonchoSession> {
|
||||
fn ledger(dir: &TempDir, decisions: &[(Item, Action)]) -> Ledger {
|
||||
let path = dir.path().join("honcho.jsonl");
|
||||
let mut ledger = Ledger::open(&path).unwrap();
|
||||
// Every ledger begins with when sync began (M5c-1 task 15).
|
||||
ledger
|
||||
.append(Record::Began {
|
||||
time: Timestamp::parse("2026-09-28T09:00:00.000Z").unwrap(),
|
||||
})
|
||||
.unwrap();
|
||||
for (item, action) in decisions {
|
||||
ledger
|
||||
.append(Record::Decided {
|
||||
|
||||
Reference in New Issue
Block a user