How Dark Factory works
01
Task selection
Dark Factory selects tasks that are ready to start.
02
Isolated sessions
For each task, Agent Orchestrator creates an isolated worktree and starts a Codex session inside it.
03
Feature workflow
Archon guides that session through implementation, review, and merge preparation.
04
Delivery loop
Dark Factory orders and merges ready pull requests, cleans the completed feature's local resources, and continues until all tasks are complete.
Parallel feature delivery
Each feature gets its own AO worker, Codex session, worktree, services, and pull request.
Inside every feature
Archon executes the work. Dark Factory supervises the complete run.
Diagram key
skill-name Agent skill
-
Start infrastructure
wtc
- Start serversUses a helper from
dev-start
- Plan the selected task
superpowers:writing-plans
- Implement + validate
superpowers:subagent-driven-development
- Frontend QA when needed
vercel-browser
- Mark task complete
- Commit
commit
- Open pull request
ship
Loop
- Wait for a 5-minute quiet window
-
-
Check review comments + CI status
Nothing to fix
→
BREAK
- Scan the PR
pr-scan
- Fix + validate
- Commit + push
commit
- Resolve review threads
pr-resolve