MVP 0: Baseline metrics instrumentation

t-675.1·WorkTask·
·
·
·omni.hs
Parent:t-675·Created1 month ago·Updated1 month ago·pipeline runs →

Description

Edit

Add metrics tracking to the current task pipeline to establish baselines before any changes.

Metrics to capture:

  • Task success rate (tasks that reach Done vs total created)
  • Revision count per task (patchset_count already exists, ensure it's tracked/queryable)
  • Time-to-done (created_at to done timestamp)
  • Task failure reasons (when available from agent logs)

Implementation:

  • Add a 'task stats' enhancement or a new 'task metrics' command that computes these from the existing DB
  • Query: SELECT success rate, avg patchset count, avg time-to-done grouped by complexity, time period
  • This is the 'before' measurement that all subsequent MVPs compare against

Acceptance criteria:

  • Can run a command that outputs current baseline metrics
  • Metrics cover at least: success rate, avg revisions, avg time-to-done
  • Data is queryable by time range so we can compare before/after each MVP deployment

Timeline (0)

No activity yet.