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:
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 \
--applyUse 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:
- OWNER/app: Add auth adapter
- target_repo: OWNER/api - Harden callback validationThen run goal mode from the inbox issue:
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 --jsonBroad 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:
gira workspace repos sync --owner OWNER --workspace personal --dry-run
gira workspace repos sync --owner OWNER --workspace personal --applyThis 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:
gira workspace status --limit 10 --active-only
gira workspace status --repo OWNER/app
gira workspace status --jsonworkspace status reports repo summaries, GitHub API budget when available, cache freshness, warnings, and workspace_queues. The queue contract groups work that needs operator attention:
| Queue | Meaning |
|---|---|
agent_ready | Executable agent-lane issues that are ready to start. |
review_needed | Reviewable PR or in-review ticket work. |
finish_ready | Work that appears ready for finish or closure convergence. |
blocked | Tickets blocked by labels, missing evidence, or human decisions. |
failed_check | PR-backed work with failed or failing check evidence. |
human_decision | Work that should stop for an operator decision. |
Use queue commands when an operator or adapter needs a smaller task-selection surface:
gira queue list --queue ready --json
gira queue next --json
gira queue handoff --json
gira queue take --dry-run --jsonqueue 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.