Skip to content

plan/apply P3: frozen flag read only by its owner #4012

Closed

Description

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.

Activity

  1. added
    status/accepted
    on Nov 20, 2026
  2. danielmeppiel commented on Nov 20, 2026

    @danielmeppiel
    CollaboratorAuthor

    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)

  3. 8 remaining items

  4. added a commit that references this issue on Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

status/accepted

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions