Unified Task Timeline

t-213·Epic·
·
·
·Omni/Jr.hs
Created3 months ago·Updated3 months ago

Execution Summary

6/6
Tasks Completed
$0.00
Total Cost
0s
Total Time

Design

Edit

Unify comments, activity, tool calls, and status changes into a single chronological timeline per task.

Current Problem

  • Comments shown separately from agent activity
  • Agent Log is a separate page that gets overwritten on retry
  • Status changes not recorded
  • Context lost between attempts

Solution

Single agent_events table stores all timeline events with an actor column (human/junior/system).

Event Types

  • comment - Human or Junior markdown comments
  • status_change - Auto-logged when status changes
  • claim - Jr claimed the task
  • tool_call - Jr called a tool
  • tool_result - Tool returned result
  • thought - Jr's reasoning/planning text
  • checkpoint - Jr progress marker
  • guardrail - Guardrail triggered
  • error - Something failed
  • complete - Jr finished work

Display

One unified timeline on task detail page, chronological, with icons per event type.

Benefits

  • Full history preserved across retries
  • Human comments appear in context with Jr's work
  • Complete audit trail
  • Simpler code (one timeline, one table)

Child Tasks

  • t-213.1 - Add actor column to agent_events table [Done]
  • t-213.2 - Migrate addComment to use timeline events [Done]
  • t-213.3 - Auto-log status changes to timeline [Done]
  • t-213.4 - Remove task_activity table, migrate to agent_events [Done]
  • t-213.5 - Unified timeline view on task detail page [Done]
  • t-213.6 - Remove separate Agent Log page [Done]

Timeline (2)

🔄[human]Open → Review3 months ago
🔄[human]Review → Done3 months ago