Issue Description
Labels: enhancement, agents, security, code-quality, size: large
Epic: #63 - Engineering Agents Integration
Related Issues: Part of breaking down #63 into focused implementation tasks
Epic Context
This issue is part of the larger Engineering Agents Integration epic (#63), which aims to integrate 6 collaborative engineering agents from the engineering-team-agents repository into HVE Core. The epic provides multi-platform support (GitHub Copilot + Claude Code + AGENTS.md) while enhancing the existing research → plan → implement workflow with quality gates at strategic points.
This specific issue focuses on the during-implementation security validation phase, adding the Code Reviewer agent that catches OWASP vulnerabilities early with specific fixes before reaching @pr-review final gate.
Overview
Integrate the Code Reviewer agent to provide OWASP security pattern validation and code quality checks during development, with consideration for integration into existing PR workflows or as a new command.
User Story
As a developer on the HVE Core team, I want security validation during development with specific code fixes, so that I catch OWASP vulnerabilities early when fixes are small rather than during final PR review when context is lost.
Context
- Current Gap: Security issues found too late (during
@pr-review = large refactors)
- Problem: Late security discovery = expensive fixes, delayed releases, context loss
- Value Add: 80% faster security fixes, caught early with fresh context
- Integration Point: During implementation, before
@pr-review final gate
- Integration Decision: May integrate into existing PR workflow, become new command, or merge with existing command (requires analysis)
Source Repository
Acceptance Criteria
Technical Requirements
- Platform Support: Claude Code, GitHub Copilot (native + chatmodes), universal AGENTS.md
- Documentation Structure:
docs/code-review/[date]-[component]-review.md
docs/templates/code-review-report-template.md
- Security Frameworks:
- OWASP Top 10 (A01-A10)
- OWASP LLM Top 10 (LLM01-LLM10)
- OWASP ML Security Top 10 (ML01-ML10)
- Zero Trust principles
- Review Categories: Security (priority), Reliability, Performance (>1K users), Maintainability
- Output Format: Specific code fixes with before/after examples, not just problem identification
Implementation Phases
Phase 1: Analysis & Design
- Analyze existing HVE Core PR workflow and commands
- Determine optimal integration approach:
- Option A: New standalone command (
@code-review)
- Option B: Integrate into existing PR workflow
- Option C: Merge/enhance existing command
- Document decision rationale (create ADR)
Phase 2: Port Agent
- Adapt code-reviewer.md from source repository
- Modify based on integration decision from Phase 1
- Create Claude version (
.claude/agents/)
- Create GitHub native version (
.github/agents/)
- Create GitHub chatmode version (
.github/chatmodes/)
- Add agent to AGENTS.md
Phase 3: Documentation Setup
- Create
docs/code-review/ directory
- Port code review report template
- Add OWASP framework references
- Add cross-references to existing instructions
Phase 4: Integration & Testing
- Test agent in Claude Code
- Test agent in GitHub Copilot
- Validate code review report workflow
- Test OWASP pattern detection
- Test cross-agent collaboration (Code Reviewer → Architecture)
- Validate backward compatibility
- Test integration with existing PR workflow/commands
Definition of Done
Dependencies
Related Documentation
Notes
- Backward Compatibility: Must not break existing PR review workflow
- Maintainer Consultation: Recommend discussing integration approach in issue comments before implementation
Additional Context
No response
Issue Description
Labels:
enhancement,agents,security,code-quality,size: largeEpic: #63 - Engineering Agents Integration
Related Issues: Part of breaking down #63 into focused implementation tasks
Epic Context
This issue is part of the larger Engineering Agents Integration epic (#63), which aims to integrate 6 collaborative engineering agents from the engineering-team-agents repository into HVE Core. The epic provides multi-platform support (GitHub Copilot + Claude Code + AGENTS.md) while enhancing the existing research → plan → implement workflow with quality gates at strategic points.
This specific issue focuses on the during-implementation security validation phase, adding the Code Reviewer agent that catches OWASP vulnerabilities early with specific fixes before reaching
@pr-reviewfinal gate.Overview
Integrate the Code Reviewer agent to provide OWASP security pattern validation and code quality checks during development, with consideration for integration into existing PR workflows or as a new command.
User Story
As a developer on the HVE Core team, I want security validation during development with specific code fixes, so that I catch OWASP vulnerabilities early when fixes are small rather than during final PR review when context is lost.
Context
@pr-review= large refactors)@pr-reviewfinal gateSource Repository
Acceptance Criteria
.claude/agents/).github/agents/and.github/chatmodes/)docs/code-review/docs/templates/Technical Requirements
docs/code-review/[date]-[component]-review.mddocs/templates/code-review-report-template.mdImplementation Phases
Phase 1: Analysis & Design
@code-review)Phase 2: Port Agent
.claude/agents/).github/agents/).github/chatmodes/)Phase 3: Documentation Setup
docs/code-review/directoryPhase 4: Integration & Testing
Definition of Done
Dependencies
Related Documentation
Notes
Additional Context
No response