← ClaudeAtlas

safe-restartlisted

Pre-restart multi-lane in-flight guard. Before restarting a shared Aria service (ac_gateway), checks whether ANY other Claude Code lane has uncommitted edits staged on the prod box — because a restart is one shared checkpoint that ships everyone's mid-flight work at once. Returns a GREEN/HOLD verdict (also gates on live voice sessions). Use when Ian says "is it clear to restart", "safe to restart", "anyone close to shipping", "who else is editing prod", "pre-restart check", "fleet check", or before ANY shared ac_gateway restart.
iansteitz1-eng/aria-skills · ★ 0 · API & Backend · score 72
Install: claude install-skill iansteitz1-eng/aria-skills
# Safe Restart — fleet in-flight guard The missing pre-flight step before `aria-deploy` restarts a shared service. **Why this exists.** The prod box is a single shared machine, and 5+ parallel Claude Code sessions (plus the orchestrator) edit the same files. A restart activates **every lane's staged-but-unrestarted edits at once** — so restarting for your feature silently ships another lane's half-wired `billing.py` or an in-progress `phone_coding.py` dispatch fix. This skill answers "is it clear?" before you pull that shared trigger. Enforces the standing rule `feedback_pre_restart_inflight_check`. Pairs with [[reference_orchestrator_harness]] and the one-committer rule. ## Run it ```sh python3 ~/.claude/skills/safe-restart/fleet_check.py \ --service-dir /opt/aria/ac_gateway \ --mine "main.py,staycool.html,runner_provenance.py" ``` - `--mine "a.py,b.py"` — basenames YOUR lane owns; they never trigger a HOLD. List everything you just edited so only *other* lanes' churn flags. - `--window-min 30` — list files changed in the last N minutes (default 30). - `--hot-min 10` — a non-owned file changed within N min = a lane editing **right now** → HOLD (default 10). - `--host <your-server>` · `--service-dir <path>` — target another box/service. - `--no-voice` — skip the `:9106` active-sessions gate. Exit codes: **0 = GREEN**, **2 = HOLD**, 1 = error. Read-only — never restarts. ## How to read the verdict 1. **GREEN** — no other lane touched the dir inside `--hot-m