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
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
Promoted from improvement digest #132