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

  1. Stop services in the environment first (run from inside that worktree):

    cd ~/Development/OreStudio/ores_dev_<name>
    ./projects/ores.compass/compass.sh services stop
    
  2. Deprovision 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 to OreStudio.<name> (legacy) automatically.

  3. 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.

Recipes

Reference

Emacs 29.3 (Org mode 9.6.15)