| name | dory-maintain |
| description | Inspect Dory corpus quality, run maintenance checks, and generate reviewable cleanup or wiki-health reports without mutating memory automatically. |
Dory Maintain
Use Dory maintenance to inspect corpus quality and generate suggested cleanup reports.
Workflow:
- Inspect one document:
uv run dory --corpus-root <corpus> --index-root <index> maintain inspect <path> --write-report
- Inspect the default hot set:
uv run dory --corpus-root <corpus> --index-root <index> ops maintain-once
- Check compiled wiki drift:
uv run dory --corpus-root <corpus> --index-root <index> maintain wiki-health --write-report
- Review reports under
inbox/maintenance/
Rules:
- Maintenance emits suggestions only
- Do not bulk-apply maintenance reports without review
- Prefer metadata and placement fixes over rewriting body content
- Wiki health checks compare generated wiki pages against claim-store state and evidence; review mismatches before rewriting canonical pages