Skip to content

Add reviewer subagent host bundles#101

Merged
santosomar merged 1 commit into
mainfrom
feat/subagent-hosts
Jul 9, 2026
Merged

Add reviewer subagent host bundles#101
santosomar merged 1 commit into
mainfrom
feat/subagent-hosts

Conversation

@thomas-bartlett

Copy link
Copy Markdown
Contributor

Summary

Adds codeguard-reviewer subagent bundle generation for the remaining supported hosts:

  • OpenCode: .opencode/agents/codeguard-reviewer.md
  • GitHub Copilot / VS Code: .github/agents/codeguard-reviewer.agent.md
  • Codex: .codex/agents/codeguard-reviewer.toml

The PR also updates release packaging, CI validation, and install docs so the new agent outputs are generated, packaged, and documented consistently.

Fixes #67.
Fixes #68.
Fixes #69.

Notes

  • Codex uses a TOML custom-agent file with developer_instructions.
  • Markdown-based hosts now support host-specific agent filenames.
  • Reviewer instructions now explicitly redact suspected secret values in SARIF and summaries.

Validation

  • Generated IDE bundles with uv run python src/convert_to_ide_formats.py using a temporary output directory.
  • Validated all rule files with uv run python src/validate_unified_rules.py sources/.
  • Ran uv run pytest from src/codeguard-mcp.
  • Manually smoke tested OpenCode, VS Code Copilot, and Codex; the reviewer subagent appeared in each host.

@thomas-bartlett thomas-bartlett marked this pull request as ready for review July 9, 2026 20:36
@thomas-bartlett thomas-bartlett self-assigned this Jul 9, 2026
@thomas-bartlett thomas-bartlett added the enhancement New feature or request label Jul 9, 2026

@santosomar santosomar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are great! Thank you for your outstanding work on this @thomas-bartlett !

@santosomar santosomar merged commit 0b55822 into main Jul 9, 2026
5 checks passed
@santosomar santosomar deleted the feat/subagent-hosts branch July 9, 2026 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Emit codeguard-reviewer subagent for Copilot / VS Code Emit codeguard-reviewer subagent for Codex Emit codeguard-reviewer subagent for OpenCode

2 participants