Lifecycle
This page follows one GitHub issue from the label you add to the merged pull request. The project bot does the work. It is a Claude Code session that works the issues of one project (one or more repositories). It runs in Orca, an app that manages many agent sessions.
The project bot is optional and needs the cl-orchestration plugin; setup is in Get started. You choose the work, answer the bot's questions, and do the releases.
- 1
Issue you
You label the issue.
- 2
Refine
Plan, questions, design approval.
- 3
Build
A worker per issue.
- 4
Review
Fresh review subagents; the project bot approves.
- clean, then Merge
- findings, then Build: fix, then re‑review, same run
- 5
Merge
The project bot, by the policy.
- 6
Release you
Releases and tags stay yours.
Issue
Each GitHub issue is one piece of work. A label tells the bot what it may do:
| Label | The bot may |
|---|---|
cl:plan | read the issue, plan it and ask you about it, but not start work |
cl:ready-for-agent | start the issue. This is the start label /cl-repo:setup writes unless you pick another. |
The bot starts nothing until cedarloom.json, the settings file /cl-repo:setup writes, is on the repository's default branch. Then run /cl-repo:setup again: that run creates the bot's automations. An issue whose result cannot be stated as a check is listed for you, not started.
Refine
Refining settles the goal, scope, depth, risk and steps, and a table of the checks that prove the result (the acceptance table). /cl-workflow:plan does this with you before the issue starts. Otherwise the worker does it in its plan step, at standard and deep depth. Deep or critical work waits until you approve its design.
Questions reach you as issues labeled cl:needs-human. When the repository has issues turned off, they go to a list of files in the bot's folder on your computer. /cl-workflow:away off asks them.
Build to merge
- You
- Project bot
- Build session
- Re-check
Build. The project bot writes a task brief per issue. It hands the brief to a new session of its own, or to a new worker (another Claude Code session) through Orca. Each computer runs only so many sessions at once, and projects share them fairly. The cl:in-progress label keeps an issue from starting twice. The session or worker follows the workflow at the depth in the brief. A build session pushes its branch; for a worker, the project bot pushes it. The project bot then opens the draft pull request.
Review. Before the push, fresh review subagents in the build session check the change. For a routine or elevated change, the project bot checks the review record the session writes and approves exactly that commit. It then posts the review of record. On a pull request the bot opened, the approval is a comment: GitHub lets no author approve their own. A critical change gets no bot approval.
Fix. The reviewers rank each finding Blocking, Important or Minor. A Blocking or Important finding gets one fix and its re-review in the same session. That makes at most 2 passes, and findings left after that come to you. A critical change also gets a re-check by a fresh run and lands only with your yes.
Merge. The draft becomes ready when the last review is clean, the required checks are green and no review thread is open. The project bot then merges, through its script merge.mjs, only when cedarloom.json allows it:
merge.allowedmust betrue. It isfalseunless you set it, so by default the bot merges nothing and leaves each reviewed pull request for you.merge.requiredChecksmust list at least one check, each green. With none listed, nothing merges.review.reviewermust name the bot's GitHub login: it merges only a commit that login approved.- The change's risk class must be at or below
merge.autoMergeMax(elevated by default). - The pull request must touch no owner-only file (one you listed, or a built-in one such as a container file).
A critical change, a change above that risk limit or a pull request with an owner-only file waits for your answer on an Orca item. When you answer "Land it", merge.mjs lands that exact commit once. Otherwise the pull request stays open for you.
What you can set up gives three ready-made combinations of these settings and lists every field and the built-in owner-only files.
Release
Releases and tags are yours. No worker or bot creates one. The project bot lands a release pull request only at your yes on its Orca item, and CI then creates the release.
Details: the project bots, settings fields, questions and labels.