Skip to content

Workspace ​

Workspace commands are for a personal or team operator who needs one bounded view across several GitHub repositories. They do not replace repo-local issues, PRs, labels, milestones, or checks as the source of truth.

Setup ​

Create the global workspace and repo registry together when starting from a local checkout:

bash
gira setup global \
  --repo OWNER/app \
  --path . \
  --workspace personal \
  --inbox-repo OWNER/backlog \
  --mode global-only \
  --dry-run

gira setup global \
  --repo OWNER/app \
  --path . \
  --workspace personal \
  --inbox-repo OWNER/backlog \
  --mode global-only \
  --apply

Use a dedicated --inbox-repo for backlog intake when the workspace spans more than one execution repository. A small single-repo setup may reuse the execution repo as the inbox.

Inbox Role ​

Treat OWNER/backlog as the workspace inbox, research shelf, and cross-repo goal handle. It is the right place for broad opportunities, unclear ownership, and goals that need one stable issue URL while child work lands in several execution repos.

Do not use the inbox as the execution repo for every child task. Once ownership is clear, route or create a repo-local ticket in the target repo. That child ticket owns the branch, PR, checks, review, and finish evidence.

Keep a backlog issue open as a goal handle when it still coordinates child links, cross-repo status, or human decisions. With goal mode, plan items can name target repos:

text
- OWNER/app: Add auth adapter
- target_repo: OWNER/api - Harden callback validation

Then run goal mode from the inbox issue:

bash
gira goal plan 12 --repo OWNER/backlog --dry-run --json
gira goal plan 12 --repo OWNER/backlog --apply --json
gira goal status 12 --repo OWNER/backlog --json

Broad workspaces may keep many repos visible for discovery and planning. For daily control, narrow the read with --repo, --limit, and --active-only. The boundary is the same in both modes: inbox issues coordinate, repo-local issues execute.

Repo Allowlist ​

Sync the workspace repo allowlist explicitly from a GitHub owner:

bash
gira workspace repos sync --owner OWNER --workspace personal --dry-run
gira workspace repos sync --owner OWNER --workspace personal --apply

This is not background discovery. The command updates the global workspace registry and skips the configured inbox repo because intake is not an execution repo.

Status And Queues ​

Use bounded status reads for daily inspection:

bash
gira workspace status --limit 10 --active-only
gira workspace status --repo OWNER/app
gira workspace status --json

workspace status reports repo summaries, GitHub API budget when available, cache freshness, warnings, and workspace_queues. The queue contract groups work that needs operator attention:

QueueMeaning
agent_readyExecutable agent-lane issues that are ready to start.
review_neededReviewable PR or in-review ticket work.
finish_readyWork that appears ready for finish or closure convergence.
blockedTickets blocked by labels, missing evidence, or human decisions.
failed_checkPR-backed work with failed or failing check evidence.
human_decisionWork that should stop for an operator decision.

Use queue commands when an operator or adapter needs a smaller task-selection surface:

bash
gira queue list --queue ready --json
gira queue next --json
gira queue handoff --json
gira queue take --dry-run --json

queue list, queue next, and queue handoff are read-only. queue take --apply is the queue mutating boundary, and it delegates to ticket start only after the selected item is both agent_ready and worker-ready. It does not launch Codex or another worker by default. See Agent Handoff Queue for the full operating model and stop reason contract.

GitHub remains the source of truth.