Skip to content

Confirm before sources delete <uuid> #135

Description

@grimicorn-agent

src/commands/sources.ts:336-351 runs the DELETE the moment a uuid arg is supplied, no confirm. Deleting a source drops its ingest config and its one-time signing secret (unrecoverable), forcing a full recreate. Every other destructive path in this CLI is deliberately hard to trigger, so a no-confirm source delete is an outlier. A yes/no confirm (skippable with --yes for scripts) matches the established safety posture.

Acceptance criteria

  • deleteSourceCommand deletes a source immediately when a uuid is passed, with no confirmation prompt, inconsistent with the product's careful guarding against accidental destruction.
  • Includes tests covering the change.
  • Lint, tests, and CI green.

Promoted from improvement digest #132

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions