gnosys_traverse
Traverses stored memory relationships breadth-first to return an indented tree of IDs, titles, confidences, depths, and connecting edges, filtered by direction, depth, and relationship type.
Instructions
Traverse stored memory relationships breadth-first, returning an indented text tree of IDs, titles, confidences, depths, and connecting edges. direction is out, in, or both (default); depth defaults to 3 with range 1..10. relTypes accepts stored relationship strings, including references, supersedes, leads_to, follows_from, requires, validates, contradicts, and corroborates; omission follows all types. Example: {"memoryId":"arch-012","depth":2,"relTypes":["requires"]}. To create relationships from source code, use gnosys_trace instead, which requires gnosys_toolset {"set":"standard"}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Max traversal depth (default: 3, max: 10) | |
| memoryId | Yes | Starting memory ID | |
| relTypes | No | Stored relationship types to follow (default all), e.g. leads_to, follows_from, requires, validates, contradicts, corroborates, references, supersedes | |
| direction | No | Edge direction to follow (default: both) | |
| projectRoot | No | Project root path; routes the call to that project's store. |