cast-upgradelisted
Install: claude install-skill sridherj/diecast
# /cast-upgrade
Upgrade an installed Diecast to the latest published `main`, preserve any
local edits the user has made under `~/.claude/skills/cast-*/`, and restart
`cast-server` if it was running. The skill is the lifecycle counterpart to
`./setup`: same install seam, same backup primitive (`.cast-bak-<ts>/`),
same anonymization gate. The only operation it adds on top of `./setup` is
**`git pull --ff-only`** in the repo and **stash discipline** for any local
repo edits the user has made.
## Delegation pattern
`/cast-upgrade` delegates **two** interactive prompts to
[`cast-interactive-questions`](../cast-interactive-questions/SKILL.md):
1. The 4-option upgrade prompt (Step 7 below).
2. The active-runs confirm prompt (Step 8 below).
Both follow the protocol in
[`docs/specs/cast-delegation-contract.collab.md`](../../../docs/specs/cast-delegation-contract.collab.md):
one question at a time, lettered options, recommendation first. Do **not**
ask either question with plain conversational text — always go through
`cast-interactive-questions`.
## Configuration keys consumed
Read from `~/.cast/config.yaml` (canonical schema in
[`docs/config.md`](../../../docs/config.md)):
| Key | Effect |
| ------------------------ | -------------------------------------------------------------------------------- |
| `auto_upgrade` | If `true`, skip Step 7's prompt and go straight to the