Skip to content
pi-c Artifact [3f5b5e1916]
Login

Artifact [3f5b5e1916]

Artifact 3f5b5e1916479e800744ec025d1d6b0f5bff9a61436fc6514b31c55fc3f11f29:


Deleting conversations

Status: built 2026-11-24. Tier: core (src/trash.c: the record, restore and the purge, which keeps the journal's invariants). Clock: durability. Record: one pic_trash row per deleted conversation (schema 20). Default: on; purged 30 days after deleting.

Why

There was no way to delete a conversation, at the terminal or from a phone. People delete the wrong one and do not remember commands, so deleting is one key where conversations are listed, and undoing it is as easy.

The shape

The phone

delete_session and restore_session are pic's own commands in a command envelope (the protocol note's amendments); pic remote runs them on the narrow open, and the next sessions list leaves the conversation out or has it again.

Not done