Expand description
A local, append-only events log (results/events.jsonl) — the decision-data埋点 for metrics. Gitignored, 0-network, best-effort (a write failure never fails the command).
Functions§
- append
- Append one event line:
{ts, op, tick_id?, source_ref?, age?, verdict?, masked_stale?}. When a deciding tick is given it contributes the join key (source_ref) and a coarse decision-AGE bucket — together the prior-decision discriminator the metrics framework needs: a check firing on an OLD decision is a prior-decision resurface; on a just-written one it is not.masked_stalecarries a stale sub-kind that the (worse) per-tick verdict hides, so a staleness-mask never silently drops.