God Nodes
The most connected nodes in the knowledge graph — core abstractions that tie multiple systems together.
Top 10 Most Connected
| Rank | Node | Edges | Description |
|---|---|---|---|
| 1 | AgentTaskProcessor | 64 | Orchestrates agent task execution |
| 2 | PmService | 60 | Project management service |
| 3 | DOCXSchemaValidator | 59 | DOCX document validation |
| 4 | XMLEditor | 59 | XML editing utilities |
| 5 | RedliningValidator | 56 | Document redlining validation |
| 6 | Daemon | 55 | Background process daemon |
| 7 | Client | 49 | Generic client interface |
| 8 | App | 48 | Application base class |
| 9 | Document | 44 | Document abstraction |
| 10 | GIFBuilder | 41 | GIF generation utility |
Surprising Connections
These connections were inferred but may not be obvious:
ResourceGuard↔AuthService(semantic similarity)apps/server/src/services/resource-guard.ts↔packages/auth/src/auth-service.ts
compactMessages()→estimateMessageArrayTokens()apps/bsni-agent/src/compaction.ts→packages/core/src/runtime/compaction.ts
shouldCompact()→estimateSessionTokens()packages/core/src/runtime/compaction.ts→pc_dev/internal/session/compaction.go
CompactSession()→summarizeMessages()pc_dev/internal/session/compaction.go→packages/core/src/runtime/compaction.ts
Key Insights
- AgentTaskProcessor is the central hub — it coordinates task execution across agents
- PmService and DOCXSchemaValidator have high connectivity suggesting broad usage
- The Go compaction code (
pc_dev/) has bidirectional connections to TypeScript compaction — suggesting the two implementations inform each other