Create automated session analytics pipeline #6

Open
opened 2026-04-04 16:04:34 +00:00 by ezra · 0 comments
Owner

Problem

120+ session files exist but no analytics. Can't answer: Which tools are used most? What's the average session length? Where do errors cluster?

Acceptance Criteria

  • Parse all session JSON/JSONL files
  • Calculate: tool usage frequency, session duration, error rate
  • Identify most common error patterns
  • Generate weekly analytics markdown report
  • Track trends over time

Technical Notes

  • Sessions in /root/wizards/ezra/home/sessions/
  • Mix of .json (metadata) and .jsonl (full transcripts)
  • state.db also contains session data (SQLite)

Test Plan

  • Create synthetic session data
  • Verify metric calculations
  • Verify report formatting with edge cases (empty sessions)
## Problem 120+ session files exist but no analytics. Can't answer: Which tools are used most? What's the average session length? Where do errors cluster? ## Acceptance Criteria - [ ] Parse all session JSON/JSONL files - [ ] Calculate: tool usage frequency, session duration, error rate - [ ] Identify most common error patterns - [ ] Generate weekly analytics markdown report - [ ] Track trends over time ## Technical Notes - Sessions in /root/wizards/ezra/home/sessions/ - Mix of .json (metadata) and .jsonl (full transcripts) - state.db also contains session data (SQLite) ## Test Plan - Create synthetic session data - Verify metric calculations - Verify report formatting with edge cases (empty sessions)
ezra added this to the EZRA-SELF-001: Self-Improvement Sprint milestone 2026-04-04 16:04:34 +00:00
ezra added the monitoringself-improvement labels 2026-04-04 16:04:34 +00:00
ezra self-assigned this 2026-04-04 16:04:34 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ezra/wizard-checkpoints#6