# Graph Report - . (2026-07-08) ## Corpus Check - Corpus is ~14,667 words - fits in a single context window. You may not need a graph. ## Summary - 91 nodes · 151 edges · 14 communities (9 shown, 5 thin omitted) - Extraction: 93% EXTRACTED · 7% INFERRED · 0% AMBIGUOUS · INFERRED: 10 edges (avg confidence: 0.77) - Token cost: 0 input · 0 output ## Community Hubs (Navigation) - Community 0 - Community 1 - Community 2 - Community 3 - Community 4 - Community 5 - Community 6 - Community 7 - Community 8 - Community 9 - Community 10 - Community 11 - Community 12 ## God Nodes (most connected - your core abstractions) 1. `chat()` - 12 edges 2. `get_redis()` - 11 edges 3. `gpu_active_count()` - 9 edges 4. `is_gpu_busy()` - 9 edges 5. `select_best_gpu()` - 8 edges 6. `route()` - 8 edges 7. `route()` - 6 edges 8. `check_gpu_health()` - 6 edges 9. `available_models()` - 6 edges 10. `estimate_tokens()` - 6 edges ## Surprising Connections (you probably didn't know these) - `route()` --calls--> `available_models()` [INFERRED] router/route_v2.py → router/router.py - `route()` --calls--> `estimate_tokens()` [INFERRED] router/route_v2.py → router/router.py - `route()` --calls--> `is_gpu_busy()` [INFERRED] router/route_v2.py → router/router.py - `route()` --calls--> `select_best_gpu()` [INFERRED] router/route_v2.py → router/router.py - `route()` --calls--> `available_models()` [INFERRED] router/route_v3.py → router/router.py ## Import Cycles - None detected. ## Communities (14 total, 5 thin omitted) ### Community 0 - "Community 0" Cohesion: 0.21 Nodes (14): route(), moe_spillover(), Spill 40% of MoE-first traffic to Dense to prevent Strix Halo overheating. O, route(), available_models(), estimate_tokens(), is_gpu_busy(), moe_spillover() (+6 more) ### Community 1 - "Community 1" Cohesion: 0.22 Nodes (4): api_state(), broadcast_loop(), fetch_state(), SyslogAI Harness Dashboard — Modern Design. ### Community 2 - "Community 2" Cohesion: 0.31 Nodes (9): check_gpu_health(), enqueue(), get_queue_depth(), get_redis(), health(), GET queue depth + circuit breaker state + GPU health., Nginx upstream health probe. Returns 200 if service is alive., Fallback endpoint — Nginx calls this when all GPU upstreams are down. (+1 more) ### Community 3 - "Community 3" Cohesion: 0.20 Nodes (10): _admin_auth(), admin_deprecation_summary(), admin_generate_key(), admin_keys(), admin_revoke_key(), Require admin key for management endpoints., List all API keys (masked) with agent, tier, and deprecation status., Summary of deprecated key usage (from Redis logs, if available). (+2 more) ### Community 4 - "Community 4" Cohesion: 0.28 Nodes (5): bcast(), get_metrics(), metrics(), metrics_circuit_breaker(), Expose circuit breaker status per model. Phase 1. ### Community 5 - "Community 5" Cohesion: 0.22 Nodes (9): get_redis(), gpu_decr(), gpu_incr(), half_open_probe(), is_circuit_tripped(), performance(), Check if a GPU host is currently blacklisted., Check if a GPU host can be un-blacklisted. (+1 more) ### Community 6 - "Community 6" Cohesion: 0.36 Nodes (8): check_gpu_health(), gpu_active_count(), gpu_health_score(), health(), metrics_gpu_health(), Get number of in-flight requests for a GPU., Score a GPU based on VRAM, temperature, and load. Lower = better., Live GPU health scores + circuit breaker + KPIs. ### Community 7 - "Community 7" Cohesion: 0.33 Nodes (7): chat(), check_rate_limit(), clean_response(), clean_unicode(), Store detailed performance record in Redis for analytics., Token bucket rate limiter using Redis. Returns (allowed, retry_after_or_remainin, store_perf_record() ## Knowledge Gaps - **1 isolated node(s):** `maintenance.sh script` These have ≤1 connection - possible missing edges or undocumented components. - **5 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes. ## Suggested Questions _Questions this graph is uniquely positioned to answer:_ - **Why does `is_gpu_busy()` connect `Community 0` to `Community 4`, `Community 6`?** _High betweenness centrality (0.061) - this node is a cross-community bridge._ - **Why does `select_best_gpu()` connect `Community 0` to `Community 4`, `Community 6`?** _High betweenness centrality (0.031) - this node is a cross-community bridge._ - **Why does `estimate_tokens()` connect `Community 0` to `Community 4`, `Community 7`?** _High betweenness centrality (0.030) - this node is a cross-community bridge._ - **Are the 3 inferred relationships involving `is_gpu_busy()` (e.g. with `route()` and `moe_spillover()`) actually correct?** _`is_gpu_busy()` has 3 INFERRED edges - model-reasoned connections that need verification._ - **Are the 3 inferred relationships involving `select_best_gpu()` (e.g. with `route()` and `route()`) actually correct?** _`select_best_gpu()` has 3 INFERRED edges - model-reasoned connections that need verification._ - **What connects `SyslogAI Harness Dashboard — Modern Design.`, `maintenance.sh script`, `Nginx upstream health probe. Returns 200 if service is alive.` to the rest of the system?** _28 weakly-connected nodes found - possible documentation gaps or missing edges._