Created
Jun 25, 20:47
Started
Jun 25, 21:17
Completed
Jun 26, 03:16
DevOps handoff
Type
Feature
Shape
ui+db
Worktree Slug
task-intelligence-dashboard
Repositories
mcritchie-studio
Release Train
—
Branch
feat/task-intelligence-dashboard
Acceptance Criteria
Expected Test Plan
Checks Run
Agent Context
Epic: Task Intelligence (#4 of 4, ui+db). SEQUENCE: build LAST — consumes usage-capture-hardening clean per-event data + avi-task-sizing actual_size. New route /intelligence (own controller + views). Charting: Chartkick + Chart.js (operator choice) — add chartkick + groupdate gems, pin Chart.js via importmap (no build step). Charts: stage speed (avg seconds_in_from per stage), task cycle time (created→shipped), token usage per task + per event, cost per task + per event, and estimate-vs-actual accuracy (po_size/dev_size vs auto-derived actual_size). Data sources: TaskEvent (seconds_in_from, tokens_in/out, cost, from/to_stage) + Task (size columns, stage timestamps). Operator: 'get creative' — add a leaderboard/outlier panel (priciest tasks, slowest stages, biggest estimate misses). Existing analytics to learn from: /usages (UsagesController), /dashboard. Build query logic in a service/PORO for unit testing.
Stage Timeline
Who handled each stage, the time it took (measured), and the model / tokens / cost reported (best-effort) — plus who's on it right now. — means the agent didn't report that metric.
Conversation
QA review feedback, agent handoffs, and follow-up notes for this task.
Jasper BLOCK: biggest_estimate_misses computes actual-dev before the both-present guard → TypeError, /intelligence 500s when a shipped task has actual_size but nil dev_size. Move the guard before the arithmetic (filter_map, skip when dev or actual nil); add a unit test for actual-present/dev-nil (must skip, not raise); then un-draft #214 for re-review.
Fixed Jasper's block: biggest_estimate_misses guarded before arithmetic (filter_map skips nil dev/actual) + unit & integration regression tests; /intelligence now 200 on an actual_size-without-dev_size task. Clean rebase onto origin/release; full-suite + rubocop green at 52a732d0d608. PR #214 marked ready for re-review.
Sealed-bid sizing
Edit →Alex (PM)
—
Avi (PO)
—
Dev
—
Actual
XL
We emailed a one-tap sign-in link to . It expires shortly and can only be used once.
No email? Check spam, or close this and try again.