Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Upgrades this Sutando checkout to latest upstream code via fast-forward pull and durable tmux-based service restart.
35% 83%+48 ptsof test cases passed
Passed 19 of 23 test cases with the skill, and 8 of 23 without it.
3 of 3 safety checks passed
Not used yet
Safely upgrade this Sutando checkout to the latest upstream code without bricking the running core session — the "success path" distilled from a real 2026-07-20 upgrade that would otherwise hang (and did, the first time).
Usage: /self-upgrade
A naive "pull + restart" self-upgrade gets stuck, because:
src/restart.sh ends with exec bash src/startup.sh.src/startup.sh runs foreground work and foreground-parents the
credential-proxy (a tsx process that never exits). The open-source core
is headless: the optional Swift helpers (ax-read, Sutando.app) are built
separately by the app packaging/setup workflow, not by core startup.restart.sh inline from the core session never returns —
the Bash call hangs forever, the task never gets a result, and from the
owner's side you've "gone stuck."The fix is simple once you know it: hand the restart to the same durable tmux
server that owns the core. A plain nohup … & is not enough: the supported
Codex executor tears down that process tree when the tool call ends. A detached
tmux service pane survives that boundary, remains the parent of restarted
services, and lets startup recreate the managed task notifier.
Run the helper. It aborts safely on a dirty tree or a non-fast-forward, pulls
--ff-only, and launches src/restart.sh in the persistent
sutando-services tmux session:
bash skills/self-upgrade/scripts/upgrade.sh # origin/main
# bash skills/self-upgrade/scripts/upgrade.sh --no-restart # pull only
Next to this one in the catalogue, plus more from the same author.