emet_gaps
Identify and count trustworthiness gaps in the memory record—unsourced assertions, unattributed inferences, digest mismatches—without filling them. Use before consolidation or after migration.
Instructions
The record's honesty about its own holes, as a query. Read-only; identifies and never fills. Counts, with the ids behind them, for each gap class: unsourced assertions, unattributed inferences, ambiguous attribution (by tag and by session), uncertain routing, unattestable rows (pre-2026-09-05 boundary), digest mismatches (the alarm - expect zero), pointer disagreements against the transcript store, broken supersession, expired-but-live rows, consolidation candidates (tag families; a list for a person), and redacted spans by source. Call it when asked how trustworthy the record is, before a consolidation pass, or after any migration. Closing a gap is a person's decision: revise_memory with a real derived_from where the source is knowable; otherwise the gap stands as a fact.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | No | Restrict to one layer. Default: all six. | |
| limit | No | Max ids returned per class (1-500, default 50). Counts are always complete. | |
| since | No | Unix seconds; only entries with timestamp >= since. Default: the whole store. |