How the-open-engine/zeroshot works
zeroshot runs bounded, graph-defined QA workflows around coding agents: a worker implements a task, independent reviewers assess it, rejected work loops through repair and review, and optional Git delivery follows acceptance. Users configure workflows through the UI or CLI, then inspect run history and logs. The core is a native-v2 admission, supervision, execution, and durable-ledger stack, with local and cloud controllers and external agent/provider integrations. Edges are limited to README-documented behavior and relationships visible in the supplied source excerpts or SOURCE INDEX; unsampled subsystem internals are not inferred.
Main entry points: native_v2_supervisor.rs Run supervisor · native_v2_admission.rs Run admission · engine.rs Run engine · main.rs CLI
Components 17
Workflow authoring
- CLI
zeroshot/src/main.rs - Workflow UI
ui/src/App.tsx - Workflow graph
ui/src/workflow-authoring.ts
Run execution
- Run admission
zeroshot/src/native_v2_admission.rs - Run engine
zeroshot/src/native_v2_portable_controller/engine.rs - Run supervisor
zeroshot/src/native_v2_supervisor.rs - Workflow reducer
zeroshot/src/full_v1_reducer.rs - Node runner
zeroshot/src/native_v2_runner.rs
Targets and delivery
- Cloud controller
zeroshot/src/native_v2_cloud.rs - Local controller
zeroshot/src/native_v2_portable_controller/controller.rs - Git delivery
zeroshot/src/native_v2_delivery.rs
Run observation
- Run ledger
zeroshot/src/v2_run_ledger.rs - SQLite storage
zeroshot/src/v2_run_ledger/sqlite.rs - Run observability
zeroshot/src/native_v2_observability.rs - Run history UI
ui/src/RunHistoryView.tsx
Other components
- Engineer
- Agent providers
Connections 17
- Engineer → CLI: starts runs
README.md - Engineer → Workflow UI: authors workflows
README.md - Workflow UI → Workflow graph: edits graph
ui/src/App.tsx - CLI → Run admission: validates run
- Run admission → Cloud controller: admits run
zeroshot/src/native_v2_cloud.rs - Run admission → Local controller: admits run
zeroshot/src/native_v2_portable_controller/controller.rs - Local controller → Run engine: starts engine
zeroshot/src/native_v2_portable_controller/controller.rs - Run engine → Run supervisor: drives run
zeroshot/src/native_v2_portable_controller/engine.rs - Run supervisor → Workflow reducer: reduces history
zeroshot/src/native_v2_supervisor.rs - Run supervisor → Node runner: dispatches nodes
zeroshot/src/native_v2_supervisor.rs - Node runner → Agent providers: runs agent
- Run supervisor → Run ledger: reads and appends
zeroshot/src/native_v2_supervisor.rs - Run ledger → SQLite storage: persists events
zeroshot/src/v2_run_ledger.rs - Run supervisor → Git delivery: supports delivery
zeroshot/src/native_v2_supervisor.rs - Engineer → Run history UI: inspects runs
README.md - Run history UI → Run observability: reads run data
- Run engine → Run observability: publishes output
zeroshot/src/native_v2_portable_controller/engine.rs