feat(control-plane): idempotent deletes + command-level wiring tests

Commit

toothbrush3mo ago
  • org/project/repo delete now treat a 404 from the delete call as the desired end state (already gone), printing "<noun> <label> not found; nothing to delete" instead of surfacing a raw 404.
  • Add command-level tests driving each delete command through cobra against a fake control plane: --force issues DELETE on the right path, an already-gone resource is idempotent, and a non-interactive run without --force refuses rather than deleting unprompted.

Addresses trail #642 findings.

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com Entire-Checkpoint: 416181183067

Checkpoints

Control Plane Delete and Revoke Safety

Claude CodeOpus 4.8[1m]
View session
Checkpoint 1