Agents Builders

Heartbeat trajectory view

Archived
heartbeat-trajectory-view

Created

Jun 30, 20:19

Started

Jun 30, 20:27

Completed

Jun 30, 23:22

DevOps handoff

Type

Feature

Shape

ui+db

Worktree Slug

heartbeat-trajectory-view

Repositories

mcritchie-studio

Release Slug

Branch

feat/heartbeat-trajectory-view

QA URL

Production URL

ui

Acceptance Criteria

  • List atomic actions oldest to newest
  • Show model pokemon task stage tokens cost
  • Repoint alex heartbeat route to view
  • Hover tooltips reveal full phase names
  • Group rows by six session phases

Expected Test Plan

  • [component] view renders atomic action rows
  • [integration] view reads AtomicAction chronological

Checks Run

  • [unit] HeartbeatHelper formatters/labels (test/helpers/heartbeat_helper_test.rb) + existing AtomicAction model spec — green
  • [component] heartbeat/_trajectory_table renders rows + stage groups + dense columns (test/views/heartbeat_trajectory_table_test.rb) — green
  • [integration] GET /alex/heartbeat reads AtomicAction.for_session.chronological oldest->newest, grouped, session scope, empty state, route repoint (test/integration/alex_heartbeat_test.rb) — green
  • [e2e] /alex/heartbeat renders seeded trajectory + group collapse + launcher Alex avenue (e2e/alex_heartbeat.spec.js) — 3 passed
  • [full-suite@7d3cf9c46fb6d92d21edef7495827cdb7fd3a4dd] bin/rails test green
  • [rubocop@7d3cf9c46fb6d92d21edef7495827cdb7fd3a4dd] bin/rubocop clean

Agent Context

Reads AtomicAction (atomic-action-capture, now in release): AtomicAction.for_session.chronological for oldest-to-newest. Port the long table from scratchpad atomic-heartbeat.html (columns + tooltips + six-phase grouping). Repoint /alex/heartbeat (LauncherController#heartbeat placeholder from session-entry-launcher) to this real view; keep alex_heartbeat_path stable. Read-only trajectory view; feedback UI is a separate follow-up (T4).

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.

Sizing Avi · PO MEDIUM Dev MEDIUM Actual XL ≠ forecast
  1. Created Designed
    C Caterpie
    Caterpie
    Model
    Duration
    Tokens
    Cost
    Completed Jun 30, 20:19 · 8 days ago
    api
  2. Designed Building
    C Caterpie
    Caterpie
    Model
    claude-opus-4-8
    Duration
    8 minutes
    Tokens
    14,487,756
    Cost
    ~$12.31
    Started Jun 30, 20:19
    Completed Jun 30, 20:27 · 8 days ago
    cli
  3. Building Submitted
    C Caterpie
    Caterpie
    Model
    claude-opus-4-8
    Duration
    19 minutes
    Tokens
    20,239,187
    Cost
    ~$18.63
    Started Jun 30, 20:27
    Completed Jun 30, 20:46 · 8 days ago
    cli
  4. Submitted Reviewed Review Activity
    S Shannon
    Shannon primary
    C Carl
    Carl light
    Model
    claude-opus-4-8
    Duration
    3 minutes
    Tokens
    2,274,632
    Cost
    ~$1.58
    Started Jun 30, 20:46
    Completed Jun 30, 20:48 · 8 days ago
    cli
  5. Reviewed Assembled
    S Steffon
    Steffon
    Model
    claude-opus-4-8
    Duration
    under a minute
    Tokens
    1,722,828
    Cost
    ~$1.27
    Started Jun 30, 20:48
    Completed Jun 30, 20:49 · 8 days ago
  6. Assembled Shipped
    A Avi
    Avi
    Model
    claude-opus-4-8
    Duration
    about 3 hours
    Tokens
    68,712,028
    Cost
    ~$44.53
    Started Jun 30, 20:49
    Completed Jun 30, 23:22 · 8 days ago
  7. Shipped Archived
    Model
    Duration
    3 days
    Tokens
    Cost
    Started Jun 30, 23:22
    Completed Jul 04, 03:23 · 4 days ago

Conversation

QA review feedback, agent handoffs, and follow-up notes for this task.

Handoff 8 days ago

Read-only trajectory view shipped at /alex/heartbeat (HeartbeatController#show), route repointed off the launcher placeholder. Grouped by stage (null->Session) as the real-data analog of the six phases; tooltips reveal full Stage/Model/Actor names. Verified dark+light+mobile. Full suite 2166/0/0, rubocop clean, e2e 3 passed, dor-check merge-gate green. Demo data via rake atomic:demo_seed (local-only). NOTE: schema.rb intentionally unchanged — shared dev DB had a parallel T4 action_grades migration that is NOT on this branch; reverted to keep the PR migration-free.

Sealed-bid sizing

Edit →

Alex (PM)

Avi (PO)

MEDIUM

Dev

MEDIUM

Actual

XL