ShippedCommitCycle for Claude Code

The part of CommitCycle that says no.

Areas of your codebase that are dangerous to change get an owner, work declares which of them it needs, and access is granted for one task on one branch. It is taken back when the work is handed in.

The hook enforces in Claude Code, on macOS and Linux. Cursor uses the board and the MCP connector.

What the plugin installs

Two commands in Claude Code. One part of what they install blocks a write; the rest describes the work.

Two commands, nothing on your PATH

It brings its own binaries. There is no npm install and nothing is put on your PATH; the cycle command the skills ask you to run is a separate npm i -g commitcycle. Outside the project it writes only ~/.commitcycle/, for sign-in, pairing and the update check.

The catch: when the hook's core cannot answer under the default open failure policy, it also leaves one empty marker per session in the temp directory.

The install reference
claude · /plugin
In Claude Code
/plugin marketplace add pow-paulinho/commitcycle-plugin/plugin install commitcycle@commitcycle
The cycle command the skills run, installed separately
$ npm i -g commitcycle

What release 0.1.25 installs

Two skills, an MCP server and two hooks. Only one of them blocks a write.

The MCP tools in the docs
commitcycle · release 0.1.25
  • set-up-commitcycle skill

    Sets a repository up by asking about it: which areas are dangerous, who approves each, which board it reports to

  • start-work-inside-cc skill

    Files and scopes the task before the work, so the rule arrives as an arrangement rather than as a refusal

  • commitcycle MCP server

    Six tools in release 0.1.25 (2026-10-12): the zone map, one-line intake, the interview, scoping, board status, and which tasks changed a file. Intake and scoping write to the board; none moves a task

  • The hook blocks

    The part that actually blocks a write, on PreToolUse and PostToolUse

  • The Stop hook hook

    On a task branch in a repository with a board, posts the agent's last reply to the task on the board and keeps a copy in .zones/state/replies/

Why installing it cannot break your other repositories

Plugin hooks load user-wide: they run in every repository you open, not only the one you set up. That is why the hook was held back until it could tell "this repository never installed CommitCycle" from "this task has not been started yet". It could not, and answered deny to both, so a single install would have blocked every write in every unrelated project on the machine. It can now. A repository with no .zones/zones.yml is left alone silently: allowed, nothing recorded, no advice. An empty map is not an absent one: that project ran the setup and protected nothing, so a task is still required there.

The zone model
claude · the same hook, three repositories
  • A repository that never installed CommitCycleNo .zones/zones.ymlNothing recorded, no advice
    allowed
  • A repository whose setup protected nothingAn empty zone mapWrites wait for a task to start
    task required
  • ~/commitcycleDatabase schema is not open on CC-79Write(apps/api/migrations/0024_members.sql)
    denied

The six tools, and the line they do not cross

None of them starts work, issues a grant, or approves access to anything. That is not an oversight to be fixed later: an approval arriving through a tool the agent calls is authenticated by a token the agent holds, so a board could not tell your yes from the agent's own.

The tools describe work. Starting it is cycle start (or cc_start on the hosted connector), and the skill runs it only when you say so. A seventh, cc_search, which finds the tasks related to a request or to files, is on the trunk since 2026-10-13 and in no release yet.

The MCP server
mcp · commitcycle

The six tools in release 0.1.25

cc_zonescc_intakecc_interviewcc_scopecc_statuscc_why

Not among them

a grantan approvala start

Starting is cycle start

Where this stops

The zone model is agent-agnostic; the enforcement point needs one small adapter per harness. Each limit with the measurement behind it.

How long the hook takes

The hook decided in 68–83 ms at p95 against a 100 ms budget, on the first hook build and an idle machine.

Idle machine, 2026-08-03
83 ms
Slower cloud VM, October 2026
228 ms

The line on each bar is the 100 ms budget.

The catch: measured on 2026-08-03, and p99 touched 102 ms in one case. CC-1377 re-timed it in October 2026 on two cloud VMs: on the slower one wrapper and core reached 211–228 ms at p95 (load 0.74–1.04), and the hook's cost over a shell-launched node process was 84–111 ms there against 44–48 ms on the faster one, for the same code. Two hosts, not a survey.

When the hook cannot answer

Claude Code's harness is fail-open in all four failure modes we measured against real sessions on 2026-08-03.

By default: the call goes through and the session is told

Failure policy closed: the wrapper closes three

The catch: the wrapper closes three only when the repository's failure policy is set to closed (or to reads, which still lets Read, Glob and Grep through). The fourth, where the hook was never installed at all, only CI can see, and that check runs only on CommitCycle's own repository today.

Where the block has been seen working

Only Claude Code has been seen to deny on a real install.

  • Claude Code seen to deny
  • Codex never exercised
  • Cursor never exercised
  • Windsurf never exercised

The catch: cycle init writes hook files (Claude Code's and Codex's by default, Cursor's and Windsurf's with --harness) only where a hook wrapper is already on disk; neither published package puts one there, so on your machine it writes none and the plugin's hook is the one that enforces, in Claude Code only. Where the others' files are written, they have never been exercised and are answered in Claude Code's reply format; Windsurf has no channel for a denial's reason, and Cursor's file wires preToolUse only.

Why a board is not optional

The zone map, the audit of what is dangerous and the records of what each task declared are files in your repository, and they stay yours. What needs a board is the loop: the gate is the only issuer of a grant, and it runs there.

  • With a board · CC-79 open for the task
  • The hook, no board · any path denied

The catch: install the hook with no board and nothing can open anything: every write is denied, including the unprotected paths. So the setup skill asks for the board rather than offering a local-only mode that ends in a repository nobody can write to.

The mechanism in full is in the docs: the install reference, the zone model, and the MCP tools.

Questions this page answers

Will installing the plugin affect my other repositories?

No. Plugin hooks load user-wide, so the hook does run in every repository you open — which is why it was held back until it could tell "this repository never installed CommitCycle" from "this task has not been started yet". A repository with no zone map is left alone silently.

Do I need an account to use the Claude Code plugin?

Yes, to run tasks. The gate is the only issuer of a grant and it runs on the board, so with the hook installed and no board nothing can be opened and every write is denied. The zone map and the records are files you keep either way — but the loop needs a board, and the setup skill says so rather than offering a local-only answer that ends in a repository nobody can write to.

Ask for an invite

Signup is closed while this is small, so everyone using it early gets answered personally.

Ask for an invite

Install the plugin

/plugin install commitcycle@commitcycle

The Claude Code plugin installs without an invite.