Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
68b7be5
feat(pack): adopt Agent Plugins v1 by default
Aug 13, 2026
2c20199
fix(install): enforce plugin executable trust
Aug 13, 2026
49a9eeb
feat(agent-plugins): establish canonical v1 contract spine
danielmeppiel Aug 17, 2026
21277a8
fix(agent-plugins): harden v1 contract boundaries
danielmeppiel Aug 17, 2026
6da7289
fix(agent-plugins): fail closed before classification
danielmeppiel Aug 18, 2026
b8b5d6c
fix(agent-plugins): preserve literal MCP placeholders
danielmeppiel Aug 18, 2026
ea3844a
fix(agent-plugins): preserve endpoint and JSON contracts
danielmeppiel Aug 18, 2026
d231a24
fix(agent-plugins): close URL syntax edge cases
danielmeppiel Aug 18, 2026
bf46b7f
Harden Agent Plugin URL validation
danielmeppiel Aug 18, 2026
dd4aa31
Enforce Agent Plugin URL boundaries
danielmeppiel Aug 18, 2026
6ab7b22
test: pin Agent Plugins lifecycle contract
danielmeppiel Aug 17, 2026
1900a18
test: correct Agent Plugins contract coverage
danielmeppiel Aug 18, 2026
ddb6ad8
feat(agent-plugins): bridge native ingress to APMPackage
danielmeppiel Aug 18, 2026
d3952d7
Block native Agent Plugin component deployment
danielmeppiel Aug 18, 2026
eb25645
Close native Agent Plugin deployment bypasses
danielmeppiel Aug 18, 2026
7083422
Close native dry-run and prune bypasses
danielmeppiel Aug 18, 2026
1470ec4
fix: render native bundle boundary failures
danielmeppiel Aug 18, 2026
0eaca0a
feat: add installed agent plugin lifecycle state
danielmeppiel Aug 18, 2026
77c1c2d
fix: harden agent plugin lifecycle state
danielmeppiel Aug 18, 2026
ce03011
fix: reject credential-bearing plugin locators
danielmeppiel Aug 18, 2026
ba5d069
fix: accept absolute Git SCP paths
danielmeppiel Aug 18, 2026
d287d96
Add canonical Agent Plugin component IR
danielmeppiel Aug 18, 2026
0f840b3
Harden Agent Plugin component IR
danielmeppiel Aug 18, 2026
5109c08
Fail closed on unsafe hook assets
danielmeppiel Aug 18, 2026
a137a81
Add canonical Agent Plugin executable trust context
danielmeppiel Aug 18, 2026
57a2a61
Harden Agent Plugin executable trust facts
danielmeppiel Aug 18, 2026
a93c6be
Adapt executable trust to component IR
danielmeppiel Aug 19, 2026
8f5f39a
feat: add agent plugin producer projection
danielmeppiel Aug 18, 2026
5a41901
fix: harden plugin producer transactions
danielmeppiel Aug 18, 2026
40a68d0
Complete Agent Plugin producer IR round-trip
danielmeppiel Aug 19, 2026
36b334c
Trim brittle producer authority pins
danielmeppiel Aug 19, 2026
4de1ceb
feat: prepare native plugin MCP provenance
danielmeppiel Aug 18, 2026
c3a6a13
fix: type missing plugin MCP IR boundary
danielmeppiel Aug 18, 2026
23a12db
Enforce singular native MCP preparation seam
danielmeppiel Aug 19, 2026
06259ec
Test native MCP projection provenance guards
danielmeppiel Aug 19, 2026
e3e0d80
R1: remove com.microsoft.apm file-component bridge from canonical loa…
danielmeppiel Aug 19, 2026
ed71ac7
R2: remove com.microsoft.apm producer generation and delete no-caller…
danielmeppiel Aug 19, 2026
638dc95
R3: consolidate architecture guards and tests after private-bridge re…
danielmeppiel Aug 19, 2026
173c313
R4: surface dropped hooks in the portable producer warning
danielmeppiel Aug 19, 2026
7476ee5
R5: restore archive-mode fail-before-commit atomicity coverage
danielmeppiel Aug 19, 2026
d4a092a
R6: surface dropped LSP configs and root-layout hooks in producer war…
danielmeppiel Aug 19, 2026
8988cc3
Fail closed on nonportable Agent Plugin packs
danielmeppiel Aug 21, 2026
c094efd
Suppress contradictory hooks-only pack warning
danielmeppiel Aug 21, 2026
59fa39d
Restore README before Agent Plugin release
danielmeppiel Aug 21, 2026
0700829
Remove false Agent Plugin breaking claim
danielmeppiel Aug 21, 2026
7f4c632
test: retire dead native MCP preparation guard
danielmeppiel Aug 21, 2026
e9295fc
refactor: remove unreachable native MCP preparation
danielmeppiel Aug 21, 2026
ffbb05c
Remove unreachable Agent Plugin trust evaluator
danielmeppiel Aug 21, 2026
871dd9e
Enforce Agent Plugin schema routing
danielmeppiel Aug 21, 2026
3fe2100
Fix legacy bundle service ownership
danielmeppiel Aug 21, 2026
3b78aab
Remove unreachable local plugin lifecycle branches
danielmeppiel Aug 21, 2026
676fd48
Delete unreachable Agent Plugin lifecycle state
danielmeppiel Aug 21, 2026
fb7246e
Delete deferred native lifecycle contract
danielmeppiel Aug 21, 2026
0ac0ae2
Roll back unreleased lockfile v3 plugin state
danielmeppiel Aug 21, 2026
9adab83
Prune deleted lifecycle symbols from architecture guard
danielmeppiel Aug 21, 2026
134744a
Harden removed plugin lifecycle boundaries
danielmeppiel Aug 21, 2026
ff6d1ef
Strengthen plugin lifecycle tombstones
danielmeppiel Aug 21, 2026
6ccee98
Complete exact lifecycle tombstones
danielmeppiel Aug 21, 2026
af6928f
Refresh architecture instruction lock hash
danielmeppiel Aug 21, 2026
26dca9d
docs: sync Agent Plugins v1 docs to settled portable-foundation contract
danielmeppiel Aug 21, 2026
4fc444d
Clarify portable Agent Plugin routing
danielmeppiel Aug 21, 2026
f9ae555
test: align plugin lifecycle fixture with canonical skill
danielmeppiel Aug 21, 2026
b5cb91b
Harden portable Agent Plugin compatibility
danielmeppiel Aug 22, 2026
b886b41
Document portable Agent Plugins support
danielmeppiel Aug 22, 2026
b1a423a
docs(spec): cite the Agent Plugins v1 deployment boundary (req-tg-011)
danielmeppiel Aug 22, 2026
76a11af
fix(deps): clean up target_path on rejected Agent Plugin, dedupe docs…
danielmeppiel Aug 22, 2026
0ee3aa7
fix(deps,install): close registry cleanup gap, fix stale repack advice
danielmeppiel Aug 22, 2026
b11a663
fix(docs): merge duplicate canonical-owner rows for agent_plugins/loa…
danielmeppiel Aug 22, 2026
8a15dea
fix: preserve ingress-convergence guard count; update pinned owner-ta…
danielmeppiel Aug 22, 2026
f7762ab
fix(ci): narrow broad pytest.raises, resync self content-hash
danielmeppiel Aug 22, 2026
2abb15d
fix(pack): preserve plugin format compatibility
danielmeppiel Aug 22, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .apm/instructions/architecture.instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ semicolon-delimited, and specific to the file(s) that own the fact.
| Target-scoped deployed-file contraction | install/manifest_reconcile.py (reconcile_target_deployed_files) | `src/apm_cli/install/manifest_reconcile.py` |
| Install success / failure outcome | the canonical install-outcome path | `src/apm_cli/install/outcome.py` |
| Frozen install mutation eligibility | install/service.py (InstallService) | `src/apm_cli/install/service.py` |
| Neutral hook shape -> per-target native | the neutral hook IR + per-target integrators | `src/apm_cli/integration/hook_ir.py`; `src/apm_cli/integration/hook_native_formats.py`; `src/apm_cli/integration/hook_integrator.py`; `src/apm_cli/integration/hook_ownership.py` |
| Install invocation option defaults | install/request.py (InstallRequest) | `src/apm_cli/install/request.py`; `src/apm_cli/commands/install.py` |
| Neutral hook source grammar and shape -> per-target native | hook_contract.py (HOOK_COMMAND_KEYS, parse_hook_source, _entries_to_ir) + per-target renderers | `src/apm_cli/hook_contract.py`; `src/apm_cli/integration/hook_ir.py`; `src/apm_cli/integration/hook_native_formats.py`; `src/apm_cli/integration/hook_integrator.py`; `src/apm_cli/integration/hook_ownership.py` |
| File-level deploy / sync / cleanup | BaseIntegrator (see integrators.instructions.md) | `src/apm_cli/integration/base_integrator.py` |
| Windows stable executable path | install.ps1 ($currentDir / $currentExe) | `install.ps1` |
| Git repository cache-key normalization | cache/url_normalize.py (normalize_repo_url / cache_shard_key) | `src/apm_cli/cache/url_normalize.py` |
Expand All @@ -71,6 +72,10 @@ semicolon-delimited, and specific to the file(s) that own the fact.
| Effective marketplace output path | marketplace/output_profiles.py (resolve_effective_output_path) | `src/apm_cli/marketplace/output_profiles.py` |
| Bootstrap project-name validation and fallback | core/project_name.py (resolve_bootstrap_project_name) | `src/apm_cli/core/project_name.py` |
| Marketplace raw-structure diagnostics | marketplace/models.py parser; validator.py consumes them | `src/apm_cli/marketplace/models.py`; `src/apm_cli/marketplace/validator.py` |
| Agent Plugins v1 contract interpretation, component discovery, and portable manifest authority | agent_plugins/loader.py (load_agent_plugin, _load_apm_configuration) | `src/apm_cli/agent_plugins/loader.py`; `src/apm_cli/agent_plugins/ir.py` |
| Agent Plugin producer portable-surface admission | bundle/agent_plugin_exporter.py (_require_portable_agent_plugin) | `src/apm_cli/bundle/agent_plugin_exporter.py` |
| APMPackage interpreted-manifest construction | models/apm_package.py (APMPackage.from_mapping) | `src/apm_cli/models/apm_package.py` |
| Agent Plugin compatibility package projection | agent_plugins/projection.py (project_agent_plugin_package) | `src/apm_cli/agent_plugins/projection.py`; `src/apm_cli/models/validation.py` |
<!-- /canonical-owner-table -->

