shadowgraph_search
Search stored decisions, attempts, and facts by content keywords, with optional filters for kind, status, project, and confidence to retrieve matching records.
Instructions
Find decisions, attempts, and facts whose declared content fields contain every query term. shadowgraph_retrieve adds one-hop neighbours, shadowgraph_recall fuses ranks over scoped memory, shadowgraph_context builds a working set, shadowgraph_traverse walks from an id. Reads only. Schema keys never match, and a filter is never a content match.
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 case-insensitively as substrings against the declared content fields (title, goal, chosen, assumption, evidence, alternative, attempt solution, attempt result, attempt reason, environment). Every term must match something, so more terms narrow the result. Omit to filter without searching. | |
| 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. Omitted, decisions and facts are searched across projects, while memories stay in the default project and all-null scope. | |
| sourceClass | No | Return only records carrying this claimed origin class. A structured filter, never a content match. | |
| 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. |