How charan877/spidy works
SPIDY accepts a natural-language application request and turns it into a planned, contract-driven codebase, runs it, verifies it, and attempts bounded recovery before presenting the result. The backend orchestrator coordinates the engineering stages; the server and React/Three.js interface expose build controls, telemetry, and previews. SQLite persists project and build records, while the model router provides provider selection and failover. The README documents the end-to-end stages and major capabilities; several implementation details are unsampled, so those connections are represented only where documented or indexed.
Main entry points: orchestrator.py Workflow Orchestrator · server.py API and WebSocket · project_runner.py Project Runner · App.tsx Web Dashboard
Components 24
User Interface
- Web Dashboard
frontend/src/App.tsx - 3D Scene
frontend/src/three/World3D.tsx - Build Views
frontend/src/components
Build Control
- API and WebSocket
server.py - Project State
backend/core/project_state.py - Build Context
backend/core/active_context.py - Workflow Orchestrator
backend/orchestration/orchestrator.py
Engineering Pipeline
- Request Classification
backend/core/task_classifier.py - Task Planning
backend/agents/planner_agent.py - Architecture Contracts
backend/core/architecture_contract.py - Code Generation
backend/agents/generator_impl.py - Isolated Workspace
backend/core/workspace_manager.py
Runtime Verification
- Quality Review
backend/agents/reviewer_agent.py - Project Runner
backend/runtime/project_runner.py - Process Supervision
backend/runtime/process_manager.py - Runtime Sessions
backend/runtime/runtime_session.py - Preview Health
backend/runtime/preview_manager.py - Verification Gates
backend/verification/gate_evaluator.py - Browser Verification
backend/verification/browser_verifier.py - Failure Recovery
backend/agents/debugger_agent.py
AI and Persistence
- LLM Model Router
backend/core/llm/model_router.py - SQLite Persistence
backend/database/connection.py - Database Manager
backend/database/database_manager.py
Other components
- Developer
Connections 25
- Developer → API and WebSocket: submits request
- API and WebSocket → Web Dashboard: streams telemetry
- Web Dashboard → 3D Scene: renders scene
frontend/src/App.tsx - Web Dashboard → Build Views: renders views
frontend/src/App.tsx - API and WebSocket → Workflow Orchestrator: starts workflow
server.py - API and WebSocket → Project State: updates state
server.py - Workflow Orchestrator → Build Context: isolates build
- Workflow Orchestrator → Project State: tracks lifecycle
backend/orchestration/orchestrator.py - Workflow Orchestrator → Request Classification: classifies request
backend/orchestration/orchestrator.py - Workflow Orchestrator → Task Planning: plans tasks
- Workflow Orchestrator → Architecture Contracts: defines contracts
backend/orchestration/orchestrator.py - Workflow Orchestrator → Code Generation: generates code
- Workflow Orchestrator → Isolated Workspace: writes files
backend/orchestration/orchestrator.py - Workflow Orchestrator → Project Runner: runs project
backend/orchestration/orchestrator.py - Project Runner → Process Supervision: starts processes
backend/runtime/project_runner.py - Process Supervision → Runtime Sessions: creates sessions
backend/runtime/process_manager.py - Project Runner → Preview Health: checks preview
backend/runtime/project_runner.py - Project Runner → Verification Gates: evaluates gates
backend/runtime/project_runner.py - Verification Gates → Browser Verification: verifies browser
backend/verification/gate_evaluator.py - Workflow Orchestrator → Quality Review: requests review
backend/orchestration/orchestrator.py - Workflow Orchestrator → Failure Recovery: recovers failures
- Workflow Orchestrator → LLM Model Router: requests models
backend/orchestration/orchestrator.py - API and WebSocket → LLM Model Router: checks provider
server.py - API and WebSocket → Database Manager: restores build data
server.py - Database Manager → SQLite Persistence: opens connections
backend/database/database_manager.py