Commit graph

3 commits

Author SHA1 Message Date
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
Tobias J. Endres
0df9cec833 docs(cpm): translate all CPM project files to English
CPM is an international project; only the blogpost stays German.
Translated: cpm.py docstring/messages/help texts, README.md,
cpm-setup skill, all team-profile.yaml files (incl. runtime_agent
comments), example apm.yml wrappers and the model-mapping template.
Also fixes DEFAULT_MAPPING_PATH pointing to ~/.config/apm-team
instead of ~/.config/cpm.
2026-08-23 17:56:09 +02:00
Tobias J. Endres
913be9d528 feat(cpm): official Microsoft APM packages as team examples
Two thin CPM wrappers around official upstream packages, each with a
team-profile mapping their primitives to agent roles:

- microsoft-design-review: wraps microsoft/apm-sample-package#v1.0.0
  (design-standards, design-review, accessibility-audit, style-checker)
  -> roles: reviewer (oracle), style-checker (fixer), accessibility-auditor

- microsoft-issue-autopilot: wraps microsoft/apm/packages/apm-issue-autopilot
  (triage-panel, shepherd-driver, pr-description-skill) + github-mcp-server
  -> roles: triager, shepherd, pr-writer (custom), reviewer

Both validate with cpm check; README examples table added.
2026-08-23 17:45:55 +02:00