APM-Packages/corentic-package-manager/examples/microsoft-design-review/team-profile.yaml
Tobias J. Endres 9a3b8d62f3 feat(cpm): agent_ref - compose APM-deployed agents into teams
Empirically verified: oh-my-opencode-slim preset entries keyed to an
APM-deployed native OpenCode agent (.opencode/agents/*.md) reconfigure
it in place - model override works, no duplicate agents are created.

- new optional role field 'agent_ref: <name>': persona (prompt,
  identity) comes from the APM primitive; cpm only resolves model_class
  locally and emits a preset entry under the deployed agent's name
- validation: warns when agent_ref target is missing from
  .opencode/agents/ (apm install not run yet) and when 'purpose' is
  redundantly set on agent_ref roles
- collision warning: inline roles shadowing deployed native agents
  suggest using agent_ref instead
- microsoft-design-review example: reviewer role now uses
  agent_ref: design-reviewer, showcasing both role forms
- README: new section on the relationship to APM agent primitives
- blog-review.md: verified findings as material for a blog addendum
2026-08-23 19:37:21 +02:00

48 lines
1.5 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# team-profile.yaml Design Review Team
# Roles based on the primitives from microsoft/apm-sample-package.
schema: corentic.team-profile/v1
id: acme.design-review
description: >
Team for structured design reviews: style-guideline checks,
design review per template and an accessibility audit under a
coordinating reviewer.
roles:
- id: orchestrator
purpose: >-
Takes review requests, distributes style check, design review and
accessibility audit and consolidates the findings into one report.
model_class: strong-generalist
capabilities:
mcps: []
skills: []
- id: reviewer
# persona (prompt, identity) comes from the APM-deployed primitive
# .opencode/agents/design-reviewer.md - created by 'apm install'
agent_ref: design-reviewer
model_class: high-reasoning
- id: style-checker
purpose: >-
Mechanically checks code against the style guidelines from the
style-checker skill. Returns a violation list with file/line.
No fixes.
runtime_agent: fixer # fast, targeted checks
model_class: fast-research
capabilities:
mcps: []
skills: [style-checker]
- id: accessibility-auditor
purpose: >-
Audits the surface according to accessibility-audit.prompt.md.
Categorizes violations (critical/warning/note) and quotes the
affected locations.
runtime_agent: librarian # research/review profile
model_class: fast-research
capabilities:
mcps: []
skills: []