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
The rendered preset only configures agents; the skills/instructions
that role allowlists reference are deployed by APM. cpm setup now
detects apm.yml dependencies and offers to run 'apm install' after
rendering (manual command printed when the CLI is missing or stdin
is not a TTY). render/check print it as an explicit next step.
Also:
- next steps now name the absolute directory to start opencode from
(fixes presets appearing 'missing' when opencode runs in the wrong
cwd, as hit during first real-world test)
- init no longer prints literal <package-dir> placeholders
- model list is shown once instead of repeating per class
- README: new 'Using the team' section (primitives -> reload ->
sanity check -> work via orchestrator), activation writes to the
global user config, troubleshooting entry for missing skills
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.