safe-restartlisted
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