Repository navigation
docs: reground consumer, producer, integration and troubleshooting guides for 0.37 - #3950
Conversation
…ides for 0.37 Refs #3948. Wave 1 of the 0.37 docs sweep (docs-corpus-audit): guide pages outside reference/, excluding pages owned by in-flight #3918 and #3290. Co-authored-by: Copilot App <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
Unresolved documentation inaccuracies overstate frozen replay’s access and security guarantees and misdescribe marketplace-update partial success and migration failure conditions.
4 open issues
What changed in this PR
Updates APM’s guide documentation for 0.37 as part of #3948, complementing the reference and help-text updates in #3949. This PR changes documentation only.
Changes:
- Aligns target, MCP configuration, dependency update, and marketplace guidance with 0.37 behavior.
- Updates producer workflows, packing details, CI guidance, and migration troubleshooting.
- Corrects policy examples, documentation links, and adopter contribution guidance.
Paths below are relative to docs/src/content/docs/.
| File | Description |
|---|---|
troubleshooting/policy-debugging.md |
Corrects policy status and transport examples. |
troubleshooting/migration.md |
Adds 0.37 migration and lockfile guidance. |
troubleshooting/install-failures.md |
Clarifies refresh and marketplace revalidation. |
troubleshooting/compile-zero-output-warning.md |
Replaces singular target examples. |
troubleshooting/common-errors.md |
Adds seven refusal and recovery entries. |
producer/versioning-strategies.md |
Documents strict SemVer tag handling. |
producer/releasing-from-any-ci.md |
Corrects pack exit-code meanings. |
producer/publish-to-a-marketplace.md |
Narrows marketplace governance claims. |
producer/preview-and-validate.md |
Clarifies compile preview output. |
producer/pack-a-bundle.md |
Documents host manifests and newer-lockfile refusal. |
producer/index.md |
Uses marketplace installation syntax. |
producer/compile.md |
Updates aliases, output paths, and scan scope. |
producer/author-primitives/skills.md |
Adds the Grok Bot skills destination. |
producer/author-primitives/prompts.md |
Clarifies that compile does not scan prompts. |
producer/author-primitives/instructions-and-agents.md |
Corrects Grok rule paths and target spelling. |
integrations/ide-tool-integration.md |
Updates Copilot MCP and JetBrains guidance. |
integrations/ci-cd.md |
Updates version pinning, frozen replay, and committed outputs. |
integrations/canvas.md |
Makes a documentation link relative. |
guides/registries.md |
Clarifies registry naming and publish identity. |
guides/operating-installed-context.md |
Removes redundant install after update. |
getting-started/migration.md |
Covers target deprecation and MCP migration. |
getting-started/authentication.md |
Replaces deprecated update command examples. |
enterprise/policy-pilot.md |
Corrects the failure-semantics link. |
enterprise/enforce-in-ci.md |
Adds frozen-install guidance. |
enterprise/drift-detection.md |
Documents rebound marketplace alias refusal. |
contributing/development-guide.md |
Links the simplified adopter contribution path. |
consumer/update-and-refresh.mdx |
Explains marketplace refresh and locked replay. |
consumer/private-and-org-packages.md |
Notes the shorthand default-host override. |
consumer/manage-dependencies.md |
Covers host identity, collisions, and marketplace uninstall. |
consumer/install-mcp-servers.md |
Updates MCP paths and target refusal guidance. |
consumer/governance-on-the-consumer-ramp.md |
Makes the policy-boundary link relative. |
consumer/drift-and-secure-by-default.md |
Updates lockfile, scanning, and recovery guidance. |
consumer/authentication.md |
Documents ADO credential-helper outcome reporting. |
concepts/what-is-apm.mdx |
Identifies the shared root MCP configuration. |
concepts/the-three-promises.md |
Corrects baseline checks, commands, and reference links. |
concepts/package-anatomy.md |
Marks singular target: as deprecated. |
Review effort: Balanced
APM Review Panel:
|
| Persona | B | R | N | Takeaway |
|---|---|---|---|---|
| Doc Writer | 0 | 1 | 0 | My slice holds up against src/apm_cli: 0.37 claims, flags, paths and error strings match the code. One wording fix in ci-cd.md. |
| DevX UX Expert | 0 | 3 | 0 | All 7 new error quotes match source and both anchors resolve. Origin-conflict and frozen-replay scope are too narrow; three quotes drop trailing remedy lines. |
B = blocking-severity findings, R = recommended, N = nits.
Counts are signal strength, not gates. The maintainer ships.
Top 4 follow-ups
- [DevX UX Expert] In
enterprise/enforce-in-ci.md, qualify that--frozennever contacts the marketplace (locked entries owning MCP/LSP servers with noapm_modulescopy still read it on a fresh clone), and narrow the dependency-confusion "every path ... before any request" wording -- this page describes a secure-by-default and governed-by-policy guarantee. - [DevX UX Expert] In
troubleshooting/common-errors.md, widen the rebound-alias origin-conflict entry beyondapm update--require_locked_catalog_originruns whenever a marketplace dependency is not replayed from the lock. - [DevX UX Expert] In
troubleshooting/common-errors.md, restore the remedy lines cut from three quoted messages (MCP conflict--forceline,--frozenTip line, newer-lockfile upgrade lines) -- the page promises the exact string APM prints. - [Doc Writer] In
integrations/ci-cd.md, split the--frozenbullet into two sentences -- the chained clauses read as the opposite of the CI gate contract.
Recommendation
Fold all four fixes into this PR before it lands, starting with the enforce-in-ci --frozen and marketplace-contact qualification. After those edits, the Windows and lifecycle CI shards finish green, and Sergio Sisternes (@sergio-sisternes-epam) signs off as CODEOWNER, this wave is ready, and companion PR #3949 can close out the 0.37 sweep.
Full per-persona findings
Doc Writer
- [recommended] ci-cd.md
--frozenbullet chains three clauses with "and", so a reader can take it to mean--frozennever exits 1 atdocs/src/content/docs/integrations/ci-cd.md:256
The facts are correct (CHANGELOG fix(install): replay locked marketplace dependencies from the lockfile #3915,apm install --help); only the sentence structure is wrong.
Suggested: split into "... and never writesapm.lock.yaml. It exits1, naming the paths, if the install deploys files the lockfile does not record."
DevX UX Expert
- [recommended] Rebound-alias origin conflict is documented as
apm updateonly, but it fires on every marketplace re-resolve atdocs/src/content/docs/troubleshooting/common-errors.md:210
require_locked_catalog_origin(deps/apm_resolver.py) runs whenever a marketplace dependency is not replayed from the lock;--refreshskips replay. - [recommended]
enforce-in-ci.mdsays--frozennever contacts the marketplace; the dependency-confusion entry overstates "every path ... before any request" atdocs/src/content/docs/enterprise/enforce-in-ci.md:83
drift.pylets locked rows that own MCP/LSP servers with noapm_modulescopy read the marketplace; the confusion refusal runs after themarketplace.jsonfetch and before any plugin repository probe. - [recommended] Three new quoted messages are cut short with no "..." marker at
docs/src/content/docs/troubleshooting/common-errors.md:260
MCP conflict guidance adds--force does not take ownership of user connections.; the--frozenerror adds a Tip line; the newer-lockfile refusal adds upgrade lines.
This panel is advisory. It does not block merge. Re-apply the
panel-review label after addressing feedback to re-run.
Generated by autopilot-pr-review-worker. This comment is AI-generated and may contain errors.
Panel follow-ups on the 0.37 guides sweep: --frozen still reads the marketplace for packages whose MCP/LSP servers come from the entry when apm_modules is empty; the rebound-alias origin check fires on any marketplace re-resolve, not only apm update; the dependency-confusion refusal runs after the marketplace.json fetch and before any plugin repository probe. Restore the remedy lines APM prints for the newer-lockfile, --frozen selection and MCP conflict errors, use a version pair that can actually produce the newer-lockfile refusal, and split the ci-cd --frozen sentence so "never" does not carry to "exits 1". Addresses CEO follow-ups FU-1..FU-4 (devx-ux-expert, doc-writer). Co-authored-by: Copilot <[email protected]>
apm marketplace update refreshes caches only and keeps the ones that refreshed when another fails, so it is described apart from the apm update / --refresh "changes nothing" guarantee. Rows replayed from apm.lock.yaml skip the dependency-confusion check, and the 0.37 --frozen upgrade note now applies only when an older lock records a pairing that differs from what 0.37 resolves. Addresses Copilot inline on consumer/update-and-refresh.mdx:105, troubleshooting/common-errors.md and troubleshooting/migration.md:183. Co-authored-by: Copilot <[email protected]>
APM Review Panel:
|
| Persona | B | R | N | Takeaway |
|---|---|---|---|---|
| Doc Writer | 0 | 3 | 0 | The delta reads cleanly and fixes the ci-cd --frozen split. Three wording fixes: a comma-heavy clause, uneven MCP/LSP caveats, one overbroad cause. |
| DevX UX Expert | 0 | 2 | 0 | Folds are verbatim. Fix two scope claims: the MCP/LSP --frozen exception covers any server-owning package, and the origin conflict cannot fire for a new entry. |
B = blocking-severity findings, R = recommended, N = nits.
Counts are signal strength, not gates. The maintainer ships.
Top 4 follow-ups
- [DevX UX Expert, Doc Writer]
common-errors.md: drop the claim that a new entry can trigger the origin-conflict error -- the code returns early when there is no locked row. - [DevX UX Expert]
enforce-in-ci.md: widen the--frozenmarketplace-read exception to any package that contributes MCP or LSP servers, per package copy -- enterprise readers use this page to decide whether CI needs marketplace access. - [Doc Writer] Use the corrected per-package MCP/LSP sentence on
update-and-refresh.mdx,enforce-in-ci.mdandci-cd.md-- one canonical sentence prevents drift. - [Doc Writer]
drift-detection.md: rewrite the comma-heavy "fail, naming both origins" clause -- minor readability fix on an enterprise page.
Recommendation
Fold all four items in one small commit, then request a final look from Sergio Sisternes (@sergio-sisternes-epam) as CODEOWNER. No new panel round is needed unless the fold goes beyond these wording changes.
Full per-persona findings
Doc Writer
- [recommended]
fail, naming both originsreads comma-heavy atdocs/src/content/docs/enterprise/drift-detection.md:28
update-and-refresh.mdxalready states the same fact more cleanly; the pages should match. - [recommended] The MCP/LSP fresh-checkout caveat is worded three ways at
docs/src/content/docs/consumer/update-and-refresh.mdx:109
The rule is per package (drift.pylocked_marketplace_replay); one sentence on all three pages. - [recommended] The origin-conflict Cause says a new entry can trigger it at
docs/src/content/docs/troubleshooting/common-errors.md:214
marketplace/catalog_origin.pyreturns early when the lockfile has no rows for the alias/plugin pair.
DevX UX Expert
- [recommended] The
--frozenmarketplace-read exception is wider than documented atdocs/src/content/docs/enterprise/enforce-in-ci.md:84
_owns_locked_serversmatches any MCP/LSP provenance for the package, including servers from its ownapm.yml, and checks that package's copy underapm_modules/. - [recommended] The origin-conflict Cause lists new entries at
docs/src/content/docs/troubleshooting/common-errors.md:214
Only changed entries,apm update,apm install --refreshand catalog-metadata re-resolves reach the check.
This panel is advisory. It does not block merge. Re-apply the
panel-review label after addressing feedback to re-run.
Generated by autopilot-pr-review-worker. This comment is AI-generated and may contain errors.
The marketplace read under --frozen applies to any package that contributes MCP or LSP servers whose copy under apm_modules/ is missing, so one per-package sentence now carries it on all three pages. The origin-conflict check only fires for an entry the lock already records, so a brand-new entry is no longer listed as a trigger. Addresses delta panel follow-ups (devx-ux-expert, doc-writer). Co-authored-by: Copilot <[email protected]>
A package that contributes MCP or LSP servers re-resolves through the marketplace when its apm_modules copy is missing, so plain and --frozen installs on a fresh checkout can also hit the origin-conflict check. Mark the trigger list as examples and include that case. Addresses terminal delta panel follow-up (devx-ux-expert). Co-authored-by: Copilot <[email protected]>
APM Review Panel:
|
| Persona | B | R | N | Takeaway |
|---|---|---|---|---|
| Doc Writer | 0 | 0 | 0 | All three folds resolve the ad78280 findings: one MCP/LSP caveat sentence on all three pages, clean drift prose, scoped Cause. Added lines are ASCII; ship. |
| DevX UX Expert | 0 | 1 | 0 | Both folds match the code. One gap remained (fresh-checkout MCP/LSP install as an origin-conflict trigger); folded in 210faf0. |
B = blocking-severity findings, R = recommended, N = nits.
Counts are signal strength, not gates. The maintainer ships.
Recommendation
Ship once CODEOWNER Sergio Sisternes (@sergio-sisternes-epam) signs off; CI is green on 210faf0. All in-scope findings are folded and nothing is deferred. Track companion #3949 so reference, apm-usage and help text read the same for 0.37.
Folded in this run
- (panel)
--frozenstill reads the marketplace for MCP/LSP-contributing packages on a fresh checkout; dependency-confusion refusal scoped to marketplace resolution before any plugin repository probe -- resolved in 52f3529. - (panel) Rebound-alias origin conflict fires on any marketplace re-resolve, not only
apm update-- resolved in 52f3529. - (panel) Restored remedy lines APM prints (newer-lockfile upgrade lines,
--frozenTip, MCP conflict--forceline); newer-lockfile example now 0.38.0/0.37.0 -- resolved in 52f3529. - (panel)
ci-cd.md--frozensentence split so "never" does not carry to "exits 1" -- resolved in 52f3529. - (copilot)
apm marketplace updatedescribed as cache-only with partial success and exit 1 -- resolved in ad78280. - (copilot)
--frozenno-marketplace-access claim qualified -- resolved in 52f3529. - (copilot) Replayed lock rows skip the dependency-confusion check;
apm updatere-resolves them -- resolved in ad78280. - (copilot) 0.37
--frozenupgrade note limited to older locks whose recorded pairing differs -- resolved in ad78280. - (panel) Origin conflict cannot fire for a brand-new entry -- resolved in 8b18f91.
- (panel) One per-package MCP/LSP
--frozencaveat sentence on three pages -- resolved in 8b18f91. - (panel)
drift-detection.mdorigin-conflict clause rewritten -- resolved in 8b18f91. - (panel) Fresh-checkout MCP/LSP install named as an origin-conflict trigger -- resolved in 210faf0.
Copilot signals reviewed
docs/src/content/docs/consumer/update-and-refresh.mdx:105-- LEGIT:apm marketplace updatekeeps refreshed caches and exits 1 naming failures (resolved in ad78280).docs/src/content/docs/enterprise/enforce-in-ci.md-- LEGIT: the catalog-metadata path reads the marketplace under--frozenwhen the package copy is missing (resolved in 52f3529).docs/src/content/docs/troubleshooting/common-errors.md-- LEGIT: lock replay returns beforeadmit_marketplace_resolution(resolved in ad78280).docs/src/content/docs/troubleshooting/migration.md:183-- LEGIT:frozen_selection_changesonly refuses when the recorded pairing differs (resolved in ad78280).
Lint contract
ruff check src/ tests/ and ruff format --check src/ tests/ both silent (no Python changed); bash scripts/lint-architecture-boundaries.sh exit 0; owner-touch gate: zero canonical owners touched.
CI
All 29 checks on 210faf0 completed: 26 success, 2 neutral, 1 skipped (after 0 CI fix iteration(s)).
Mergeability status
| PR | head SHA | CEO stance | iters | folds | defers | Copilot rounds | CI | mergeable | mergeStateStatus | notes |
|---|---|---|---|---|---|---|---|---|---|---|
| #3950 | 210faf0 |
ship_now | 3 | 12 | 0 | 2 | green | MERGEABLE | BLOCKED | pending required review |
Convergence
3 outer iteration(s); 2 Copilot round(s). Final panel stance: ship_now. Ready for maintainer review.
This panel is advisory. It does not block merge. Re-apply the
panel-review label after addressing feedback to re-run.
Generated by autopilot-pr-merge-worker. This comment is AI-generated and may contain errors.

Description
TL;DR — Wave 1 of the 0.37 docs sweep for the guide pages: consumer, producer, getting-started, concepts, guides, integrations, contributing, enterprise and troubleshooting. Every edit is a surgical fix checked against
src/apm_cliorapm <verb> --help. Pages owned by in-flight #3918 and #3290 are not touched. Companion of #3949 (reference + help text).Problem (WHY)
The guides described pre-0.37 behaviour (see
CHANGELOG.md[Unreleased]):.mcp.jsonfor Copilot (shared with Claude Code), thevscodealias, VS Code Local mode losing MCP, or thatintellijcannot be recorded (feat!: Copilot project MCP in root .mcp.json; vscode a deprecated alias; drop apm manifest migrate #3875, fix(manifest): bootstrap never writes unreadable targets; plain dependency and target errors #3873/fix(manifest): extract the bootstrap manifest owner; refuse IDE targets in apm.yml #3882).--refresh/apm update/apm marketplace updaterevalidation, and the rebound-alias failure were missing or wrong (fix(install): replay locked marketplace dependencies from the lockfile #3915, fix(marketplace): explicit refresh revalidates catalogs or fails (#3279) #3910, fix(marketplace): record catalog origin in the lock; fail closed on rebound aliases #3917).owner/repo(fix(install): reject one owner/repo from two hosts before fetching (#3696) #3895),*.ghe.combarerepo:(fix(marketplace): apply the #1326 dependency-confusion check on every install path #3923),--frozendiamond selection (feat(deps): exact per-edge skills x targets pairing for diamonds (req-rs-018) #3769), and the.mcp.jsonconflict hint (fix(mcp): name the plugin path APM writes in .mcp.json conflict hints #3930).apm install --updateand singulartarget:were still shown as current, andapm packwriting.codex-plugin/plugin.json(feat(pack): generate .codex-plugin/plugin.json for targets: [codex] #3906) was not mentioned.Approach (WHAT) / Implementation (HOW)
consumer/*(7 pages)default_hostshorthand, the port identity key, two-host collision,apm uninstall plugin@marketplace(#3933), ADO credential-helper reporting (#3818), and the newer-lockfile refusalproducer/*(10 pages)plugin.jsonand the newer-lockfile pitfall in pack; compile no-op targets and thevscodealias; the grok-build rules filename; the scope of compile's hidden-Unicode scan; SemVer leading zeros (#3894); pack exit codes; the marketplace governance claim corrected (no registration policy, no signing)getting-started/*,concepts/*,guides/*target:deprecation, quoting the real warning; the root.mcp.jsonmove; 9 baseline checks with real names;apm updatereplaces--update; the redundantapm installafterapm updateremoved;publish --packagehost identityintegrations/*,contributing/*copilotwithvscodealias), CI notes (version pin vs newer lockfile,--frozenreplay, commit.mcp.json), and the ADOPTERS no-ceremony path (#3935)enterprise/*,troubleshooting/*--frozenin enforce-in-ci; #3917 in drift-detection; policy-debugging example strings; one misdirected linkTrade-offs
troubleshooting/common-errors.mdis the single home for the new error entries.reference/common-errors.md(docs(reference): reground CLI reference, apm-usage and help text for 0.37 #3949) only links to it, so the entries are not duplicated.concepts/glossary,lifecycle,primitives-and-targets,consumer/install-packages,installing-from-marketplaces,enterprise/{apm-policy,governance-guide,policy-reference,security}and the two author-primitives pages are owned by feat(security): portable, content-pinned approval for dependency executables (#3902) #3918/fix(claude): install intact user plugins through Claude settings, owned by the lock #3290 and deferred to the follow-up.Issue and approved scope
Issue: Refs #3948
Human scope-approval comment: #3948 (comment)
Does this PR complete the issue, or what remains? Partial. #3949 and the #3918/#3290 follow-up remain.
Type of change
Testing
Validation evidence
uv run apm <verb> --help, asrc/apm_cligrep, or a live temp-project run (init/install/compile/pack), following the docs-corpus-audit S7 method.#anchorwas checked to resolve to an existing page and heading.Changelog
## [Unreleased]inCHANGELOG.mdSpec conformance (OpenAPM v0.1)
How to test
troubleshooting/common-errors.md→ Install: each new 0.37 entry quotes a string you can grep insrc/apm_cliconsumer/update-and-refreshmatchesapm install --help(--refresh) andapm marketplace update --helpCo-authored-by: Copilot [email protected]