uberblick/ub-agents v0.5.4
Commands · ub-agents status

Commands

ub-agents status

Run ub-agents status to see the queue: what's running, what's next, what's waiting and what needs a person. It never changes anything on GitHub, so it's safe to run anytime.

$ ub-agents status          # the whole queue
$ ub-agents status 143      # why #143 is or isn't running
$ ub-agents status --json   # the same results, machine readable

Status also shows the launcher running on this control checkout, with pid, host and start time, or says none is running. Each checkout allows one launcher across all launch modes; stop the current launcher before starting another, or use retry to hand it an item.

When that launcher has paused claims because refreshed configuration or instructions are invalid, status shows the error, checkout commit and next step. Correct the file; unknown keys or values can also require upgrading ub-agents. The launcher rereads on each poll and resumes automatically. During this pause, status reports the launcher without loading invalid files or planning assignments, including for status NUMBER.

One item

status 143 explains one item with the same checks as launch 143. For a claimed item it shows who holds it, on which machine and until when.

States

#1574 issue-reviewer: parked · priority high · milestone #24 · attempts 0
  Stop label needs-human is present
  Action needed: https://github.com/OWNER/REPO/issues/1574#issuecomment-6166713718 · waiting 16h

Status runs the launcher's local login probes for otherwise-ready work. A held item shows the CLI's login command in reason, for example codex is not logged in; run codex login, with no attempt spent or GitHub write.

JSON output

--json prints {"assignments": [...], "launcher": ...}. The top-level launcher is {"pid": 1234, "host": "machine", "started_at": "2026-10-25T11:00:00Z"} for the launcher holding this checkout's lock, or null when none is running. Leftover owner records do not count as running launchers.

While configuration is invalid, launcher also contains configuration_pause with error, commit (the full checkout SHA) and next_step; assignments is empty. The field is removed when claims resume. This reports the live launcher's validation result even when the configuration cannot be parsed by the status command.

Assignments have one object per row: number, kind, agent, state, reason, attempts, priority, priority_inherited_from, priority_from_issue, milestone, milestone_inherited_from, open_blockers, runtime, candidate_sha, result, lease, process, process_reason, outcome, notice_url, waiting_since, stop_labels and attention_reason. Unknown values are null. The top level adds milestone_skips when gate passed over a milestone, and explanation when status NUMBER has no row for the item.

With strict-gate, issues outside the current milestone are parked with Waiting for active milestone #N. When no issue in the current milestone can start, text status names the milestone waiting to close, and JSON adds that text as milestone_wait.

Queue explains the order and milestones, and unstick an item what to do next.

$ ub-agents help status
usage: ub-agents status [NUMBER] [options]

Read matching assignments, leases, attempts and reported outcomes. With a
number, explain only that issue or PR, even without a matching trigger. Use to
inspect queue progress or why an item is waiting without changing it.

options:
  --json                 emit structured status
  --config PATH          project configuration (default: ub-agents.yaml)
  -h, --help             show this help

examples:
  ub-agents status
  ub-agents status 143
  ub-agents status 143 --json

Coordination records use format v4. Outcome run identity, runtime, launcher host and original PR head are resolved from the source lease; local process details come from the run directory on the lease's host.