run_decay
Run a memory decay cycle to lower decay scores for old memories and archive those below threshold, while exempting MUST memories and optionally auto-forgetting archived memories past retention.
Instructions
Run a memory decay cycle: reduces decay_score for old memories and archives memories that fall below the threshold. MUST memories are exempt from decay. This is not purely reversible: if MEMVAULT_FORGET_AUTO_ENABLED=1, the same run also permanently forgets archived memories older than MEMVAULT_FORGET_RETENTION_DAYS (default 90); otherwise auto-forget is off. Requires agent auth when the agent has a registered key. Returns updated/archived/contradicted/harmful_flagged/auto_forgotten counts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | API key for agent authentication (required if agent has a registered key) | |
| agent_id | No | ID of the requesting agent | unknown |