Implement bounded upstream/downstream lineage queries #12
Labels
No labels
area/cli
area/core
area/database
area/indexing
area/query
type/epic
type/feature
type/foundation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
JayKobe6k/ClariTree#12
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Resolve one value and return a bounded, cycle-safe lineage subgraph in either or both directions.
Command contract
0includes only the selected value; each traversed lineage relationship increments depth by one.Result contract
Return a typed subgraph containing the selected value, typed definition/use nodes, explicit directed edges, depth/direction metadata, certainty, source anchors, and truncation information. Text output should be readable without discarding identity; JSON output must be stable and lossless. Cycles and shared descendants must be represented once rather than recursively duplicating output.
Acceptance criteria
Dependencies
Depends on #3, #4, #10, and #11.