Adds SYNC_WEB=1 to /sh-deploy-r720's script: build agent-team/web/dist on the Mac
(box Node too old for Vite), rsync it with --delete (clears stale hashed bundles),
force a status-service restart, and verify the served index.html references the
freshly-built bundle. Also stops the verify step false-failing on the known benign
draft-pr-monitor 'gh'-missing traceback (strips that block before judging the
journal; is-active/NRestarts/threads remain the authoritative crash-loop signals).
Codifies the hardened deploy-before-merge procedure for ongoing agent-team
code changes, generalizing the one-off deploy-r720-ws-rollout.sh. Prevents the
two self-inflicted live crash-loops:
- Whole agent_team/ package rsync (never per-file, which misplaces e.g.
nodes/planner.py at the package root -> ImportError/TypeError crash-loop).
- Snapshot HARD GATE (Adam's Hyper-V step; Claude ssh reaches only the guest)
+ ledger backup before any change.
- Pre-restart import sanity, then mandatory verify-after (is-active==active,
NRestarts didn't climb, ~6 threads, clean journal) with rollback guidance
on failure.
Idempotent, fails loudly. Optional SYNC_DEPS / SYNC_HANDBOOK / RESTART_STATUS.
Drives the new /sh-deploy-r720 skill.