Deprovision a named environment
Table of Contents
When to use this skill
When the user asks to deprovision, remove, delete, or tear down a named environment or worktree — e.g. "deprovision festive-hawking", "remove the tender-wirth environment", "clean up this worktree".
How to use this skill
Stop services in the environment first (run from inside that worktree):
cd ~/Development/OreStudio/ores_dev_<name> ./projects/ores.compass/compass.sh services stopDeprovision from any other worktree (not the one being removed):
# With confirmation prompt: ./projects/ores.compass/compass.sh env deprovision <adjective-noun> # Skip confirmation: ./projects/ores.compass/compass.sh env deprovision <adjective-noun> -y
The command resolves
ores_dev_<name_underscored>(new style) and falls back toOreStudio.<name>(legacy) automatically.Verify the worktree is gone:
git worktree list ls ~/Development/OreStudio/
Safety: never deprovision the genesis environment (ores_dev_prime_origin)
unless decommissioning the machine — all other worktrees depend on it.
Reference
- How do I provision a new environment with compass? — the symmetric operation