Skip to content

docs(id): capability-change notices on reconnect — design record (#5959) - #12920

Merged
dezren39 merged 1 commit into
mainfrom
queue/19933-5959-capability-change-notices
Nov 23, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/19933-5959-capability-change-notices

Conversation

@dezren39

@dezren39 dezren39 commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Design record for #5959 (queue task 19933), written after its recorded gate cleared: #5958 closed 2026-11-23T04:05Z with the capability-model registry schema on main.

What it settles (consuming #5999 §6's comparison contract and #5958 §4's schema as given, not re-deriving them):

  • Placement: the comparison is a stage of connecting; on an uncovered expansion the connection is held — no world code runs, nothing is exercised — until the user chooses. Fail-closed (unknown) when the comparison cannot be computed.
  • Content: headline + one plain-language line per new class only, client-table wording, client-side and server-side lines in id: design: permission UX — Play Store-style prompts, client-side vs server-side disclosure, admin grant modes #5960's separate groups (server-side = disclosure only); full disclosure and the used-set view are one expansion away; a standing honesty line where a world's policy is grant-on-use.
  • Choices: Connect once / Connect and remember this set / Don't connect — no default button; per-class denial of new client-side classes composes with connecting (denied ⇒ excluded from the remembered set; load-bearing denial = refusal, stated plainly).
  • Re-baselining: B changes only via explicit remember, first-connect decisions, an invite pin, automatic narrowing, or grant-page edits. Decreases never prompt and always narrow — so a dropped-then-re-added capability prompts as the expansion it is.
  • Other audiences: server admins decide new server-side classes at serve time under id: design: permission UX — Play Store-style prompts, client-side vs server-side disclosure, admin grant modes #5960 §3 modes; authors get the publish-time declaration-defect channel. Neither rides the user's prompt.
  • Invites (Design: generic invite delegation — iroh tickets and links for worlds and groups #5751 §9.1 question, answered): accepting an invite may pin the baseline as issued — an optional capability_pin: { release_identity, table_version } term; an expansion between issuance and redemption prompts before first connect, exactly like a reconnect.

Docs only; git diff --check clean (verified in the worktree before push). Implementation slices are named in §10 of the record and filed as follow-up issues.


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

Settles the #5959 design, gated on #5958 (closed 2026-11-23): notice
placement in the connect flow (held before completion on an uncovered
expansion, fail-closed on unknown), delta-only plain-language content in
#5960's two groups, the three choices (connect once / connect and
remember / don't connect) with per-class denial, the re-baselining rule
with automatic narrowing on decreases, admin and author channels, and
the optional invite capability pin against #5751's terms. Consumes the
#5999 section 6 comparison contract and the #5958 registry schema
without re-deriving either.
@dezren39
dezren39 requested a review from a team as a code owner November 23, 2026 05:06
@coderabbitai

coderabbitai Bot commented Nov 23, 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 24 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: 015b38b9-b32b-440d-9af7-66a0015779d2
Commits

Reviewing files that changed from the base of the PR and between 663cf37 and 5c03db4.

Files selected for processing: 1

  • doc/2026-11-23T05-02-30Z_design_id_capability_change_notices/2026-11-23T05-02-30Z_design_id_capability_change_notices.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 23, 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-23T05:07:41.602047Z 5c03db4 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.

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