Expand description
Per-skill append-only event log (~/.mur/skills/<name>/events.jsonl).
Each line is a JSON-serialized SkillEvent. Used by fleet-sync for
set-union merge of evolved usage state across devices.
Also provides manifest conflict resolution via Last-Writer-Wins (LWW)
for fleet-sync: when two devices have divergent manifests, the one
with the later updated_at timestamp wins.
Structs§
- RunRecord
- Outcome of one workflow/skill run, recorded into the per-skill ledger.
Enums§
Functions§
- append_
event - apply_
new_ events_ to_ stats - Apply a slice of new events to an existing
SkillStats, updating only usage counters. Lifecycle state, pinned, and anchor_confidence are preserved — they are managed by the lifecycle module, not by events. - event_
log_ path - parse_
events_ jsonl - read_
events - record_
run - Append one enriched Execution event for a completed run — the run-ledger write path (workflow-engine v2 P2). Returns the event written.
- resolve_
manifest_ lww - Resolve manifest conflict via Last-Writer-Wins (LWW). Returns the winning skill and the reason (local_wins, remote_wins, or force_local).
- union_
events - Set-union of two event logs, deduped by
dedup_key, sorted by timestamp. Commutative and idempotent.