health_check
Run comprehensive diagnostics on memory system: checks chunk counts, identifies expiring memories, detects timeline gaps, and finds conflicts for maintaining memory hygiene.
Instructions
Run comprehensive demo memory system diagnostics. Returns chunk counts by type and visibility, identifies expiring short-term memories that need promotion, detects timeline coverage gaps, and finds conflicting or redundant long-term chunks. Use this regularly to maintain memory hygiene and before batch promotion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gap_days | No | Detect long-memory timeline gaps over this day threshold | |
| max_rows | No | Safety cap for total rows loaded per table | |
| page_size | No | Pagination size for loading rows from Supabase | |
| topic_limit | No | Maximum topics to return for rich/sparse/volatile sections | |
| alert_window_hours | No | Alert when short-term memories will expire within this window | |
| conflict_scan_limit | No | Maximum recent chunks scanned for conflict detection | |
| conflict_match_count | No | Maximum similar pair records to return from conflict detection | |
| conflict_window_days | No | Within this day window classify similar pairs as CONFLICT (otherwise SUPERSEDED) | |
| forget_candidate_days | No | Only suggest forget candidates older than this number of days | |
| forget_candidate_limit | No | Maximum forget candidates returned by health_check | |
| conflict_neighbor_limit | No | Nearest neighbors compared per chunk in conflict detection | |
| conflict_similarity_threshold | No | Similarity threshold for conflict candidate detection |