Commit de5cfd6
feat(agents): add system architecture reviewer for design trade-offs and ADR creation (#626)
## Description
Adds the **System Architecture Reviewer** agent to the hve-core library,
ported from
[github/awesome-copilot](https://github.com/github/awesome-copilot) and
restructured to align with hve-core conventions.
This agent provides structured architecture review guidance using the
Azure Well-Architected Framework, covering system context assessment,
pillar evaluation, design trade-off analysis, technology selection, and
ADR creation. It fills a gap between the existing
`security-plan-creator` (security-focused) and `adr-creation` (decision
recording) agents by providing the upstream architecture analysis that
feeds into both.
### Key Design Decisions
- **ADR output path**: Aligned with `adr-creation` agent convention
(`docs/decisions/` with ISO date-prefixed filenames) rather than
`docs/architecture/ADR-[number]-[title].md`
- **Security handoff**: Architecture security concerns delegate to
`security-plan-creator` via declared handoff rather than duplicating
security analysis
- **Maturity tracking**: Managed in collection manifests per hve-core
convention, not in agent frontmatter
## Related Issue(s)
Closes #92
## Type of Change
**Code & Documentation:**
- [ ] Bug fix (non-breaking change fixing an issue)
- [x] New feature (non-breaking change adding functionality)
- [ ] Breaking change (fix or feature causing existing functionality to
change)
- [x] Documentation update
**AI Artifacts:**
- [x] Reviewed contribution with `prompt-builder` agent and addressed
all feedback
- [ ] Copilot instructions (`.github/instructions/*.instructions.md`)
- [ ] Copilot prompt (`.github/prompts/*.prompt.md`)
- [x] Copilot agent (`.github/agents/*.agent.md`)
- [ ] Copilot skill (`.github/skills/*/SKILL.md`)
## Sample Prompts (for AI Artifact Contributions)
### System Architecture Reviewer
**User Request:**
> "Review the architecture for our new event-driven microservices
platform. We expect 50K concurrent users and have a team of 8
engineers."
**Execution Flow:**
1. Agent classifies system type (microservices) and determines
architectural complexity (growth-scale: 1K-100K users)
2. Gathers constraints: scale parameters, team size, budget, compliance
requirements
3. Evaluates against Well-Architected pillars: reliability, security,
cost optimization, operational excellence, performance efficiency
4. For AI workloads, adds AI-specific considerations (model lifecycle,
prompt security, inference costs)
5. Analyzes design trade-offs with structured options, drivers, and
recommendations
6. Produces ADR drafts for significant decisions, saved to
`docs/decisions/`
7. Hands off security concerns to `security-plan-creator`
**Output Artifacts:**
- Architecture review with pillar-by-pillar evaluation
- Design trade-off analysis with scored options
- ADR drafts in `docs/decisions/YYYY-MM-DD-short-title.md` format
**Success Indicators:**
- System context documents specific scale, team, and budget parameters
- Each well-architected pillar has been evaluated against the design
- Trade-offs include clear options with drivers and recommendations
- ADRs capture decision context, options evaluated, and consequences
## Testing
- Ran `npm run lint:md` — 0 errors
- Ran `npm run spell-check` — 0 issues
- Ran `npm run lint:frontmatter` — all checks passed
- Ran `npm run lint:md-links` — all links valid
- Ran `npm run lint:ps` — all PowerShell files passed
## Checklist
### Required Checks
- [x] Documentation is updated (if applicable)
- [x] Files follow existing naming conventions
- [x] Changes are backwards compatible (if applicable)
- [ ] Tests added for new functionality (if applicable)
### AI Artifact Contributions
- [x] Used `/prompt-analyze` to review contribution
- [x] Addressed all feedback from `prompt-builder` review
- [x] Verified contribution follows common standards and type-specific
requirements
### Required Automated Checks
- [x] Markdown linting: `npm run lint:md`
- [x] Spell checking: `npm run spell-check`
- [x] Frontmatter validation: `npm run lint:frontmatter`
- [x] Link validation: `npm run lint:md-links`
- [x] PowerShell analysis: `npm run lint:ps`
## Security Considerations
- [x] This PR does not contain any sensitive or NDA information
- [x] Any new dependencies have been reviewed for security issues
- [x] Security-related scripts follow the principle of least privilege
## Additional Notes
- Agent added to `project-planning.collection.yml` and
`hve-core-all.collection.yml`
- CUSTOM-AGENTS.md table sorted alphabetically with consistent column
alignment
- All 12 automated review comments addressed and resolved
- Attribution footer follows standard `Brought to you by
microsoft/hve-core` format
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Bill Berry <wbery@microsoft.com>
Co-authored-by: Bill Berry <WilliamBerryiii@users.noreply.github.com>1 parent 5791ba1 commit de5cfd6
File tree
10 files changed
+249
-54
lines changed- .github
- agents/project-planning
- collections
- plugins
- hve-core-all
- agents
- project-planning
- agents
10 files changed
+249
-54
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
| |||
233 | 234 | | |
234 | 235 | | |
235 | 236 | | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
236 | 247 | | |
237 | 248 | | |
238 | 249 | | |
| |||
Lines changed: 171 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
72 | 74 | | |
73 | 75 | | |
74 | 76 | | |
| |||
210 | 212 | | |
211 | 213 | | |
212 | 214 | | |
213 | | - | |
214 | 215 | | |
| 216 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
26 | 30 | | |
27 | 31 | | |
28 | 32 | | |
| |||
0 commit comments