Skip to content

[BUG] apm install ./bundle ignores the project's apm.yml targets and deploys only to the auto-detected target #3704

Closed

Description

Describe the bug

apm install --help documents the target precedence "--target > apm.yml targets > apm config target > auto-detect", and the manifest schema says no output goes to unlisted targets. For a local bundle (directory or archive), apm install ./bundle without --target skips the manifest's targets and auto-detects instead.

To reproduce

  1. Project apm.yml with targets: [claude, cursor] and no .github/, .claude/ or .cursor/ yet.
  2. apm pack a package into a bundle directory or archive, then apm install ./bundle in the project.

Expected behavior

Files are deployed for claude and cursor, as for any other install.

Actual behavior

Files are deployed only to .github/ (auto-detected copilot); nothing goes to claude or cursor.

Found by the 0.36.0 pre-release lifecycle sweep, round 2 (#3649). Same behavior on v0.35.1, so this is not a 0.36 regression.

Activity

  1. added
    area/multi-targetMulti-target deploy spec, target directory creation, agent surface routing.
    area/distributionInstallers (curl/PowerShell/Brew/Scoop), self-update, devcontainer, codespaces.
    type/bugSomething does not work as documented.
    pillar/consumePillar: install any agent package into any harness, reproducibly
    on Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/distributionInstallers (curl/PowerShell/Brew/Scoop), self-update, devcontainer, codespaces.area/multi-targetMulti-target deploy spec, target directory creation, agent surface routing.pillar/consumePillar: install any agent package into any harness, reproduciblytype/bugSomething does not work as documented.

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions