Expand description
Graph-driven context loading — automatically includes related files based on Property Graph proximity and token budgeting.
Used by ctx_read (task mode) to surface a small, budgeted set of
related files (deterministic ordering; no output spam).
Structs§
Enums§
Functions§
- build_
graph_ context - build_
related_ hint - Lightweight one-line hint of the top related files from the Property Graph.
Returns
Noneif no graph is available or no neighbors found. - build_
related_ paths_ csv - Comma-separated repo-relative paths for dependency-cluster hints (e.g. CCP XML).
- format_
graph_ context - graph_
neighbor_ ranks_ for_ recent_ files - Repo-relative paths (same style as BM25 chunks / property graph) ranked for RRF graph proximity.