cpatpa builds retention that deletes on a timer but gives you a way back
A new auto-deletion system clears out aged documents, chats, and review tables on schedule - with a grace period so nothing vanishes the instant the clock runs out.
cpatpa added an automatic data-retention enforcer to this self-hosted fork. Once a document, chat, or review table passes its retention horizon, it gets flagged and disappears from everyone's view straight away - but it isn't actually destroyed until it has sat in a holding state past a configurable grace window (a week by default). That two-step design is the whole point: an admin can step in and restore a flagged item before the hard delete fires, which a single-pass purge would never allow.
Retention periods can be set per workspace and fall back to an organisation-wide default, with an option to keep certain records forever. There's also a small admin screen listing everything currently flagged, where admins can rescue individual items or kick off a retention run on demand. Every flag and deletion is written to an audit trail.
Spotted something wrong? Or know the PR text has fresher detail than the writeup above?