Skip to main content

Principles

CedarLoom is a set of plugins that make Claude Code plan, test and review its own work. With the optional cl-orchestration plugin, bots also work your GitHub issues. This page lists the rules all of them follow.

Lean changes​

Make the smallest change that does the whole task, including the callers, tests, configuration and docs it breaks. Add nothing speculative: no option, flag, layer or "for later" code.

Tests follow the same rule: none by default. A new test must fail when the change is undone and spell out its expected values instead of computing them. It runs at the one layer that owns the behavior. Copy, CSS classes, constants, timing and call counts stay untested, and coverage is no target.

Evidence​

A claim comes with its proof.

  • The depth and risk lines (how much checking the task gets, and what could go wrong) are written before the first edit.
  • Each step names the check that proves it done (a test, a command, a screenshot) and loops until it passes.
  • The report gives each check's command and result, the steps skipped and what was not checked.
  • Review findings name the file and line. The project bot posts each review result with the commit it reviewed and the round.

Owner-only decisions​

No agent makes these choices; they stay with you, the owner:

  • releases and tags
  • repository settings, rulesets, secrets and tokens
  • spend limits and user-scope settings
  • a merge outside the repository's policy, above its risk limit, or of a pull request with an owner-only file
  • the design of deep or critical work, before its worker starts

The project bot asks you for each of these as an approval and holds the issue until you answer. A merge above the risk limit or with an owner-only file comes to you as a question on an Orca item instead. A release pull request does too. When you answer "Land it", the project bot lands that exact commit once. Waiting never counts as a yes: the issue stays blocked and is listed in the report. An action that cedarloom.json, the bot's settings file, does not allow is not taken.

Untrusted input​

Anyone can write an issue or a comment, and that text can try to give the agent instructions. So the project bot passes workers and reviewers only text by trusted authors. These are the repository owner, the people listed under trustedAuthors in cedarloom.json, and members or collaborators with write access. If the bot cannot check an author, it passes nothing.

  1. 1

    Issue or pull request text

  2. 2

    Trusted author?

    • yes, then Worker and reviewer read it
    • no, or lookup failed, then Left out and counted
  3. 3

    Worker and reviewer read it

Only text by trusted authors reaches workers and reviewers.

Text from an issue, a pull request or a worker's report never becomes part of a command the project bot types. Run unattended CedarLoom work only in an isolated environment: a dedicated machine or VM you can restore, or a dev container, with scoped tokens. It limits what a misled worker can reach or send.

Details: untrusted input, repository rules.