AxiomSearch

Wiki › Admin guide

Weekly digest and case retention

The server can email admins a weekly summary and flag shared cases that nobody has touched for a long time. Both features work from listing metadata only — the server never puts case contents in an email or on the admin page, because admins manage cases without being able to read them.

The weekly admin digest

Once email is set up, every enabled admin account that has an email address on file gets one digest email on Mondays at 07:00 UTC. It covers the previous seven days:

  • how many shared cases exist, which were opened and closed that week (names and owners only), and who holds an edit lock right now;
  • stale cases and the week's retention closures, when retention is on;
  • sign-up requests waiting for a decision;
  • account and security events counted from the audit log: accounts created, disabled or re-enabled, admin rights granted or revoked, password and two-factor resets, sign-up decisions, failed sign-ins and lockouts, and a warning if an audit integrity check failed;
  • storage against the server's caps: the total and largest stored case against the case size limit, and the most cases any one account owns against the per-account limit.

Indicator-looking names are defanged the same way reminder emails defang them, so mail clients don't turn them into links. Links in the digest come only from the configured site address.

The digest never repeats a week and never sends a backlog: the server records which week it last handled, so a restart doesn't re-send, and weeks that pass while the server is down or email is unconfigured are skipped rather than queued. A brand-new server sends its first digest on the Monday after it first starts. Turn the digest off by starting the server with DIGEST=off.

To see what the digest looks like without waiting for Monday, open the admin page's Integrations → Email and sign-up section and press Send me a test digest. It emails the past seven days to your own address (your admin account needs an email address on file) and is recorded in the audit log as digest_test.

Case retention

Teams accumulate cases that were opened, investigated and then simply left open. Starting the server with RETENTION_DAYS=<n> makes an open case stale once nobody has written to it for n days — a write is any save, added node, comment, reminder change, membership or lock change.

Stale cases appear in a Stale cases panel at the top of the admin page's Cases → Investigations section, each with its name, owner, last activity and idle time. From there:

  • Close as stale closes one case. The closure is an ordinary case closure: the case gets a note saying who closed it for retention and how long it was idle, the action is recorded in the audit log as inv_retention_closed, members keep the case read-only, and anyone who still needs it can reopen it from the app.
  • Close all as stale does the same for every listed case at once, each closure recorded separately.

Nothing is ever deleted, and a case that someone writes to between the listing and the click stays open — the server re-checks before closing.

By default the server only flags: an admin decides. For teams that want the housekeeping to run itself, RETENTION_AUTO_CLOSE=on (together with RETENTION_DAYS) closes stale cases automatically, shortly after startup and then every hour. Automatic closures are recorded in the audit log with the same inv_retention_closed kind under the actor retention, and the closure note says the retention policy, not a person, closed the case. It is worth running flag-only for a few weeks first, to see what the panel catches, before turning automatic closure on.