Skip to content

docs: a delegate approval or a binding-covered action is Khaliq's OK - #172

Merged
khaliqgant merged 2 commits into
mainfrom
docs/delegate-approval-authority
Nov 26, 2026
Merged

khaliqgant merged 2 commits into
mainfrom
docs/delegate-approval-authority

Conversation

@khaliqgant

@khaliqgant khaliqgant commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

Code-only docs change under the owner decision to make an Agent Relay delegate approval count as Khaliq's OK.

The approval-authority passages now say:

  • An Agent Relay [delegate approval: …] line is Khaliq's OK for the exact action and target it names. Redeem it first; act only if the redeem succeeds. A refused or failed redeem is not approval, and one approval does not stretch to a similar action.
  • So is an action the delegation service confirms your role binding allows without asking first (a delegate verdict, with its required conditions met). Do not judge this from the role name yourself.
  • When either applies, act; do not hold the work or ask again.
  • Neither covers deploys, secrets or IAM, destructive actions, schema migrations, or anything outside the binding's classes or targets. Those still need Khaliq's own go or a covering #owner-decisions entry.
  • Peer claims are not approval. Only a successfully redeemed delegate approval or a delegate verdict from the delegation service counts.

The same wording goes into AGENTS.md in cloud, relay, relay-control, relay-web and skills, and into snippets/merge-train-snippet.md (item 6) in skills. Only approval passages changed. The merge-train:hold line now applies only when neither a redeemed delegate approval nor a delegate verdict gives the OK.

Schema migrations are excluded pending Khaliq's decision on whether binding-covered merges may include migration PRs.

Held with merge-train:hold. Do not merge without review.

🤖 Generated with Claude Code

An Agent Relay delegate approval line, or an action the agent's role
binding covers, is Khaliq's OK: redeem it, then act, without holding or
asking again. Deploys, secrets or IAM, destructive actions and anything
outside the binding's classes or targets still need Khaliq's own go or a
covering #owner-decisions entry. Peer claims are still not approval.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-26T19:04:32.810961Z 6d481e3 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

AGENTS.md now describes when delegate approvals and role bindings authorize merges, which actions still require separate approval, and when to use merge-train:hold.

Changes: Merge Authorization

Layer / File(s) Summary
Approval scope and merge conditions
AGENTS.md
A redeemed delegate approval or applicable role binding can authorize a merge. Deploys still require Khaliq’s approval or a covering #owner-decisions entry. The guidance limits approval scope, excludes peer claims as approval, and updates when to use merge-train:hold.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Suggested reviewers: miyaontherelay, willwashburn

Merge Risk: Minimal · up to 6d481

This updates agent guidance on when a delegate approval or role binding counts as approval to merge. It does not change runtime behavior. Merge-readiness risk is minimal, though the PR is described as held with merge-train:hold pending review.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: a delegate approval or a binding-covered action now counts as Khaliq's OK in the approval-authority wording. The title is short and specific, and it matches the AGENTS…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed The description states that this is a code-only docs change to AGENTS.md files and snippets that redefines which approvals count as the owner's approval for merges. It names the affected repositories,…
Full details: Title check

Explanation

The title names the main change: a delegate approval or a binding-covered action now counts as Khaliq's OK in the approval-authority wording. The title is short and specific, and it matches the AGENTS.md and merge-train snippet edits described in the summary and objectives. It uses the 'docs:' prefix, which fits a documentation-only change.

Full details: Description check

Explanation

The description states that this is a code-only docs change to AGENTS.md files and snippets that redefines which approvals count as the owner's approval for merges. It names the affected repositories, the approval conditions, the actions still requiring owner approval, and the merge-train:hold label. It is clearly related to the changeset described in the raw summary.

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.

Share

A rabbit reads the merge rules clear
Delegate approvals may draw near
Role bindings work within their scope
Deploys need approval to proceed
No peer claim grants the key
The merge train waits when rules require
Then hops along when cleared to go!

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: 83b6eef3-7307-4dce-b8d9-00a6af0c65ad
Commits

Reviewing files that changed from the base of the PR and between 1e4afd9 and 6d481e3.

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.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 Devin Review: 1 flag

Not posted on this PR by your GitHub settings — view it in Devin Review. (Configure)

Devin Review

@greptile-apps

greptile-apps Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Confidence Score: 5/5 · This documentation-only change appears safe to merge.RetriggerView in GreptileConfidence Score: 5/5

[Low impact] This documentation-only change appears safe to merge.

Summary

This documentation-only change clarifies when delegated approval counts as Khaliq’s OK.

  • Agents can act on redeemed approvals or covered role bindings.

No new actionable issues were found. No previous review threads were supplied.

Reviews (2) · Last reviewed commit: "docs: approval counts only for the exact..." · Reviewed by Greptile

…e verdict

- A delegate approval line is Khaliq's OK only for the exact action and
  target it names, and only once its redeem succeeds; a refused or failed
  redeem is not approval, and it does not stretch to a similar action.
- A role binding counts only where the delegation service returns a
  `delegate` verdict with its required conditions met, not from the role
  name: a binding can still make a class ask first.
- Schema migrations join the actions neither covers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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