Skip to content

docs: a redeemed owner approval is the authority; #owner-decisions is an audit log - #176

Merged
khaliqgant merged 3 commits into
mainfrom
docs/approvals-audit-log
Nov 27, 2026
Merged

khaliqgant merged 3 commits into
mainfrom
docs/approvals-audit-log

Conversation

@khaliqgant

@khaliqgant khaliqgant commented Nov 27, 2026 •

Copy link
Copy Markdown
Member

Approved by Khaliq (#owner-decisions 251881794151014400, 2026-11-26 5:28 PM PT): "Yes, land the 'a used approval is the authority, #owner-decisions is audit only' rules text in cloud, relay, relay-control, skills and relay-web once reviewed". This PR changes the approval rules, which is a hard limit. That entry is the approval for it. The PR 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

One addition to the approval section (AGENTS.md). It says:

  • A successfully redeemed owner approval is the authority for the exact action and target it names, within the existing rules: no redeem grants a hard limit, and only a (code owner) line is a code owner's OK.
  • Agents act on it without looking anything up in #owner-decisions.
  • #owner-decisions is an audit log that records approvals. It is not a source of approval agents must consult.

This is part of the signed-approvals workstream. A code owner says "go" once, the approval travels with the Relay message as a scoped owner_approval, and Cloud verifies it when the executing agent redeems it. Agents should not have to search #owner-decisions to confirm a redeemed approval.

What does not change

The hard limits and their approver wording are byte-for-byte as on main: the hard-limit list, "only a code owner's own direct go, or a top-level #owner-decisions entry quoting it that was posted by the session that heard the code owner", the code-owner definition, the (code owner) line rule, the own_owner exclusion, the fresh-redeem-on-new-head rule, the receipt marker, and the fallback and peer-claim lines. The diff only adds lines; nothing is removed or reworded.

Docs-only. There is no code, workflow, CODEOWNERS, secret or branch-policy change.

🤖 Generated with Claude Code


Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

View guided diff

… an audit log

Agents act on a successfully redeemed owner approval for the exact action
and target it names, without consulting #owner-decisions, which records
approvals. Hard limits and their approver wording are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Explain Change →

Important

  • Trigger review

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: 08a248c4-f5a2-4e30-a1f9-a898caf39c35

No actionable comments were generated in the recent review.

Walkthrough

The guidance now states that a redeemed owner approval applies only to the named action and target. It also says agents should not check #owner-decisions before acting and identifies the channel as an audit log, not an approval source.

Changes: Owner approval guidance

Layer / File(s) Summary
Clarify redeemed owner approval
AGENTS.md
The guidance limits a redeemed owner approval to the exact named action and target. It describes #owner-decisions as an audit log rather than an approval source.

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

Change: Other

Possibly related PRs

Merge Risk: Minimal · previous review 77f16

This PR only changes agent guidance text in AGENTS.md and does not change runtime behavior. It states that a redeemed owner approval covers only the exact action and target it names. No concrete merge-blocking risk was found. The author's own condition, Khaliq's direct go, should still be met before merging.

Pre-merge checks: Passed 4

Check name Status Explanation
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.
Title check Passed The title names the main change: AGENTS.md now says a redeemed owner approval is the authority, and #owner-decisions is an audit log. The title is specific and matches the raw summary and objectives. …
Description check Passed The description relates directly to the changeset. It describes the single addition to the approval section of AGENTS.md, the rules it adds (redeemed approval as authority, no lookup in #owner-decisio…
Full details: Title check

Explanation

The title names the main change: AGENTS.md now says a redeemed owner approval is the authority, and #owner-decisions is an audit log. The title is specific and matches the raw summary and objectives. It is a docs-only change, and the title says so through the docs: prefix.

Full details: Description check

Explanation

The description relates directly to the changeset. It describes the single addition to the approval section of AGENTS.md, the rules it adds (redeemed approval as authority, no lookup in #owner-decisions, #owner-decisions as audit log), and confirms that hard limits and approver wording are unchanged. It also covers the approval context and the docs-only scope.

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 rule with care
One named action, one target there
The audit log records the trail
Approval comes from the redeemed detail
Then off the rabbit hops, ears in the air

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: cc455d42-3c1b-447b-a8f1-f38da826f8f3
Commits

Reviewing files that changed from the base of the PR and between 2a1c5db and 77f16e7.

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 27, 2026 •

Copy link
Copy Markdown

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

[Medium impact] The documentation change appears safe to merge.

Summary

Clarifies when agents must consult #owner-decisions.

  • Agents can act on a redeemed owner approval without checking the audit channel.

No new issues found.

Reviews (3) · Last reviewed commit: "docs: scope the audit-log sentence to re..." · Reviewed by Greptile

@khaliqgant khaliqgant changed the title docs (do not merge without Khaliq's go): a redeemed owner approval is the authority; #owner-decisions is an audit log docs: a redeemed owner approval is the authority; #owner-decisions is an audit log Nov 27, 2026
khaliqgant and others added 2 commits November 26, 2026 17:44
…hanged

Review fix: say explicitly that a qualifying #owner-decisions entry still
approves the hard-limit and fallback cases.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review fix (d5-gate-owner): for a redeemed approval, #owner-decisions is
only the audit log; hard limits and the no-redeem fallback still use a code
owner's own go or a top-level entry.

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