Host + credential resolution includes public github.com anonymous-first ordering.
Expand Down
7 changes: 6 additions & 1 deletion .github/instructions/architecture.instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ semicolon-delimited, and specific to the file(s) that own the fact.
| Target-scoped deployed-file contraction | install/manifest_reconcile.py (reconcile_target_deployed_files) | `src/apm_cli/install/manifest_reconcile.py` |
| Install success / failure outcome | the canonical install-outcome path | `src/apm_cli/install/outcome.py` |
| Frozen install mutation eligibility | install/service.py (InstallService) | `src/apm_cli/install/service.py` |
| Neutral hook shape -> per-target native | the neutral hook IR + per-target integrators | `src/apm_cli/integration/hook_ir.py`; `src/apm_cli/integration/hook_native_formats.py`; `src/apm_cli/integration/hook_integrator.py`; `src/apm_cli/integration/hook_ownership.py` |
| Install invocation option defaults | install/request.py (InstallRequest) | `src/apm_cli/install/request.py`; `src/apm_cli/commands/install.py` |
| Neutral hook source grammar and shape -> per-target native | hook_contract.py (HOOK_COMMAND_KEYS, parse_hook_source, _entries_to_ir) + per-target renderers | `src/apm_cli/hook_contract.py`; `src/apm_cli/integration/hook_ir.py`; `src/apm_cli/integration/hook_native_formats.py`; `src/apm_cli/integration/hook_integrator.py`; `src/apm_cli/integration/hook_ownership.py` |
| File-level deploy / sync / cleanup | BaseIntegrator (see integrators.instructions.md) | `src/apm_cli/integration/base_integrator.py` |
| Windows stable executable path | install.ps1 ($currentDir / $currentExe) | `install.ps1` |
| Git repository cache-key normalization | cache/url_normalize.py (normalize_repo_url / cache_shard_key) | `src/apm_cli/cache/url_normalize.py` |
Expand All @@ -71,6 +72,10 @@ semicolon-delimited, and specific to the file(s) that own the fact.
| Effective marketplace output path | marketplace/output_profiles.py (resolve_effective_output_path) | `src/apm_cli/marketplace/output_profiles.py` |
| Bootstrap project-name validation and fallback | core/project_name.py (resolve_bootstrap_project_name) | `src/apm_cli/core/project_name.py` |
| Marketplace raw-structure diagnostics | marketplace/models.py parser; validator.py consumes them | `src/apm_cli/marketplace/models.py`; `src/apm_cli/marketplace/validator.py` |
| Agent Plugins v1 contract interpretation, component discovery, and portable manifest authority | agent_plugins/loader.py (load_agent_plugin, _load_apm_configuration) | `src/apm_cli/agent_plugins/loader.py`; `src/apm_cli/agent_plugins/ir.py` |
| Agent Plugin producer portable-surface admission | bundle/agent_plugin_exporter.py (_require_portable_agent_plugin) | `src/apm_cli/bundle/agent_plugin_exporter.py` |
| APMPackage interpreted-manifest construction | models/apm_package.py (APMPackage.from_mapping) | `src/apm_cli/models/apm_package.py` |
| Agent Plugin compatibility package projection | agent_plugins/projection.py (project_agent_plugin_package) | `src/apm_cli/agent_plugins/projection.py`; `src/apm_cli/models/validation.py` |
<!-- /canonical-owner-table -->

