# Thin CPM wrapper around apm-issue-autopilot from the official microsoft/apm repo.
#
# The upstream package already orchestrates skills (apm-triage-panel,
# shepherd-driver, pr-description-skill) and drives issues to a mergeable PR.
# The team profile below maps exactly those phases onto agent roles.
#
# Upstream: https://github.com/microsoft/apm/tree/main/packages/apm-issue-autopilot
# APM supports monorepo subpaths, so the dependency points directly at the
# subdirectory.

name: acme/issue-autopilot-cpm
version: 0.1.0
description: >
  Issue triage team based on microsoft/apm packages/apm-issue-autopilot:
  triage as gate, shepherd for drive-to-merge, PR descriptions and a
  reviewing counter-check. Human-in-the-loop: escalate to the maintainer
  on doubt.
author: Tobias Endres
license: MIT
type: hybrid
targets:
  - opencode
dependencies:
  apm:
    - microsoft/apm/packages/apm-issue-autopilot
  mcp:
    - name: io.github.github/github-mcp-server
      transport: http
