Agents Builders

Fix Mascot Hook Primitive

Archived
fix-heartbeat-reviewer-launch

Created

Jun 29, 15:59

Started

Jun 29, 15:59

DevOps handoff

Type

Bug

Shape

backend

Worktree Slug

fix-heartbeat-reviewer-launch

Repositories

mcritchie-studio

Release Slug

Branch

feat/fix-heartbeat-reviewer-launch

QA URL

Production URL

release tooling codex

Acceptance Criteria

  • Mascot hook primitive runs under current Codex
  • Runtime doctor detects missing hook trust
  • Regression coverage guards hook source discovery

Expected Test Plan

  • [unit] Codex session title primitive tests cover hook payload
  • [unit] Agent runtime doctor tests cover hook trust drift
  • [integration] Local hook probe runs against installed Codex files

Checks Run

  • [unit] ruby -Itest test/commands/codex_session_title_test.rb
  • [integration] ruby -Itest test/commands/install_agent_skills_test.rb
  • [unit] bash -n bin/codex-session-title bin/agent-runtime bin/install-agent-docs
  • [integration] bin/agent-runtime doctor
  • [full-suite@01071a1d081a31791b0b93936699e1f2c4840b03] bin/rails test green
  • [rubocop@01071a1d081a31791b0b93936699e1f2c4840b03] bin/rubocop clean

Agent Context

Scope pivoted after operator clarification: the root concern is not Avi Heartbeat itself but the lower-level mascot/session hook primitive after a Codex 0.142.4 update. Heartbeat reviewer failures remain downstream evidence. Inspect bin/codex-session-title, bin/agent-marker, bin/session-kickoff, bin/agent-runtime, hook trust/config files, and update checks/installer logic so failures are surfaced or repaired.

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 SMALL Actual
  1. Created Designed
    O Oddish
    Oddish
    Model
    Duration
    Tokens
    Cost
    Completed Jun 29, 15:59 · 9 days ago
    api
  2. Designed Building
    O Oddish
    Oddish
    Model
    gpt-5.5
    Duration
    under a minute
    Tokens
    30,705
    Cost
    ~$0.04
    Started Jun 29, 15:59
    Completed Jun 29, 15:59 · 9 days ago
    cli
  3. Building Submitted
    O Oddish
    Oddish
    Model
    gpt-5.5
    Duration
    25 minutes
    Tokens
    10,296,958
    Cost
    ~$7.38
    Started Jun 29, 15:59
    Completed Jun 29, 16:24 · 9 days ago
    cli
  4. Submitted Archived
    A Alex
    Alex
    Model
    gpt-5.5
    Duration
    3 minutes
    Tokens
    1,591,831
    Cost
    ~$1.51
    Started Jun 29, 16:24
    Completed Jun 29, 16:27 · 9 days ago
    cli

Conversation

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

Comment alex 9 days ago

Operator abandoned this direction; PR #283 closed and task archived instead of proceeding through Avi QA.

Sealed-bid sizing

Edit →

Alex (PM)

Avi (PO)

Dev

SMALL

Actual