Skip to content

fix(marketplace): record catalog origin in the lock; fail closed on rebound aliases - #3917

Merged
Daniel Meppiel (danielmeppiel) merged 10 commits into
mainfrom
danielmeppiel-lockfile-marketplace-origin-3912
Nov 19, 2026
Merged

Daniel Meppiel (danielmeppiel) merged 10 commits into
mainfrom
danielmeppiel-lockfile-marketplace-origin-3912

Conversation

@danielmeppiel

@danielmeppiel Daniel Meppiel (danielmeppiel) commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

TL;DR

A marketplace alias like company only means something on one machine, yet for Git-hosted catalogs apm.lock.yaml recorded nothing but that alias. Rebinding the alias made apm update --yes silently swap the package for one from a different catalog. This PR records the catalog's canonical origin (source_url) and a digest (source_digest) for every remote catalog kind, fails closed when an alias's origin no longer matches the lock, and warns when a second alias registers an already registered catalog. It adds no new lockfile fields.

Fixes #3912

Description

Reproduced on main with the real CLI before any change. Two hermetic Git catalogs A and B each list example-plugin, and the consumer apm.yml declares {name: example-plugin, marketplace: company}.

  • After apm install, the lock row has discovered_via: company and no source_url / source_digest.
  • apm marketplace add <A>.git --name company-mirror registers silently, with no duplicate warning.
  • apm marketplace add <B> --name company followed by apm update --yes prints [+] .../catalog-b/... (new) [-] .../catalog-a/... (removed) and deploys # from catalog B. The catalog switched silently.

Issue and approved scope

Issue: Fixes #3912

Human scope-approval comment: #3912 (comment) (apm-scope:v1, approver and review contact Daniel Meppiel (@danielmeppiel); eligibility.cjs reports record-present at HEAD).

Does this PR complete the issue? Yes. Every "Done when" item is covered by a lifecycle test (see Scenario evidence).

Explicit scope statements (requested by the coordinating session):

