package ui const preferencesTabHTML = `{{ define "preferencesTab" }}

⚙️ System Setup & Maintenance

Monitor database health and purge stale job postings not seen on target career sites

Total Ingested {{ .MaintenanceStats.total_jobs }}
Active (≤7d) {{ .MaintenanceStats.active_7d }}
Stale (>7d) {{ .MaintenanceStats.stale_7d }}
Stale (>30d) {{ .MaintenanceStats.stale_30d }}
Expired / Closed {{ .MaintenanceStats.expired_count }}
In Pipeline {{ .MaintenanceStats.in_pipeline }}
⚠️

Purge Stale Postings (Mark Expired)

Enqueues worker queue tasks to mark job postings as Expired if they have not been discovered on target career boards for X days.

💡 How Job Verification Works

Every time 🔍 Discover runs, Hireme searches live listings directly on career sites (Google, Apple, Meta). When an existing job appears in search results, its Last Updated timestamp is refreshed. If a role closes or is removed from search results, its Last Updated timestamp remains unchanged, allowing you to safely purge expired postings using the tool above.

{{ end }}`