Two roles in every step
Before you start, understand the split:
The agent never pushes, merges, deploys, or marks its own work done.
1
Ensure CyberOS is installed
If you have not yet installed CyberOS, follow the Installation guide first. Installation is a one-time setup per repo and takes under two minutes.To confirm your repo is ready, run:The output should read
READY.2
Write the task file
Create one file at Use
docs/tasks/<module>/task-<MODULE>-<NNN>-<slug>.md. You can copy the template from .cyberos/cuo/templates/ or start from this skeleton:class: product for new capabilities and class: improvement for hardening, refactors, or fixes.3
Add the task to BACKLOG.md
Open For
docs/tasks/BACKLOG.md and add one line in your module’s section:class: improvement tasks, add an (improvement) tag to the row. The task file’s status: field is the record of truth; BACKLOG.md is the index kept in lockstep.4
Trigger the agent
With the Claude plugin installed, type this in your repo session:Without the plugin, paste this prompt to any agent:The agent picks the first eligible task (respecting
depends_on), moves it to implementing, writes code, runs bash .cyberos/cuo/gates/run-gates.sh, reviews its own output, and advances to reviewing — then halts and waits for you.5
Gate 1 — Review acceptance
The agent presents:
- What it built (a summary of changes)
- Its review findings (how the change maps to each normative clause)
- Any deviations or open questions
- To approve: say
approved(or equivalent). The agent advances the task toready_to_test. - To route back: give one sentence explaining what is wrong, for example: “Clause 2 is not implemented — the endpoint returns 400, not 429.” The agent drops the task back to
ready_to_implementandrouted_back_countincrements by 1.
6
Gate 2 — Final acceptance
The agent presents:
- Test evidence — gate output, proof per acceptance criterion
- Green gates (build, lint, test all passing)
- To approve: say
done(or equivalent). The task status becomesdone. - To route back: give one sentence explaining what is wrong.
routed_back_countincrements again.
7
Land the change
Once you have accepted at Gate 2, the change is yours to land:Agents never commit, push, merge, or deploy on your behalf. That is always your step.
When things go wrong
Gates fail — agent presents red output
Gates fail — agent presents red output
The agent must fix failing gates and re-run them before it can request your review at either gate. If an agent asks you to accept with red gate output, refuse. Send it back with: “Gates are not green. Fix and re-run before requesting review.”
The task itself was wrong
The task itself was wrong
Route back at either gate with one sentence explaining what the task got wrong. The
routed_back_count field in the task frontmatter tracks how many rework loops have happened. There is no limit to how many times you can route back.Not sure what a status means
Not sure what a status means
.cyberos/cuo/STATUS-REFERENCE.md defines all 10 states, who may set each one, and what the transition rules are. When in doubt, check that file first.CyberOS itself is outdated
CyberOS itself is outdated
Re-run the installer to update:The installer applies updates to
.cyberos/ and never touches your existing tasks or BACKLOG.md.