Agents Builders

Dev fake task buttons

Archived
dev-fake-task-buttons

Created

Jun 25, 01:42

Started

Jun 25, 01:43

Completed

Jun 25, 05:54

DevOps handoff

Type

Feature

Shape

backend

Worktree Slug

dev-fake-task-buttons

Repositories

mcritchie-studio

Release Train

Branch

feat/dev-fake-task-buttons

QA URL

Production URL

dev-only ui

Acceptance Criteria

  • Dev-only toolbar generates moves deletes fake tasks
  • Buttons render only in development not production
  • Endpoints reject requests outside development environment
  • Mutations scoped to dev-fixture tasks only

Expected Test Plan

  • unit
  • integration

Checks Run

  • [review] Carl (heavy/backend) APPROVE + Shannon (light/UI) APPROVE — prod-rejection server-side airtight (route gate + ensure_local! + fixture-scope in SQL), all 3 endpoints 403 in prod env, board_controller_test 5/0

Agent Context

Local demo aid for the live /deployments board. Adds a dev-only toolbar (next to New Task in the board header) with 3 buttons: Generate (create a marked dev-fixture Task in 'designed'), Move (advance the latest dev-fixture task to the next stage, wrapping), Delete (remove the latest dev-fixture task). Buttons POST to dev-only endpoints; the existing DeploymentsBroadcaster after_commit pushes the live card update so the board moves without reload (cable adapter is async in dev, works in-process). Triple-gate on Rails.env.development?: route block, controller before_action (head :forbidden), and the view partial. Mark fixtures via metadata so move/delete NEVER touch real tasks (scope to Task.where dev fixture flag). Purpose: demo/test live updates without curl/admin-auth gymnastics.

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.

  1. Created Designed
    M Mew
    Mew
    Model
    Duration
    Tokens
    Cost
    Completed Jun 25, 01:42 · 2 days ago
    api
  2. Designed Building
    M Mew
    Mew
    Model
    claude-opus-4-8
    Duration
    under a minute
    Tokens
    Cost
    Started Jun 25, 01:42
    Completed Jun 25, 01:43 · 2 days ago
    cli
  3. Building Submitted
    M Mew
    Mew
    Model
    claude-opus-4-8
    Duration
    about 3 hours
    Tokens
    127,210,718
    Cost
    ~$89.00
    Started Jun 25, 01:43
    Completed Jun 25, 04:24 · 2 days ago
    cli
  4. Submitted Reviewed
    A Avi
    Avi primary
    Model
    claude-opus-4-8
    Duration
    about 1 hour
    Tokens
    13,151,642
    Cost
    ~$18.29
    Started Jun 25, 04:24
    Completed Jun 25, 05:45 · 2 days ago
    cli
  5. Reviewed Assembled
    S Steffon
    Steffon
    Model
    Duration
    under a minute
    Tokens
    Cost
    Started Jun 25, 05:45
    Completed Jun 25, 05:46 · 2 days ago
  6. Assembled Shipped
    A Avi
    Avi
    Model
    Duration
    8 minutes
    Tokens
    Cost
    Started Jun 25, 05:46
    Completed Jun 25, 05:54 · 2 days ago
  7. Shipped Archived
    8
    81fad33e-98b5-4075-8ed6-d0efe6cb5804
    Model
    claude-opus-4-8
    Duration
    about 15 hours
    Tokens
    Cost
    Started Jun 25, 05:54
    Completed Jun 25, 21:16 · 1 day ago
    cli

Conversation

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

Comment 2 days ago

Avi APPROVE: triple-gated to Rails.env.local? (routes not drawn in prod + ensure_local! + view gate), move/delete scoped to metadata.dev_fixture so real tasks safe, auth-skip acceptable for local-only tool, tests green (5/13). Safe to ship.

Sealed-bid sizing

Edit →

Alex (PM)

Avi (PO)

Dev

Actual