Repository navigation
fix(0.37): product fixes found while rebuilding the docs [PR D of #3994] - #4004
Daniel Meppiel (danielmeppiel) merged 36 commits into
Conversation
apm-spec-waiver: implementation fixes inside existing req-lk-017 and registry-only semantics; no new normative behavior Co-authored-by: Copilot App <[email protected]>
5ecf6fc to
f12a825
Compare
apm-spec-waiver: implementation fixes inside existing req-lk-017 and registry-only semantics; no new normative behavior Co-authored-by: Copilot App <[email protected]>
APM Review Panel:
|
| Persona | B | R | N | Takeaway |
|---|---|---|---|---|
| Python Architect | 0 | 2 | 2 | Owner discipline holds: one hash verifier, one console factory, one restore hint. Header-hold is split across logger, template, and a stashed source attribute, and drops verbose ordering. |
| Test Coverage Expert | 0 | 3 | 0 | Each kept #3994 item has a regression trap; --frozen proven per primitive with the real binary. Gaps: MCP egress at CLI level, skill-adoption lifecycle, header ordering wiring. |
| Supply Chain Security Expert | 0 | 3 | 1 | Frozen pre-write gate and proxy-only refusals mostly fail closed. Gaps: manifest-declared MCP registry egress, symlinked deployed files, SBOM hash semantics. |
| Auth Expert | 0 | 1 | 2 | Marketplace refusals fire before AuthResolver and send no credentials; Codex URL correct for GHE/GHES. apm.yml registry: URLs bypass registry-only mode. |
| Cli Logging Expert | 0 | 1 | 2 | ASCII console routing and held header correct by default; --verbose prints 'Package type' before its header. Tighten the unpinned hint. |
| Devx Ux Expert | 0 | 2 | 1 | --frozen CI contract and refusal messages are sound. Fix duplicate CHANGELOG lines; lead restore guidance with delete+reinstall, not --force. |
| Doc Writer | 0 | 2 | 1 | Reference docs match the code; CHANGELOG has duplicate lines; ci-cd page still gives old frozen recovery advice (superseded by the #3996 restack). |
| Performance Expert | 0 | 2 | 1 | No O(n^2). Gate the native-skill adoption walk to the would-collide branch; reuse the parsed lockfile in the --frozen hash passes. |
B = blocking-severity findings, R = recommended, N = nits.
Counts are signal strength, not gates. The maintainer ships.
Top 5 follow-ups
- [Supply Chain Security Expert] IN SCOPE, fold now: under PROXY_REGISTRY_ONLY, refuse MCP registry egress when the URL comes from a per-dependency apm.yml
registry:entry (source 'explicit'); allow only flag/env/config sources (or an explicit URL equal to them), with unit tests. Auth-expert found the same issue. -- The 0.37: product fixes found while rebuilding the docs #3994 done-when promises refusal of MCP registry egress on all hosts; today any manifest author can bypass it. - [Test Coverage Expert] IN SCOPE, fold now: real-binary case in tests/integration/test_registry_only_enumeration_contract.py proving
apm installrefuses MCP egress under PROXY_REGISTRY_ONLY and leaves apm.yml unchanged; manifest-driven operations.py path handles RegistryEgressRefusedError; unit test for the fetch_raw no-proxy branch. -- The policy-enforcement promise has no real-binary evidence; without it the fix above has no regression trap. - [Supply Chain Security Expert] IN SCOPE, fold now: verify_deployed_file_hashes must treat a locked file replaced by a final-component symlink as unresolved (do not follow it), so
--frozenand audit fail; add a case to the per-primitive frozen lifecycle test. -- This PR makes the verifier the pre-deploy frozen gate, so the old skip now silently satisfies the deployed-hash promise. - [Auth Expert] IN SCOPE, fold now: strip the query string from the url-kind marketplace refusal message; keep the refusal out of the stale-cache 'Network error' path. -- The new refusal message can print SAS tokens into CI logs, and the network-error path names the wrong cause.
- [Devx Ux Expert] IN SCOPE, fold now: restore guidance (frozen tip, shared hint, content-integrity remedy, CHANGELOG note) leads with 'delete the listed files and rerun apm install, then commit'; present --force second and say it also bypasses critical security findings. -- Otherwise remediation points users at an override that also disables security checks.
Also in scope (CEO items 6-9): route package_type_info through the header hold plus an integrate-level ordering test; dedupe and shorten CHANGELOG lines; label the SBOM tree hash; gate the native-skill adoption walk and add the adoption lifecycle e2e. Deferred (crosses scope): move held-header storage into the logger keyed by dep_key, widen the console-guard regex, rename the serialized_lifecycle_unless parameter.
Architecture
classDiagram
direction LR
class CommandLogger {
<<BaseClass>>
}
class InstallLogger {
<<CollectThenRender>>
+download_complete(dep_name, ref, sha)
+package_auth(source, token_type)
+package_type_info(label)
+held_package_header() Iterator
-_emit_or_hold(emit)
}
class DependencySource {
<<Strategy>>
+acquire() Materialization
}
class IntegrationTemplate {
<<TemplateMethod>>
+prepare_integration_materialization(source)
+announce_package(source)
+run_integration_template(source)
}
class ConsoleOwner {
<<Factory>>
+new_console(kwargs) Console
+_get_console() Console
}
class AsciiConsole {
+encoding str
}
class InstallService {
+run(request)
-_enforce_frozen_deployed_hashes(request, deployed)
}
class CiChecks {
<<CanonicalOwner>>
+verify_deployed_file_hashes(root, lock, targets)
}
class LocalEdits {
<<CanonicalOwner>>
+restore_locked_content_hint(subject) str
}
class SkillIntegrator {
+_integrate_native_skill()
}
class SkillAdoption {
<<CanonicalOwner>>
+tree_equals_install_output()
}
CommandLogger <|-- InstallLogger
IntegrationTemplate ..> InstallLogger : opens hold
IntegrationTemplate ..> DependencySource : acquires
ConsoleOwner ..> AsciiConsole : builds
InstallService ..> CiChecks : pre and post verify
InstallService ..> LocalEdits : tip
SkillIntegrator ..> SkillAdoption : adopt identical tree
flowchart TD
A["apm install --frozen"] --> B["InstallService.enforce_frozen reads apm.lock.yaml"]
B --> C["_enforce_frozen_deployed_hashes deployed=False"]
C --> V1["ci_checks.verify_deployed_file_hashes"]
V1 -->|drift| E1["FrozenInstallError: nothing was deployed"]
V1 -->|clean| D["phases/integrate.run"]
D --> P["template.prepare_integration_materialization holds header"]
P --> R["run_integration_template: announce_package then integrate"]
R --> IG["SkillIntegrator._integrate_native_skill"]
IG --> AD{"tree equals install output?"}
AD -->|yes| CP1["copy with unchanged=True"]
AD -->|no| CC["check_collision then copy"]
R --> N["_enforce_frozen_no_rewrite"]
N --> C2["_enforce_frozen_deployed_hashes deployed=True"]
C2 --> V2["ci_checks.verify_deployed_file_hashes"]
V2 -->|drift| E2["FrozenInstallError: rendering changed"]
V2 -->|clean| OK["exit 0"]
Recommendation
Fold the nine in-scope follow-ups into this PR before it lands, and defer the header-ownership refactor. Highest signal: the PROXY_REGISTRY_ONLY explicit-registry bypass and the frozen-gate symlink skip, with their real-binary and lifecycle tests. After the restack onto #3996, require a green CI run (none has run on this stacked PR), and confirm the test_no_policy_flag base failure is fixed in #3992 rather than carried into 0.37.
Full per-persona findings
python-architect (summary: Owner discipline holds: one hash verifier, one console factory, one restore hint. Header-hold is split across logger, template, and a stashed source attribute, and drops verbose ordering.)
- recommended: Header hold is per-method opt-in, so verbose 'Package type' prints above its own held [+] header (command_logger.py:552 package_type_info not routed through _emit_or_hold). Fix: route it; add multi-package verbose order test.
- recommended: Held header storage split across three owners via ad-hoc source._held_header_lines; prefer logger keyed by dep_key (held_package_header(dep_key)/release_package_header(dep_key)), declare _held_header in init.
- nit: ci_checks content-integrity remedy hand-writes restore wording instead of restore_locked_content_hint; frozen pre-deploy tip tells --force users to run --force.
- nit: serialized_lifecycle_unless param name says read-only but 'write' is mutating; console guard regex misses aliased imports.
diagrams: class_diagram + component provided.
test-coverage-expert (summary: Each kept #3994 item has a regression trap. --frozen proven per primitive with the real binary. Gaps: MCP egress refusal at CLI level, skill-adoption lifecycle, header ordering wiring.)
- recommended: no real-binary test that PROXY_REGISTRY_ONLY refuses MCP egress via apm install and leaves apm.yml unchanged; operations.py path (manifest-driven) only catches RequestException; fetch_raw no-proxy branch untested. Suggest case in tests/integration/test_registry_only_enumeration_contract.py + unit for fetch_raw.
- recommended: no e2e for adopted identical unmanaged skill through install -> frozen edit -> uninstall ownership.
- recommended: header ordering across template/integrate tested only at logger level; add integrate-level two-package order test.
supply-chain-security-expert (summary: Frozen pre-write gate, proxy-only marketplace/MCP refusals and skill adoption mostly fail closed. Gaps: manifest-declared MCP registry egress, symlinked deployed files, SBOM hash semantics.)
- recommended: PROXY_REGISTRY_ONLY still allows direct MCP calls to a per-dependency registry: URL in apm.yml (source 'explicit'); allow only flag/env/config (or explicit equal to them).
- recommended: verify_deployed_file_hashes skips a locked file replaced by a symlink (pre-existing skip at ci_checks.py:732), so --frozen/audit pass; treat final-component symlink as unresolved.
- recommended: SBOM hashes emit APM tree hash as plain SHA-256 that tools cannot reproduce; label algorithm (CycloneDX property / SPDX comment) and document.
- nit: proxy-only refusal in fetch_marketplace falls into stale-cache 'Network error' path.
auth-expert (summary: Marketplace refusals fire before AuthResolver and send no credentials. Codex URL correct for GHE/GHES. MCP refusal still lets apm.yml registry: URLs bypass registry-only mode.)
- recommended: same as supply-chain Why do we need a GitHub token? #1 (explicit manifest registry bypass); suggests allow {'flag','env','config'} or explicit equal to env/config URL; unit test.
- nit: marketplace refusal caught by generic handler -> stale cache / freshness hint.
- nit: url-kind refusal message prints display_source with query string (SAS tokens); strip query.
cli-logging-expert (summary: ASCII console routing and held header correct by default, but --verbose prints 'Package type' lines before their headers. Tighten the unpinned hint.)
- recommended: same as architect Why do we need a GitHub token? #1 (package_type_info not held).
- nit: unpinned warning self-contradicts (unpinned vs lockfile pins); suggest "tracks a branch ... add # (or #) so 'apm update' does not move it".
- nit: held headers dropped on early exits (intended? test it).
devx-ux-expert (summary: --frozen CI contract and refusal messages sound. Fix duplicate CHANGELOG lines; steer restore guidance to delete+reinstall instead of --force.)
- recommended: --force also bypasses critical security findings; lead with delete+reinstall locally then commit; CHANGELOG upgrade note mentions only --force.
- recommended: CHANGELOG Fixed has 3 duplicate fix(0.37): product fixes found while rebuilding the docs [PR D of #3994] #4004 lines.
- nit: init --apply --plugin error names --discover; fetch_raw refusal lacks next action.
doc-writer (summary: Reference docs match the code, but CHANGELOG has duplicate lines and ci-cd page still gives old frozen recovery advice.)
- recommended: CHANGELOG duplicates; two lines over 25 words (frozen upgrade note, 'Help and hints').
- recommended: integrations/ci-cd.md:256 and enterprise/governance-guide.md:318 describe old frozen behavior (not replaced by docs: zero-based redesign around the agent supply chain #3996 restack? note: per docs: zero-based redesign around the agent supply chain #3996 page map both pages are deleted/merged into consumer/run-in-ci.mdx and enterprise/security.md, which the CDO patch already updates).
- nit: common-errors drift example shows both hint lines; add entry for the new frozen pre-deploy error.
performance-expert (summary: No O(n^2). Gate the native-skill adoption walk to the would-collide branch, reuse parsed lockfile in --frozen hash passes.)
- recommended: tree_equals_install_output runs on every existing native skill dir incl. managed warm reinstall; gate to may_collide (exists, not force, not session_owned, unmanaged). Latent: rendered-vs-raw compare could flip rendered links on managed path (unverified).
- recommended: --frozen parses apm.lock.yaml 4x (was 2); pass parsed LockFile.
- nit: header hold/ASCII/egress guards negligible cost.
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.
f12a825 to
d524fe2
Compare
apm-spec-waiver: implementation fixes inside existing req-lk-017 and registry-only semantics; no new normative behavior Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
apm-spec-waiver: implementation fixes inside existing req-lk-017 and registry-only semantics; no new normative behavior Co-authored-by: Copilot App <[email protected]>
…#3994) Co-authored-by: Copilot App <[email protected]>
Proxy-only refuses manifest-declared MCP registries; marketplace refusals get their own error type and never leak query strings; the frozen hash gate never trusts a symlinked locked file and exempts only receipt-proven stale output; restore guidance leads with delete and reinstall; verbose package lines stay under their header; SBOM hashes name their algorithm; native-skill adoption runs only on would-be collisions. Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
…3994) Co-authored-by: Copilot App <[email protected]>
…bulk-trust offer (#3994) - 'Share with: apm install ./build/...' spells a path, not owner/repo. - 'apm plugin init' tells authors to run 'apm install' before 'apm pack'. - Warning continuation lines (remediation commands) are never hard-wrapped. - 'apm approve --recommended' is offered only when the org policy declares an executables.recommend set. Co-authored-by: Copilot App <[email protected]>
…d folds names (#3994) P3 policy bypass names APM_POLICY_DISABLE=1, P7 outdated never clips names, P9 pack --json reports the bundle, P10 uninstall states the bundle limitation, P15 init target comment lists the config default. Co-authored-by: Copilot App <[email protected]>
89181ff to
bd59968
Compare
…t compile output (#3994) R3-S1 Windsurf project installs name ~/.codeium/windsurf/mcp_config.json, R3-S2 compile names .agents/skills/ for cursor/gemini/opencode, R3-S3 no GEMINI.md stub importing a missing AGENTS.md, R3-N1 OpenCode/VS Code product names, R3-N2 URLs never hard-wrapped; compile --clean drops its self-referential hint and an empty project gets 'No instructions to compile'. Co-authored-by: Copilot App <[email protected]>
…ects, honest explain (#3994) P4 'apm uninstall <server>' names the removal route, P8 -g warns only for selected targets after resolution, P12 warn-mode audit --ci shows [!] with the named subjects, P14 policy explain no longer promises deployment. Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
…output Applies the CDO's docs-patch-4004-delta3 (enterprise/apm-policy.mdx). Co-authored-by: Copilot App <[email protected]>
…t; ASCII messages; outdated fits 80 cols (#3994) - u1-26 regression: project MCP installs print '| +- wrote: .mcp.json (...)' for root .mcp.json harnesses (e2e, mutation-checked) - Q3: a Claude-only plugin scaffold advertises only --format claude-plugin - '1 reports violations' singular in warn-mode audit - em dashes in user-facing strings (packer, plugin_exporter, gate, publish, base_integrator, policy_checks) -> '--' - P7: outdated column minimums apply only when they fit; all columns fold Co-authored-by: Copilot App <[email protected]>
The P3 fold dropped the '--no-policy for one-off bypass' hint from install refusals. InstallLogger now carries its real command (update passes command='update'); the owner renders --no-policy for install and the one-shot APM_POLICY_DISABLE=1 prefix only where the flag is absent. test_policy_refusal_stderr_lifecycle asserts the bypass per command. Co-authored-by: Copilot App <[email protected]>
…ain step 6d3b4f5) Co-authored-by: Copilot App <[email protected]>
PR microsoft#4004 renders all Rich tables with ASCII borders (encoding rule); the release-only binary smoke test still required a Unicode border. Assert the package row inside the ASCII table instead, keeping the wide-cell coverage. Co-authored-by: Copilot App <[email protected]>
Four merge_group-only e2e tests still asserted pre-microsoft#4004 output: - global scope: -g warns only for selected targets (P8); gemini tests now assert real ~/.gemini deploys and no scope warning - audit hermetic: MagicMock check needs warned=False (real field is bool) - export-patch: plain install (frozen refuses drifted files first) - marketplace https rewrite: never-registered add retries with 'add' Co-authored-by: Copilot App <[email protected]>
Description
TL;DR
Fixes the product defects the docs redesign hit while running every documented command from source (issue #3994, items numbered as in the issue). The two behavior changes users notice:
apm install --frozennow fails before deploying on any edited deployed file of every primitive type, andPROXY_REGISTRY_ONLY=1now also refuses direct MCP-registry and marketplace-catalog egress. Everything else is output and help-text correctness, SBOM identity, and one skill-adoption gap. Each fix lives at its canonical owner, with a regression test that fails on the base.Note
Base: #4024 (
danielmeppiel-3995-user-scope-bundle-rows), merged in at 10740d2 together with #4026cda2a5b and #39928a1de96. Stack: #3996 <- #3989 <- #3992 <- #3290 <- #4008 <- #4026 <- #4024 <- this PR <- #3997 <- #4051 <- #3998.Problem (WHY)
--frozenjudged deployed hashes only after the pipeline. Instruction, agent and command integrators rewrite an edited file first, so an edited.claude/rules/*.mdpassed--frozenwith exit 0, while an edited skill (kept by its integrator) failed.PROXY_REGISTRY_ONLY=1blocked package downloads on every host, but MCP lookups went straight tohttps://api.mcp.github.com. Marketplace catalogs from Azure DevOps, generic git and URL sources, and GitHub catalogs withoutPROXY_REGISTRY_URL, were also fetched direct.pkg:generic/<name>@<sha>for every default-host GitHub dep (the lock records host-lessowner/repoplushost: github.com), with no hashes, contradictingreference/cli/lock.md..claude/skills/<name>/already byte-identical to the package was "skipped", andapm auditthen reported drift. Sub-skills were adopted; native skills were not.[+]headers stacked above the first package's tree, which misattributed lines (the "duplicate skill integrated" report). Marketplace headers printed the ref twice.Approach (WHAT)
--frozenInstallService._enforce_frozen_deployed_hashesruns before the pipeline (all primitive types) and again after it (re-render, #3654); both runs shareverify_deployed_file_hashes. The tip andauditdrift text name the real restore: delete andapm install, orapm install --force(local_edits.restore_locked_content_hint). The help text describes the check.SimpleRegistryClientrefuses the default registry underis_enforce_only(); a configuredMCP_REGISTRY_URLstays allowed. Marketplace_refuse_direct_egressrefuses non-local catalogs without a proxy route. The policy fetch stays direct (documented: governance channel).export/purl.pyreads the recordedhost, adds#subpathfor subdirectory packages;sbom.pyemits SHA-256hashes/checksumsand SPDXfilesAnalyzed: false.skill_adoption.tree_equals_install_output(same predicate family as sub-skills).InstallLogger.held_package_header()holds[+]and auth lines during acquisition;template.announce_packagereleases them right before that package's tree.download_completenever repeats a ref already spelled in the name.utils/console.new_console()is now the single Rich console constructor and reportsasciiencoding, so boxes, rules and panels render as ASCII. A new static guard forbids constructingrich.console.Consoleanywhere else.marketplace browseprints a list, so install names are never truncated.bin/refusal reported only for plugins that shipbin/; unpinned warning credits the lockfile pin and suggests a semver range such as#^1.0.0(a literal#v1.0.0pins).audit --policyloses[experimental]; root help dropsapm run;init --applyimplies--discover;plugin initwrites a commented# license: MITline (no license chosen, per #3799).marketplace_authoringexperimental flag.path: .github/pluginis the manifest folder, not the plugin root). The error now names plugin, path and that cause, and stops leaking the staging path._codex_remote_urlemitshttps://<default_host>/<owner>/<repo>.Red-team round 3 and docs re-check folds
Plain-user journeys on the release train found more natural-path UX defects in #3994's scope. Each is fixed at its owner and has a regression test.
packshares each format with the command that accepts it (./build/...path;apm unpackfor--format apm; the apm.yml route for agent-plugin).unpacknames a plugin-format bundle and points toapm install(bundle/unpacker.py).APM_POLICY_DISABLE=1(works forapm update, which has no--no-policy).apm uninstall <server>names the removal route: rootdependencies.mcp, the owning package, or a local bundle (uninstall/engine._mcp_server_hint).utils/console._AsciiConsole._render_buffer), width-preserving.outdatedfolds package names.install -gwarns only about primitives the selected targets skip, after target resolution (core/scope.warn_unsupported_user_scope(targets)).pack --jsonfillsbundle.path/bundle.files.apm install <bundle-path>as the restore (local_edits,ci_checks,drift_render).audit --cishows[!]with the named subjects (CheckResult.warned, text only).policy explainno longer says a disabled executables gate means the package deploys.initlistsapm config set targetin the precedence comment; its install step adds-t <harness>when nothing resolves a target.--format agent-pluginpacks a dependency-free scaffold without a lock (bundle/agent_plugin_exporter.py); the "Lock before packing" step is gone.security/executables.trust_remedy).#^1.0.0; a test follows the hint through parse and resolve.deps listskips the lock's virtual self-entry (LockFile.get_package_dependencies).mcp showoffersapm install --mcp <name>, no "coming soon", no toolsets claim forio.github.*.runpassesexeconce for the documented Codex script and no literal<tollm.auth/deps why/publishhelp keep one command per line (new help-wide control-byte guard); failed firstmarketplace addsays rerun add; Git errors stop citing unprinted stderr;finderrors go to stderr and explain compiled roots;previewrepeats--param; reference fixes (config set --,~/.agents/skills,vscodealias,--no-force-instructions).~/.codeium/windsurf/mcp_config.json(adapteruser_wide_config_display); compile names.agents/skills/for cursor/gemini/opencode; noGEMINI.mdimporting a missingAGENTS.md; product harness names via_remote_shapes.harness_label; URLs never hard-wrapped.[+]headers..claude/rules/-served compiles;compile --cleandrops its self-referential hint.Behavior changes reviewers should know:
install -gno longer lists unrelated targets' unsupported primitives (tests updated to that contract);pack --format agent-pluginno longer requires a lock when no dependencies are declared;apm unpackrefuses plugin-format bundles with a pointer toapm install; thepackshare line differs per format.Not reached (runbook): "Cleaned N stale deployed files" counts skill directories as files (renaming the noun ripples through 22 parametrized assertions). Q1 is fixed in #3992. Delta-panel deferrals for 0.38: GEMINI.md retire helper in root_context_protection, a template-owned held-header context manager, one owner for harness labels and the Windsurf path.
Dropped / covered elsewhere
apm init)..apm-local/already self-ignores via its own.gitignore(*);git statusstays clean.bin/message saysexecutables.allow;allowExecutablesappears only in parse errors for that deprecated key.mode:. It is blocked on a non-pusher approval (branch rule; no admin bypass on this account), so it is not merged and v1.0.1 is not tagged yet.Trade-offs
--frozenonly needs one answer. A dev with stale gitignored local files and a newer lock now gets a--frozenfailure; plainapm installis unaffected.box=ASCII. One decision, one owner, plus a guard. Rich's U+2026 truncation is rewritten to ASCII dots of the same width, so columns stay aligned;browse,deps listandoutdatedfold long names instead.PROXY_REGISTRY_URLalready scopes trust.Benefits
apm install --frozengives one answer for every primitive type, matchingapm audit --ci.PROXY_REGISTRY_ONLY=1now has no direct egress for dependency content, catalogs or the public MCP registry.pkg:githubwith hashes; subdirectory packages no longer collide on onebom-ref.Issue and approved scope
Issue: Fixes #3994
Human scope-approval comment: #3994 (comment) (Daniel Meppiel (@danielmeppiel),
apm-scope:v1).Does this PR complete the issue? Yes for the microsoft/apm side. The sample-package half is microsoft/apm-sample-package#7, which still needs a non-pusher approval and the
v1.0.1tag after merge.Type of change
Testing
Scenario evidence
--frozen, nothing deployed,--forcerestorestests/integration/test_frozen_deployed_hash_lifecycle.py::test_frozen_fails_on_edit_of_every_primitive_typetests/unit/test_registry_client.py::TestRegistryOnlyEgresstests/unit/marketplace/test_marketplace_client.py::TestProxyOnlyRefusesDirectCatalogEgresspkg:github+ subpath + SHA-256tests/unit/export/test_purl.py,tests/unit/export/test_sbom_golden.pytests/unit/integration/test_skill_integrator.py::...::test_native_skill_adopts_identical_unmanaged_copytests/unit/test_command_logger.py::...::test_held_package_header_prints_on_release,test_download_complete_prints_ref_oncerichConsole outside the ownertests/integration/test_architecture_owner_rule_mutations.py(2 new mutation cases)Validation commands and results
How to test
apm install microsoft/apm-sample-package#v1.0.0in a fresh Claude project: each[+]header sits above its own lines, there is no resolver-skip line, and output is ASCII..claude/rules/design-standards.md, then runapm install --frozen: exit 1, the path is named, the file stays edited, and the tip namesapm install --force.PROXY_REGISTRY_ONLY=1 apm mcp search github: refused; withMCP_REGISTRY_URL=https://...set: allowed.apm lock export | jq '.components[].purl':pkg:github/...;hashespresent.apm marketplace browse <name>: fullplugin@marketplacenames.Changelog
## [Unreleased], grouped by theme, each ending(closes #3994, #4004): two upgrade notes (--frozen,PROXY_REGISTRY_ONLY), Changed, Removed and Fixed lines.Spec conformance (OpenAPM v0.1)
CONFORMANCE.{md,json}regenerated--frozento fail on deployed-hash mismatch; this PR makes the existing check also run before deployment, with no change to the requirement.apm-spec-waiver: implementation fixes inside existing req-lk-017 and registry-only semantics; no new normative behavior
Co-authored-by: Copilot [email protected]