Skip to content

fix(cli): add confirmation prompt to spacetime delete#4772

Closed
euxaristia wants to merge 1 commit intoclockworklabs:masterfrom
euxaristia:fix/delete-confirmation-prompt
Closed

fix(cli): add confirmation prompt to spacetime delete#4772
euxaristia wants to merge 1 commit intoclockworklabs:masterfrom
euxaristia:fix/delete-confirmation-prompt

Conversation

@euxaristia
Copy link
Copy Markdown

Summary

  • Adds a y/N confirmation prompt before spacetime delete sends the delete request, preventing accidental database destruction
  • The existing --yes/-y flag skips the prompt for scripting/CI use

Closes #4679

Test plan

  • Run spacetime delete <db> — confirm prompt appears, answering n aborts
  • Run spacetime delete <db> — confirm prompt appears, answering y proceeds with deletion
  • Run spacetime delete <db> --yes — confirm prompt is skipped, deletion proceeds
  • Run spacetime delete <db-with-children> — both the new prompt and the existing child-database warning appear

🤖 Generated with Claude Code

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 9, 2026

CLA assistant check
All committers have signed the CLA.

`spacetime delete` previously deleted databases immediately with no
confirmation. Add a y/N prompt before sending the delete request,
skippable with `--yes`/`-y` for scripting.

Closes clockworklabs#4679

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@euxaristia euxaristia force-pushed the fix/delete-confirmation-prompt branch from edb0b8a to b82d72e Compare April 9, 2026 22:35
@bfops
Copy link
Copy Markdown
Collaborator

bfops commented Apr 10, 2026

Thank you for opening this! Closing in favor of #4770.

@bfops bfops closed this Apr 10, 2026
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.

spacetime delete should require confirmation

3 participants