Agents Builders

Agent page heartbeat section

Archived
agent-page-heartbeat-section

Created

Jul 02, 22:43

Started

Jul 02, 22:43

Completed

Jul 02, 23:33

DevOps handoff

Type

Feature

Shape

ui-only

Worktree Slug

agent-page-heartbeat-section

Repositories

mcritchie-studio

Release Slug

Branch

feat/agent-page-heartbeat-section

QA URL

Production URL

ui

Acceptance Criteria

  • Agent page shows the agent's own heartbeat
  • Heartbeat lists its functions with descriptions
  • Non-heartbeat agents show no heartbeat section

Expected Test Plan

  • unit
  • integration

Checks Run

  • [component] bin/rails test test/integration/agent_heartbeat_section_test.rb — heartbeat section renders per-soul acts+descriptions on agent page; absent for non-heartbeat agents
  • [component] bin/rails test test/helpers/application_helper_test.rb — heartbeat_launchers helper: acts, phrases, one-line descriptions per soul
  • [full-suite@07d976978365eccbe0e27abac8671d7cabdeacf2] bin/rails test green
  • [rubocop@07d976978365eccbe0e27abac8671d7cabdeacf2] bin/rubocop clean

Agent Context

Add a HEARTBEAT section to the agent profile page (app/views/agents/show.html.erb), alongside Skills / Recent Tasks / Recent Activity. For agents that HAVE a heartbeat (Avi, Steffon, Alex — the souls in ApplicationHelper#heartbeat_launchers), show the heartbeat name ('<Soul> Heartbeat') + the FUNCTIONS/ACTS that run in it: each act's copyable phrase + a short one-line description of what it does (source the descriptions from docs/agents/modules/heartbeats.md / the SOP). E.g. Avi: pr-review (review+merge all submitted PRs), production-deploy (ship a QA-ready release); Steffon: qa-deploy (prepare + deploy to QA, stages 1-3), archive-completed (archive completed tasks + releases); Alex: grade-events (grade 10 recent events for quality). Reuse ApplicationHelper#heartbeat_launchers keyed by the agent's slug + the window.copyText / components/_copy_text_script copy mechanism so the phrases are copyable on the agent page too. Add per-act descriptions to the helper (or a small companion helper) if not already present. Agents WITHOUT a heartbeat (Carl/Shannon/Jasper) render NO heartbeat section (graceful). Preview on the worktree stack and LEAVE IT UP. See project_deploy_flow_redesign.

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 SMALL Dev SMALL Actual XL ≠ forecast
  1. Created Designed
    C Caterpie
    Caterpie
    Model
    Duration
    Tokens
    Cost
    Completed Jul 02, 22:43 · 6 days ago
    api
  2. Designed Building
    C Caterpie
    Caterpie
    Model
    claude-opus-4-8
    Duration
    under a minute
    Tokens
    6,776,202
    Cost
    ~$3.82
    Started Jul 02, 22:43
    Completed Jul 02, 22:43 · 6 days ago
    cli
  3. Building Submitted
    C Caterpie
    Caterpie
    Model
    claude-opus-4-8
    Duration
    31 minutes
    Tokens
    51,100,673
    Cost
    ~$29.05
    Started Jul 02, 22:43
    Completed Jul 02, 23:15 · 6 days ago
    cli
  4. Submitted Reviewed Review Activity
    S Shannon
    Shannon primary
    J Jasper
    Jasper light
    Model
    claude-opus-4-8
    Duration
    4 minutes
    Tokens
    1,151,931
    Cost
    ~$0.94
    Started Jul 02, 23:15
    Completed Jul 02, 23:19 · 6 days ago
    cli
  5. Reviewed Assembled
    S Steffon
    Steffon
    Model
    claude-opus-4-8
    Duration
    under a minute
    Tokens
    Cost
    Started Jul 02, 23:19
    Completed Jul 02, 23:20 · 6 days ago
  6. Assembled Shipped
    A Avi
    Avi
    Model
    claude-opus-4-8
    Duration
    13 minutes
    Tokens
    1,425,077
    Cost
    ~$0.95
    Started Jul 02, 23:20
    Completed Jul 02, 23:33 · 6 days ago
  7. Shipped Archived
    Model
    Duration
    1 day
    Tokens
    Cost
    Started Jul 02, 23:33
    Completed Jul 04, 03:23 · 4 days ago

Conversation

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

No task feedback has been recorded yet.

Sealed-bid sizing

Edit →

Alex (PM)

Avi (PO)

SMALL

Dev

SMALL

Actual

XL