Skip to main content

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
    1. edit
    2. check
    3. commit
  • standard
    1. plan
    2. test
    3. one review
  • deep
    1. spec
    2. tickets
    3. review rounds
Each task gets a kind, then a depth that sets its steps.
DepthUsed for
quicka change you can describe in one sentence
standardone behavior, or a bug
deepseveral 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.

StepWhat it does
plansettles what to build and how
plan checkchecks the plan before any code
implementwrites the change
testruns the full checks and tries to break the change
reviewlooks for bugs before the push
verifychecks review findings, a plan or a research answer before it is used
recheckreviews a fix against the earlier findings
gatherlooks 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​

RoleDoes
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 botone 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
Workera session that builds one issue, or a small batch, in its own copy of the repository
Reviewerfresh 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. 1

    Build session

  2. 2

    Fresh review

    • Blocking or Important, then Fix in the same run
    • clean, then Ready to merge
  3. 3

    Fix in the same run

  4. 4

    Scoped re‑review

    • clean, then Ready to merge
    • findings, then Owner decides
  5. 5

    Ready to merge

Every pull request gets a fresh review in its build session; fixes get one re-review in the same run; critical changes get a re-check.

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.