Skip to documentation content
Pomegr
On this page

Using Pomegr

Start gates and schedules

Before every start, Pomegr judges start gates from facts it has already observed. Capacity holds only queued starts and Aril's own starts. A schedule holds a queued start until a time you choose. For the main path, see Tasks.

Start gates

Queue settings on the Board lists each reading. The queue strip shows none of them, and its next line names what holds the next task. A held queued task lists its reasons in its window (see See why a queued task has not started). A missing, stale, or partial reading is unknown, and unknown holds a start exactly like a failed gate.

GateA start proceeds only when
Earlier task finishedNo task runs outside this task's own parallel group. Holds only the queue: Start session starts a task whatever is running.
Claude Code capacity and Codex capacityThe provider is below the threshold for its five-hour window, or its weekly windows for weekly-only accounts. Holds only the queue and Aril: Start session starts a task whatever its provider's usage.
Provider statusThe provider's public status reports no incident in what coding sessions use. An incident only in other parts of the service, such as claude.ai or Codex Web, shows as Incident not affecting sessions and holds nothing. An incident that names no part of the service holds.
Working treePomegr can read the repository's working tree. Uncommitted changes do not hold a start.
  • Threshold. It is 70, 85, or 95 percent, with 85 as the default, and applies to one project. It uses the five-hour window. Accounts with only a weekly limit use their seven-day window instead. When both windows exist, the seven-day reading is informational.

  • Model windows. Claude's Fable only weekly window counts only Fable runs, and Codex's Spark bucket only Spark runs. Each holds only a task planned on that model. Any other task, including one on the default model, is held only by the account-wide weekly window. Capacity shows both, such as 7d all models 66% · 7d Fable 87%. Aril's own usage limit follows the same rule.

  • Account-wide readings. The readings are the usage limits Pomegr already shows, so they cover your whole account. Public status does not prove that an incident affects you. Pomegr does not show the status as a cause of a hold.

  • Working tree. The gate reads the repository itself. When the repository has uncommitted changes, the task starts in its own worktree instead (see Where a task starts). A folder with no Git has no working tree: this row is not drawn, and nothing holds a start for it.

  • A held queued task changes nothing: it waits, the queue stays on, and Pomegr judges again at the next check.

  • A held manual start says which gates hold it, for example "This task is held: Claude Code status is not known yet." Usage never holds a start you make.

An unknown working tree means its Git check is pending or unavailable. It never means the tree is clean. Keep the board open, wait 15 seconds, then select Start session again in the task window or Aril's proposal. Pomegr checks again in background. An unavailable check keeps the task held; a successful check updates the gate. Check Working tree in Queue settings for the current reading. Pomegr never retries a held manual launch by itself.

Where a task starts

Pomegr picks the folder of every start itself. It does not ask you.

  • In the repository. A task starts in the repository folder only when the folder has no uncommitted changes and no other session works in it. Before the start, Pomegr checks out the default branch (such as main) and updates it from origin.

  • In its own worktree. Otherwise the task starts in its own worktree, on the tasks/<task ID> branch. The branch starts at the default branch, not at the branch the repository has checked out. Your uncommitted changes stay in the repository, untouched.

  • Two starts in a row. The first can start in the repository. The second sees that a session works there, so it starts in its own worktree.

  • A task with a worktree from an earlier start runs there again.

  • If the checkout fails, for example because another worktree has the default branch checked out, the task starts in its own worktree.

  • In a folder with no Git. The task starts in the folder itself and never in a worktree. It waits while another session works there: a manual start says "Another session is working in this project's folder. Try again after it ends."

  • A review runs only in a folder at the pull request's latest commit. It runs in the task's worktree when that is at the commit, else in the project folder when it is at the commit and no other session works there. Pomegr never switches, moves, or resets either of them to make it so.

  • Otherwise the review gets its own review worktree, .pomegr/worktrees/<task ID>-review, checked out at exactly that commit with no branch. You do nothing: this covers a builder with commits it did not push, a push from elsewhere, and a task worktree that has the branch at another commit.

  • When your copy lacks that commit, Pomegr first fetches the pull request's branch, and only that branch, from the remote your repository already uses for it (else origin). The fetch never asks for a password. If it fails, for example offline, the review waits and Pomegr tries again by itself.

  • The review worktree is reused for the next review at the same commit and replaced at a newer one. Pomegr removes it when the task is done or deleted, even when you keep the task's worktree. It never removes it while a review runs there, or when it holds changes.

  • If no folder fits, the review waits. When another session in the project folder is all that stops it, a manual review says "Another session is working in this project's folder. Try again after it ends." So it does when Pomegr does not know the pull request's latest commit or the project is a folder with no Git: no commit is compared then. Otherwise a manual review says "The task's folder is not at the pull request's latest commit." This is now rare: the commit cannot be fetched, or the review worktree is at another commit and cannot be replaced yet.

  • A sent-back builder that ran in the project folder does not wait for another session there. Pomegr makes the task's own worktree on the builder's branch and continues the same session in it. The task log says Builder continued in the task's own worktree.

  • If Pomegr cannot make that worktree, for example because the project folder still has the builder's branch checked out, the builder waits, however long. The task stays In progress, and becomes Stalled once Pomegr reads the builder's session as ended. Requeue then sends the findings on.

Runs after

A task that runs after another task does not start until that task is Done or deleted, whatever the gates read.

Schedule starts

  • A task's own time. In the task window, Start at takes a date and time. It makes the task Scheduled, adds it to the queue, and keeps the queue from starting it earlier. Clear the time to leave the task Queued. A scheduled task that is not yet due holds nothing behind it, and a scheduled member of a parallel group that is not yet due holds nothing for its group.

  • The queue's window. Under Schedule, in Queue settings on the Board, Start at a time sets a time of day before which the queue starts nothing, and Stop starting tasks after sets a time from which it starts nothing. Pomegr applies the next occurrence of that time. Both hold queued starts only; a start you make by hand is not held by them. Run now clears the start time.

A time can be at most a year ahead. Times are judged only when the desktop app asks for the next start, so Pomegr must be open. A time that passed while it was closed counts from the next check, and the start then happens unless the stop time has come. A stop time that has passed keeps holding the queue until you change or clear it. A schedule never stops, pauses, or touches a running session.