Skip to content

feat: delete command (Phase 3 kubectl-style CLI)#70

Merged
robbycochran merged 2 commits into
mainfrom
rc-delete
Jun 17, 2026
Merged

feat: delete command (Phase 3 kubectl-style CLI)#70
robbycochran merged 2 commits into
mainfrom
rc-delete

Conversation

@robbycochran

Copy link
Copy Markdown
Collaborator

Summary

Phase 3 of the kubectl-style CLI refactor. Adds delete command, replacing teardown.

  • harness delete my-sandbox -- targeted sandbox deletion by name
  • harness delete agent test -- delete multiple sandboxes
  • harness delete --all -- full teardown (sandboxes + providers + k8s)
  • harness delete --sandboxes / --providers / --k8s -- selective operations
  • teardown marked as deprecated alias pointing to delete
  • Reuses existing teardownSandboxes, teardownProviders, teardownK8s functions
  • test-flow.sh, README, SPEC updated

Completes the 4-phase CLI refactor: apply (Phase 1), get/describe (Phase 2), delete (Phase 3). Phase 4 (docs cleanup) was already done in PR #68.

Test plan

  • go build / go test / go vet pass
  • Local integration: 22/22
  • Local CI: 14/14
  • OCP: 10/10
  • Docs: all 7 commands documented, 0 stale refs
  • CI workflows green

- harness delete <name> for targeted sandbox deletion
- harness delete --all for full teardown (sandboxes + providers + k8s)
- harness delete --sandboxes/--providers/--k8s for selective operations
- Reuses existing teardownSandboxes/teardownProviders/teardownK8s functions
- teardown command now deprecated alias pointing to delete
- test-flow.sh updated to use delete verb
- README and SPEC updated with delete command docs
- Validate skill updated with docs consistency check
@robbycochran robbycochran merged commit eaa8b81 into main Jun 17, 2026
5 checks passed
@robbycochran robbycochran deleted the rc-delete branch June 17, 2026 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant