Repository navigation
fix: 0.37 bug sweep part 4 - #4338
Merged
Daniel Meppiel (danielmeppiel) merged 23 commits intoNov 21, 2026
Merged
Conversation
Co-authored-by: Copilot App <[email protected]>
Contributor
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request. Check if the Files changed in this pull request are included in default exclusions.
This was referenced Nov 20, 2026
Merged
apm update no longer carries a marketplace row's discovered_via, marketplace_plugin_name, source_url or source_digest forward on the lockfile's word. marketplace/catalog_origin.py reverify_locked_provenance re-resolves each row through its registered alias (origin-checked and admitted like every other resolution entry point), restores the catalog origin and digest, and fails closed on an unknown alias, missing plugin, rebound origin or incomplete provenance, before any write. Guard install-deployment-update-marketplace-provenance: update re-verifies before planning, and only the lockfile phase and the origin owner write source_url/source_digest. Installed-CLI test covers tamper and clear for each field with a paired install --frozen / audit --ci probe. Fixes #4228 Co-authored-by: Copilot App <[email protected]>
Daniel Meppiel (danielmeppiel)
requested a review
from Sergio Sisternes (sergio-sisternes-epam)
as a code owner
November 20, 2026 16:02
…e mixed locks A lock is legacy only when its generator stamp predates 0.37 and no row carries origin evidence or the 0.37-only lockfile_version; a mixed lock is refused as edited. A current-format lock with no origin evidence refuses with the next step. The pre-0.37 fixture now stamps a real 0.36 lock. Refs #4228 Co-authored-by: Copilot App <[email protected]>
…n rule) Co-authored-by: Copilot App <[email protected]>
…nance helper Co-authored-by: Copilot App <[email protected]>
5 of 10 tasks
… provenance When apm.yml declares an entry in marketplace form, a lock row for the resolved package with all marketplace fields cleared is refused before any write, instead of being re-recorded from the catalog. Refs #4228 Co-authored-by: Copilot App <[email protected]>
…touched (#4318) apm update refreshes apm.yml dependencies only. With a local bundle installed it now names the bundle (from its hook ownership markers and compile staging slugs, else its file count) and gives the runnable next step: apm install <newer-bundle-file>. The lifecycle generator's strict cell rule|U8|update-leaves-a-local-bundle-untouched becomes required. Co-authored-by: Copilot App <[email protected]>
…/apm into danielmeppiel-p4-from-p3local
…n stderr (#4224) Co-authored-by: copilot-swe-agent[bot] <[email protected]>
5 of 10 tasks
Also re-points stale generator anchors (install, update, audit, pack, compile, lock) and regenerates the obligations. Co-authored-by: copilot-swe-agent[bot] <[email protected]>
…register the declaration check Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
…on lines (#4160, #4219) After apm uninstall, the surviving packages are redeployed from their recorded selection. Their per-primitive integration tree lines carried no package header and repeated once per survivor; the rebuild now passes a logger that drops tree lines and keeps warnings and errors. Installed-CLI regression test; the strict I9 output cell for #4219 is removed; ledger rows and CHANGELOG lines. Co-authored-by: Copilot App <[email protected]>
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
Co-authored-by: Copilot App <[email protected]> # Conflicts: # tests/fixtures/lifecycle_bug_ledger.json # tests/lifecycle/generator/rules.py # tests/quality/lifecycle_obligations.json
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
Co-authored-by: Copilot App <[email protected]> # Conflicts: # tests/fixtures/lifecycle_bug_ledger.json # tests/lifecycle/generator/rules.py # tests/quality/lifecycle_obligations.json
6 of 10 tasks
…rator-rule lines The lifecycle generator rules cite uninstall/engine.py by line; the new logger class sits next to its only caller so those citations hold. Co-authored-by: Copilot App <[email protected]>
…ked bundle (#4224, #4318) The failing --ci verdict goes to stderr (#4224), so CliRunner tests read stdout for the JSON report. In cover-17, p-exec ships only gated executables, so its bundle install records nothing and update has no bundle to name; the row pins the no-dependencies line again. Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
Co-authored-by: Copilot App <[email protected]> # Conflicts: # tests/fixtures/lifecycle_bug_ledger.json # tests/quality/lifecycle_obligations.json # tests/utils/lifecycle_evidence.py
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
Co-authored-by: Copilot App <[email protected]> # Conflicts: # tests/fixtures/lifecycle_bug_ledger.json # tests/utils/lifecycle_evidence.py
…alogs carry no origin Provenance re-verification checks the catalog origin only; ref pins stay with install and update resolution (#4416). A row recorded through a catalog the user registered as local has no origin to compare, so it is re-verified without one; the exemption reads the user's registration, never the lock row, and a remote-registered alias whose row claims a local source still refuses. Co-authored-by: Copilot App <[email protected]>
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
Co-authored-by: Copilot App <[email protected]>
4 of 10 tasks
Daniel Meppiel (danielmeppiel)
deleted the
danielmeppiel-bug-sweep-037-p4
branch
November 21, 2026 05:24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
0.37 bug sweep, part 4. Every issue gets an owner-level fix, a failing-before installed-CLI test and a bug-ledger row. This PR also carries any item dropped from part 2 (#4283) or part 3 (#4284) at their landing cut-off. Each "Refs" line becomes "Fixes" only in the push that brings that item's code and test.
Issue and approved scope
Fixes #4160 (scope record: #4160 (comment))
Fixes #4219 (scope record: #4219 (comment))
Fixes #4224 (scope record: #4224 (comment))
Refs #4228
Fixes #4237 (scope record: #4237 (comment))
Fixes #4318 (scope record: #4318 (comment))
Human scope-approval comment: an apm-scope:v1 record is posted on each linked issue by the maintainer.
Does this PR complete the issue, or what remains? It completes each issue listed with Fixes.
Type of change
Testing
Changelog
## [Unreleased]inCHANGELOG.md.Spec conformance (OpenAPM v0.1)