Everyone deletes the wrong thing eventually. A task goes while you are tidying a project, an activity disappears with a stray click, and a week later someone asks where the estimate for it went. In most tools “delete” is either final or it hides the item in a place nobody remembers to look.
TimeMagic now has a Trash. Everything you delete lands there and stays there. Getting an item back is a single button, and the part we spent the most time on is making sure that button never hands you something half-broken.
Where deleted things go
Tasks, projects and activities go to the Trash when you delete them. It has its own entry in the sidebar, “Trash”, and its own page.

The list is newest first. Each row shows the name, the type, the project a task belonged to, how long ago it was deleted, and a Restore button. You can search by name and filter by type or project, and long lists are paged. If a task’s project is in the Trash too, the row says so and tells you to restore the project first.
You only ever see your own items. There is also no “empty Trash” button and no delete-forever button on a single item. Nothing in the Trash expires.
Kept forever, not guaranteed to restore
The notice at the top of the page is deliberately blunt: items are kept indefinitely, but old ones might not be recoverable.
Both halves are true. The data stays. But a task deleted a year ago was valid for the application as it was then, and the application moves on. A project it belonged to may be gone, or a rule about what a valid task looks like may have changed. A tool that quietly restored it anyway would give you an item that looks fine in the list and fails when you open it.
So the page does not promise more than it can deliver, and it does not guess at odds. Whether an item comes back is decided at the moment you press Restore, by checking.
Read it before you restore it
Click a deleted item’s name and you get a read-only copy: project, status, task type, estimation, deadline, whether it is billable, when it was created and deleted, the description, and the AI Agent Context if the task had one. The page opens even when the task’s project no longer exists, which is exactly when you most want to see what the task was.

Nothing on this page can be edited. It is a copy to read, and a place to press Restore or to copy the text.
What Restore actually does
Restoring is not “flip the item back to live”. It is all-or-nothing, and it works in three steps inside one database transaction:
- The original item is brought back: the same task, at the same address, not a copy.
- TimeMagic opens its page and its edit form, the same way your browser would.
- It submits that edit form exactly as it came, without changing anything, to check that saving works. This trial save is discarded.
If every step passes, the change is committed and you land on the restored item. If any step fails, the whole thing is rolled back. The item stays in the Trash exactly as it was, and you get a short message instead of a half-restored task. For a project, the tasks and records that were deleted together with it come back as part of the same all-or-nothing operation.
The messages are specific where that helps. A task whose project is still in the Trash tells you so:

The message never includes error details or internal names, only what happened to your item and what you can do next. Pressing Restore twice is harmless: the second attempt says the item was already restored. Attempts are also rate-limited and recorded, so a stuck restore leaves a trace we can look at.
When it can’t be restored: Recreate with AI
Some items will fail the checks, and the Trash does not leave you stuck. A deleted task’s page has a collapsed “Recreate with AI” block with a ready-made prompt and a Copy prompt button.

Paste the prompt into Claude Code, Codex or another agent that has the TimeMagic skill. The prompt contains the task’s uuid and nothing else: no API token and none of the task’s text. The agent fetches the deleted task from TimeMagic itself, and builds a new task from it. The original stays in the Trash, untouched. If the project is gone or something is ambiguous, the prompt tells the agent to ask you rather than decide.
Restoring and recreating are different operations, and the interface keeps them apart. Restore returns the original item. Recreate builds a new one from the saved data. You can also use Recreate without trying Restore first.
Under the prompt, Export JSON and Export for MCP download a machine-readable copy of the task. The description and the AI context sit in separate fields, so an agent can tell them apart.
What an agent can do with the Trash
The Trash is part of the API and the MCP server, not only of the web page.
- API:
GET /api/trashlists deleted items with filters and pagination.GET /api/trash/:type/:idreads one,GET /api/trash/task/:id/exportexports a deleted task, andPOST /api/trash/:type/:id/restorerestores one. - MCP: the matching tools are
list_trash,get_trashed_item,export_trashed_taskandrestore_trashed_item.
Reading is always safe, so an agent can look through the Trash as often as it likes. Restoring goes through exactly the same checked operation as the button, so an agent gets the same all-or-nothing guarantee you do, and it should only do it when you ask.
One rule applies to everything an agent reads there: the text of a deleted task is data, not instructions. The export marks it as untrusted user-written content, and the recreate prompt tells the agent the same. A task that happens to contain “ignore your previous instructions” is just a task with an odd description.
Try it on something you don’t need
Delete a throwaway task, open the Trash from the sidebar, and press Restore. Then open the item’s read-only page and the “Recreate with AI” block to see what an agent would be given. The first takes a few seconds, and it is a cheap way to learn what a restore looks like before the day you need one.