DocsWhen something goes wrong
Troubleshooting
Setup problems that are not about a protected file. For pulls, commits and hidden edits, see Recovery.
Hook not installed
--repomust point inside a git repository. Linked worktrees and submodules work.- If
core.hooksPathis set (husky and similar), the hooks are installed there, and the scan warns when that folder is inside the repository; a hook manager may regenerate it.statusshows whether they are still installed, and--install-hookreinstalls them.
No manifest produced
The manifest is written when a full scan finds findings, or when a dry-run finding is classified as a false positive. The default location is ~/.ironforge-secretsleuth/manifests/<hash>.json. With --embed-manifest it is ironforge-secretsleuth-manifest.json in the repository root; later commands find an embedded copy automatically. If both profile and embedded manifests exist, pass --embed-manifest explicitly to select the repository copy.
Files not appearing as modified
Obfuscated files are marked skip-worktree, which hides them from git status and from VS Code’s Source Control view: both ask git, and git reports them unchanged. status (or unfreeze --list) lists them, and stage commits edits to them.
The command is not found after install
dotnet tool install --global puts the command in %USERPROFILE%\.dotnet\tools on Windows and ~/.dotnet/tools elsewhere. Open a new terminal, or add that folder to PATH (export PATH="$PATH:$HOME/.dotnet/tools" on Linux/macOS).
A newer package did not install
Place the newer .nupkg in the package source folder and run dotnet tool update --global --add-source "<package-folder>" IronForge-SecretSleuth. The installed command is SecretSleuth; after updating, replace ironforge-secretsleuth with SecretSleuth in scripts and aliases. The package ID is unchanged.
Uninstalling
Uninstalling the tool does not undo what it did to a repository. Run this in each repository first:
SecretSleuth restore --all --remove-hooks
dotnet tool uninstall --global IronForge-SecretSleuth
Reports, scripts and manifests under ~/.ironforge-secretsleuth/ survive an uninstall; delete that folder if you want them gone.