Agents Builders

Agent attribution on events

Archived
agent-attribution-on-events

Created

Jul 01, 18:14

Started

Jul 01, 18:15

Completed

Jul 01, 19:16

DevOps handoff

Type

Feature

Shape

backend

Worktree Slug

agent-attribution-on-events

Repositories

mcritchie-studio

Release Slug

Branch

feat/agent-attribution-on-events

Local URL

QA URL

Production URL

data-model

Acceptance Criteria

  • AtomicEvent gains an agent soul field
  • bin/atomic-event --agent stamps the acting soul
  • Base mascot is the stable session mascot
  • Blank agent falls back to base mascot

Expected Test Plan

  • unit
  • integration

Checks Run

  • [unit] AtomicEvent::SOULS roster + agent normalize: known soul stored down-cased, unknown/blank coerced to nil
  • [unit] resolve_marker base mascot = session's own, task_slug/stage = desk (bin/atomic-event + capture hook)
  • [integration] open_event! stamps known soul, coerces unknown to nil and still opens
  • [integration] POST /api/v1/atomic_events permits agent; unknown agent coerced to nil, still 201
  • [integration] span opened with --agent avi persists agent=avi on the span
  • [integration] base mascot stays the session mascot across a task bind (Shellder->Sandshrew regression)
  • [full-suite@fb777742a183496657664d41b4b52d82a32773fa] bin/rails test green
  • [rubocop@fb777742a183496657664d41b4b52d82a32773fa] bin/rubocop clean

Agent Context

Foundation for the Agent-column epic: record which SOUL performed an event, stacked over the stable base session mascot. Full spec in the delegation prompt. Adds agent soul field to atomic_events + --agent flag on bin/atomic-event + fixes base mascot to be the session mascot (not the bound task builder). Unblocks Agent-column UI, PR-review SOP, Avi-sizing. See project_opsd_learning_layer.

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 SMALL Actual XL ≠ forecast
  1. Created Designed
    C Caterpie
    Caterpie
    Model
    Duration
    Tokens
    Cost
    Completed Jul 01, 18:14 · 7 days ago
    api
  2. Designed Building
    C Caterpie
    Caterpie
    Model
    claude-opus-4-8
    Duration
    1 minute
    Tokens
    1,296,330
    Cost
    ~$1.72
    Started Jul 01, 18:14
    Completed Jul 01, 18:15 · 7 days ago
    cli
  3. Building Submitted
    C Caterpie
    Caterpie
    Model
    claude-opus-4-8
    Duration
    18 minutes
    Tokens
    7,483,884
    Cost
    ~$4.91
    Started Jul 01, 18:15
    Completed Jul 01, 18:32 · 7 days ago
    cli
  4. Submitted Reviewed Review Activity
    C Carl
    Carl primary
    A Alex
    Alex light
    Model
    claude-opus-4-8
    Duration
    1 minute
    Tokens
    1,343,154
    Cost
    ~$0.81
    Started Jul 01, 18:32
    Completed Jul 01, 18:33 · 7 days ago
    cli
  5. Reviewed Assembled
    S Steffon
    Steffon
    Model
    claude-opus-4-8
    Duration
    under a minute
    Tokens
    1,346,331
    Cost
    ~$0.76
    Started Jul 01, 18:33
    Completed Jul 01, 18:34 · 7 days ago
  6. Assembled Shipped
    A Avi
    Avi
    Model
    claude-opus-4-8
    Duration
    42 minutes
    Tokens
    18,703,070
    Cost
    ~$11.37
    Started Jul 01, 18:34
    Completed Jul 01, 19:16 · 7 days ago
  7. Shipped Archived
    Model
    Duration
    2 days
    Tokens
    Cost
    Started Jul 01, 19:16
    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)

MEDIUM

Dev

SMALL

Actual

XL