Rename sleep/wake to freeze/unfreeze across all 42 implementations

API endpoint changes:
- /services/{id}/sleep → /services/{id}/freeze
- /services/{id}/wake → /services/{id}/unfreeze

CLI flag changes:
- --sleep → --freeze
- --wake → --unfreeze

Message changes:
- 'Service sleeping' → 'Service frozen'
- 'Service waking' → 'Service unfreezing'
This commit is contained in:
russell@unturf.com 2026-01-15 11:52:15 -05:00
parent bcbd5fa56a
commit dc69bf4959
41 changed files with 178 additions and 162 deletions

View file

@ -1,5 +1,21 @@
# Claude AI Instructions for un-inception
## ⚠️ CRITICAL: NEVER USE RAW LXC COMMANDS
**ALWAYS use `un` CLI commands. NEVER use raw `lxc` commands on production.**
```bash
# ✅ CORRECT - use un commands
un2 service --list
un2 service --destroy <id>
un2 service --execute <id> 'command'
# ❌ FORBIDDEN - raw lxc commands bypass auth and state sync
lxc list / lxc delete / lxc stop / lxc exec
```
On 2026-01-11, raw `lxc delete` destroyed 8 production services causing complete data loss.
## Commit Messages
**NEVER add Claude attribution to commit messages.** No robot emoji, no "Generated with Claude Code", no "Co-Authored-By: Claude". Just write the commit message like a human wrote it.