Skip to content

docs(id): decision record — encrypted shares & key distribution (#5801) - #7961

Merged
dezren39 merged 1 commit into
mainfrom
queue/14235-5801-encrypted-shares-decision
Nov 9, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/14235-5801-encrypted-shares-decision

Conversation

@dezren39

@dezren39 dezren39 commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

Decision record for issue #5801 (decomposition item 3 of parent #5672), written in the #5900 precedent shape (PR #7877). Task 14235.

What it settles

  • Share shape: per-share key, two modes recorded in the share manifest — readable (grantees receive the key) and sealed (peers store/forward ciphertext, hold no key).
  • Key holders & delivery: owner always; readable grantees hold the current epoch key; keys delivered wrapped to identity keys via the group scheme's welcome machinery; delegation mints a new share, never a key hand-off; group keys are not share keys.
  • Rotation: event-driven epochs (add/remove/revoke/mode-change/owner) reusing pkgs/id/src/encryption's N7 discipline — no timer rotation; lazy re-encryption.
  • Revocation: forward-only cryptographic take-back is the v1 promise (answers the parent's open question); sealed shares get complete take-back; retroactive unreadability of delivered readable epochs is explicitly not promised.
  • Recipient proofs: owner-signed share manifest (grant lineage, granted-set commitment, epoch, classification ceiling, expiry) — provenance, integrity, completeness-within-the-grant; nothing provable about ungranted objects (existence privacy symmetry).
  • Composition: classification ∩ grant ∩ mode, each layer only narrowing; classification may mandate sealed mode.

Alternatives rejected and the invariants implementation must hold are in the record. No parent #5672 decision is changed; boundaries with #5799 / #5802 / #5803 stated in §7.

Closes #5801


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

)

Per-share key with readable/sealed modes, owner-originated wrapped key delivery via welcome machinery, event-driven epochs (no timers, per encryption N7), forward-only cryptographic take-back as the v1 promise, owner-signed share manifest for recipient proofs, and intersection composition with sensitivity classification and the #5672 grants model. Follows the #5900 decision-record shape (PR #7877). Task 14235.
@dezren39
dezren39 requested a review from a team as a code owner November 9, 2026 05:08
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

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

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-09T05:09:00.626271Z
We couldn’t complete this review. Comment @codex review to try again.
7cbddef 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

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@coderabbitai

coderabbitai Bot commented Nov 9, 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 36 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: acf74fcf-bb3e-4e3b-8768-9a552e2ccf98
Commits

Reviewing files that changed from the base of the PR and between 1cd22df and 7cbddef.

Files selected for processing: 1

  • doc/2026-11-09T05-06-00Z_decision_id5801_encrypted_shares_key_distribution.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

@dezren39

dezren39 commented Nov 9, 2026

Copy link
Copy Markdown
Member Author

Codex findings disposition (task 14235, lane code-y): the Codex review run on this PR hit Codex usage limits before producing findings — zero inline review comments exist (verified via the pulls/7961/comments API). No undispositioned Codex findings; the failure is a reviewer-quota failure, not a finding. This is a docs-only decision record (one new doc/ file, no code).

@dezren39

dezren39 commented Nov 9, 2026

Copy link
Copy Markdown
Member Author

agent-note:v1 — task 14235 (lane code-k, 2026-11-09) resumed and re-verified: PR #7961 OPEN at 7cbddef, no hard-stop labels, issue #5801 OPEN; Codex already dispositioned (review failed on usage limits, zero inline findings). Basic checks still QUEUED — parking task 14235 20m per CI rule. Resume: checks green -> merge PR #7961 -> complete task 14235.

@dezren39 dezren39 added queue/parked Queue task is parked (waiting on CI, time, or an event) status/parked Deliberately paused with a recorded resume condition work/assigned Queue worker lifecycle state labels Nov 9, 2026
@dezren39

dezren39 commented Nov 9, 2026

Copy link
Copy Markdown
Member Author

🤖 Agent note · parked (awaiting CI)

@dezren39
dezren39 merged commit fc395b5 into main Nov 9, 2026
2 of 5 checks passed
@dezren39
dezren39 deleted the queue/14235-5801-encrypted-shares-decision branch November 9, 2026 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

queue/parked Queue task is parked (waiting on CI, time, or an event) status/parked Deliberately paused with a recorded resume condition work/assigned Queue worker lifecycle state

Projects

None yet

Development

Successfully merging this pull request may close these issues.

id: design: encrypted shares & key distribution (from #5672)

1 participant