fix: Project knowledge graph for structural defect detection (#629)
Add lib/build-graph.py that builds a NetworkX DiGraph from project docs and forge API, runs structural analyses (orphans, cycles, disconnected clusters, thin objectives, bottlenecks), and outputs a JSON report. Predictor and reviewer agents now call build-graph.py before launching their Claude sessions and inject the report as context. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
e0b70d67f4
commit
3a7b95046d
4 changed files with 590 additions and 1 deletions
|
|
@ -19,6 +19,7 @@ model = "sonnet"
|
|||
|
||||
[context]
|
||||
files = ["AGENTS.md", "RESOURCES.md", "VISION.md", "planner/prerequisite-tree.md"]
|
||||
graph_report = "Structural analysis JSON from lib/build-graph.py — orphans, cycles, thin objectives, bottlenecks"
|
||||
|
||||
[[steps]]
|
||||
id = "preflight"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue