Files
boshu 704d9b6a8f feat(provenance): E6.4 — run mine-session over the real corpus (mine-all runner)
Operational completion of E6: the incremental miner (E6.2) + its e2e (E6.3) were
landed but had never RUN on real logs (anti-cathedral: a miner that never runs
makes no contact). mine-all-sessions.sh drives `ao provenance mine-session` over a
session dir and appends per-inference provenance events to a LOCAL, gitignored
event store (.agents/provenance/mine-events.jsonl), incremental via per-session
--state. Proven on the real corpus: 146 sessions -> 17,883 events, 0 failed;
re-run is incremental (idempotent via --state).

Soundness (cross-family pawl: CONFIRMED rev2 after REFUTED rev1 caught 4 real
defects self-review missed): exit 1 on any session failure (no false-green exit
0); rollback removes a newly-created advanced state on failure so a re-run
re-mines unstored events (no data loss); stale .bak cleared before snapshot;
summary JSON built with jq (escaping); single-writer mkdir lock; deterministic
find|sort ordering.

Test: tests/scripts/mine-all-sessions.bats (6 cases incl. the failure/rollback
data-loss path).

Bead: age-membrane-memory-arch-tz2s.6.4
2026-06-22 11:18:16 -04:00
..