Skip to content

docs(bedside): BA-W01 identity, membership and authorization contract - #11749

Merged
dezren39 merged 1 commit into
mainfrom
queue/20384-9365-ba-w01-contract
Nov 18, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/20384-9365-ba-w01-contract

Conversation

@dezren39

@dezren39 dezren39 commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Closes the first step of #9365 (BA-W01): component contract, requirement mapping, negative-test plan, and leaf split for identity, store membership, roles, invitations, guest claim, policy evaluation and enforcement surfaces.

Scope ledger rows: BA-003, BA-043 to BA-046, BA-078 to BA-089. Every row maps to a contract clause or an explicit gap (section 7). External gates (provider setup, account-link proofs, open-audience definition) are named on the gated leaves.

Docs only. No implementation, no vault or credential changes.

Leaves L1-L8 are listed in section 10 and filed as issues linked from #9365 in a follow-up comment.

Queue task 20384 (repo-worker-code, openchamber scheduled lane any-o).


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

@dezren39
dezren39 requested a review from a team as a code owner November 18, 2026 08:41
@coderabbitai

coderabbitai Bot commented Nov 18, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 21 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 8219b61f-7900-48e1-9655-147c672a9237
Commits

Reviewing files that changed from the base of the PR and between 94cae4a and c28b150.

Files selected for processing: 1

  • doc/2026-11-13T07-28-00Z_design_bedside-and-away/ba-w01-identity-authorization-contract.md
  • 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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 18, 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-18T08:45:11.724425Z c28b150 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c28b1501d9

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +165 to +166
- Enforcement is switched per surface. Disabling enforcement for one surface must not disable
others.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Preserve policy enforcement when rolling back a surface

If a store already contains item-level denies, disabling enforcement on search, history, or exports exposes those records through that surface even when all other surfaces remain protected. This rollback procedure contradicts the existing rollback contract in pkgs/bedside-and-away/design/identity-access.md, which requires retaining policy enforcement or freezing affected stores. Restrict per-surface rollback to a previously enforcing implementation, or make the affected surface unavailable rather than bypassing authorization.

Useful? React with 👍 / 👎.

@dezren39
dezren39 merged commit d2dd563 into main Nov 18, 2026
1 check passed
@dezren39
dezren39 deleted the queue/20384-9365-ba-w01-contract branch November 18, 2026 09:16
@dezren39 dezren39 added the app/bedside-and-away Package/app: bedside-and-away (pkgs/ or apps/ in this repo) label Nov 18, 2026 — with Claude
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app/bedside-and-away Package/app: bedside-and-away (pkgs/ or apps/ in this repo) status/in-review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant