Skip to content

refactor: compose maintenance gate policies - #58

Merged
bioinformatist merged 1 commit into
mainfrom
refactor/compose-maintenance-policy
Jul 15, 2026
Merged

refactor: compose maintenance gate policies#58
bioinformatist merged 1 commit into
mainfrom
refactor/compose-maintenance-policy

Conversation

@bioinformatist

Copy link
Copy Markdown
Owner

Summary

  • expose a reusable maintenance policy base and a workstation-only overlay through lib.maintenancePolicy
  • make maint-switch and China gate scripts evaluate the target flake's effective policy
  • retain a narrow compatibility path for revisions created before the flake policy interface
  • compare policy marker lists by semantic set contents in the delta gate

Verification

  • env NIXPKGS_ALLOW_UNFREE=1 nix flake check --impure --allow-import-from-derivation
  • nix develop -c actionlint .github/workflows/maintenance-gate.yml .github/workflows/maintenance-leaf.yml
  • old-main versus new-head China delta gate: no new blocked or direct outputs
  • full China gate for homePC, linglong, and ci@headless: passed

@bioinformatist
bioinformatist merged commit 8d10211 into main Jul 15, 2026
2 checks passed
@bioinformatist
bioinformatist deleted the refactor/compose-maintenance-policy branch July 15, 2026 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant