zanuar-stack


Why
Running many coding agents at once is easy. Keeping track of them is not: who owns which task, what got reviewed, which PR is waiting on you.
zanuar-stack is a skill pack that gives agents a small team structure. The orchestrator picks the smallest lane that fits: it handles quick work itself, runs a worker and reviewer directly for a single ticket, and starts one manager per repo only for larger, parallel or cross-repo work. You make the decisions; they keep the books. Built for Orca first, but the skills only assume a harness that can start another agent and pass messages.
Quick start
- Install for your harness (see Install).
- Run
/setup-zanuar-stack once. It creates the ticket database and asks who plays manager, worker and reviewer.
- Start a session and give it a role:
act as orchestrator: add rate limiting to the API and show the limit in the dashboard
act as manager for this repo: fix the flaky login test and open a PR
The orchestrator picks the smallest lane that fits. It handles quick work itself, runs a worker and reviewer directly for a single ticket, and starts a manager per repo only for larger, parallel or cross-repo work.
How it works
Full lane:
owner
│ decisions only
▼
orchestrator ── interview → story + one brief per repo
┌──────────┼──────────┐
▼ ▼ ▼
manager manager manager one per repo, kept open
│ │
▼ ▼
worker reviewer one ticket, own worktree/branch
│ ▲
└────┘ FIX rounds (max ~3) → PASS → PR
Shared state is one SQLite file, ~/.orca/tickets/tickets.db (see db/): stories, tickets, runs, per-repo role config.
- Lanes: Direct for quick work without a ticket, light for one ticket with a worker and reviewer, full for larger work with managers. Every code change gets a separate reviewer.
- Ticket statuses:
queued (waiting on dependencies) → todo → in-progress → review → done. Also needs-you (owner decision), blocked and canceled.
- FIX loop: a reviewer, CI failure or PR comment that needs a change sends the ticket back to the same worker and worktree (
review → in-progress → review). After a few rounds it escalates instead of looping.
- Autonomy (per repo, per-ticket override):
ask stops after each ticket, review (default) opens the PR and asks before merging, merge merges into a non-production integration branch once review and checks pass.
- Land:
pr opens a pull request; local hands over the reviewed branch for repos with no remote.
- Integration/base branch: each repo has a saved base. Nothing is pushed to it directly; every change goes through a PR. Production branches always need your explicit OK.
- Overrides: repo defaults pick each role's harness and model. A per-ticket override applies only with the owner's approval.
- PR watcher: a local script (
pr_watch.py) tracks CI, reviews and comments on open PRs and reports to the manager. No hosted service.
- One voice: with an orchestrator running, it is the only agent that talks to you. A manager talks to you directly only when you started it.
For a new project or repo, initialize and register it before briefing its manager on the first skeleton ticket. Harness wiring: adapters/orca.
Skills
| role skills | |
|---|
orchestrator | choose a lane, handle quick work or coordinate delivery |
manager | tickets, dispatch, triage, review loop, PR |
worker | one ticket, verify, report |
reviewer | review the full diff and its effects, PASS or FIX |
| practice skills | |
|---|
interview | one-question-at-a-time requirements interview |
make-verify | repo-local recipe to launch the app and prove a feature (optional) |
design-handoff | shared format for design requests and implementation briefs |
retro | find recurring delivery problems and propose fixes backed by past incidents |
setup-zanuar-stack | run once: ticket db + who plays each role |
watch-pr | follow CI and review, write attributed PR comments |