Skip to content

docs(id): talk-page semantics decision record (closes #5871) - #8041

Merged
dezren39 merged 1 commit into
mainfrom
queue/13014-5871-talk-page-semantics
Nov 9, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/13014-5871-talk-page-semantics

Conversation

@dezren39

@dezren39 dezren39 commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

Closes #5871.

Decision record for talk-page semantics, settling the four questions #5682 §2 leaves open. Design only — no implementation code.

Decisions

  1. Creation — lazy. A talk page exists only as the talk_for binding on the first signed post; an undiscussed object costs zero storage and exposes no artifact. Clients may offer "start the discussion" to any object reader; nothing is pre-created.
  2. Permissions — intersection, narrowing-only. can_read(talk_page) = can_read(object) ∧ is_member(conversation). No override may widen past object read-authority. Cross-object threads intersect over all anchors. Hard rule: no content or existence leak — for a non-reader the page is indistinguishable from an object with no talk page.
  3. Lifecycle. Archive makes posting fail at admission (architectural, not client-side); ownership transfer moves binding/governance authority with the object without re-binding; object tombstone preserves the conversation, folds the binding to orphaned, removes the object-side entry point, and never re-adopts the page on object re-creation; talk_for targeting a conversation is rejected so recursion is depth one.
  4. Moderation and binding — split. Object owner governs structure (lock/close/pin/announce/slow) via signed events; server moderation (id(world): F14.6 builder and moderator authority through session frames (F12.3 remainder) #835) retains takedown, implemented as signed events, never deletes. Only the object owner or an owner-named delegate may bind; unauthorized bindings are rejected at admission (disputed is for legitimate conflicts only).
  5. Mapping to existing code. Membership is the object read set projected through group policy (pkgs/id/src/groups/policy.rs); History::Full for unconditional audiences, History::FromJoin when read-authority is granted per key, Recent(n) only to tighten. Revocation cannot un-deliver — stated as the design's one honest limitation, with key rotation left to id: design: encrypted shares & key distribution (from #5672) #5801.

Explicitly recorded for parents/siblings: #5682 §2 is preserved and only refined (the read-authority sentence is read as intersection + narrowing); #5872 is unchanged — this record supplies the binding authority and visibility intersection it delegated; #5870/#835/#5873/#5874/#5875 untouched. If #5682 intended "any object reader reads every thread regardless of membership", that is a parent change and is flagged rather than made silently.

Nine testable invariants are in §6 (intersection at read time, no-existence-leak indistinguishability, narrowing-only as a property test, lazy equivalence, depth one, preservation, authority determinism, architectural archive, total history mapping).


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 9, 2026 12:28
@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-09T12:28:49.019918Z
We couldn’t complete this review. Comment @codex review to try again.
d6b7f73 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 46 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: 794d8755-a8fa-4a93-91f1-136df666d7f9
Commits

Reviewing files that changed from the base of the PR and between 9fbddc7 and d6b7f73.

Files selected for processing: 1

  • doc/2026-11-08_design_id5871.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 added work/assigned Queue worker lifecycle state queue/claimed Queue worker lifecycle state status/in-progress Queue worker lifecycle state labels Nov 9, 2026
@dezren39

dezren39 commented Nov 9, 2026

Copy link
Copy Markdown
Member Author

🤖 Agent note · picked up (PR shepherd)

@dezren39
dezren39 merged commit 70d9c69 into main Nov 9, 2026
2 of 5 checks passed
@dezren39
dezren39 deleted the queue/13014-5871-talk-page-semantics branch November 9, 2026 12:44
@dezren39 dezren39 removed status/in-progress Queue worker lifecycle state queue/claimed Queue worker lifecycle state work/assigned Queue worker lifecycle state labels Nov 9, 2026
@dezren39

dezren39 commented Nov 9, 2026

Copy link
Copy Markdown
Member Author

🤖 Agent note · done

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.

id: design: talk-page semantics (from #5682)

1 participant