using-git-worktrees

Pass

Audited by Gen Agent Trust Hub on May 27, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [COMMAND_EXECUTION]: Orchestrates various shell commands to manage Git worktrees, including git worktree add, git rev-parse, and git check-ignore.
  • [COMMAND_EXECUTION]: Automatically modifies repository configuration by adding worktree directories to .gitignore if they are not already ignored, and commits the change to maintain repository cleanliness.
  • [EXTERNAL_DOWNLOADS]: Invokes package managers such as npm, pip, poetry, and go to download and install project dependencies when setting up the newly created worktree.
  • [COMMAND_EXECUTION]: Executes project-defined test suites (e.g., npm test, cargo test, pytest) to verify that the worktree baseline is clean before starting feature development.
Audit Metadata
Risk Level
SAFE
Analyzed
May 27, 2026, 02:35 PM
Security Audit — agent-trust-hub — using-git-worktrees