From the 2026-06-17 doc audit + scale discussion with Mr. McRitchie. Worktree slug: worktree-redis-elastic-capacity bin/agent-worktree allocates one Redis logical DB per worktree from a fixed 9-15 range (7 slots) and hard-aborts when full. Make the worktree Redis capacity idle at 20 slots, grow by 10 when exhausted, and shrink by 10 (floor 20) as worktrees close -- WITHOUT restarting Redis during normal operation. Design: separate physical capacity (Redis 'databases', restart-bound) from a soft band (the allocatable slot range). Provision generous physical capacity once (databases=64); keep the band elastic + restart-free within it. Persist current_capacity in .agents/redis-capacity.json. Add 'bin/agent-worktree scale [status|out|in|--provision]'. Flush a worktree's Redis DB on remove. Guard allocate+capacity mutation with a file lock. Add a capacity block to the registry snapshot for the future /devops panel. NOTE: this is LOCAL dev parallelism only (single machine, one localhost Redis). The 100-agent horizontal goal is a separate per-agent-infra track, not this.
Created
Jun 17, 23:15
Started
Jun 17, 23:39
Completed
Jun 18, 13:12
DevOps handoff
Type
Feature
Shape
—
Worktree Slug
—
Repositories
mcritchie-studio
Release Train
—
Branch
feat/worktree-redis-elastic-capacity
Local URL
—
Production URL
https://mcritchie.studio/devopsAcceptance Criteria
Expected Test Plan
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.
Marked done after production deployment McRitchie Studio v70 at 82b1791. PR #31 elastic worktree Redis capacity is merged, CI was green, commit 03aff75 is included in production SHA 82b1791, and production /devops responds with an authenticated redirect.
Sealed-bid sizing
Edit →Alex (PM)
—
Avi (PO)
—
Dev
—
Actual
—
We emailed a one-tap sign-in link to . It expires shortly and can only be used once.
No email? Check spam, or close this and try again.