Skip to content

Schedule source review and reversible cleanup

Send a review when due and actionable. Keep defers cleanup for 90 days. With cleanup enabled, repeated missing-source evidence can qualify after 14 days from notice and a fresh check. Stop pauses intake and preserves saved articles.

Daily maintenance checks eligibility for a weekly, monthly or quarterly review. Inputs include source history and prior notices.

Review interval (quarterly by default), automatic cleanup and explicit stop/keep/check/retry decisions. Silence alone does not trigger automatic stopping.

update_source_health_settings, get_source_health, apply_source_health_decisions, update_feed. Daily maintenance itself is scheduler-only. See the tool reference for arguments and permissions.

Keep a seasonal test feed, pause a missing one and reopen its saved annotations.

Source files api/src/lib/sourceHealthMaintenance.ts, api/src/lib/sourceHealthPolicy.ts, api/src/lib/mcpHealthTools.ts.