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
[BUG] audit --ci fails skill-subset-consistency on a correct lock when apm_modules is a stale warm copy #3964
Reporting and investigating a bug need no permission. Before implementing a
substantive fix for inclusion in APM, obtain human scope approval and a review
contact on this issue. See Contributing.
Describe the bug
With a stale warm apm_modules (CI cache, or after git pull) and a correct lock, apm audit --ci fails skill-subset-consistency. audit_replay.py:171 skips drift.locked_copy_proof, which install already uses since #3900, so authority over the copy proof is split between two code paths.
Found by the 0.37 red team, confirmed on main 94b0c69.
Decision: approve
Area: project
Scope: Make the audit replay use the canonical drift.locked_copy_proof owner for warm apm_modules copies, so audit and install agree, with a guard that no second copy-proof path exists.
Done when: A test with a stale warm apm_modules and a correct lock shows audit --ci passing and a genuinely drifted copy still failing; it fails on main. One CHANGELOG line.
Out of scope: Cache layout changes.
Review contact: Daniel Meppiel (@danielmeppiel)
Moved to 0.38 by the 0.37 architecture review: the structural fix belongs to the 0.38 plan/apply track. 0.37 carries a fallback (release note, clearer message, or for #2606 a key denylist) via #3983.
Activity
danielmeppiel commentedon Nov 19, 2026
Decision: approve
Area: project
Scope: Make the audit replay use the canonical drift.locked_copy_proof owner for warm apm_modules copies, so audit and install agree, with a guard that no second copy-proof path exists.
Done when: A test with a stale warm apm_modules and a correct lock shows audit --ci passing and a genuinely drifted copy still failing; it fails on main. One CHANGELOG line.
Out of scope: Cache layout changes.
Review contact: Daniel Meppiel (@danielmeppiel)
danielmeppiel commentedon Nov 19, 2026
Moved to 0.38 by the 0.37 architecture review: the structural fix belongs to the 0.38 plan/apply track. 0.37 carries a fallback (release note, clearer message, or for #2606 a key denylist) via #3983.
danielmeppiel commentedon Nov 19, 2026
Correction: back in 0.37 (maintainer decision). The full fix ships in 0.37 via #3983, not a fallback.
fix(audit): audit --ci proves apm_modules copies through the copy-val…
fix(install): keep pipeline.py in its LOC budget; #3964 audit cell no…