You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Re-download after a content-hash mismatch drops the per-dependency skills selection #3884
APM 0.36.1 can resolve all skills for a dependency whose manifest selects a subset when an older package copy already exists in apm_modules/. The first frozen install fails, then an identical second install succeeds after APM refreshes the package copy.
Reproduction: install a locked manifest with APM 0.36.0. Update the manifest and lock to a new commit that restricts transitive skills, retaining the old apm_modules/ package copies. Run apm install --frozen --parallel-downloads 0 with APM 0.36.1. The same issue occurs with apm install --global --frozen --only apm --ssh --parallel-downloads 1 --no-trust-bin for a managed toolkit.
Expected: APM re-downloads mismatched package content and retains each dependency's selected skill subset. Actual: the first install reports --frozen: dependency selections differ from apm.lock.yaml and shows resolved skills all for a dependency locked to a subset. Removing only the APM download directory before the install makes the first frozen install pass. In one test, APM also replaced a user-added file inside its own package cache during refresh.
Decision: approve
Area: project
Scope: Make the dependency resolver reuse an apm_modules package copy only when its recorded commit (or content hash) matches apm.lock.yaml, so a stale copy never decides transitive skill selections.
Done when: An installed-CLI lifecycle test with a stale package copy passes apm install --frozen on the first run, and fails on main.
Out of scope: #3701, #3720, hook filename routing, and replacing user-added files inside apm_modules (APM-owned).
Review contact: Daniel Meppiel (@danielmeppiel)
Activity
danielmeppiel commentedon Nov 19, 2026
Decision: approve
Area: project
Scope: Make the dependency resolver reuse an apm_modules package copy only when its recorded commit (or content hash) matches apm.lock.yaml, so a stale copy never decides transitive skill selections.
Done when: An installed-CLI lifecycle test with a stale package copy passes apm install --frozen on the first run, and fails on main.
Out of scope: #3701, #3720, hook filename routing, and replacing user-added files inside apm_modules (APM-owned).
Review contact: Daniel Meppiel (@danielmeppiel)
fix(install): reuse an apm_modules copy only when it matches the lock (…
fix(install): keep .apm-pin trust honest (#3884 panel folds)
fix: derive install expected state from the lock (#3900)