health_check
Run diagnostics on the memory system to identify expiring short-term memories, timeline gaps, and conflicting long-term chunks for memory hygiene maintenance.
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 |
|---|---|---|---|
| alert_window_hours | No | Alert when short-term memories will expire within this window | |
| gap_days | No | Detect long-memory timeline gaps over this day threshold | |
| topic_limit | No | Maximum topics to return for rich/sparse/volatile sections | |
| page_size | No | Pagination size for loading rows from Supabase | |
| max_rows | No | Safety cap for total rows loaded per table | |
| conflict_similarity_threshold | No | Similarity threshold for conflict candidate detection | |
| conflict_window_days | No | Within this day window classify similar pairs as CONFLICT (otherwise SUPERSEDED) | |
| conflict_match_count | No | Maximum similar pair records to return from conflict detection | |
| conflict_scan_limit | No | Maximum recent chunks scanned for conflict detection | |
| conflict_neighbor_limit | No | Nearest neighbors compared per chunk in conflict detection | |
| 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 |