Documentation Docs version: dev (Pre-release: Gitoodo has not been released yet)
GitHub Get notified

For developers · Orchestrator

States: what Gitoodo shows and what you do about it

On this page
  1. 1. Repository: autopilot on or paused
  2. New and removed repositories on the forge
  3. 2. Issue: where a piece of work stands
  4. 3. Worker: one agent on one issue
  5. 4. Things Gitoodo repairs on its own
  6. 5. Services

Gitoodo is an orchestrator: it takes issues from your forges, hands them to AI coding workers and brings their results back as pull requests. This page is the one map of that flow. Every mark in the sidebar, every session tile, every column in "All repos" and every line on the status page belongs to one of the states below, and each state says whether anything is asked of you (#870).

The short version: you act only on "needs you" and "stuck", and on "in review" when your merge setting leaves the merge to you. Everything else moves by itself: failing checks go back to the worker, and anything left behind is cleaned up by Gitoodo, not by you.

1. Repository: autopilot on or paused#

Every repository has one switch (#877), in the sidebar and in the settings.

StateGitoodo readsSets labelsStarts workersWhat it means
Autopilot onyesyesyesGitoodo works the repository's issues
Pausedyesyes¹nono new worker starts; questions fold away²

¹ Only in a repository the autopilot worked before; one it never worked stays untouched. ² Still in "Asked of me", folded behind "N more from repos without autopilot – show" (below).

"Asked of me" and every counter (header, sidebar, tray, notifications) list what waits for you in repositories with the autopilot on (#897). What waits in paused repositories or in repositories without the autopilot stays behind "N more from repos without autopilot – show" at the end of the list; Settings → Notifications → "Questions from repos without autopilot too" shows it for good. Direct mode always lists every repository. A repository you never want to see is removed from the sidebar ("Remove"); "Show again" in the settings brings it back.

Pausing a repository starts no new worker there; workers already running finish their issue normally (nothing is stopped, the in-progress label stays until they are done). The message after the switch says so and names where the repository's questions now are: in "Asked of me" under "N more from repos without autopilot". The settings hint and the guide say the same.

New and removed repositories on the forge#

The repository list of an account follows the forge. Gitoodo lists every repository the token can see (own repositories, collaborations and those of its organisations, every page):

  • on every poll of the account (the sync interval, with the sync's backoff after errors);
  • with the sync button in the header;
  • when the window opens, reloads or gains focus, for accounts not listed within the last minute;
  • each time Settings → Repos or a view's repository selection opens.

A repository created on the forge appears with the next listing, everywhere at once (sidebar, filters, Settings → Repos), with the state of every new repository: paused, nothing is written to it. Once a sync is through, the header says what it found ("1 new repo"). A repository the forge no longer lists (deleted, renamed, or the token lost access) keeps its settings: Settings → Repos shows it below the list as "No longer on the forge" until you remove it there. A listing that fails changes nothing, so a passing error never drops a repository.

2. Issue: where a piece of work stands#

The labels on the forge are the source of truth; the classifier sets them, the dispatcher reads them. A repository row in the sidebar shows at most two marks (#740): the rotating circle in front of its name while a worker runs there, and after its name the "needs you" mark, only while something needs you there (a question or approval, or a stuck issue), with the count when there are several. Everything the autopilot handles by itself gets no mark on the row. The "needs you" mark is a button: with one waiting question it opens that question, otherwise "Asked of me", which lists stuck issues and machine waits with their ways out (#919); the row's menu offers the same as "Open what needs you". A folded group or owner sums its repositories the same way.

Hovering the row says, line by line: the repository and its switch; what goes on now, each with its number ("4 workers running · 2 in review"); then each thing that needs you with what to do; then at most one quiet line for the queue ("52 queued", ready and blocked issues together). The screen reader hears the same words. Opening a repository lists up to three lines of current work under it, the running ones first, each with its own mark from the table below.

Its filter "Only with open questions or work" keeps the repositories with a question waiting for you, a stuck issue, or a worker running or starting (here or on another machine); blocked, ready, in-review or finished issues and running checks alone do not count (#948). A repository listed twice (under Favourites and in its group) is marked once, in the row it was opened from.

MarkMeaningWhat you do
rotating circleWorking: a worker is on it right nownothing
filled circle with "?"Needs you: a question or an approvalanswer it on the forge or in Gitoodo; work goes on
filled circle with "?"Stuck (stalled): the autopilot gave up on itchoose a way out on "Asked of me" (see below)
filled circle with "?"Stuck on a machine only you can providechoose a way out on "Asked of me" (see below)
triangle with "!"Checks fail on the pull requestnothing: the worker gets it back to fix them
diamondIn review: a pull request waitsreview and merge (or let Gitoodo merge, see settings)
circle with a barBlocked by a dependency or a missing machinenothing: it resolves by itself
circle with a dotClaimed by a worker on another machinenothing
dashed circleReady: starts when a worker slot is freenothing
check markDone: a worker just finishednothing

Only the two "?" states put a mark on the repository row; the others show in the issue lines under an opened repository, and hovering a line explains it in one sentence.

Each issue line is an entry of the sidebar tree of its own: a click, or Enter and Space with the keyboard, opens the page that belongs to it, and the line stays marked while that page shows. The arrows walk repositories and their lines together, Left goes back to the repository.

LineOpens
Workingthe repository with that worker's session large (else the issue)
Needs youthe question's card, where it is answered
Stuck"Asked of me", with the line's ways out
Checks fail, Blocked, Donethe issue's sheet on the repository page
"+n more"the repository page with its issue list in view

Three lines show under a repository; a fourth shows itself instead of "+1 more". An issue the repository page has not loaded opens by its number and is read from the forge. With an issue's details open, one click on a line opens it. Back returns to the page before, in the narrow layout with the focus on the line.

The repository page's list "Issues and pull requests" shows the open work; its header number counts open items only. The chips under the search narrow it by state, and the last chip, "Done" with its count, adds closed issues and merged or closed pull requests: muted, with a check (issue), a merge mark (merged pull request) or a cross (closed unmerged) and when it happened ("done 2 days ago", "merged …", "closed …"), after the open work in every sort. A search without chips covers open and done items alike. Done items are read from the forge one page of 50 at a time: the first page once per visit of the repository (for the count and the search), further pages with "Load more done items", never on the sync's refreshes. When an open item leaves the list, the first page is read once more, so it shows up as done. The count comes from the forge (on GitHub its search, on GitLab the list's total); where the forge gives none it reads "50+ done".

An issue is stuck when its worker made no progress after several restarts, or its checks still fail after the last restart. An issue stalled only because its machine could not start a worker goes back to ready by itself.

Before a stuck issue reaches "Asked of me" as a question, the resolver tries it once (docs/orchestrator/resolver.md): a run of a coding agent ahead of new issues that finds the cause, fixes it and goes on with the branch. While it waits or runs, the line says "The resolver takes it next – …" or "The resolver is on it with <agent> – …" and offers no ways out, and its worker tile is marked "Resolver". When it got the issue moving, stalled goes and the issue is ready again with a short note; when it could not, the issue gets a question with the cause, what was tried and how to go on (needs-human). A sign-in only you can make is asked at once, without a run. The resolver never touches extern issues, issues with your own session or an open question, or paused and hidden repositories, and it is switched off in Settings → Dispatcher or per repository.

"Asked of me" lists every stuck issue (#919). A line shows only the reason in a few words and one button, Solve; it opens the ways out that fit the cause, the recommended one first and marked, each with one quiet line saying what it does:

Reason shownRecorded causeWays out (recommended first)
"The worker hung"hungSolve with an agent, View issue, Pause
"3 runs without a result"no_resultSolve with an agent, View issue, Pause
"Checks keep failing"checks_failingSolve with an agent, View issue, Pause
"Merging keeps failing"merge_failedSolve with an agent, View issue, Pause
"Conflicts with the base branch"conflictSolve with an agent, View issue, Pause
"The branch could not be updated"update_failedSolve with an agent, View issue, Pause
"A required check (gate/nas) was never reported …"checks_missingSolve with an agent, View issue, Pause
"The autopilot got no further"unknown, noneSolve with an agent, View issue, Pause
"Working copy was in use"lease_refusedTry again (passing), Solve with an agent, …
"The base branch moved faster than the checks ran"base_movingTry again (passing), Solve with an agent, …
"The agent waited for a sign-in"login_promptTry again (after signing in), Solve with an agent, …
"The agent waited for a confirmation at its start"trust_promptsee below
  • Try again puts the issue back into the queue (ready, the stalled label goes). It is offered only where another run can go differently, and says why: the cause was passing (a held working copy, a base branch that moved on), it is gone once the agent is signed in again, or an update fixed it. The only cause an update fixed so far is the confirmation at the agent's start (Claude Code and Codex no longer wait for the folder trust prompt since 2026-11-17): a trust_prompt stall from before that offers "Try again" (an update since fixed it) when this app is newer than the fix; otherwise it gets the ways of the other causes. Every other cause repeats, and another run would only spend tokens. The cause decides, not the recorded transient flag (older records call a hang passing).
  • Solve with an agent opens a session of your own (docs/agent-session.md, "Solve with an agent") in the issue's worktree, with the issue, the cause and the end of the last run as its first message. The issue keeps stalled meanwhile, so the autopilot never takes it. While the session runs, the line says so and offers "Open session". Once it ended, the line offers **Hand back to the autopilot** in one click (ready; the next worker goes on from the branch, and the ended session's tile closes); "Solve" keeps the other ways.
  • Pause the autopilot here takes the issue out of the queue: its status goes and extern comes, and the autopilot no longer touches it. To undo it, remove extern on the forge. It replaces "Put back" and is the one way to dismiss an issue without solving it.
  • View issue opens it in its repository.

With two or more stuck issues that may be tried again, Try N again above the list tries exactly those (never the ones whose cause repeats), and its hint names why. After a way out the line goes and every count drops at once, before the next poll shows the change.

The dispatcher records the cause in stall.json (state folder) when it gives up. Where the end of the worker's screen or transcript shows a prompt the agent cannot pass alone (the folder trust confirmation, a sign-in), that is the cause. Stalls from before the record existed get their cause read once from the dispatcher log of their last run (a refused merge, failing checks, a held working copy, a hang and the prompt it hung at). A worker that sits silent for 20 seconds at such a prompt ends at once instead of waiting out the hang policy and its restarts.

A ready issue is stuck on a machine only you can provide (#919). Its line says in one sentence why Gitoodo cannot solve it alone and has one button, Solve, as a stuck issue's line: it opens the ways that fit the wait, the recommended one first, each with what it does or risks. Every machine label is offered by name ("Remove label host:lab"), so the person sees exactly what changes. The wait is for:

  • a host: name no machine answers to: "Remove label host:<name>" (recommended), "Run on <machine>" for each fitting machine (sets host:<machine>), "Set up <name>" (opens the worker machine assistant with that name);
  • a named machine with another system than its os:: "Set up a <system> machine" (recommended, the assistant asks for that system), "Remove label os:<system>" (may fail), "Remove label host:<machine>" (any <system> machine takes it), "Run on any machine" when it has both;
  • a command no machine has (tool: labels): "Check the machines again" (recommended: after an install, the dispatcher forgets the workers' hand-backs and probes at once), "Run on <machine>" for the machines that would take it but for the command (sets host:, drops the tool: labels), "Remove label tool:<command>" for each, "Run without …" when it has several. A command that is installed but failed for a worker is said as such, and "Solve with an agent" comes first;
  • a machine whose coding agent sign-in expired: "Run on another machine meanwhile" (recommended when another machine fits, drops host:), "Sign in again" (started here when it is this computer and Claude Code, otherwise the command to type there, with a copy button), "Check the sign-in again". The question goes away by itself once the sign-in works again.

After those come "Look at the issue", "Solve with an agent" (not for a sign-in that expired on this computer: its agent would hit the same) and "Pause the autopilot here". Waits that end by themselves (a machine offline, at capacity, a usage limit) and issues for a system nobody connected yet stay calm: they are no question (#871, #924).

3. Worker: one agent on one issue#

StateMeaningWhat happens next
Runningthe agent works in its own worktreeit opens a pull request, asks a question, splits the issue or records what it waits for
Paused at the limitits login is stopped at its usage limit; the tile shows the reset when knownreset within 30 minutes or unknown: "continue" then; later: work saved, slot freed, the issue waits in the queue
Idlethe agent ended its turn and someone typed into the session latelyleft to that person; working again once it draws
Idle, nobody thereits turn ended without a resultreminded once of the ways to finish; ends its turn again: work saved, the issue stalls with "no result"
Silentno output for a whileafter 5 minutes one reminder; then restarted automatically by the hang watch, a few times at most
Stalledstill silent after the restartsthe issue is marked stalled (see above)
Endedthe agent exitedits result is picked up, the worktree tidied

When Gitoodo itself ends an idle worker (at a far limit, or reminded and idle again), the work goes first: once the agent is gone, what it had not committed becomes one WIP: commit (large new files stay out, as do new files named like secrets such as .env or keys), the branch is pushed (from a worker machine through the main computer) and the worktree stays, so the next run, on any agent or machine, goes on from there. If that fails, or a file named like a secret stayed behind, the issue stalls and the work stays in its worktree. An issue that waits for another one is recorded as blocked by the worker (gitoodo worker blocked, also when your answer said to wait) and is not started again until that issue is closed. An umbrella issue that collects child issues (split into parts, or marked as one, #1816) shows as blocked by its children ("needs #…") while one is open; once all are closed a worker checks it against what they delivered and closes it with a short summary, or does what is missing.

Watching a worker: open its repository. The repository view shows every session running there as a live tile, with the queue (ready issues the autopilot starts next) beside them; fewer sessions get larger tiles. A click opens one tile across the full width and resizes the worker's terminal so the agent draws for it; the terminal fills the view and follows new output (scrolled up, "Jump to latest" goes back). A click into it types straight to the agent, every key including Esc, Tab and Ctrl-C; a click outside or Shift-Esc leaves it (#944). "Maximize" (⌘⇧M, Ctrl+Shift+M) lets the terminal fill the window; the same shortcut, or Esc outside the terminal, restores it. Your own sessions (#991) show there too, apart from the workers (docs/agent-session.md). "All repos" → "Sessions" shows the sessions of every repository the same way, with one queue across all of them; the "Terminal" button on the "Issues" page opens the same view.

4. Things Gitoodo repairs on its own#

An orchestrator that runs for weeks meets crashes, restarts and forge hiccups. These states are not yours to clear:

  • Orphaned issue: labelled in-progress but no worker runs it (the dispatcher stopped, a release failed, a machine vanished). The dispatcher checks every minute and puts such an issue back to ready after about five minutes. "Reset" in "All repos" does it at once.
  • Expired lease: a worker's claim that was not renewed is released, and the issue is queued again.
  • Finished worktrees are removed once their work is merged or saved.
  • Unsaved work of a worker that is gone (uncommitted changes, unpushed commits) is pushed as a backup branch after an hour and its worktree removed, on this machine and on further worker machines (#886).

What Gitoodo never does alone is discard work. You can save or discard a leftover earlier in "All repos"; nothing else waits for you.

5. Services#

The status page answers one question: is everything running? One sentence on top says so in the header's words ("All running", "N need you", "Not running: …"), then one line per part keeps the flow going: app sync, the dispatcher (starts and watches workers), the workers, the background services (the classifier reads forges and sets labels) and the keychain with its tokens. A line that is fine shows only its state; a line with a problem says in one sentence what it means and that the fix is at the affected repository and under "All repos". A service whose main loop hangs restarts itself after a while (see [robustness.md](robustness.md), "Self-healing services"); you never have to restart one by hand. When ready issues do not start for a reason you can change, the workers line says why (the usage limit, a worker machine with the right system, the orchestrator paused). Last activity, versions and process ids sit behind "Details", for support.

See also: [orchestrator/dispatcher.md](orchestrator/dispatcher.md), [orchestrator/readiness.md](orchestrator/readiness.md), [robustness.md](robustness.md).

Edit on GitHubDocs version: dev