How rezarasoulzadeh/orc works
Orc is a local, operator-controlled orchestrator for AI-assisted engineering, not a model provider. The main workflow adopts a Git project, captures its engineering context, turns an objective into persisted plans and tasks, schedules and dispatches work to registered agents in isolated worktrees, then validates and reviews results under operator-controlled lifecycle policies. Operators use the CLI, beta TUI, or Tauri desktop client. The graph includes durable memory and persisted workflows as additional capabilities. Relationships are grounded in the README and SOURCE INDEX references; unsampled implementation details are not inferred.
Main entry points: db.rs SQLite state · app.rs Dispatch orchestration · cli CLI · adoption.rs Project adoption
Components 20
Operator interfaces
- CLI
src/cli - Terminal UI
src/tui/mod.rs - Desktop client
src-tauri/src/lib.rs
Project and planning
- Project adoption
src/adoption.rs - Repository discovery
src/discovery.rs - Engineering Lead
src/lead.rs - Planning
src/controller_planning.rs - Persisted workflow
src/workflow.rs
Task execution
- Task model
src/task.rs - Queue and scheduling
src/queue.rs - Agent registry
src/registry.rs - Dispatch orchestration
src/app.rs - Worker execution
src/worker.rs - Git worktrees
src/git.rs
Lifecycle and governance
- Validation
src/validation.rs - Review and acceptance
src/review.rs - Durable memory
src/memory.rs
Runtime state
- SQLite state
src/storage/db.rs
Other components
- Operator
- External AI providers
Connections 25
- Operator → CLI: issues commands
README.md - Operator → Terminal UI: inspects queue
README.md - Operator → Desktop client: uses client
README.md - CLI → Project adoption: initializes and adopts
README.md - CLI → Persisted workflow: starts or advances
README.md - CLI → Dispatch orchestration: dispatches tasks
README.md - Project adoption → SQLite state: records project state
README.md - Project adoption → Git worktrees: adopts Git repository
README.md - Repository discovery → SQLite state: applies discovery
README.md - Persisted workflow → Planning: advances planning
README.md - Planning → Engineering Lead: uses Lead decisions
src/app.rs - Planning → Task model: creates tasks
README.md - Task model → SQLite state: persists task state
src/storage/db.rs - Queue and scheduling → Agent registry: checks eligibility
src/queue.rs - Dispatch orchestration → Queue and scheduling: selects queued work
README.md - Dispatch orchestration → Worker execution: dispatches work
src/app.rs - Worker execution → Git worktrees: uses isolated worktree
README.md - Worker execution → External AI providers: invokes provider
README.md - Dispatch orchestration → Validation: validates work
src/app.rs - Dispatch orchestration → Review and acceptance: builds review
src/app.rs - Review and acceptance → SQLite state: persists review state
README.md - Dispatch orchestration → SQLite state: updates lifecycle state
src/app.rs - Durable memory → SQLite state: stores memory
src/memory.rs - Terminal UI → SQLite state: reads project state
src/tui/mod.rs - Desktop client → SQLite state: manages project state
src-tauri/src/lib.rs