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.
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 - 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.