Repository navigation
policy: the seal ownership law -- own stale seals reseal, foreign ones name their lane (Closes #12673) - #12676
Merged
Merged
Conversation
…, foreign ones name their lane (Refs #12667)
Contributor
Summary by t27-beesChecked by the t27 compilert27c parse, parse-complete and typecheck on each changed .t27 file at
Read by the modelThis change introduces a policy module that attributes stale seals to either the current PR (exact path match in the diff) or a foreign lane, so the gate can ask the PR to reseal its own specs ( Worth a look
Read: 1 files, +91 -0, the whole diff. Head |
This was referenced Oct 26, 2026
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.
Closes #12673. Pareto variant 2 of #12479, the law half (the gate output wiring is a follow-up for the gate's own lane).
specs/policy/seal_ownership.t27:owns(diff_csv, spec_path)-- exact path match, no prefixes, an empty diff owns nothing;action_for(owned, stale)-- A_RESEAL_NOW for the PR's own stale spec (t27c seal --save, never --force), A_NAME_OWNER for a foreign one (the gate names the owning lane instead of failing this PR for the impossible).