A snapshot: read at commit 707a04c7ce8 on 2026-10-18T00:06:01Z by majordomus 0.29.0. Nothing on this page is read again. See it live
majordomus worktree inspect
One branch: its canonical path, whether it exists, what occupies the path, the worktree holding it, and what stands in the way
What it is
read onlyOne branch: its canonical path, whether it exists, what occupies the path, the worktree holding it, and what stands in the way
- Identity
executable.worktree.inspect- Program
- executable
- Runs
- non interactive
- Requires
- repository
Where it appears
- Command line
majordomus worktree inspect- Workflow
just worktree-inspect- MCP tool
majordomus_worktree_inspect- HTTP
/api/v1/worktrees/inspect- Declared in
apps/majordomus-cli/src/cli.rs- Capability
- worktree.inspect
Arguments
| argument | values from | required | help |
|---|---|---|---|
<BRANCH> | yes | The branch, full name | |
--repo | — | Start the search for the repository root here (default: the current directory) | |
--discovery | — | How declarative files are enumerated | |
--strict | — | Refuse to proceed when any file of the layer carries an error diagnostic | |
--share | — | The tool distribution's share directory (kinds.yaml, schemas/); default: $MAJORDOMUS_SHARE, then the repository's own share/, then the one beside the executable | |
--format | — | Output shape |