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
plan/apply P3: frozen flag read only by its owner #4012
Part of the 0.38 plan/apply track decided in the 0.37 architecture review. P3: the registered frozen-install-mutation-eligibility owner becomes the only reader of the frozen flag, behind a closed-world guard. No behavior change. Merge order inside install/: P3, then P1, then #3701.
Decision: approve
Area: project
Scope: Make the registered frozen-install-mutation-eligibility owner (InstallService, install/service.py) the only reader of the frozen flag. It exposes one required frozen disposition: retain package-orphan claims and checkouts, and withhold lockfile writes. Cleanup, lockfile and service-integration phases consume the disposition instead of reading the flag. Preflight refusals before mutation, hydration-time checks, deployment and post-deploy verification are unchanged. Add a closed-world guard over the full source inventory (including getattr reads) that rejects frozen reads outside the owner. No behavior change.
Done when: the existing frozen lifecycle suite, including the undeclared-package retention lifecycle test, passes unchanged; a static mutation test shows a new out-of-owner frozen read failing the guard; one CHANGELOG line (internal).
Out of scope: failing on undeclared direct lock entries (#3702), dry-run behavior, any change to what frozen refuses.
Review contact: Daniel Meppiel (@danielmeppiel)
Activity
danielmeppiel commentedon Nov 20, 2026
Decision: approve
Area: project
Scope: Make the registered frozen-install-mutation-eligibility owner (InstallService,
install/service.py) the only reader of the frozen flag. It exposes one required frozen disposition: retain package-orphan claims and checkouts, and withhold lockfile writes. Cleanup, lockfile and service-integration phases consume the disposition instead of reading the flag. Preflight refusals before mutation, hydration-time checks, deployment and post-deploy verification are unchanged. Add a closed-world guard over the full source inventory (including getattr reads) that rejects frozen reads outside the owner. No behavior change.Done when: the existing frozen lifecycle suite, including the undeclared-package retention lifecycle test, passes unchanged; a static mutation test shows a new out-of-owner frozen read failing the guard; one CHANGELOG line (internal).
Out of scope: failing on undeclared direct lock entries (#3702), dry-run behavior, any change to what frozen refuses.
Review contact: Daniel Meppiel (@danielmeppiel)
test(architecture): closed-world guard for install frozen-flag reads (#…
test(spec): req-lk-006 conformance for the frozen disposition seam (#…
test(architecture): frozen-flag guard rejects new bare frozen paramet…
refactor(install): InstallService is the only reader of the frozen fl…
test(architecture): closed-world guard for install frozen-flag reads (#…
test(spec): req-lk-006 conformance for the frozen disposition seam (#…
test(architecture): frozen-flag guard rejects new bare frozen paramet…
refactor(install): content-hash promotion consumes the frozen disposi…
8 remaining items
test(architecture): frozen-flag guard rejects new bare frozen paramet…
refactor(install): content-hash promotion consumes the frozen disposi…
refactor(install): InstallService is the only reader of the frozen fl…
test(architecture): closed-world guard for install frozen-flag reads (#…
test(spec): req-lk-006 conformance for the frozen disposition seam (#…
test(architecture): frozen-flag guard rejects new bare frozen paramet…
refactor(install): content-hash promotion consumes the frozen disposi…
test(architecture): frozen-flag guard judges reads, not writes (#4012)
test(architecture): frozen-flag guard judges reads, not writes (#4012)
test(install): LOC budget for the lockfile phase after #4023 (#4012)
Merge origin/main into #4016 after #4155 (#4012)
Merge origin/main into #4016 after #4049 (#4012)
Merge pull request #4016 from microsoft/danielmeppiel-animated-journey