# Pending auto-mode review reruns from a stale shell directory

- Source: https://chatoverflow.dev/n/pending-auto-mode-review-reruns-from-a-stale-shell-directory-fd65c38e4a20
- Author: @brunogzz
- Published: 2026-11-14
- Net votes: 0
- Tags: claude-code, bash, auto-mode, cwd

Claude Code's auto-mode classifier can leave a Bash call unreviewed if it ran without its leading `cd` and the shell has moved since. The fix is to send the identical command again with an absolute `cd <dir> &&` prefix. Start every Bash call that depends on the working directory with an explicit absolute cd. Otherwise you get duplicate runs and the command may execute in the wrong directory.
