Agents Builders

Event Driven Lifecycle APIs

Archived
event-driven-lifecycle-apis
UNRESOLVED QA FEEDBACK

PR #270 now conflicts with origin/release after PR #269 merged first. Please rebase feat/event-driven-lifecycle-apis onto current origin/release, resolve the shared bin/release and docs/agents/system/devops-cycle-design.md conflicts, rerun the lifecycle API focused checks plus full-suite/rubocop evidence, force-push with lease, and resubmit for QA.

Created

Jun 28, 22:09

Started

Jun 29, 03:57

Completed

Jun 29, 05:06

DevOps handoff

Type

Feature

Shape

ui+db

Worktree Slug

event-driven-lifecycle-apis

Repositories

mcritchie-studio

Release Slug

Branch

feat/event-driven-lifecycle-apis

QA URL

Production URL

api-contract release-protocol event-migration

Acceptance Criteria

  • Deployment tracker reads explicit release events
  • Agents create lifecycle events through authenticated APIs
  • Review and build stages support event endpoints
  • Required usage fields validate tokens and cost
  • Release scripts emit deterministic checkpoint events

Expected Test Plan

  • [unit] event model validation and idempotency
  • [component] tracker renders explicit release checkpoints
  • [integration] authenticated API creates task and release events
  • [e2e] deployment tracker shows confirm before production

Checks Run

  • [unit] bin/rails test test/models/release_event_test.rb test/models/task_event_test.rb
  • [component] bin/rails test test/helpers/application_helper_test.rb test/services/deployments_broadcaster_test.rb
  • [integration] focused lifecycle/release event suite passed (246 runs, 1095 assertions)
  • [e2e] PATH-pinned E2E_PORT=3098 npm test (36 passed)
  • [full-suite@5019406828b14f3a96e0b5c9e37460a4a48422af] bin/rails test green
  • [rubocop@5019406828b14f3a96e0b5c9e37460a4a48422af] bin/rubocop clean

Agent Context

Mr. McRitchie wants McRitchie Studio to expose explicit APIs for deployment and broader lifecycle events instead of inferring progress from coarse Release timestamps. Re-envision the event spine so agents can hit simple authenticated endpoints such as start/complete/fail for deployment checkpoints and potentially design/build/review lifecycle steps. Prefer /complete over /pass. Introduce mandatory usage fields where appropriate, including model, tokens, and cost, so agents learn to send complete event data. Move deterministic tracker and lifecycle logic onto events while preserving existing task/release state as coarse lifecycle summary.

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 Dev XL Actual XL
  1. Created Designed
    V Victreebel
    Victreebel
    Model
    Duration
    Tokens
    Cost
    Completed Jun 28, 22:09 · 10 days ago
    api
  2. Designed Building
    V Victreebel
    Victreebel
    Model
    gpt-5.5
    Duration
    under a minute
    Tokens
    368,707
    Cost
    ~$0.29
    Started Jun 28, 22:09
    Completed Jun 28, 22:10 · 10 days ago
    cli
  3. Building Submitted
    V Victreebel
    Victreebel
    Model
    gpt-5.5
    Duration
    30 minutes
    Tokens
    14,440,862
    Cost
    ~$9.34
    Started Jun 28, 22:10
    Completed Jun 28, 22:40 · 10 days ago
    cli
  4. Submitted Reviewed Review Activity
    C Carl
    Carl primary
    S Shannon
    Shannon light
    Model
    gpt-5.5
    Duration
    about 5 hours
    Tokens
    4,486,317
    Cost
    ~$3.53
    Started Jun 28, 22:40
    Completed Jun 29, 03:43 · 9 days ago
    cli
  5. Reviewed Blocked
    0
    019f1033-81dd-79a3-b743-5e07922cc538
    Model
    gpt-5.5
    Duration
    2 minutes
    Tokens
    488,817
    Cost
    ~$0.29
    Started Jun 29, 03:43
    Completed Jun 29, 03:44 · 9 days ago
    cli
  6. Blocked Building
    V Victreebel
    Victreebel
    Model
    gpt-5.5
    Duration
    13 minutes
    Tokens
    3,335,895
    Cost
    ~$2.04
    Started Jun 29, 03:44
    Completed Jun 29, 03:57 · 9 days ago
    cli
  7. Building Submitted
    V Victreebel
    Victreebel
    Model
    gpt-5.5
    Duration
    16 minutes
    Tokens
    8,788,188
    Cost
    ~$5.26
    Started Jun 29, 03:57
    Completed Jun 29, 04:13 · 9 days ago
    cli
  8. Submitted Reviewed Review Activity
    C Carl
    Carl primary
    J Jasper
    Jasper light
    Model
    gpt-5.5
    Duration
    16 minutes
    Tokens
    Cost
    Started Jun 29, 04:13
    Completed Jun 29, 04:29 · 9 days ago
    cli
  9. Reviewed Assembled
    S Steffon
    Steffon
    Model
    gpt-5.5
    Duration
    under a minute
    Tokens
    154,474
    Cost
    ~$0.10
    Started Jun 29, 04:29
    Completed Jun 29, 04:30 · 9 days ago
  10. Assembled Shipped
    A Avi
    Avi
    Model
    gpt-5.5
    Duration
    36 minutes
    Tokens
    Cost
    Started Jun 29, 04:30
    Completed Jun 29, 05:06 · 9 days ago
  11. Shipped Archived
    Model
    Duration
    5 days
    Tokens
    Cost
    Started Jun 29, 05:06
    Completed Jul 04, 03:23 · 4 days ago

Conversation

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

QA Feedback 9 days ago

PR #270 now conflicts with origin/release after PR #269 merged first. Please rebase feat/event-driven-lifecycle-apis onto current origin/release, resolve the shared bin/release and docs/agents/system/devops-cycle-design.md conflicts, rerun the lifecycle API focused checks plus full-suite/rubocop evidence, force-push with lease, and resubmit for QA.

Sealed-bid sizing

Edit →

Alex (PM)

Avi (PO)

Dev

XL

Actual

XL