You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Code-Reading AI, IaC and Scan Commands Use the Worktree They Run In #613
priority/p1-highPriority P1: high-impact work for the next planned milestonescope/cliCore CLI framework, Typer subcommands, options, and tablestype/bugType bug: the code does not do what it must
#582 moved the verifying commands (ci, test, uv, release, scan complexity) onto the worktree they run in. Other commands that read, index or deploy the current tree still use the top-most root. From a worktree nested inside the main checkout, such as .claude/worktrees/<name>, they act on the main checkout instead:
devops ai repomap maps the main checkout's src/, so files that exist only on the worktree's branch are missing.
devops ai diagram arch lists the main checkout's packages.
devops ai ast graph comes back empty. The main checkout's .gitignore excludes .claude/, so every worktree file counts as ignored.
devops review auto-fix reports TARGET_FILE_NOT_FOUND for a file that exists only in the worktree.
devops tf deploy runs tofu init and apply in the main checkout's tf/<provider>, deploying IaC the user is not editing.
Kube-linter findings carry a .claude/worktrees/<name>/ prefix, so they don't match repository-relative paths.
Expected
Each of these commands reads the worktree it runs in, as the verifying commands do after #582.
priority/p1-highPriority P1: high-impact work for the next planned milestonescope/cliCore CLI framework, Typer subcommands, options, and tablestype/bugType bug: the code does not do what it must
Activity
fix(cli): keep repos/ clones on the workspace and read the current wo…
dan-petty commentedon Sep 25, 2026
Closed by #614, merged into
release/v0.2.23.GitHub only acts on closing keywords when a pull request merges into the default branch, so this was closed by
devops gh issues close-merged.