Auto-Generated Issue
Category: complexity
Severity: medium
Generated by: DjimFlo Self-Analysis Bridge
Description
createSwarmRoutes in swarms.ts is 799 lines with 456 graph connections (highest degree in codebase). This is a single point of failure for the entire API layer.
Recommended Action
Split into:
createProofRunRoutes() — proof-run endpoints
createSwarmIntelligenceRoutes() — intelligence endpoints
createFleetRoutes() — fleet management endpoints
createAssuranceRoutes() — agent assurance endpoints
Progress
- ✅ route() helper introduced (reduced from 799 to ~650 LOC)
- ⏳ Further splitting needed
Auto-generated by DjimFlo Self-Analysis Bridge.
Auto-Generated Issue
Category: complexity
Severity: medium
Generated by: DjimFlo Self-Analysis Bridge
Description
createSwarmRoutes in swarms.ts is 799 lines with 456 graph connections (highest degree in codebase). This is a single point of failure for the entire API layer.
Recommended Action
Split into:
createProofRunRoutes()— proof-run endpointscreateSwarmIntelligenceRoutes()— intelligence endpointscreateFleetRoutes()— fleet management endpointscreateAssuranceRoutes()— agent assurance endpointsProgress
Auto-generated by DjimFlo Self-Analysis Bridge.