pub async fn cmd_memory_wipe(
client: &VtaClient,
context: &str,
assume_yes: bool,
) -> Result<(), Box<dyn Error>>Expand description
wipe → list, then memory_delete every key. There is no bulk-delete
Trust Task, so this is N round-trips and not atomic. Needs both memory
capabilities — MemoryRead for the list, MemoryWrite for the deletes.
The confirmation is where the operator consents to a destructive op;
--yes is the only thing allowed to stand in for it. --json selects an
output format, not consent — so with neither a prompt (JSON mode) nor
--yes, this refuses rather than proceeds. See [wipe_guard].