Host + credential resolution includes public github.com anonymous-first ordering.
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
consent over marketplace-plugin `bin/` executable deployment. `--trust-bin`
approves deployment silently; `--no-trust-bin` skips `bin/` even when policy
permits it. The `allowExecutables` policy gate still takes precedence. (closes #1620)
- `apm pack --format agent-plugin` and
`apm plugin init --format agent-plugin` now emit strict, portable Agent
Plugins 1.0 bundles. The existing no-flag default and `--format plugin` alias
both remain Claude-compatible; exact-schema Agent Plugins are admitted as
whole units and blocked before deployment until a native client lifecycle
qualifies, never projected as legacy primitives. (by @sergio-sisternes-epam;
closes #2522) (#2654)

### Fixed

Expand Down
16 changes: 14 additions & 2 deletions CONFORMANCE.json
Original file line number Diff line number Diff line change
Expand Up @@ -1274,12 +1274,24 @@
"tests": [
"tests/spec_conformance/test_manifest_reqs.py::test_project_scoped_native_hook_command_is_portably_anchored"
]
},
{
"conformance_class": "consumer",
"id": "req-tg-011",
"keyword": "MUST",
"section": "8.5.5",
"status": "active",
"test_count": 2,
"tests": [
"tests/spec_conformance/test_manifest_reqs.py::test_agent_plugin_deployment_boundary_precedes_all_mutation",
"tests/spec_conformance/test_manifest_reqs.py::test_agent_plugin_undeployable_without_native_lifecycle"
]
}
],
"spec_version": "v0.1.1",
"summary_by_class": {
"consumer": {
"active": 82,
"active": 83,
"skipped": 1,
"unbound": 0,
"xfail": 0
Expand All @@ -1303,5 +1315,5 @@
"xfail": 0
}
},
"total_requirements": 112
"total_requirements": 113
}
3 changes: 2 additions & 1 deletion CONFORMANCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ All four conformance classes (Producer, Consumer, Registry, Governance) carry ac
| Class | Active | Skipped | Xfail | Unbound |
|-------|-------:|--------:|------:|--------:|
| Producer | 12 | 0 | 0 | 0 |
| Consumer | 82 | 1 | 0 | 0 |
| Consumer | 83 | 1 | 0 | 0 |
| Registry | 1 | 0 | 0 | 0 |
| Governance | 16 | 0 | 0 | 0 |

Expand Down Expand Up @@ -139,6 +139,7 @@ All four conformance classes (Producer, Consumer, Registry, Governance) carry ac
| [req-tg-008](docs/src/content/docs/specs/openapm-v0.1.md#req-tg-008) | MUST | 8.5.3 | consumer | active | 1 |
| [req-tg-009](docs/src/content/docs/specs/openapm-v0.1.md#req-tg-009) | MUST | 8.5.1 | consumer | active | 1 |
| [req-tg-010](docs/src/content/docs/specs/openapm-v0.1.md#req-tg-010) | MUST | 8.5.4 | consumer | active | 1 |
| [req-tg-011](docs/src/content/docs/specs/openapm-v0.1.md#req-tg-011) | MUST | 8.5.5 | consumer | active | 2 |

## Waivers

Expand Down
4 changes: 2 additions & 2 deletions apm.lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions docs/public/specs/manifests/openapm-v0.1.requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,11 @@ requirements:
section: "8.5.4"
conformance_class: consumer
notes: "project-scoped native hooks use a portable project-directory environment anchor and reject shell-expansion path syntax"
- id: req-tg-011
keyword: MUST
section: "8.5.5"
conformance_class: consumer
notes: "a schema-bearing Agent Plugins v1 dependency is undeployable until a native lifecycle is machine-verifiable; the consumer fails closed with one diagnostic and an unchanged tree, uniformly across solo, mixed-batch, and dry-run installs"
- id: req-sc-001
keyword: MUST
section: "10.4"
Expand Down
15 changes: 11 additions & 4 deletions docs/src/content/docs/consumer/deploy-a-bundle.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Install a plugin-format bundle from a directory or archive without
---

You have a bundle on disk -- a directory or `.zip` someone handed you (or a
legacy `.tar.gz`), or the output of `apm pack --format plugin`. Drop it into a
legacy `.tar.gz`), or the output of `apm pack`. Drop it into a
project with one command:

```bash
Expand Down Expand Up @@ -36,8 +36,14 @@ my-bundle/
under `.github/plugin/`, `.claude-plugin/`, or `.cursor-plugin/`. For the
full schema see [Package anatomy](../../concepts/package-anatomy/).

:::note[Planned]
This flow deploys Claude plugin bundles (the default `apm pack` output).
Portable Agent Plugin bundles built with `apm pack --format agent-plugin` are not yet
deployable through `apm install` -- see [Package Types](../../reference/package-types/#agent-plugin-pluginjson-with-an-agent-plugins-schema).
:::

The optional `apm.lock.yaml` carries `pack.bundle_files` -- a SHA-256
manifest written by `apm pack --format plugin`. When present, APM verifies
manifest written by `apm pack`. When present, APM verifies
every listed file before deploying. When absent, older bundles still install
with a warning unless policy requires hashes. With
`security.integrity.require_hashes: true`, APM fails closed before deploy.
Expand Down Expand Up @@ -119,14 +125,15 @@ rejects these with a targeted error:
```
'./dist/my-pkg-0.1.0.tar.gz' was packed with '--format apm' (legacy
format). 'apm install <bundle>' requires the plugin format. Repack with
'apm pack --format plugin --archive', or use 'apm unpack' to deploy the
'apm pack --claude-plugin --archive', or use 'apm unpack' to deploy the
legacy bundle.
```

Two ways forward:

- **Repack.** If you own the bundle, run
`apm pack --format plugin --archive` and install the new artifact.
`apm pack --archive` (no format flag -- the default Claude plugin bundle)
and install the new artifact.
- **Unpack.** If you only have the legacy artifact, use `apm unpack
<bundle>` to extract it. `apm unpack` is deprecated and will be removed
in a future release; prefer repacking when you can.
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/enterprise/security.md
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ When APM deploys a file, it checks whether a file already exists at the target p
APM separates production and development dependencies:

- **Production dependencies** (`dependencies.apm`) are included in plugin bundles and shared packages.
- **Development dependencies** (`devDependencies.apm`, installed via `apm install --dev`) are resolved and cached locally but **excluded** from `apm pack` output (both plugin format -- the default -- and `--format apm`).
- **Development dependencies** (`devDependencies.apm`, installed via `apm install --dev`) are resolved and cached locally but **excluded** from `apm pack` output in every bundle format (the default Claude plugin format, the explicit Agent Plugin format, and the legacy `--format apm`).
- **Development MCP servers** in the root project's `devDependencies.mcp` are active for authoring, but the same section in a direct or transitive dependency package never propagates into the consumer's target config or provenance.

This prevents transitive inclusion of development-only packages (test fixtures, linting rules, internal helpers) in distributed artifacts. The lockfile marks dev dependencies with `is_dev: true` for explicit tracking. See the [Lock File Specification](../../reference/lockfile-spec/#42-dependency-entries) for field details.
Expand Down
28 changes: 21 additions & 7 deletions docs/src/content/docs/producer/pack-a-bundle.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ the registry resolver entirely.

## What `apm pack` produces

By default `apm pack` writes a plugin-format directory under `./build/`:
By default `apm pack` writes a Claude Code plugin directory under `./build/`:

```
build/<your-package>/
Expand All @@ -48,6 +48,14 @@ $ apm pack
[i] Share with: apm install build/my-pkg
```

Pass `--format agent-plugin` instead to opt into a portable [Agent Plugins v1](../../reference/cli/pack/#agent-plugin-bundle---format-agent-plugin)
bundle (`plugin.json` + `skills/` + `mcp.json` only, no Claude-specific
directories) for producers targeting Agent-Plugin-aware hosts beyond APM.
That format is stricter -- it fails before writing anything if your source
has agents, commands, instructions, extensions, hooks, or LSP config it
cannot represent -- and `apm install` does not deploy it yet. Use the
default Claude plugin bundle above for anything you need to install today.

Add `--archive` to get a single archive (`.zip` by default; use `--archive-format tar.gz`
for legacy CI pipelines) instead of a directory; use `-o` to change the output location
(default `./build`).
Expand Down Expand Up @@ -150,8 +158,8 @@ it:
```

When packing git dependencies, `apm pack` emits **only** what the
lockfile attests, in every format (`--format plugin` and the default
`--format apm`). Dependency content is sourced exclusively from the
lockfile attests, in every bundle format (the default Claude plugin format,
the explicit Agent Plugin format, and the legacy APM format). Dependency content is sourced exclusively from the
lockfile `deployed_files` list -- the `apm_modules` cache is never
packed, because it carries no provenance or integrity guarantee (it can
be stale, partial, or tampered). Each attested file is verified against
Expand Down Expand Up @@ -276,13 +284,19 @@ bundle. The root `apm pack` builds the marketplace index. See
**Do not use `--format apm` for bundles you expect consumers to install.**
The legacy APM bundle layout has no `plugin.json` and `apm install` rejects
it with a targeted error. The flag exists for tooling that still consumes
the older layout; new bundles should use the default `--format plugin`. If
you only have a legacy artifact, repack it:
the older layout; new bundles should use the default Claude plugin format
(no format flag needed). If you only have a legacy artifact, repack it:

```bash
apm pack --format plugin --archive
apm pack --archive
```

**`apm install` does not deploy Agent Plugin output yet.** `apm pack --format agent-plugin`
produces a valid, portable Agent Plugins v1 bundle, but installing one with
`apm install` fails closed today, pending native runtime integration. Use the
default Claude plugin bundle (or `--format apm` for legacy tooling) for
anything you need `apm install` to deploy.

**Do not set `--target`.** The flag is deprecated. Bundles are
target-agnostic: the consumer's project decides which harness layouts
receive files at install time. APM records the value in `pack.target` as
Expand All @@ -299,7 +313,7 @@ after `apm install`, its bytes no longer match the `deployed_file_hashes`
SHA-256 recorded in `apm.lock.yaml` and `apm pack` fails with
`... does not match the hash recorded in apm.lock.yaml`. A deleted file
raises a sibling error that also points at `apm install` (the exact
wording differs between `--format apm` and `--format plugin`). Run
wording differs between the legacy APM format and the plugin formats). Run
`apm install` to restore the attested content, then pack again.

**Dry-run before sharing.** Use `apm pack --dry-run --verbose` to see the
Expand Down
8 changes: 8 additions & 0 deletions docs/src/content/docs/reference/cli/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,14 @@ apm install ./my-bundle.zip --as custom-name
apm install ./my-bundle --target opencode
```

:::note[Planned]
This deploys Claude plugin bundles (the default `apm pack` output). A bundle
produced with `apm pack --format agent-plugin` (portable Agent Plugins v1) is not
deployable yet -- `apm install` fails closed and points you to a
Claude-compatible package instead. See
[Package Types](../../package-types/#agent-plugin-pluginjson-with-an-agent-plugins-schema).
:::

### Install only a subset of skills from a bundle

```bash
Expand Down
Loading
Loading