Skip to content

Test delegated OAuth membership loss before tool execution - #1138

Merged
sidneyswift merged 3 commits into
mainfrom
codex/oauth-membership-loss
Oct 25, 2026
Merged

sidneyswift merged 3 commits into
mainfrom
codex/oauth-membership-loss

Conversation

@sswiftdrtv

@sswiftdrtv sswiftdrtv commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

A still-valid OAuth grant must not retain organization access after membership is removed. Two synthetic transition tests compose the real delegated wrapper and preparation guard: both workspaces initially succeed, then the removed workspace fails before execution while the retained workspace continues working. Both organization parameter spellings are covered. Runtime authorization is unchanged.

Final head a826478 preserves actual main 62ea715 after the queued merges. The entire two-file contribution is byte-identical. The only changed wrapper dependency adds the standard-only registration-preflight exclusion; membership preparation and policy helpers are unchanged.

Validation: all four GitHub workflows pass on the final head (OAuth compatibility, Unit Tests, Lint, Format), as do Vercel and CodeRabbit. A fresh 28-test focused run passes on this head. Both independent review axes retain zero findings after composition review. Earlier independent 28-test execution and guard-bypass mutation evidence remain accurately attributed to the original source; bypassing membership denial failed both new cases and was restored.

Evidence is bounded to synthetic verification, membership and business-operation fixtures. It does not establish production propagation, selected-organization grants, role-level permissions, actual business writes or named-client behavior. Advances recoupable/mono#207 J8 and #212/#214 without closing broader gates. Coordinator owns merge; no production access changes.

@vercel

vercel Bot commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
api Ready Ready Preview Oct 25, 2026 4:13am UTC

Request Review

@coderabbitai

coderabbitai Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • 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

Comment @coderabbitai help to get the list of available commands.

This branch was successfully deployed

1 active deployment
Preview — a826478b Deployed Oct 25, 2026 by vercel[bot]
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.

2 participants