feat: type-scope events vacuum to prune only stream rows (14d) + drop turn-stats vacuum

This commit is contained in:
damocles 2026-06-05 23:09:09 +02:00 committed by mara
commit 6e39515669
9 changed files with 50 additions and 99 deletions

View file

@ -104,10 +104,10 @@ hive-c0re/ host daemon + sibling operator CLI (lib + 2 bins)
fans out one Message per active target,
re-arms recurring rows, deletes fired one-shots
src/events_vacuum.rs host-side hourly sweep of every agent's
/harness/hyperhive-events.sqlite
src/stats_vacuum.rs host-side hourly sweep of every agent's
/harness/hyperhive-turn-stats.sqlite —
90-day age-only retention
/harness/hyperhive-events.sqlite — type-scoped:
prunes only verbose `stream` rows older than
14d, keeps semantic events (turn-stats has no
vacuum — it's tiny)
src/bash_tasks_vacuum.rs host-side hourly sweep of every agent's
harness/bash-tasks/ — deletes terminal task
trios (.json/.out/.err) older than 48h