shadowgraph_validate
Diagnose record, graph, and journal integrity before repairing anything, returning a read-only report of detected issues so you can plan safe fixes.
Instructions
Diagnose record, graph and journal integrity without applying repairs. shadowgraph_maintain ages records; shadowgraph_review checks decision rules; shadowgraph_repair_plan (full mode only) proposes repairs; shadowgraph_rebuild (full mode only) checks journal replay. Own-scope read saves nothing; an access key commits a revision and bounded audit. For full-mode tools, ask the operator to unset SHADOWGRAPH_MCP_PROFILE and restart with SHADOWGRAPH_MCP_COMPACT=0.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grantId | No | Alias for accessId; conflicting identifiers are refused. | |
| project | No | Project or confirmed workspace binding; otherwise origin-only. No identity returns an empty scoped view. | |
| accessId | No | Grant ID, rechecked at use. Widens reads only, never write authority. Presenting an access key commits a revision and bounded operational audit: at most one aggregate per grant, surface, outcome and UTC day. Conflicts with a different grantId are refused. | |
| originId | No | Capture-origin id; with no project the record belongs to it alone. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | Yes | False when any error or unsupported issue is present. | |
| counts | Yes | Issue counts per severity. | |
| issues | Yes | Every diagnostic found, each with a stable code and severity. | |
| readProvenance | No | Original read bounds; reuse intersects these with currently valid authority. |