shadowgraph_retrieve
Retrieve records matching a content query plus their one-hop graph neighbors, showing related decisions and attempts even when they don't match the query.
Instructions
Retrieve records matching a content query together with their one-hop graph neighbours. shadowgraph_search returns matches only, shadowgraph_recall ranks scoped memory, shadowgraph_traverse walks from a known id, shadowgraph_context builds a project working set. Reads only. A neighbour can appear with no content match of its own.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Restrict results to decisions or to attempts. A structured filter, never a content match. | |
| limit | No | Maximum items to return, 1-1000; the default is 50 and completeness.limitSource reports which applied. Out of range is rejected, never silently clamped. | |
| query | No | Whitespace-separated terms matched against the declared content fields (title, goal, chosen, assumption, evidence, alternative, attempt solution, attempt result, attempt reason, environment), exactly as in shadowgraph_search. Omit to retrieve by filters alone. | |
| offset | No | Items to skip before this window. Ordering is total and deterministic, so paging cannot drop or duplicate an item. | |
| status | No | Return only decisions in this lifecycle state. A structured filter, so matching it is never counted as a content match. | |
| project | No | Restrict to one project, including which neighbours may be pulled in. | |
| minConfidence | No | Return only decisions whose current confidence is at least this value, 0-1. A structured filter, never a content match. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | The window actually applied to the matching items. | |
| items | Yes | The items in this window, in deterministic order. | |
| completeness | Yes | Declares exactly what this response left out, so a truncated result can never look complete. |