Unified Task Timeline

t-213·Epic·
·
·
·Omni/Jr.hs
Created5 months ago·Updated5 months ago·pipeline runs →

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]

Git Commits

726f71e6Add actor tracking for status changes and use unified timeline
Ben Sima5 months ago4 files
a16de8c9Remove separate Agent Log page, consolidate timeline styles
Ben Sima5 months ago2 files
046e6d1cAdd actor column to agent_events table
Ben Sima5 months ago3 files

Timeline (2)

🔄[human]Open → Review5 months ago
🔄[human]Review → Done5 months ago