| title | Troubleshooting |
|---|---|
| description | Diagnose installation, agent discovery, environment, scan, and publication failures without hiding unsupported states. |
| prompt | can we do that so everything is end to end seamless and anyone and specially agents can understand easily how to use it all properly you removed a lot of content that helped rank it om google - bring it back Use @bin/bug-hunter, @README.md, @docs/agent-installation.md, @docs/getting-started.md, @SKILL.md, and @SECURITY.md as source material. |
Verify the same target used during installation:
npx --yes https://github.com/codexstar69/bug-hunter/archive/refs/heads/main.tar.gz doctor --agent codexThen:
- Confirm the target name matches the agent.
- Restart the agent.
- Open a new agent session in the repository.
- Ask:
Use the bug-hunter skill to scan this repository. Do not edit files.
If the agent uses a nonstandard skill directory, reinstall and verify with
--path.
Run installation and verification with the same package source:
npx --yes https://github.com/codexstar69/bug-hunter/archive/refs/heads/main.tar.gz install --agent codex
npx --yes https://github.com/codexstar69/bug-hunter/archive/refs/heads/main.tar.gz doctor --agent codexIf a global bug-hunter command reports another version, check:
bug-hunter --version
npm list -g @codexstar/bug-hunterUse either the npx path or the global path consistently.
Do not edit the manifest by hand. Reinstall the exact target. The installer stages and validates a replacement before swapping it into place.
If the target contains user-owned files, keep a backup before manual removal. Files outside the manifest are preserved by normal upgrades.
Bug Hunter requires Node.js 22 or newer:
node --versionAfter upgrading Node.js, run doctor again.
Git is required for the complete fix pipeline. A scan can still be requested, but branch scope, worktree isolation, rollback, and commit checks need Git.
Install Git for the operating system, then run doctor again.
Context Hub is optional. Install it for curated documentation:
npm install -g @aisuite/chubWithout it, Bug Hunter uses the bundled Context7 path.
Ask the agent to report:
- the selected Bug Hunter mode
- the resolved target path
- the preflight result
- failed phase names
- missing or invalid artifacts
.bug-hunter/contents
An interrupted or invalid pipeline is not a clean result.
Check .bug-hunter/scan-report.json. Nonzero manualReview or unreviewed
counts mean work remains.
Request:
Use the bug-hunter skill to finish adversarial review for every unreviewed
finding. Do not edit files.
The bundled dependency parser and reachability analysis currently support JavaScript and TypeScript lockfiles. Use the ecosystem's native audit tool for Python, Go, or Rust, then give its result to the agent as additional evidence.
Do not interpret scanner-unsupported as no vulnerabilities.
Read:
.bug-hunter/fix-report.json.bug-hunter/fix-plan.json.bug-hunter/state.json- the agent's validation logs
Do not bypass a failed canary, scope violation, dirty-worktree guard, or preservation failure. Recover the named worktree or file first.
GitHub source and npm publication are separate release states. Check:
npm view @codexstar/bug-hunter versionUse the npm package for published releases. Use the source-install steps in agent installation only when you intentionally want an unreleased GitHub commit.
Include:
bug-hunter --versionnode --version- the install target name
- the failing command
- the complete error text
- whether the source tree or Git state changed
Do not include secrets, tokens, private source code, or production data.
Open an issue at github.com/codexstar69/bug-hunter/issues.