Commit graph

18 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
dd72fc4520 chore: IDE workspace update 2026-08-23 18:30:17 +02:00
Tobias J. Endres
602f0958bd docs(blog): current drafts, fact-check review and image assets
- apm-omos-agent-teams-v3.md: main blogpost draft (German)
- omos-deep-dive.md: second blogpost on oh-my-opencode-slim capabilities
- blog-review.md: source-of-truth copy of the Ghost draft + numbered
  revision proposals from the Perplexity fact-check
- image assets referenced by the blogposts (.jpg/.png)
2026-08-23 18:29:59 +02:00
Tobias J. Endres
ae6817d86f feat(cpm): integrate 'apm install' into the guided flow
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
2026-08-23 18:24:25 +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
Tobias J. Endres
939599441c chore(cpm): ignore __pycache__ 2026-08-23 17:27:06 +02:00
Tobias J. Endres
2af88b6493 refactor!: rename omos to Corentic Package Manager (CPM)
A CPM package is an agent package consisting of an APM manifest plus a
team configuration (team-profile.yaml). The manager translates such a
package into the native config of a target harness. First target:
oh-my-opencode-slim; oh-my-pi, codex, claude and copilot are planned.

- omos/ -> corentic-package-manager/, cpm.py as CLI entry point
- new commands: cpm init [--fill] and cpm setup (guided flow with
  interactive model selection from opencode.json(c))
- schema field omos_agent -> harness-neutral runtime_agent
- user mapping moved to ~/.config/cpm/model-mapping.yaml
- provenance suffix .cpm-provenance.json
- skill renamed to cpm-setup
2026-08-23 17:26:28 +02:00
Tobias J. Endres
b897bb4b17 feat(omos): interactive init and setup commands
- omos init [--fill]: create user mapping file, interactively resolve
  PLACEHOLDER classes by picking from models discovered in
  opencode.json(c)
- omos setup: guided flow - show profile summary, create/fill missing
  mappings with explicit user choice, then render
- README quickstart updated to the two-command path
2026-08-23 17:10:35 +02:00
Tobias J. Endres
f035902f20 docs(omos): user guide with quickstart, walkthrough and troubleshooting 2026-08-23 17:03:40 +02:00
Tobias J. Endres
f0f1915251 feat(omos): example package, team profile, mapping and setup skill
- examples/package: copy of the job-application APM package with
  corentic.team-profile/v1 declaration (orchestrator, researcher,
  writer, checker, notifier)
- examples/model-mapping.yaml: user-side model class mapping with
  simple and extended entries
- skills/omos-setup: skill guiding users through
  resolve-validate-render and activation
2026-08-23 17:03:40 +02:00
Tobias J. Endres
907f43d40b feat(omos): sidecar adapter prototype
Deterministic translator between APM team profiles and
oh-my-opencode-slim presets. Reads team-profile.yaml, resolves
model classes against a user-local mapping table, generates
namespaced presets plus provenance. Includes check (dry-run),
merge-by-preset-id, custom agent generation from purpose fields,
and MCP availability warnings.
2026-08-23 17:03:40 +02:00
Tobias J. Endres
8ada9fb6e4 Add proper README with installation and MCP config 2026-08-21 23:22:30 +02:00
Tobias J. Endres
2d2e4379fc Refine SKILL.md: DIN 5008 cover letter rules, do's/don'ts, template handling 2026-08-21 23:16:20 +02:00
Tobias J. Endres
84514d3fcb feat: add MCP dependencies (sharelatex, openviking) 2026-08-21 22:56:51 +02:00
Tobias J. Endres
e03611e7ff fix: set targets to generic + opencode 2026-08-21 22:55:15 +02:00
Tobias J. Endres
499c9242c8 feat: add job-application skill package 2026-08-21 22:48:00 +02:00
8b34f8f1f9 Initial commit 2026-08-21 20:47:13 +00:00