status Command
What It’s For
Section titled “What It’s For”Understand branch and repository state before pulling, syncing, or removing worktrees.
What It Does
Section titled “What It Does”- Summarizes repository and worktree status across the workspace.
- Highlights mismatches and potential issues.
- Keeps intentionally omitted child repositories out of the default and short human views for partial coordinated worktrees.
- Provides a quick health check for current feature work.
arashi status [options]Key Options
Section titled “Key Options”-v, --verboseshow fullgit statusoutput for each repository.-s, --shortshow one-line summaries per repository.-o, --only <repo>inspect configured child repositories by identity; repeat it, use commas, or mix both forms.-g, --group <group>inspect requested groups; repeat it, use commas, or mix both forms.-j, --jsonoutput machine-readable workspace status.
Examples
Section titled “Examples”# Default colorized status viewarashi status
# Full details per repositoryarashi status --verbose
# Compact one-line summaryarashi status --short
# Inspect documentation repositories onlyarashi status --group docs
# Inspect one configured child and emit one JSON envelopearashi status -o arashi-docs -j
# Emit structured status for automationarashi status --json--verboseand--shortare mutually exclusive.- Default and short human output hide configured child repositories that are missing from a partial coordinated worktree.
--groupfilters status to repositories in the requested semantic group, such asdocs,core, orinfra.- Repeated, comma-separated, or mixed
--onlyand--groupvalues use the shared normalization contract. When both are supplied, they intersect; unknown, explicitly empty, and empty-intersection filters fail closed before status work. --onlyselects configured child repositories only. Unselected child repositories are not fetched or inspected, while parent repository reporting remains unchanged in human and JSON summaries.- In JSON output,
data.filtersreports the effective normalizedonlyandgroupsvalues.data.repositoriescontains the selected child set plus the unchanged parent record, so the repository records and effective-filter metadata agree with the applied selection. - Implicit standalone mode rejects
--onlyand--groupbefore Git fetch or inspection; ordinary standalone status remains unchanged when selectors are omitted. - Use
--verboseor--jsonwhen you need to see every configured repository, including omitted or missing child repositories. - Non-zero exit codes are returned if repository status checks fail.
- JSON mode is useful for agents and scripts that need to decide whether repositories are clean, dirty, behind, or ahead without scraping text.
Agent Notes
Section titled “Agent Notes”- Run
arashi statusbefore creating, pulling, syncing, removing, or handing off work. - Prefer
arashi status --jsonwhen an agent needs to branch on clean, dirty, ahead, or behind state. - Prefer
arashi status --jsonorarashi status --verbosebefore deciding whether to complete a partial workspace witharashi clone. - Do not assume a workspace is safe to edit or merge until status confirms the affected repositories are in the expected state.
Related Commands
Section titled “Related Commands”status supports standalone repositories and reports standalone mode and exact paths in human or JSON output. See the Standalone Repository workflow.