Concepts
CedarLoom is a set of plugins that make Claude Code plan, test and review its own work. This page explains how it works once installed. To install it, see Get started.
Kind and depth
Before the first edit, the workflow skill of the cl-workflow plugin has Claude decide two things about your task and write them down:
- Kind: a software change, a docs pass (several documents checked against the code), or research.
- Depth: how much planning, testing and review the task gets: quick, standard or deep.
You see the result as one line, such as Depth: standard (bug), so you can check the choice before any work starts.
Task
Kind
- Software change
- Docs pass
- Research
Depth
- quick
- edit
- check
- commit
- standard
- plan
- test
- one review
- deep
- spec
- tickets
- review rounds
| Depth | Used for |
|---|---|
| quick | a change you can describe in one sentence |
| standard | one behavior, or a bug |
| deep | several behaviors, a new feature, an unclear approach, or a risky change |
A risky change always runs deep. Risky means it touches login, permissions, secrets, input checks, production data or deploy settings, or it cannot be undone. When two depths both fit, Claude takes the deeper one.
To choose the kind yourself, start with /cl-workflow:dev (a software change) or /cl-workflow:research. /cl-workflow:full runs a change at deep depth. /cl-workflow:plan talks a task through with you and writes a plan before any code.
Helpers for each step
At standard and deep depth, the work runs in steps (phases). Most steps go to a helper agent: a subagent that starts without your session's history. It judges the work only by what it can read in the code and the plan.
| Step | What it does |
|---|---|
| plan | settles what to build and how |
| plan check | checks the plan before any code |
| implement | writes the change |
| test | runs the full checks and tries to break the change |
| review | looks for bugs before the push |
| verify | checks review findings, a plan or a research answer before it is used |
| recheck | reviews a fix against the earlier findings |
| gather | looks things up, read-only |
At standard depth, the session you talk to plans the change itself, and plan check, test and review still run as helpers. It also writes the code itself, unless the implement step needs another model or effort; then a helper writes it. At deep depth, and for a critical change, each step runs as a helper.
The task ends with a report that names each check's command and result, and the steps it skipped.
Who does what
| Role | Does |
|---|---|
| You (the owner) | choose the work; own releases, settings, secrets and every merge your settings do not allow, and land some of those with a yes in Orca |
| Project bot | one per project (one or more repositories): picks labeled issues, builds and fixes them in sessions of its own or with workers, approves a commit that review cleared, merges where your settings allow |
| Worker | a session that builds one issue, or a small batch, in its own copy of the repository |
| Reviewer | fresh review subagents in each build or fix session; an independent re-check run for a critical change |
The project bot and the workers need the cl-orchestration plugin and Orca. Without them, you and Claude Code work as usual, with the workflow above.
A guard in cl-workflow refuses merges, releases, tag pushes and pushes to the default branch in every session and subagent. You take releases and settings on GitHub. The project bot posts its approval through its own script and merges only through merge.mjs, and only what it approved.
The guard is a hook: a check that runs before each command. A command written to get around it can still pass. Branch rules on GitHub and a token without those rights are what really protect the repository.
The project bot also runs the weekly maintenance, the check of security alerts and the planner sessions. A repository without a project bot takes fresh workers. The bots follow CedarLoom's own instructions, which also work outside Orca. A bot starts from an Orca bot template only for a duty specific to Orca (the cleanup bot does). When you ask for it, a repository without a project bot can use Orca's pr-review template instead. Each bot is refused what its job does not need: Bots lists each one's scope, duties and limits.
Questions and away mode
While you are at the terminal, Claude may ask you questions. When you leave, run /cl-workflow:away, or /cl-workflow:away 2h for a set time. Away mode applies to every Claude Code session and bot of your user account on this computer. A hook then refuses the question tool and plan mode, so Claude stops asking. It takes each safe choice that is easy to undo, saves the other questions with its recommendation, and keeps working.
/cl-workflow:away off, typed in any session, ends away mode everywhere and asks you up to 5 of the saved questions. The project bot files its questions as GitHub issues labeled cl:needs-human, or in a local list when the repository has issues turned off.
The review loop
Before it pushes, the session that built a change has fresh review subagents check it. A sensitive change (CI, guards, data formats, money, agent instructions) gets a deeper review and a security review.
- 1
Build session
- 2
Fresh review
- Blocking or Important, then Fix in the same run
- clean, then Ready to merge
- 3
Fix in the same run
- 4
Scoped re‑review
- clean, then Ready to merge
- findings, then Owner decides
- 5
Ready to merge
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; findings left after that come to you. Minor findings are listed, not fixed. When the review is clean, the project bot approves that commit. A critical change gets no bot approval: a fresh run re-checks it, and it lands only with your yes in Orca.
Details: the plugins, the workflow skill, review and merge.