Important

  • Only existing lock fields are used. source_url and source_digest already existed (hosted-URL catalogs only). There is no new field, no lockfile_version bump, no catalog: key and no spec amendment. marketplace_path / marketplace_ref / marketplace_revision stay 0.38 work ([FEATURE] Persist marketplace object-form deps; accept SHA catalog pins #2903).
  • Local file:// catalogs record no origin. Their path is machine-specific and would leak into committed lockfiles, so they record neither source_url nor source_digest.

Type of change

  • Bug fix
  • New feature
  • Documentation
  • Maintenance / refactor

Approach (WHAT)

Concern Single owner Behaviour
Origin key marketplace/source_identity.py marketplace_origin, same_marketplace_origin Hosted URL kept as registered. Git → repository URL without userinfo, default port or .git, with a lowercase host. Local → "". Comparison ignores transport (HTTPS vs SSH), so pre-0.37 hosted-URL locks still match.
Git catalog digest marketplace/models.py catalog_digest sha256: over the canonical JSON (sorted keys, no whitespace), used when the fetcher has no raw bytes. The hosted-URL raw-bytes digest is unchanged.
Lock vs alias marketplace/catalog_origin.py require_locked_catalog_origin Called from APMDependencyResolver._resolve_marketplace_dep before any catalog I/O. Raises MarketplaceOriginConflictError naming both origins plus restore and switch commands.
Duplicate origin catalog_origin.registrations_sharing_origin [!] from apm marketplace add and the user-manifest marketplaces: reconcile, when origin and --path match another alias.

Implementation (HOW)

File Change
marketplace/source_identity.py marketplace_origin() and same_marketplace_origin(), built on cache.url_normalize.normalize_repo_url.
marketplace/models.py catalog_digest(). parse_marketplace_json falls back to it when no digest is supplied.
marketplace/resolver.py resolve_marketplace_plugin records source_url = marketplace_origin(source) instead of the hosted-URL-only manifest.source_url. The digest is dropped when there is no origin (local).
marketplace/catalog_origin.py (new) Lock-vs-registration guard, duplicate-origin lookup and warning text.
marketplace/errors.py MarketplaceOriginConflictError.
deps/apm_resolver.py One guard call before resolve_marketplace_plugin; the error joins the recorded-resolution-error tuple, so the command exits 1 before the plan or any write.
commands/marketplace/__init__.py, marketplace/reconcile.py Duplicate-origin [!] warning (reconcile dedupes symmetric pairs).
scripts/architecture_linter/checks/marketplace_locked_evidence.py + owner registry New guard marketplace-integrations-catalog-origin: requires the owner calls, and requires the origin check to come before resolve_marketplace_plugin.
Docs reference/lockfile-spec.md, consumer/installing-from-marketplaces.md, reference/cli/marketplace.md, apm-guide dependencies.md and commands.md.

Diagrams

The legend: where the origin check runs on a locked object-form entry, relative to catalog I/O.

sequenceDiagram
    participant U as apm update
    participant R as APMDependencyResolver
    participant G as catalog_origin
    participant Reg as marketplaces.json
    participant C as catalog fetch
    U->>R: resolve name=x, marketplace=company
    R->>G: require_locked_catalog_origin
    G->>Reg: origin of alias company
    alt lock source_url missing (pre-0.37)
        G-->>R: accept
    else origins match
        G-->>R: accept
    else origins differ
        G-->>R: MarketplaceOriginConflictError (both origins)
        R-->>U: exit 1, nothing written
    end
    R->>C: resolve_marketplace_plugin
    C-->>R: selection + source_url + source_digest
Loading

Trade-offs

Benefits

  1. A rebound alias can no longer silently change the bytes an object-form dependency installs. The command exits 1, names both origins, and leaves the lock and deployed files byte-identical (asserted).
  2. Git catalog lock rows now carry source_url + source_digest, matching hosted-URL catalogs.
  3. A duplicate registration of one catalog under two names is visible ([!]) at marketplace add and in user-manifest reconcile.
  4. Existing locks keep working, with no migration step.
  5. A static guard plus a mutation case stop the check from being removed or moved after catalog I/O.

Testing

  • Tested locally
  • All existing tests pass (unrelated environmental failures noted below)
  • Added tests for new functionality

Scenario evidence

# Scenario (user promise) Principle(s) Test(s) proving it Type
1 Installing through a Git marketplace records which catalog was used Governed by policy tests/integration/test_marketplace_origin_evidence_lifecycle.py::test_git_catalog_origin_is_locked_and_a_rebound_alias_fails_update e2e
2 If company now points elsewhere, apm update refuses, names both catalogs, and changes nothing Secure by default, DevX same test (rebind step: exit 1, lock bytes and deployed skill unchanged) e2e
3 Restoring the alias lets update proceed DevX same test (restore step) e2e
4 Registering the same catalog under a second name warns Secure by default same test (company-mirror with .git suffix → [!] ... same catalog ... 'company') e2e
5 A pre-0.37 lock without source_url never fails closed and gains it on the next lock write DevX, Governed by policy ...::test_pre_037_lock_without_origin_evidence_still_updates e2e
6 Origin key ignores transport, userinfo and .git, keeps hosted URLs, skips local; digest is order-insensitive Vendor-neutral tests/unit/marketplace/test_parser.py (4 new tests) unit
7 The guard cannot be dropped, bypassed, or moved after catalog I/O Governed by policy tests/integration/test_architecture_marketplace_locked_evidence.py (3 new), test_architecture_owner_rule_mutations.py case component

Both lifecycle tests fail on main (KeyError: 'source_url') and pass on this branch.

Validation commands and results
$ APM_E2E_TESTS=1 APM_BINARY_PATH=.venv/bin/apm pytest tests/integration/test_marketplace_origin_evidence_lifecycle.py -p no:xdist
2 passed                         # on main: 2 failed, KeyError: 'source_url'

$ APM_E2E_TESTS=1 APM_BINARY_PATH=.venv/bin/apm pytest <10 marketplace lifecycle files incl. update_provenance,
    registered_ref, object_audit, catalog_path, user_manifest_marketplaces_install, install_local,
    uninstall_marketplace, local_audit, add_generic_git, origin_evidence> -n 4
47 passed

$ pytest tests/integration/test_architecture_marketplace_locked_evidence.py tests/unit/scripts/test_architecture_runner.py \
    tests/integration/test_architecture_owner_rule_mutations.py tests/unit/marketplace/test_parser.py -n 6   # after merging main
939 passed

$ pytest tests/unit -n 6
28217 passed, 20 failed, 12 skipped, 21 xfailed
  # 16 failures: unix installer shell-script subprocess timeouts under load; 3 more pass when re-run alone;
  # test_helpers::test_is_tool_available fails because this machine has no `python` on PATH (only python3).
  # None touch marketplace code.

$ uvx [email protected] check / format --check  (CI paths)      -> All checks passed / already formatted
$ pylint --disable=all --enable=R0801 --min-similarity-lines=10 ... -> 10.00/10, rc=0
$ bash scripts/lint-auth-signals.sh                         -> [+] auth-signal lint clean
$ bash scripts/lint-architecture-boundaries.sh              -> rc=0
yaml-io / relative_to grep guards                           -> clean; touched src files < 2100 lines

How to test

  • Run APM_E2E_TESTS=1 APM_BINARY_PATH=.venv/bin/apm uv run --extra dev pytest tests/integration/test_marketplace_origin_evidence_lifecycle.py -p no:xdist.
  • Manually: apm marketplace add <git-catalog-A> --name company, declare {name: x, marketplace: company} in apm.yml, run apm install, and check source_url in apm.lock.yaml.
  • Run apm marketplace add <A>.git --name mirror and expect a [!] ... same catalog as 'company' line.
  • Run apm marketplace add <git-catalog-B> --name company, then apm update --yes. Expect exit 1 naming both origins, with the lock unchanged.

Changelog

  • One line under ## [Unreleased] in CHANGELOG.md (Fixed).
  • N/A -- internal-only change (CI, tests, refactor).

Spec conformance (OpenAPM v0.1)

  • Spec edit
  • Manifest edit
  • Test edit
  • CONFORMANCE.{md,json} regenerated
  • N/A -- no spec amendment, per the approved scope. The existing optional source_url / source_digest lock fields are populated for more catalog kinds; no req-XXX changes.

Co-authored-by: Copilot [email protected]

…ebound aliases

A marketplace alias such as `company` is machine-local, but Git catalogs
recorded only that alias in apm.lock.yaml. Rebinding the alias silently
switched the catalog an object-form apm.yml entry resolved through.

- Record the canonical catalog origin as `source_url` and a `source_digest`
  for every remote catalog kind, including Git (no new lockfile fields).
- Re-resolving a locked entry fails closed when the alias's registered
  origin differs from the lock's `source_url`, naming both origins.
- Warn when a second alias registers an already registered catalog.
- Pre-0.37 rows without `source_url` keep working and gain it on the next
  lock write. Local file:// catalogs record no origin.

Closes #3912

Co-authored-by: Copilot App <[email protected]>
Copilot AI balanced review requested due to automatic review settings November 19, 2026 11:11

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Catalog origin checks can silently accept rebound sources because URL comparisons discard query parameters and ambiguous lockfile provenance bypasses verification.

4 open issues
What changed in this PR

This PR addresses #3912 by extending marketplace provenance in existing lockfile fields and checking catalog origins before resolving locked dependencies. It aims to prevent machine-local alias changes from silently switching catalogs without introducing a lockfile schema change.

Changes:

  • Records canonical origins and digests for remote catalogs, while omitting machine-specific local origins.
  • Adds origin-conflict checks and duplicate-registration warnings.
  • Adds lifecycle tests, architecture guards, and documentation for the new behavior.
File Description
tests/​unit/​scripts/​test_architecture_runner.py Registers the new guard in the expected rule inventory.
tests/​unit/​marketplace/​test_parser.py Tests origin normalization, comparison, and catalog digests.
tests/​integration/​test_marketplace_origin_evidence_lifecycle.py Covers alias rebinding, duplicate warnings, and legacy locks.
tests/​integration/​test_architecture_owner_rule_mutations.py Adds a mutation removing origin verification.
tests/​integration/​test_architecture_marketplace_locked_evidence.py Tests owner routing and check ordering.
src/​apm_cli/​marketplace/​source_identity.py Defines canonical catalog origins and comparisons.
src/​apm_cli/​marketplace/​resolver.py Attaches remote catalog evidence to resolved plugins.
src/​apm_cli/​marketplace/​reconcile.py Warns about duplicate origins during manifest reconciliation.
src/​apm_cli/​marketplace/​models.py Computes fallback digests from canonical catalog JSON.
src/​apm_cli/​marketplace/​errors.py Adds an origin-conflict error with recovery guidance.
src/​apm_cli/​marketplace/​catalog_origin.py Centralizes locked-origin checks and duplicate detection.
src/​apm_cli/​deps/​apm_resolver.py Checks locked origins before catalog resolution.
src/​apm_cli/​commands/​marketplace/​__init__.py Adds duplicate-origin warnings during registration.
scripts/​architecture_linter/​checks/​marketplace_locked_evidence.py Adds origin-owner routing and ordering checks.
packages/​apm-guide/​.apm/​skills/​apm-usage/​dependencies.md Explains origin evidence and conflict recovery.
packages/​apm-guide/​.apm/​skills/​apm-usage/​commands.md Documents duplicate-registration warnings.
docs/​src/​content/​docs/​reference/​lockfile-spec.md Updates provenance field meanings and compatibility notes.
docs/​src/​content/​docs/​reference/​cli/​marketplace.md Documents remote evidence and alias-rebinding behavior.
docs/​src/​content/​docs/​consumer/​installing-from-marketplaces.md Explains alias safety and recovery steps.
CHANGELOG.md Records the user-visible marketplace changes.
.apm/​architecture/​owners/​marketplace-plugins.json Registers catalog-origin ownership and its guard.

Review effort: Balanced

@danielmeppiel Daniel Meppiel (danielmeppiel) added this to the 0.37.0 milestone Nov 19, 2026
Hosted catalog queries now take part in origin comparison, every locked
row for an alias/plugin pair is checked so ambiguous associations cannot
skip verification, the static guard requires `add` to call the duplicate
warning, and guard mutation tests assert the mutated source still parses.

Addresses Copilot inline review on source_identity.py:127,
catalog_origin.py:40, marketplace_locked_evidence.py:45 and
test_architecture_marketplace_locked_evidence.py:73.

Co-authored-by: Copilot App <[email protected]>
@danielmeppiel

Copy link
Copy Markdown
Collaborator Author

APM Review Panel: ship_with_followups

Pins each marketplace alias to the catalog origin it was locked from and makes apm update fail closed on a silent rebind. Fold the case-sensitive alias bypass and harden the error remediation before landing.

panel-mode=lean; personas=supply-chain-security-expert,test-coverage-expert,python-architect,apm-ceo

cc Sergio Sisternes (@sergio-sisternes-epam) -- a fresh advisory pass is ready for your review.

This PR closes the alias-rebind hole from #3912. If someone re-points marketplace: company at a different catalog, a later install or update now stops and names both origins, where before it re-locked through the new catalog without saying anything. That is the trust story the 0.37 install-safety slice needs, alongside the sibling PRs for lock-first replay (#3911) and the #1326 gate (#3913). All three panelists agree the design is sound. There is no dissent on direction or on who owns what. Every finding is rated recommended and all of them fit the accepted scope. The only scope-crossing item is fixing uninstall for object-form dependencies.

The top finding is supply-chain F1. The registry treats aliases case-insensitively, but the new guard compares them case-sensitively, so marketplace: Company against a lock row for company skips the check and re-locks through the rebound catalog. That bypasses the exact promise this PR exists to keep, so it is weighted above its recommended label. Close it with a casefold compare and a regression test. Next is test-coverage F2. Plain apm install after a rebind now also exits 1, but no test asserts it. A missing test on a secure-by-default surface ranks near blocking. The cost is small: extend the existing rebind block to expect (0,1,1).

Two findings both concern the error message and should be fixed together. Supply-chain F2 shows the suggested apm marketplace add command copies an unquoted source_url from the lockfile, which allows copy-paste injection and drops SSH user, path and ref. Test-coverage F1 found that the suggested apm uninstall route fails for object-form apm.yml entries. An error that blocks the user should give a remediation that actually works. Quote the command, suggest it only when the locked origin parses, and reword the switch-catalog advice so it holds for every dependency shape. The architect findings are good hygiene and should be folded with care: compute the Git digest in client.py so a hosted catalog cannot get two digest schemes, share the lock-row predicate, and name the origin-only identity limit. client.py was just restructured by #3910, and #3911 also changes lock association, so keep these edits additive and small.

Dissent. No disagreement between panelists. Supply-chain F1 (case-sensitive alias match) and test-coverage F2 (unasserted plain-install fail-closed) are raised above their recommended labels because both sit on the secure-by-default promise this PR introduces.

Aligned with: Secure by default: a rebound alias now fails closed and names both origins; complete only after the casefold bypass is closed and the remediation command is quoted. Portable by manifest: every marketplace kind, including Git, records source_url and source_digest with no new lockfile fields. Governed by policy: the lock becomes the authority on catalog origin, which gives #3913's policy gate a stable identity; write down the origin-only identity limit so policy authors do not assume path is checked too. Pragmatic as npm: failing closed is right, but the error has to offer a remediation that works for every dependency shape.

Panel summary

Persona B R N Takeaway
Supply Chain Security Expert 0 2 0 The origin pin and fail-closed check close the alias-rebind hole. Two gaps: case-sensitive alias matching can skip the check, and the error prints an unquoted, lockfile-derived command.
Test Coverage Expert 0 3 0 Lifecycle traps pass on source tree; the error's uninstall remediation fails for object-form deps and plain-install fail-closed is unasserted.
Python Architect 0 3 0 Owner split is sound; move the Git digest out of the parser default, share the lock-row predicate, and use one catalog-identity tuple for both checks.

B = blocking-severity findings, R = recommended, N = nits.
Counts are signal strength, not gates. The maintainer ships.

Top 5 follow-ups

  1. [Supply Chain Security Expert] Casefold the alias comparison in require_locked_catalog_origin and add a regression test where Company in apm.yml meets a company lock row. -- A case-sensitive match against a case-insensitive registry silently skips the fail-closed guard, which reopens the rebind hole this PR closes.
  2. [Test Coverage Expert] Extend the existing rebind lifecycle block to assert that plain apm install also exits 1 after a rebind (0,1,1). -- This is new exit-code behavior users will see on a secure-by-default surface, and nothing asserts it.
  3. [Supply Chain Security Expert] Harden MarketplaceOriginConflictError's remediation: shlex.quote the suggested apm marketplace add command and suggest it only when the locked origin parses, otherwise show it as plain data. Reword the uninstall advice so it works for object-form entries, and prove the switch path in the lifecycle test. Track the object-form uninstall fix as a separate issue. -- Today the error copies an unquoted value from a committed lockfile into a shell command, and its uninstall advice fails for some dependency shapes.
  4. [Python Architect] Keep parse_marketplace_json as a pass-through and compute catalog_digest in client.py for Git kinds only, on top of the fix(marketplace): explicit refresh revalidates catalogs or fails (#3279) #3910 fetch_marketplace restructure. -- As written, the url-kind digest scheme depends on whether cache metadata exists, so one hosted catalog can get two different source_digest values.
  5. [Python Architect] Add an additive LockFile.marketplace_rows(alias, plugin) shared by marketplace_index and the guard, plus one source_identity helper that documents identity as origin-only; pin both with tests, including a reconcile unit test for the duplicate-origin warning and its warn-once-per-pair dedupe. -- The guard and the warning currently use different predicates and identity tuples, which is the kind of drift that breaks silently.

Recommendation

Fold all follow-ups into this PR before landing, keeping the architect refactors additive so they don't churn against #3910 and #3911. Defer only the object-form apm uninstall fix to its own issue. The one to watch is the casefold alias bypass: until it is closed and covered by a regression test, the fail-closed guarantee does not hold. Also make sure the CHANGELOG line states the new fail-closed behavior on apm install and apm update after an alias rebind.


Full per-persona findings

Supply Chain Security Expert

  • [recommended] The origin check compares alias names case-sensitively, but the registry looks aliases up case-insensitively, so a case mismatch skips the check. at src/apm_cli/marketplace/catalog_origin.py:44
    discovered_via is written with whatever case the manifest used, while get_marketplace_by_name and add_marketplace lowercase. marketplace: Company against a lock row company returns early and re-locks through the rebound catalog.
    Suggested: casefold both sides; add a mixed-case regression test.
  • [recommended] The conflict error tells the user to run a command built from an unvalidated, unquoted lockfile value, and the command may not restore the original registration. at src/apm_cli/marketplace/errors.py:61
    The lockfile is committed, so a PR can change it; a crafted source_url becomes a copy-paste injection APM suggests. The command also drops SSH user, path and ref.
    Suggested: show the restore command only when parse_marketplace_source(locked) succeeds, wrapped in shlex.quote; otherwise name the origin as data.

Test Coverage Expert

  • [recommended] The 'To switch catalogs' remediation fails for the object-form apm.yml entry this PR targets, and no test exercises it. at src/apm_cli/marketplace/errors.py:63
    An ad-hoc probe of apm uninstall example-plugin@company exits 1 with "was not found in apm.yml", with or without the rebind (existing uninstall limitation).
    Proof (missing at): tests/integration/test_marketplace_origin_evidence_lifecycle.py::test_git_catalog_origin_is_locked_and_a_rebound_alias_fails_update -- proves: the error's advice for intentionally switching catalogs actually works [devx,secure-by-default]
  • [recommended] Plain 'apm install' with a rebound alias also fails closed, but only 'apm update' is asserted. at src/apm_cli/deps/apm_resolver.py:673
    A probe confirms install exits 1 naming both origins with the lock unchanged; it is new user-visible behavior with no test pinning it.
    Proof (missing at): tests/integration/test_marketplace_origin_evidence_lifecycle.py::test_git_catalog_origin_is_locked_and_a_rebound_alias_fails_update -- proves: re-running apm install after a rebind never silently switches catalogs [secure-by-default,portability-by-manifest]
  • [recommended] The duplicate-origin warning in user-manifest reconcile and its warn-once-per-pair logic have no test. at src/apm_cli/marketplace/reconcile.py:124
    Only the apm marketplace add step is covered; the reconcile branch has its own registry fetch and pair dedupe.
    Proof (missing at): tests/unit/marketplace/test_user_manifest_marketplaces.py::TestReconcile::test_two_manifest_aliases_for_one_origin_warn_once -- proves: two manifest names for one catalog produce exactly one warning [devx,governed-by-policy]

Python Architect

  • [recommended] The catalog_digest fallback in parse_marketplace_json makes the digest scheme depend on cache state, not just catalog kind. at src/apm_cli/marketplace/models.py:652
    For url kinds, a missing or old cache meta yields a canonical-JSON digest instead of the raw-bytes one, so one catalog can carry two digests.
    Suggested: keep the parser a pass-through; compute catalog_digest in client.py for Git kinds and point the guard route there.
  • [recommended] require_locked_catalog_origin re-implements LockFile.marketplace_index's alias/plugin row predicate. at src/apm_cli/marketplace/catalog_origin.py:40
    Row association is computed in two places, and [BUG] apm install re-resolves marketplace dependencies on every run instead of replaying the lockfile #3911 adds a third consumer.
    Suggested: add LockFile.marketplace_rows(alias, plugin) returning every row, and build both consumers on it.
  • [recommended] Catalog identity is (origin, path) for the duplicate warning but origin-only for the fail-closed guard. at src/apm_cli/marketplace/catalog_origin.py:60
    The lock cannot record path without new fields, so re-pointing to another path in the same repo passes the guard; that decision should be explicit in one source_identity helper.
    Suggested: one identity helper, a docstring stating the origin-only limit, and a pinning test.

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.

- Match aliases case-insensitively via LockFile.marketplace_rows, so a
  recased alias cannot skip the fail-closed origin check.
- Quote the restore command in MarketplaceOriginConflictError, suggest it
  only for a parseable origin, and give a switch path that works for
  object-form apm.yml entries (proved end-to-end in the lifecycle test).
- Compute the Git catalog digest in client._parse_catalog so the digest
  scheme depends only on catalog kind; parse_marketplace_json is a
  pass-through again.
- One catalog identity helper (same_marketplace_catalog) for the duplicate
  warning; document and pin the origin-only limit of the lock check.
- Assert plain `apm install` also fails closed after a rebind, and cover
  the user-manifest reconcile duplicate warning.

Addresses the lean panel advisory on #3917 (supply-chain F1/F2,
test-coverage F1-F3, python-architect F1-F3).

Co-authored-by: Copilot App <[email protected]>
With #3915 on main, a plain `apm install` replays the locked catalog
without consulting the rebound alias, so it succeeds and keeps the locked
bytes; `apm update` still re-resolves and fails closed naming both origins.
Docs and the CHANGELOG line now describe that split.

Co-authored-by: Copilot App <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Lockfile does not record a Git marketplace's origin, so a rebound alias can silently switch marketplaces

2 participants