[Harvester] Wire post-session auto-harvest into cron lifecycle #9

Open
opened 2026-04-14 15:15:17 +00:00 by Timmy · 0 comments
Owner

Epic: #2 (Session Harvester)

Task

Make harvesting automatic. When a cron session finishes, harvest it.

Options to evaluate

  1. Cron job: a harvester cron that runs every 15min, finds recent completed sessions
  2. Session hook: modify the cron system to call harvester on session completion
  3. File watcher: watch sessions/ dir for new .jsonl files, harvest when written

Cron job spec

  • Name: session-harvester
  • Schedule: every 15 minutes
  • Logic: find sessions completed since last run, harvest each, update knowledge store
  • Deliver: local only (no user notification unless error)

Acceptance Criteria

  • New sessions are harvested within 15 minutes of completion
  • No duplicate harvesting (track last-harvested timestamp)
  • Errors logged but don't block other sessions
  • Harvest count reported in daily metrics
## Epic: #2 (Session Harvester) ### Task Make harvesting automatic. When a cron session finishes, harvest it. ### Options to evaluate 1. **Cron job**: a harvester cron that runs every 15min, finds recent completed sessions 2. **Session hook**: modify the cron system to call harvester on session completion 3. **File watcher**: watch sessions/ dir for new .jsonl files, harvest when written ### Recommended: Option 1 (cron job) — simplest, most reliable ### Cron job spec - Name: `session-harvester` - Schedule: every 15 minutes - Logic: find sessions completed since last run, harvest each, update knowledge store - Deliver: local only (no user notification unless error) ### Acceptance Criteria - [ ] New sessions are harvested within 15 minutes of completion - [ ] No duplicate harvesting (track last-harvested timestamp) - [ ] Errors logged but don't block other sessions - [ ] Harvest count reported in daily metrics
Timmy added the pipelineharvestermilestone:1 labels 2026-04-14 15:15:17 +00:00
hermes was assigned by Rockachopa 2026-04-15 01:50:44 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/compounding-intelligence#9