Agents Builders

/devops Worktrees & Slots dashboard

Archived Priority 1 carl
task-e916e32ba54c

From the 2026-06-17 scale discussion. Render worktree + Redis-slot state on /devops (currently test-suite catalog only). Source: /Users/alex/projects/.agents/worktree-registry.json (bin/agent-worktree snapshot --write). Worktree slug: devops-worktrees-slots-panel

Created

Jun 18, 04:20

Started

Jun 18, 04:20

Completed

Jun 18, 13:12

DevOps handoff

Type

Feature

Shape

Worktree Slug

Repositories

mcritchie-studio

Release Train

2026-06-17-worktree-observability

Branch

feat/devops-worktrees-slots-panel

ui devops observability

Acceptance Criteria

  • /devops shows a Worktrees & Slots panel below the test-suite catalog and stays admin-gated
  • Panel renders the capacity band (floor / step / current / used / free / physical_max) from the registry
  • Panel lists each worktree with app / branch / health / port linked to local_url / redis_db plus merged + dirty + cleanup-candidate badges and issue count
  • Panel shows summary counts and generated_at with relative staleness
  • A Refresh control re-runs the snapshot (refresh param) then reloads; on failure it degrades to the existing file with a staleness note and no 500
  • Missing or unparseable registry degrades to an empty-state with no error
  • Registry path is derived from Rails.root (projects-root .agents) with no hardcoded user path
  • A request or controller test covers the panel rendering against a fixture registry
  • Matches existing /devops Tailwind patterns; ruby -c and rubocop clean
  • No regression to the test-suite catalog section

Expected Test Plan

  • ruby -c on service/controller/test (PASS)
  • bin/rails test devops_controller_test (PASS 5 runs 29 assertions 0 failures
  • verified by Alex on ruby 3.3)
  • rubocop on changed files (PASS no offenses)
  • live /devops browser view owed to QA (no stack booted)

Checks Run

No completed checks recorded.

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.

No stage changes recorded yet.

Conversation

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

Handoff avi 9 days ago

Avi merged PR #36 and is deploying it to QA. QA will include the Worktrees & Slots panel on /devops. Please verify https://qa.mcritchie.studio/devops after QA deploy completes.

Handoff avi 9 days ago

Production deployed in McRitchie Studio v70 (82b1791): Worktrees & Slots /devops panel. Verify at https://mcritchie.studio.

Handoff avi 9 days ago

Marked done after production deployment McRitchie Studio v70 at 82b1791. PR #36 Worktrees & Slots /devops panel is merged, CI was green, production /devops responds with an authenticated redirect, and the release includes this task.

Sealed-bid sizing

Edit →

Alex (PM)

Avi (PO)

Dev

Actual