How gust-feng/deltaconverge works
DeltaConverge is a local code-review workbench with Web and CLI entry points sharing one KernelFacade. A review request is orchestrated through diff/context preparation, intent analysis, planning, plan fusion, and review execution; optional static scanning adds findings. The result and ordered run events are stored and exposed to clients, which can inspect sessions and ask follow-up questions. The README documents project, configuration, scan, dashboard, and rule-growth capabilities; those are represented as service branches. Wiring beyond the supplied excerpts is shown only where README or source explicitly supports it.
Main entry points: pipeline_executor.py Pipeline executor · services Domain services · engine_adapter.py Legacy engine adapter · facade.py Kernel facade
Components 22
User clients
- React workbench
frontend/react/src/App.tsx - Review CLI
adapters/cli/runner.py
Entry and API
- Web API v2
adapters/web/app.py - API routers
adapters/web/routers - Kernel facade
kernel/application/facade.py - Review event stream
kernel/application/services/review_service.py
Review workflow
- Review orchestrator
kernel/application/review_orchestrator.py - Pipeline executor
kernel/application/pipeline_executor.py - Diff stage
kernel/application/stages/diff_stage.py - Intent stage
kernel/application/stages/intent_stage.py - Planning stage
kernel/application/stages/planner_stage.py - Fusion stage
kernel/application/stages/fusion_stage.py - Static scanning
kernel/infrastructure/scan/runner.py - Review stage
kernel/application/stages/review_stage.py
Review engines
- Legacy engine adapter
kernel/infrastructure/engine_adapter.py - LLM integration
kernel/infrastructure/llm_adapter.py
State and services
- Domain services
kernel/application/services - Session and artifacts
kernel/infrastructure/persistence.py - Run event bus
kernel/application/event_bus.py
Other components
- Reviewer
- Code repository
- Model provider
Connections 27
- Reviewer → React workbench: uses
- Reviewer → Review CLI: invokes
- React workbench → Web API v2: calls API
- Review CLI → Kernel facade: invokes
- Web API v2 → API routers: dispatches
- API routers → Kernel facade: delegates
- Kernel facade → Domain services: dispatches
- Domain services → Review orchestrator: starts review
- Review orchestrator → Pipeline executor: executes stages
- Pipeline executor → Diff stage: runs stage
- Pipeline executor → Intent stage: runs stage
- Pipeline executor → Planning stage: runs stage
- Pipeline executor → Fusion stage: runs stage
- Pipeline executor → Static scanning: runs stage
- Pipeline executor → Review stage: runs stage
- Diff stage → Code repository: reads changes
- Intent stage → Legacy engine adapter: analyzes intent
- Planning stage → Legacy engine adapter: plans review
- Fusion stage → Legacy engine adapter: fuses plan
- Review stage → Legacy engine adapter: reviews code
- Legacy engine adapter → LLM integration: uses adapter
- LLM integration → Model provider: requests completion
- Domain services → Session and artifacts: reads and writes
- Review orchestrator → Run event bus: publishes events
- Domain services → Review event stream: streams events
- Review event stream → React workbench: sends SSE
- Kernel facade → Domain services: serves capabilities