forget
Invalidate or permanently delete an entity or observation UUID when facts are superseded or contradicted. Soft mode keeps audit trails; hard mode expunges sensitive data and cascades to dependents.
Instructions
Invalidate or permanently remove an entity or a specific observation UUID. Supports soft invalidation, hard permanent deletion, and automatic cascading invalidation of dependent facts.
WHEN TO USE:
Use "forget" when a fact is superseded, contradicted, or deprecated.
Prefers soft invalidation (hard=false) to preserve audit trails. Use hard=true only when permanently expunging sensitive data.
DO NOT use to update a fact with new info — use "remember" with updated content.
PERMISSIONS & FAILURE BEHAVIOR:
Operates locally on SQLite storage. Returns an error if the target entity name or UUID is not found in the database.
Returns JSON containing { ok: true, type, targetId/entity, mode, cascadedStaleCount }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hard | No | true = permanent delete from database; false = mark invalidated (default) | |
| target | Yes | Entity name OR observation UUID to forget | |
| cascade | No | true = also invalidate facts derived from this target (default: true) |