Commit d54a1a2
refactor: remove unused petgraph dependency from agent crates
Removes petgraph from terraphim_goal_alignment, terraphim_task_decomposition,
and terraphim_agent_registry. Analysis confirmed zero actual usage in source
code - all graph functionality is provided by terraphim_rolegraph::RoleGraph.
Architectural rationale:
- RoleGraph provides domain-specific graph optimized for semantic search
- Aho-Corasick automata integration for text matching
- Custom DFS for path connectivity (optimized for k<=8 nodes)
- Integrated document ranking built into graph traversal
Benefits:
- Reduced compilation time and dependency surface
- Clearer architectural intent
- Removed transitive dependencies (fixedbitset, etc.)
Generated with Terraphim AI
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 3a6be5a commit d54a1a2
4 files changed
Lines changed: 0 additions & 30 deletions
File tree
- crates
- terraphim_agent_registry
- terraphim_goal_alignment
- terraphim_task_decomposition
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | 43 | | |
47 | 44 | | |
48 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | 42 | | |
46 | 43 | | |
47 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | 43 | | |
47 | 44 | | |
48 | 45 | | |
| |||
0 commit comments