review
Audit Markdown memory vaults for stale or expired notes, contradictions, similar groups, cut titles, orphans, broken links, invalid frontmatter, and outdated flags to fix or archive issues.
Instructions
Vault health: stale memories, expired memories, possible contradictions, groups of similar memories, cut titles, orphans, broken links, invalid frontmatter and memories flagged as outdated.
Returns JSON {"totals", "stale", "expired", "contradictions", "similar", "cut_titles", "orphans", "broken_links", "invalid_frontmatter", "flagged", "read_only"}. "similar" lists groups {"paths", "similarity"} of active memories (any type or project, not session or reminder) to merge; "orphans" lists active memories (not session or reminder) with no links in or out, each {"path", "title", "candidates": [{"path", "title", "reason"}]} with up to 3 memories of its project or _shared to link (shared file or 2+ tags), linkable first; "cut_titles" lists memories whose first body line repeats the title and goes on. "expired" lists active memories {"path", "title", "type", "valid_until"} whose valid_until is before today (checkpoints are left out: checkpoint manages them); it only reports, so for each one call revise(action="archive"), or remember a new memory with supersedes if it still applies in updated form. "totals" counts every item per category (the lists are cut at limit). Problems in read-only zones (you cannot fix them here; in practice broken links and invalid frontmatter, since memories live in memory zones) are not mixed in: they go under "read_only", with the same categories and their own "totals". "stale" lists active memories older than 90 days (from created) never marked helpful, except preferences and constraints. "flagged" lists memories marked outdated with revise(action="feedback", value="outdated"); once fixed, clear the mark with revise(action="set", fields={"flagged": null}) or they keep showing up.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "review"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path prefix to limit the review. | |
| zone | No | Only notes of this zone, as in episteme.toml (e.g. "memory"). | |
| limit | No | Maximum items per category. | |
| project | No | Limit memory checks to this project (and _shared). "*" reviews every project. |