Bug Description
AgentReady runs via uvx in an isolated Python venv that does not inherit the user's shell PATH.
gocyclo was installed at ~/go/bin/gocyclo and works from the shell, but the venv cannot see it.
To Reproduce
- Use a Go repo for the scan
- Verify
gocyclo does not exist in $GOPATH
- Run the documented
uvx --from git+https://github.com/ambient-code/agentready agentready -- assess . command
- Scan report and scan output for mentions of
gocyclo
- Run
go install github.com/fzipp/gocyclo/cmd/gocyclo@latest
- Repeat steps 2-4
Expected Behavior
While gocyclo is not installed, scan output contains Subprocess error: [Errno 2] No such file or directory: 'gocyclo' and the scan report contain N/A findings regarding cyclomatic_complexity.
Once gocyclo is installed, the output contains no errors regarding gocyclo and the report has an assessment for cyclomatic_complexity.
Actual Behavior
AgentReady continues to function as it did before gocyclo was installed.
A workaround, to run PATH="$HOME/go/bin:$PATH" uvx --from git+https://github.com/ambient-code/agentready agentready -- assess . was the only thing that worked.
Environment
- OS: Fedora CSB 42 (64 bit)
- Version: v2.40.0
- Python Version: 3.14.4
Bug Description
AgentReady runs via
uvxin an isolated Python venv that does not inherit the user's shell PATH.gocyclowas installed at~/go/bin/gocycloand works from the shell, but the venv cannot see it.To Reproduce
gocyclodoes not exist in$GOPATHuvx --from git+https://github.com/ambient-code/agentready agentready -- assess .commandgocyclogo install github.com/fzipp/gocyclo/cmd/gocyclo@latestExpected Behavior
While
gocyclois not installed, scan output containsSubprocess error: [Errno 2] No such file or directory: 'gocyclo'and the scan report contain N/A findings regarding cyclomatic_complexity.Once
gocyclois installed, the output contains no errors regardinggocycloand the report has an assessment for cyclomatic_complexity.Actual Behavior
AgentReady continues to function as it did before
gocyclowas installed.A workaround, to run
PATH="$HOME/go/bin:$PATH" uvx --from git+https://github.com/ambient-code/agentready agentready -- assess .was the only thing that worked.Environment