Repository navigation
fix(gate): read identity.gates at base only, with a notice when the change adds it - #5526
Merged
Merged
Conversation
…hange adds it Closes #5508
lex00
enabled auto-merge
November 23, 2026 04:37
87 of 94 tasks
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 #5508
A change that adds
chant.workspace.jsonfor the first time no longer supplies its own identity gate rule. When a base exists and has no declaration, the gate and the release rule read none, so the change is gated under the default policy: an agent's permit counts only beside a person's approval. The gate,chant approveand the release commands printidentity-gates-not-at-basewhen the change's own file names the gate, so the adopter sees why the new rule did not apply. With no base branch at all the working tree is still read, as write scope and agent sessions do.Local gate: build, typecheck and lint pass. Unit tests, run once with four workers on a branch that also holds #5515's fix: 37,357 passed, 1 failed. The failure is
promote-stage-waves.test.tsgoing over its 5s time budget on a loaded machine (#5521), which this change does not touch.