Conversation Trash
Intent (owner, 2026-11-18). "Add a 'trash' folder for conversations in the conversations list and keep them there for a short amount of time (depending on the feature tier) before deleting them forever." On the plan: "speck it".
Who it's for: every writer with stories on Echo of Dreams. What it makes better: a story you deleted by mistake, or one that went quiet long enough to be cleared, can still be brought back for a while; and a story you deleted on purpose is really gone afterwards. What it is not: an archive. Trash is a waiting room before deletion, not a place to keep stories.
Status: ✅ shipped. Pushed in e9e298ce4; checked live on chat. on 2026-11-20.
Overview
Today, deleting a story from your list hides it at once and there is no way back. Stories you haven't touched for longer than your plan keeps them are cleared the same way. Trash changes both:
- A deleted story moves to Trash, a section at the end of your story list.
- It stays there for a while, the Trash window. Its row says the exact day it will be deleted for good.
- Until then you can Restore it, and it comes back as it was, every message, setting and tracker included.
- You can also Delete forever at once, after a confirmation.
- When the window ends, the story is deleted for good.
How long the window is depends on your conversation-retention plan: the free plan keeps a story in Trash for a week, longer plans keep it longer: 30 days on the 30-day plan, 60 on the 90-day plan, 90 on Unlimited and Premium.
Design goals
- A mistake is never final. Every way a story leaves your list (your own Delete, or the inactivity clean-up) goes through Trash. Nothing skips it except your own "Delete forever".
- Deleted means deleted. When the window ends the story is removed for good, messages and all. Trash is not a second archive.
- The date is the server's. The day a story is deleted for good is decided by the server and shown as it says; the app never works it out by itself.
- Plans add time, never take away the floor. Every plan, the free one included, gets a Trash window long enough to notice a mistake. A longer plan only makes it longer.
How it works
Deleting. Delete on a story (its menu in the story list, or its settings) moves it to Trash. The confirmation says so: "Move "Ashfall" to Trash? You can restore it until 25 November." The story disappears from your list and from everywhere it was reachable (its link, continue cards, search).
Trash. A Trash section at the bottom of the story list, collapsed, with a count. Each row shows the story's name, its character and "Deleted for good on 25 November". Opening a trashed story shows it read-only with a banner: "This story is in Trash. Restore it to keep writing."
Restore. Puts the story back in your list exactly as it was. Its inactivity clock starts again from the restore, so the clean-up doesn't take it straight back.
Delete forever. On a Trash row, after a confirmation that names the story: "Delete "Ashfall" for good? This can't be undone." Also Empty Trash, which names how many stories it removes.
Inactivity clean-up. Stories that go untouched longer than your plan's retention go to Trash like a manual delete, with "Cleared after 30 days without activity" on their row, instead of disappearing.
Your plan changes. A story already in Trash keeps the date it was given. A new plan's window applies to stories deleted after the change.
Non-Goals
- Trash for other things. Characters, lorebooks, pictures and the rest keep their own delete flows. The media library chose no trash on purpose (undo and safer defaults instead).
- Deleting single messages. A message's delete is unchanged.
- Discord conversations. Stories played through the Discord bot have their own storage and aren't in this list.
- Staff removals. A story staff take down for a rules violation doesn't land in your Trash.
- An archive. Keeping a story out of sight without deleting it is a separate idea, not this one.
Open Questions
- 1. The Trash window per plan (decided 2026-11-18, eod-294: as proposed). Proposal, keyed to the existing conversation-retention tiers: Free 7 days, 30-day plan 30 days, 90-day plan 60 days, Unlimited 90 days.
- 2. Stories deleted before Trash ships (decided 2026-11-18, eod-294: the proposal). Proposal: they appear in Trash on day one with a full window counted from the release, then are deleted for good like any other. The alternative is to leave them hidden and never purge them, which keeps "deleted" meaning "kept forever" for older stories.
- 3. What else can delete a story early (decided 2026-11-19, eod-296: as built). Deleting an account deletes its stories, and the stories readers wrote with its characters, those in their Trash included, before their date. That is the only early deletion the writer doesn't do themselves. Your own "Delete forever" and "Empty Trash" stay yours: they act at once, even while a report on the story is open.
Acceptance Criteria
The feature is not done until every box below is verified ✅ against the running product.
Live pass 2026-11-20 on chat. (localhost, hosts started after every Trash commit), 1366 and 390 wide, a free-plan test account.
User use cases — satisfiable and accessible (drive the UI, not the code):
- As a writer, I delete a story from my story list, find it under Trash at the bottom of the same list, and restore it; it's back with every message. (live: ⋯ → Delete → "Move to Trash"; "Trash (9)" at the list's end; Restore from the trashed story's banner and from Trash rows; 6 of 6 messages back)
- As a writer, I see on each Trash row the exact day the story will be deleted for good. (live: "Deleted for good on November 27" on every row, the server's purgeAfter)
- As a writer, I delete a story from Trash for good, after a confirmation that names it. (live: "Delete “Delete Forever Me” for good?"; the row and its database row are gone)
- As a writer on the free plan, a story cleared for inactivity is in my Trash with the reason on its row, and I can restore it. (live: the sweep's own per-user step on the test account; row reads "Cleared after 12 days without activity"; Restore from the row)
- As a writer, I open a trashed story and see it read-only with the "restore to keep writing" banner and a Restore button. (live: banner, date, Restore; no composer, no Edit or Regenerate)
Behavior:
- The Delete confirmation names the restore-by date the server gives. (live: "You can restore it until November 27.")
- A restored story keeps its messages, settings, trackers, persona and position in the list by last activity. (live: 6 messages, tracker values, persona Mira Vale; last_message_at unchanged, so its place by last activity holds)
- A restored story isn't cleared for inactivity again until a full retention period after the restore. (live: the 12-days-idle story restored → its deadline is restore + 7 days; the sweep step selects nothing)
- When a story's Trash window ends, it's deleted for good and no longer appears anywhere, Trash included. (live: a test row aged past its date is gone from Trash, its GET and Restore at once; the Trash job then removed it and its 2 messages)
- Empty Trash removes every story in Trash after a confirmation that says how many. (live: "Delete 4 stories for good?" → "4 stories deleted for good.")
Invariants that must stay true:
- Every plan, the free plan included, has a Trash window of at least 7 days. (live: free 7, 30-day 30, 90-day 60, Unlimited 90, Premium 90)
- A story in Trash keeps the date it was given when the writer's plan changes. (live: deleted on the 30-day plan → 20 December; still 20 December after a move to 90-day and then to free)
- A published story that is deleted stops being public at once; restoring it doesn't republish it. (live: is_public off at delete; after Restore still off)
- Before its window ends, a story in Trash is deleted for good only by the writer's own "Delete forever" or "Empty Trash", or because an account was deleted. Deleting an account is the one way a trashed story is deleted early without its writer: the account's own stories go, and so do the stories readers wrote with its characters, those in their Trash included. Every other story in anyone's Trash keeps its date. (live: the job left every in-window row; account deletion below)
- Until then the writer keeps every right over their Trash: Restore, "Delete forever" and "Empty Trash" work on every story in it, and the last two act at once, even while a report on the story is open. (live: Delete forever under an open report, Empty Trash under an open flagged publish request: both removed at once)
Edges:
- A trashed story's share link answers as a story that doesn't exist. (live: 200 before the delete, then the same 404 a made-up link gets)
- Restoring while at the plan's story limit restores the story and says the limit is reached; it's never refused. (live: 10 of 10 → Restore → 11, "You’re past your plan’s story limit…")
- Deleting the account deletes everything in its Trash with it, and the trashed stories readers wrote with its characters; nothing else in anyone's Trash changes. (live: the account deletion function on a throwaway account; the reader's story on its character is gone, other Trash rows keep their dates)
- If the server can't be reached, Delete, Restore and Delete forever keep the story where it was and say the server couldn't be reached; nothing moves until the server answers. (live, a 503 injected in the browser on each: the story stays put with "Can’t reach Echo of Dreams right now. Try again in a moment.", and a reload shows the server's state)
- An empty Trash shows a one-line empty state, not a blank section. (live: "Nothing in Trash. A story you delete waits here for a while, so you can bring it back.")