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
docs: approvers come from the Relay platform; explicit grants may approve deploys, secrets and destructive actions - #177
Approved by Khaliq (#owner-decisions 251907114153873408, 2026-11-26 7:08 PM PT): "Let granted approvers approve deploys, secrets and destructive actions, but only with an explicit grant for that kind of action and only as a used approval, and land all five PRs once reviewed". This PR changes the approval rules, which is a hard limit. That entry is the approval for it. It may merge once it is reviewed with no requested changes and checks are green. merge-train:hold stays on; permissions-rebase-coordinator does the merge.
What changes
Approvers come from the Relay platform, not from repo files. The approval section (AGENTS.md) changes in these places:
New bullet after the hard limits: the one redeemable exception. An approver that a code owner granted in the Relay platform, pinned to an exact Relay identity, may approve three hard-limit classes: deploys (including promotions, releases and publishes), secrets or IAM, and destructive actions.
It may do so only when its grant explicitly includes that class of action.
It counts only as a successfully redeemed approval whose redeem response reports that approver, the explicit class and the pin to the sending identity.
None of this is ever inferred from the delivered line, and a code_owner-standing line alone still never redeems a hard limit.
Every other hard limit stays non-redeemable: contract-step migration merges where listed, out-of-path production migrations, and changes to .github/CODEOWNERS or the approval rules.
An approver cannot approve a PR it authored or pushed to.
The hard-limit bullet. Its two "no redeem" sentences now say "except the approver redeem in the next bullet". The list of hard limits and the human approver wording are unchanged.
Code-owner bullet. It keeps its definition and adds: approvers come from the Relay platform. They are the code owners, plus agent approvers a code owner grants there, each pinned to an exact Relay identity. Repo files never name an approver.
Delegate-approval bullet. A redeemed approval is a code owner's OK only when the redeem reports code_owner standing, or reports an approver a code owner granted in the platform, pinned to the sending identity. The own_owner exclusion stays for redeems that report no such approver.
Audit-log, fallback and PR-hold lines. These now name the explicit-grant approver redeem as the only redeem that can stand in for those three hard-limit classes.
Unchanged: the redeem-before-acting, fresh-redeem-on-new-head, receipt and peer-claim rules. No agent is named. Docs-only: there is no code, workflow, CODEOWNERS, secret or branch-policy change.
A redeemed approval is a code owner's OK when the redeem reports code_owner
standing or an approver a code owner granted in the Relay platform, pinned
to an exact Relay identity. Hard limits and their approver wording are
unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This repository does not receive automatic reviews because it has fewer than 10 stars.
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Organization UI
Review profile: CHILL
Plan: Advanced
Run ID: d5c11c77-b38a-4deb-b494-7ae34cf9637b
No actionable comments were generated in the recent review.
Walkthrough
AGENTS.md now defines which Relay identities can approve as delegates and which redeem responses count as a code owner’s OK. It also clarifies that hard limits remain outside delegate approval and that #owner-decisions is an audit log.
Changes: Approval guidance
Layer / File(s)
Summary
Redeem qualification rules AGENTS.md
The guidance ties delegated approvers to exact Relay identities. A redeem counts as a code owner’s OK only when the response reports code_owner standing or a matching code-owner-granted approver. It excludes own_owner standing alone and hard limits, and describes #owner-decisions as an audit log after a qualifying redeem.
AgentWorkforce/relay-web#176: Updates the same approval-authority guidance, with a different rule for which approval line qualifies.
AgentWorkforce/relay-web#172: Updates delegate-approval guidance with a different rule for when a delegate approval counts.
Merge Risk: Minimal · previous review 143d5
This updates the guidance on which Relay identities can approve as delegates and when a redeemed approval counts as a code owner's OK. It changes no code or workflows, so production risk is negligible. Merge only after Khaliq's explicit go, as the PR states. Confirm that the backend redeem response reports the fields this guidance relies on before agents depend on the rule.
Pre-merge checks: 4
Check name
Status
Explanation
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Title check
The title names the main change: the approval docs now say approvers come from the Relay platform, and explicit grants may approve deploys, secrets and destructive actions. The AGENTS.md diff updates …
Description check
The description explains the change in detail. It covers the new redeemable exception for granted approvers, the code-owner and delegate-approval wording, and the audit-log and fallback lines. It also…
Full details: Title check
Explanation
The title names the main change: the approval docs now say approvers come from the Relay platform, and explicit grants may approve deploys, secrets and destructive actions. The AGENTS.md diff updates the approver definition, the hard-limit bullet, the delegate-approval bullet and the audit-log wording to match. The title is specific and accurate, though long at 114 characters.
Full details: Description check
Explanation
The description explains the change in detail. It covers the new redeemable exception for granted approvers, the code-owner and delegate-approval wording, and the audit-log and fallback lines. It also records the approval entry and the merge hold. It is related to the changeset and passes this lenient check.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
A rabbit checks the Relay line, The sender’s identity must align. A redeem confirms the owner’s say, While hard limits stay away. The audit log records the trail, And carrots cheer the clearer tale.
Recent review info
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Organization UI
Review profile: CHILL
Plan: Advanced
Run ID: f2f1ec2c-5fa7-4bd7-81c8-b83446a3e180
Commits
Reviewing files that changed from the base of the PR and between 55a7a88 and 143d509.
Files selected for processing: 1
AGENTS.md
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
… destructive actions
Per Khaliq's decision (#owner-decisions 251907114153873408): only with an
explicit grant for that class, only as a redeemed approval whose response
reports the approver, class and identity pin. Every other hard limit stays
non-redeemable; grants never cover CODEOWNERS or the approval rules.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
khaliqgant
changed the title
docs (do not merge without Khaliq's go): approvers come from the Relay platform
docs: approvers come from the Relay platform; explicit grants may approve deploys, secrets and destructive actions
Nov 27, 2026
Review fix (d5-gate-owner): a contract-step migration, CODEOWNERS or
approval-rule merge still needs a code owner's own go or a top-level entry.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…m response
Review fixes (Greptile, Devin, CodeRabbit): the redeem response reports only
ok, consumed and the checked head, never standing, so requiring it to report
code_owner standing broke today's (code owner) path. Restore that rule; an
approver counts only once the redeem response reports it, which it does not
yet. The scope-check bullet and the hold rule now follow the exception and
require a qualifying redeem, and the exception never covers a contract-step
migration merge.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
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.
Approved by Khaliq (#owner-decisions 251907114153873408, 2026-11-26 7:08 PM PT): "Let granted approvers approve deploys, secrets and destructive actions, but only with an explicit grant for that kind of action and only as a used approval, and land all five PRs once reviewed". This PR changes the approval rules, which is a hard limit. That entry is the approval for it. It may merge once it is reviewed with no requested changes and checks are green.
merge-train:holdstays on; permissions-rebase-coordinator does the merge.What changes
Approvers come from the Relay platform, not from repo files. The approval section (
AGENTS.md) changes in these places:code_owner-standing line alone still never redeems a hard limit..github/CODEOWNERSor the approval rules.code_ownerstanding, or reports an approver a code owner granted in the platform, pinned to the sending identity. The own_owner exclusion stays for redeems that report no such approver.Unchanged: the redeem-before-acting, fresh-redeem-on-new-head, receipt and peer-claim rules. No agent is named. Docs-only: there is no code, workflow, CODEOWNERS, secret or branch-policy change.
🤖 Generated with Claude Code