From 53156ce597d70b8f4f44fabfd637bbd83cce93ef Mon Sep 17 00:00:00 2001 From: Claude Code Bot Date: Mon, 23 Nov 2026 14:14:52 -0800 Subject: [PATCH 1/4] docs(plan): design and part 1 plan for the fleet runner rollout The design records Andrew's decisions D1 to D7 for moving every job he triggers onto the MIMOLETTE runners, with fork PRs and Dependabot on hosted runners. It also lists the permission gaps the rollout will hit. Part 1 fixes the live pools first: the stuck NOS slot, recovery after a manual fix, and the macOS part 1 review follow-ups. Advances #297 Advances #298 Advances #294 --- .../2026-11-23-runner-fleet-rollout-part1.md | 145 +++++++++ .../2026-11-23-runner-fleet-rollout-design.md | 277 ++++++++++++++++++ 2 files changed, 422 insertions(+) create mode 100644 docs/superpowers/plans/2026-11-23-runner-fleet-rollout-part1.md create mode 100644 docs/superpowers/specs/2026-11-23-runner-fleet-rollout-design.md diff --git a/docs/superpowers/plans/2026-11-23-runner-fleet-rollout-part1.md b/docs/superpowers/plans/2026-11-23-runner-fleet-rollout-part1.md new file mode 100644 index 0000000..d5b4fb6 --- /dev/null +++ b/docs/superpowers/plans/2026-11-23-runner-fleet-rollout-part1.md @@ -0,0 +1,145 @@ +# Runner fleet rollout, part 1: harden the existing pools + +> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking. + +**Goal:** Before the fleet adds load, fix the gaps in the live pools that an outage on 2026-11-20 exposed. Fixes: a NOS slot that waits forever for a job (dev-env#297), no fast path back after a manual fix (dev-env#298), and the still-valid minor findings from macOS plan part 1 (dev-env#294). + +**Architecture:** The NOS supervisor (`scripts/nos-runner/supervisor.sh`, bash 3.2, launchd) gets one new pass step, `restart_stale_slots`. It deletes and replaces a runner that GitHub reports idle after it has waited longer than `NOS_IDLE_MAX_S`. The runbook gets a manual-recovery section, and the watchdog's existing `external` reset is the mechanism. The macOS supervisor gets small, separate fixes. + +**Tech Stack:** bash 3.2 (macOS `/bin/bash`), stubbed test harnesses in `scripts/*/tests/`, shellcheck. + +**Spec:** `docs/superpowers/specs/2026-11-23-runner-fleet-rollout-design.md` (phase 1). Issues: dev-env#297, dev-env#298, dev-env#294. + +## Global Constraints + +- Every shell change: `shellcheck -S info