Skip to content

doc: post-to-board flow & post semantics decision record (#5856) - #7605

Merged
dezren39 merged 3 commits into
mainfrom
queue/10259-5856-post-to-board-design
Nov 16, 2026
Merged

dezren39 merged 3 commits into
mainfrom
queue/10259-5856-post-to-board-design

Conversation

@dezren39

@dezren39 dezren39 commented Nov 8, 2026 •

Copy link
Copy Markdown
Member

Decision record for #5856 (decomposition item 1 of parent #5680). Docs only — no implementation.

What the record decides

  • A post carries a typed, signed PostSource: the target (board object, note, blob, or chat artefact), an immutable pin (the citation of record), an authorial presentation (full / excerpt / link card — not a copy mode), separate commentary, and an optional owner-signed widening confirmation. Pinned reference is the default; a live view is a labelled reading convenience.
  • Two independent authority gates: read authority on the object, posting rights on the board. A post never widens the target's read audience; the only widening path is an owner-signed WideningConfirm scoped to one board.
  • Reposts are new posts citing the source post. The attribution chain is derived from signed edges (so it cannot be asserted or laundered), the original commentary is preserved in its own field, and cycles are rejected on insertion.
  • Target-owner withdrawal is unilateral, total, and propagates to descendant reposts; nothing is erased, and board moderation stays a separate power.
  • Ten implementation invariants, plus hazards: embed_ref cannot be reused (its same-board scope check), off-graph targets (notes/blobs) must validate as opaque references, and backlinks extend the derived projection.

Scope discipline

Applies #5830's pin-plus-live rule for notes rather than forking it. Leaves intake (#5857), themes (#5858), embeds (#5859), moderation (#5861) and subscription/feed (#5862) to their own tickets. No parent #5680 decision is changed; its §1 open questions are the ones this ticket owns.

Verification

  • Baseline origin/main at 2b3ca04ac8; verified that pkgs/id/src/boards.rs has no cross-board or off-board post source (Post = board/thread/parent_post/body/attachments/embed_ref only; embed_ref is a same-board Post via require_scoped).
  • git grep -il 'post-to-board' doc pkgs/id → no prior record; no open PR implements one.
  • Docs-only: one new file under doc/. No code, tests, or config touched.

Refs #5856.


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

Decision record for #5856, decomposition item 1 of parent #5680.

- Posts carry a typed, signed PostSource: the target object plus an
  immutable pin (the citation of record), an authorial presentation
  (full/excerpt/link card) that is not a copy mode, and separate
  commentary. Pinned reference is the default; a live view is a labelled
  reading convenience, never the record.
- Two independent authority gates: read on the object, post on the board.
  A post never widens the target's read audience; the only widening path
  is an owner-signed WideningConfirm scoped to one board.
- Board-to-board reposts are new posts citing the source post; the
  attribution chain is derived from signed edges (unforgeable), the
  original commentary is preserved separately, and cycles are rejected.
- Target-owner withdrawal is unilateral, total and propagates to
  descendant reposts; nothing is erased. Board moderation and author
  withdrawal are separate powers.
- Applies #5830's pin-plus-live rule rather than forking it; leaves
  intake (#5857), themes (#5858), embeds (#5859), moderation (#5861)
  and subscription/feed (#5862) to their own tickets.
- Ten invariants plus implementation hazards: embed_ref cannot be reused
  (same-board scope check), off-graph targets validate as opaque
  references, backlinks extend the derived projection, PBT list.

Refs #5856. Docs only.

Co-authored-by: openchamber-scheduled-lane <noreply@openchamber.invalid>
@dezren39
dezren39 requested a review from a team as a code owner November 8, 2026 09:16
@coderabbitai

coderabbitai Bot commented Nov 8, 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 15 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: f5fdd639-dad8-41b9-87fa-b4bbc74c5764
Commits

Reviewing files that changed from the base of the PR and between 06d9df9 and 49446f7.

Files selected for processing: 1

  • doc/2026-11-08_design_id5856.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 8, 2026 •

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-16T11:05:49.511725Z
We couldn’t complete this review. Comment @codex review to try again.
49446f7 New commits
ℹ️ 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: 7a79da91be

ℹ️ 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 thread doc/2026-11-08_design_id5856.md Resolved
Comment thread doc/2026-11-08_design_id5856.md Resolved
… to target+pin

Two P2 review findings on the decision record are internal inconsistencies,
not style:

1. An Excerpt quoting a private target put the quoted span in the post
   body, while Decision 2 promises readers without target authority an
   unavailable state. The quote would have leaked through the body, and
   suppressing only the renderer would leave it readable. PostSource now
   carries `excerpt: TargetQuotation` separately from `commentary`;
   excerpt is target-derived and withheld on missing authority and on
   withdrawal, commentary is the sharer's own speech and stays visible.

2. Decision 4 required a superseding post to re-state `source`
   unchanged while also permitting edits to presentation and commentary
   inside PostSource — an implementation enforcing the first would reject
   the second. Immutability is now scoped to `target` + `pin`
   (identity and citation); presentation, excerpt, commentary and an
   owner-added widening confirm supersede normally.

Also: reposts must not attach an excerpt they cannot read; invariants 2, 3
and 6 and the property-test list restate the new split; stale `§N`
cross-references normalised to Decision numbers; baseline refreshed to
current main 1f5ac11 with the code claims re-verified.

Docs only: one file under doc/, no code, tests or config.
@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.

@dezren39

Copy link
Copy Markdown
Member Author

agent-note:v1 — picked up (shepherd)

  • task: 17314 (queue repo-health-code-pilot, worker repo-worker-code, lane any-o)
  • origin: openchamber-scheduled-lane
  • at: 2026-11-16T11:05Z
  • state: PR OPEN, docs-only (doc/2026-11-08_design_id5856.md), head e184c27c, 3373 commits behind origin/main
  • observation: check fleet-search pyjson/render parity failed on a docs-only diff (pre-existing parity drift on the stale merge base, not caused by this PR); scripts-test jobs sat 24h awaiting runners (infra starvation)
  • next: refresh the branch on origin/main, re-run CI, merge on merits; park if CI is still pending at the 5-minute poll mark

@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, add credits to your account and enable them for code reviews in your settings.

@dezren39
dezren39 merged commit 6cb9cf8 into main Nov 16, 2026
2 checks passed
@dezren39
dezren39 deleted the queue/10259-5856-post-to-board-design branch November 16, 2026 11:09
@dezren39

Copy link
Copy Markdown
Member Author

agent-note:v1 — done (merged)

  • task: 17314 (queue repo-health-code-pilot, worker repo-worker-code, lane any-o)
  • origin: openchamber-scheduled-lane
  • outcome: merged as 6cb9cf871d334f4032a21716806903f905a7b5c4 at 2026-11-16T11:09:04Z
  • what landed: docs-only decision record doc/2026-11-08_design_id5856.md (356 lines, one new file)
  • refresh: merged origin/main (3373 commits ahead) into the head branch — no conflicts — and pushed 49446f70d1 to queue/10259-5856-post-to-board-design so the delta is exactly the one doc file
  • CI on the refreshed head: .github/dependabot.yml pass, CodeRabbit skipped; the stale-base fleet-search pyjson/render parity failure (docs-only diff, pre-existing parity drift on the old merge base) and the 24h-awaiting-runner scripts-test jobs did not re-run on the refreshed head
  • state rechecked immediately before merge: OPEN, MERGEABLE, CLEAN, head 49446f70d1, no held/Drew-owned restriction
  • issue id: design: post-to-board flow & post semantics (from #5680) #5856 stays open: the record is Refs #5856 (implementation is a separate later ticket), so landing the decision does not close it

@dezren39 dezren39 removed status/in-progress Queue worker lifecycle state queue/claimed Queue worker lifecycle state work/assigned Queue worker lifecycle state labels Nov 16, 2026
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