[Feature] Step-Level Time Tracking + Session Outcomes #56
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Automatically capture duration at each tree step (timestamp on entry/exit). Add a "Did this resolve the issue?" prompt at session end with outcome categories: resolved, escalated, workaround, unresolved.
Why
This is the foundational data layer for all analytics features. Without it:
Every MSP manager will ask "does this save time?" before buying. This data answers that question.
Implementation Notes
Step-Level Timing
entered_atandexited_atto each decision recordexited_at - entered_atSession Outcomes
outcomefield to Session model:resolved|escalated|workaround|unresolvedoutcome_notestext field for optional contextoutcomeandoutcome_notescolumns to sessions tableExport Enhancement
Schema Changes
Decision JSONB enhancement:
Acceptance Criteria
entered_at,exited_at,duration_secondsUnlocks
Sources
docs/plans/2026-02-04-feature-ideas-brainstorm.md— Idea 1: Session Time Tracking.claude/docs/ai/resolutionflow/10x/session-1.md— Medium Opportunity #1Priority
Do Next — foundational, unlocks entire analytics layer
Closing as implemented. Step-level time tracking and session outcomes were implemented in commit
ca4ce7cand subsequent work: entered_at/exited_at on decisions, outcome modal at session end, outcome stored on sessions, timing visible in exports, and outcome badges in session history. PR #78 analytics also leverage this data for dropoff metrics.