Task: Implement delete account
This page documents a task in the Authentication bootstrap follow-up story. It captures the goal, current status, acceptance, and any notes or results.
Goal
End-to-end delete-account: protocol message, repository soft-delete (bitemporal), CLI command supporting both UUID and username.
Status
| Field | Value |
|---|---|
| State | DONE |
| Parent story | Authentication bootstrap follow-up |
| Now | Completed 2025-11-22. |
| Waiting on | None. |
| Next | None. |
| Last touched | 2025-11-22 |
Acceptance
delete_account_request/responsemessages (0x2009/0x200A) in the protocol.- Repository
remove()performs the bitemporal soft delete. - CLI
deletecommand supports--keyas UUID or username. - Protocol serialisation tests + message-handler tests committed.
Plan
(Plan was distilled into the parent story's * Decisions and cleared when the task closed.)
Notes
- Total time spent in v0: ~0:20 (the planning notes; bulk of work was in earlier sessions).
- Follows the bitemporal soft-delete pattern already established for currencies.
Result
Delete-account flow shipped end-to-end with tests.