The cycle
The cycle is a job cterm runs for a project on a clock, every weekday at 8:00 for instance. It reads where the project stands (its goals, the items ready to start, its sessions, what changed since the last cycle, its monitors and your answers), judges what the last cycle did, and decides what to do now. Then cterm does only what the project's dial, the day's budget and the policy let it, writes one record of the cycle and sends you one digest. Its records are on the project page's Cycles tab.
What it is for
A project used to move only when someone started its work. The steward places and ranks what you file, but it never decided what to do next. The cycle does, on its own clock, within limits you set:
- It looks every day, with every tab closed, and tells you once what it saw and did.
- It never goes further than the dial. At watch it only observes and judges; at steer it also files ideas and bugs, asks you questions and proposes an order; at build it also starts task sessions; at ship it also merges what the policy lets ship alone and puts the rest in the merge queue.
- It keeps to a budget: so many sessions and so many dollars a day. At the cap nothing more starts that day.
- It keeps a record: what it read, what it judged, what it proposed, and what cterm did with each proposal and why.
How to use it
- Open the project's Settings tab, How far cterm goes. Set the dial: start at Watch to see what it would do without changing anything.
- Under the dial, The cycle: when it runs (Only when asked, every day, weekdays, or every few hours from a time, in a time zone), the sessions and dollars it may spend a day, the policy (below) and The plan: whether a change to the plan it proposes waits for your yes or, at Ship, is applied without asking. Save.
- The Cycles tab shows the dial, when the next cycle runs and the day's budget so far. Run now runs one at once (the project's owner or an admin); when the clock's time had already passed, that cycle counts for it and the next one moves on, so no second cycle follows.
- Each cycle's digest comes to your devices as a notification; tapping it opens that cycle's record.
- The project page's Situation shows the cycle among its
Operations, like a routine: how the last cycle ended with its
digest, when the next runs, Run now and History; a cycle that failed says its reason there once, in place
of a digest. It is also a row of Mine saying why, with Run again and Open (the Cycles tab with that
cycle's record open), until a later cycle ends well. Each cycle is also on the record of
every run cterm keeps (
GET /api/runs, kindcycle).

cycles-shot.mjsThe policy
Three lists, one entry a line, and a few rules in your words:
- Ships alone: a finished session is merged by itself once green only when every file it changed is here.
- Asks first: waits in the merge queue for your Merge or Hold. Anything the lists do not name asks too.
- Never by itself: the cycle never starts it, and its merge waits in the merge queue, recommended to hold.
An entry is a path or a glob (docs/, *.md, src/billing/**), title:<words> (matched in an item's title) or
kind:bug. The words in In your words go to the cycle as rules it reads (for example "a change a customer sees
always asks"). The same policy decides what Merge a finished session by itself merges alone: see the merge gate
and the merge queue.
From a terminal
cterm cycle status <owner>/<project>: the dial, the cadence and the next run, the day's budget, the last records and the newest one in full.cterm cycle run <owner>/<project>: one cycle now.cterm cycle off <owner>/<project>: the dial at off. No cycle runs and nothing new starts by itself; a cycle running now finishes, and so do the sessions it started.cterm cycle lift <owner>/<project> [<entry>]: lifts a pause on what ships alone (below); every pause without an entry.
Did it move what it was meant to
An item can say which goal its work should move, by how much and by when (goals). Once the item is done and that day has passed (a week after its change when it names no day), each cycle reads the goal's numbers, the ones its monitor took before the change and after it, and judges the expectation:
- Held: the number moved at least as far as expected, the right way.
- Missed: it did not, whether it stood still or went the wrong way.
- Unclear: there is no number from before the change, none came within three days after the day, or the goal is gone.
This is a rule cterm applies to the numbers, not the model's opinion; the model reads the verdicts and builds on them. From steer up each verdict becomes a note on the item, signed by the cycle (worked when it held, broke when it was missed, a concern when unclear), and a Moved line on the change's changelog entry ("users +12 users (100 to 112), expected +10 users by 24 October: held"). At watch the verdicts are only in the cycle's record. An expectation is judged once; a new expectation, or new work on the item, is judged again.
When something the cycle shipped breaks
At ship the cycle merges a finished session by itself when every file it changed is in Ships alone. If such a change then breaks (a session or the steward notes it broke, its expectation is missed, or the cycle itself judges it broke), the entries of Ships alone that its files matched are paused: what only they let ship alone asks first again. The Cycles tab shows each paused entry, why, and Lift for the project's owner or an admin; the next cycles are told, and the record and the digest say when one was paused. Lifting it lets those changes ship alone again, and the same break does not pause it twice.
Two breaks in a week bring the dial down. When a second change the cycle merged by itself breaks within seven days of another, cterm moves the dial from ship to build, with the switches build sets: the cycle still starts work, but nothing merges by itself, neither the cycle's merges nor "Merge a finished session by itself". If the review finds the second break, that same cycle already runs at build. The digest says so in its first line, so the notification on your phone does too, the record has a Dial lowered section naming both breaks, and the Cycles tab keeps a line about it while the dial stays at build. Raising it again is yours, in Settings → How far cterm goes; the two breaks that lowered it do not lower it a second time. A dial already below ship is left where it is.
One automatic fix per change. A bug the cycle files about a change it merged by itself names that change, and the inbox row keeps it. With Start a session on each bug on (build and ship set it), the first such bug about a change starts its fix once the steward places it, as any bug would. A second bug about the same change is placed as a bug item too but starts nothing by itself: its inbox card says the change already had its automatic fix, and you start it from its card when you want it. The cycle's record and digest say so when it files that bug. Bugs you or a session file, and the cycle's bugs about another change, start as before.
How it works
- One model call per cycle, on the project's owner's Claude login and the steward's model, in the project folder with read-only tools. It may read the code and the roadmap; it changes nothing itself. Its answer is a set of proposals: items to start, sessions to merge, questions, ideas and bugs to file, an order for what comes next.
- cterm checks every proposal before doing anything. An item is started only when it is ready (planned or next, a line to build still open, no needs, nothing open it waits for), the policy does not call it never, and the day's budget has a session and money left; the usual holds of a start by cterm apply too (two of its own at once, the usage window, shared files). A merge needs ship and a finished session nobody works in, and goes through the merge gate: a branch the policy calls auto merges once green and is cleaned up, any other waits in the merge queue with its evidence. With no policy written, every merge the cycle proposes waits there.
- Questions go to the project's queue, from "the cycle", each as a proposal you can say yes to: its title names what the cycle proposes to do ("Run the review on an API key"), never an open question with several options, and its why says the alternatives and what each would do. Approve says yes to what the title proposes; to pick another option or say more, Answer… in your words; Bin… says no with a reason. Your answer is kept for the next cycle, which reads it in its prompt with every answer given since the last cycle started: approved, binned with your reason, or answered in your words.
- The order it proposes goes to the steward, who applies it to the roadmap with its own rules (a pinned item stays, a waiting one waits).
- The review comes first: before the model is asked, cterm judges the expectations that came due and checks whether a change it shipped broke, so the model sees the verdicts and a pause holds for that cycle's merges.
- The plan itself is not the cycle's to change. It may only propose a change, at a longer cadence (below).
- The record keeps every proposal with what became of it: done, with what it made; held back, with why (the dial, the budget, the policy, a hold); or failed. The digest is the cycle's own two lines plus cterm's count.
- A cycle missed while the Mac slept runs once when it wakes, marked late. Two cycles of one project never run at once.
Changing the plan
The cycle moves within the plan: the order, the items it starts. Sometimes the plan itself should change: a goal dropped, an item that no longer serves any goal, a phase cut differently. For that the cycle writes a plan proposal, and only when one is due:
- once a month, counted from the last proposal (or, before the first, from the project's first cycle);
- at once when two goals are off (behind or missed in their last reading, or judged off by the cycle);
- after you answer a proposal with your words, so the next cycle can revise it as you said;
- never while a proposal waits for your answer.
The proposal is a short document: a title, why, the changes one per line, and the evidence (the goals' readings,
what the last cycles saw). cterm saves it in the project folder under .cterm-proposals/, which version control
ignores, and puts it in the project's queue, from "the cycle", with the file: open it from the entry and read it
before you answer.
- Approve and the steward applies it to the roadmap through its script, the changes as the file says them then, so you may edit the file before approving. It leaves an item in progress and a pinned rank alone, leaves out what the script refuses with the reason, and writes one log entry, "Plan proposal q-N applied", naming each change made and each left out.
- Answer… with your words and the next cycle reads them and may write it again, revised.
- Bin it and nothing changes; the next proposal is due a month on.
With The plan set to Applied without asking at Ship and the dial at Ship, a due proposal goes straight to the steward, with no queue entry; the cycle's record says so. At any other position it waits for your yes.
Each cycle's record says whether a proposal was due and why, and the digest says when one waits for you.
Scenarios
Trying it safely
Set the dial at Watch and the cadence at Weekdays at 8:00. Each morning the digest says what the cycle sees and what it would do; the record lists every proposal as held back, "the dial is at watch". Nothing in the project changes. When its proposals look right, move the dial to Steer, then Build.
A budget of one session a day
At Build with Sessions a day at 1, the cycle starts the first ready item it proposes. Its other proposals are held back with "the day's budget of 1 session is used", and a second cycle the same day starts nothing.
Two goals off
Two goals read behind for weeks. The next cycle at Steer proposes to drop an item that moves neither and to lower a target, with the readings as evidence. The digest ends "a change to the plan for your yes"; the entry in the queue opens the document. You strike one line from the file and approve: the steward applies the other, and the roadmap's log names it.
Stopping it
cterm cycle off <owner>/<project>, or the dial at Off. The next cycle does not run and Run now says why.

cycles-shot.mjsRelated
- The Situation and the dial on the project page.
- The steward, who applies the order the cycle proposes and the plan proposals you approve.
- Monitors, whose numbers a goal reads and the cycle sees.
- Task sessions, what the cycle starts.
- The merge gate and the merge queue, what the cycle's merges go through.