How denisvr/devalcopilot works
DevalCopilot is a local-first desktop control plane for supervised, role-based agent development. A human initiates a run; the application coordinates planning, challenge, implementation, verification, review, and correction, while maintaining durable run history and allowing human intervention. The frontend calls the local ASP.NET API, and the application layer reads and writes workflow state through its database abstraction. The README documents Git, provider, and GitHub/CI integrations. Some implementation paths are represented by their exact enclosing directories because the supplied excerpts do not expose their internal wiring.
Main entry points: Commands Run commands · Runs ASP.NET API · cockpit Run cockpit · Projects Project operations
Components 16
Desktop cockpit
- Run cockpit
src/frontend/DevalCopilot.Frontend/src/features/cockpit - API clients
src/frontend/DevalCopilot.Frontend/src/api/clients.ts
Workflow control
- ASP.NET API
src/backend/DevalCopilot.Api/Features/Runs - Environment readiness
src/backend/DevalCopilot.Api/Features/EnvironmentReadiness - Run and attempt model
src/backend/DevalCopilot.Domain/Features/Runs/Run.cs - Agent roles and contracts
src/backend/DevalCopilot.Domain/Features/Runs/AgentRole.cs - Run queries
src/backend/DevalCopilot.Application/Features/Runs/Queries - Run commands
src/backend/DevalCopilot.Application/Features/Runs/Commands
Workspace and evidence
- Project operations
src/backend/DevalCopilot.Api/Features/Projects - Workspace and Git evidence
src/backend/DevalCopilot.Application/Features/Projects - Verification and reviews
src/backend/DevalCopilot.Api/Features/Projects
Persistence and integrations
- Persistence contract
src/backend/DevalCopilot.Application/Data/IDevalCopilotDbContext.cs - SQLite workflow state
- Codex and Claude Code
- Git and GitHub CI
Other components
- Human operator
Connections 19
- Human operator → Run cockpit: supervises runs
README.md - Run cockpit → API clients: requests actions
src/frontend/DevalCopilot.Frontend/src/features/cockpit/hooks/useAuthorizeReviewCorrection.ts - API clients → ASP.NET API: calls endpoints
src/frontend/DevalCopilot.Frontend/src/api/clients.ts - ASP.NET API → Run commands: dispatches commands
- ASP.NET API → Run queries: dispatches queries
- ASP.NET API → Environment readiness: checks readiness
- Run commands → Run and attempt model: advances workflow
- Run and attempt model → Agent roles and contracts: constrains attempts
src/backend/DevalCopilot.Domain/Features/Runs/AgentRole.cs - Run queries → Persistence contract: reads state
src/backend/DevalCopilot.Application/Features/Runs/Queries/GetRunCockpit/GetRunCockpitQueryHandler.cs - Run commands → Persistence contract: writes state
src/backend/DevalCopilot.Application/Features/Runs/Commands/AuthorizeReviewCorrection/AuthorizeReviewCorrectionCommandHandler.cs - Persistence contract → SQLite workflow state: persists state
README.md - ASP.NET API → Project operations: serves project operations
- Project operations → Workspace and Git evidence: requests workspace evidence
- Project operations → Verification and reviews: manages verification
- Run commands → Codex and Claude Code: supervises agents
README.md - Run commands → Workspace and Git evidence: coordinates delivery
README.md - Run commands → Git and GitHub CI: observes delivery evidence
README.md - Verification and reviews → Git and GitHub CI: records objective evidence
README.md - Run cockpit → Human operator: presents run state
README.md