Agents Builders

Fast Avi Heartbeat

Archived
fast-avi-heartbeat

Created

Jun 29, 18:58

Started

Jun 29, 18:59

Completed

Jun 29, 22:23

DevOps handoff

Type

Feature

Shape

backend

Worktree Slug

fast-avi-heartbeat

Repositories

mcritchie-studio

Release Slug

Branch

feat/fast-avi-heartbeat

QA URL

Production URL

devops concurrency review-lane

Acceptance Criteria

  • Slow heartbeat remains serialized by default
  • Fast heartbeat reviews submitted PRs in waves
  • Fast concurrency cap defaults to five agents
  • Existing reviewer outcomes resolve unchanged

Expected Test Plan

  • [unit] Heartbeat mode and queue behavior tests
  • [integration] Fast mode dry-run command smoke

Checks Run

  • [unit] ruby -c bin/avi-heartbeat && ruby -Itest test/commands/avi_heartbeat_command_test.rb
  • [integration] bin/rails test test/helpers/application_helper_test.rb test/controllers/tasks_controller_test.rb
  • [docs] bin/agent-runtime check
  • [full-suite@d1a58a759d748033e1012a9e5d72e277b2f50132] bin/rails test green
  • [rubocop@d1a58a759d748033e1012a9e5d72e277b2f50132] bin/rubocop clean

Agent Context

Mr. McRitchie wants two Avi Heartbeat modes: slow for steady trickle and fast for stacked PR queues. Preserve current serialized behavior as slow/default. Add a fast path that uses the same reviewer-select, reviewer prompt, scout-report, defer/block/reviewed resolution semantics, but launches multiple submitted PR review pairs in bounded waves with a default cap of 5 concurrent reviewer agents. The fast variant is review-only and must not merge/deploy/ship.

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 MEDIUM Actual LARGE
  1. Created Designed
    S Spearow
    Spearow
    Model
    Duration
    Tokens
    Cost
    Completed Jun 29, 18:58 · 9 days ago
    api
  2. Designed Building
    S Spearow
    Spearow
    Model
    gpt-5.5
    Duration
    under a minute
    Tokens
    1,070,899
    Cost
    ~$0.57
    Started Jun 29, 18:58
    Completed Jun 29, 18:59 · 9 days ago
    cli
  3. Building Submitted
    S Spearow
    Spearow
    Model
    gpt-5.5
    Duration
    23 minutes
    Tokens
    5,772,217
    Cost
    ~$4.83
    Started Jun 29, 18:59
    Completed Jun 29, 19:22 · 9 days ago
    cli
  4. Submitted Reviewed Review Activity
    C Carl
    Carl primary
    S Shannon
    Shannon light
    Model
    gpt-5.5
    Duration
    about 3 hours
    Tokens
    Cost
    Started Jun 29, 19:22
    Completed Jun 29, 21:52 · 9 days ago
    cli
  5. Reviewed Assembled
    S Steffon
    Steffon
    Model
    gpt-5.5
    Duration
    2 minutes
    Tokens
    600,841
    Cost
    ~$0.43
    Started Jun 29, 21:52
    Completed Jun 29, 21:54 · 9 days ago
  6. Assembled Shipped
    A Avi
    Avi
    Model
    gpt-5.5
    Duration
    29 minutes
    Tokens
    4,783,489
    Cost
    ~$3.20
    Started Jun 29, 21:54
    Completed Jun 29, 22:23 · 9 days ago
  7. Shipped Archived
    Model
    Duration
    4 days
    Tokens
    Cost
    Started Jun 29, 22:23
    Completed Jul 04, 03:23 · 4 days ago

Conversation

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

Comment avi 9 days ago

Avi deferred review in this pass: PR #293 is still draft/avi-ready-draft. Mark the PR ready for review and confirm owner intent before Avi launches the senior review pair.

Handoff avi 9 days ago

Re-kicked for review: rebased feat/fast-avi-heartbeat onto origin/release, refreshed installed agent docs, pushed rebased head dca68e7, marked PR #293 ready for review, and reran gates. Evidence: session-preflight passed with same-file overlap warnings only; bin/dor-check fast-avi-heartbeat passed; full suite passed 2085 runs / 9789 assertions / 0 failures; RuboCop inspected 578 files with no offenses; full-suite/rubocop evidence recorded at 180b362cb7d9.

Comment avi 9 days ago

Avi re-kick verification complete: PR #293 is no longer draft, head dca68e7 is pushed, qa-intake reports avi-ready, and GitHub CI lint/scan_js/scan_ruby/test all passed after the rebase.

Comment avi 9 days ago

Avi repaired the submitted PR branch before review: fixed bin/avi-heartbeat to pass Codex approval/sandbox flags before exec, added a regression for flag order, committed 78ef965, and reran DoR/full-suite evidence.

Comment carl 9 days ago

Scout report: merge-ready - Fast heartbeat now preserves slow default behavior and launches bounded waves; repaired Codex exec flag ordering before approval. Reporter: carl Outcome: merge-ready Findings: - none Questions: - none Checks: - Local full suite and RuboCop are green at d1a58a759d74. - GitHub CI passed lint, scan_js, scan_ruby, and test on PR #293 head 78ef965.

Comment steffon 9 days ago

Scout report: merge-ready - Review-lane automation remains review-only; fast mode is capped and DoR confirms backend coverage after CLI repair. Reporter: steffon Outcome: merge-ready Findings: - none Questions: - none Checks: - Regression covers Codex global flag order before exec. - PR #293 is non-draft, clean to release, and remote CI green.

Sealed-bid sizing

Edit →

Alex (PM)

Avi (PO)

Dev

MEDIUM

Actual

LARGE