Files
computer-playbook/scripts/system/worktree
kevinveenbirkenbachandClaude Opus 5.5 5d912e1eda fix(worktree): pick only slots whose subnets are free, up to 254
worktree_next_slot skipped only slots pinned in a worktree's custom.env,
so it handed out slot 255 (an invalid 172.30.255.0/24 bind range) once the
low slots were taken, and it reused a slot whose 172.30.<slot>.0/24 or
10.160.<slot>.0/24 subnet a stack without a checkout still held. It now
also skips slots whose subnets a docker network uses, and up.sh refuses
to pin past WORKTREE_MAX_SLOT=254 instead of writing an invalid slot.

🎯 Fix: 92 %
💥 Break: 3 %
💸 Cost: –
⏱️ Time: –
🛡️ Security: 100 %
🏆 Score: 89
🚦 Gate: ✅ 90/5, cost and time <= 100, security 100 %

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 16:52:35 +00:00
..