Skip to content

doc(id): decision record for the edit/fork graph (#5833) - #7943

Merged
dezren39 merged 1 commit into
mainfrom
queue/14114-5833-edit-fork-graph
Nov 9, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/14114-5833-edit-fork-graph

Conversation

@dezren39

@dezren39 dezren39 commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

Decision record for #5833 — decomposition item 4 of #5677 (edit/fork graph). Queue task 14114.

What this settles

  • Graph model: the edit/fork graph is a projection over the landed signed revision DAG (id: build: stable note identity and revision graph #3814, pkgs/id/src/notes.rs). A lineage — a maximal unbranched path identified by its first revision — partitions the DAG deterministically; forks are first-class citizens that get no new object identity.
  • Divergence views: deterministic projections comparing lineages by ancestry set-difference (well-defined under criss-cross merges); every lineage disclosed, none hidden by demotion or rejection; default-lineage selection is a view default, never a gate.
  • Mark-most-correct: attributed, scoped, superseding marks recorded in the object's changelog — one current mark per (object, community scope), set by the owner of record or a scope admin, following the lineage as it extends, always displayed scope-qualified. This is the marking mechanism the ranking record (id: design: personalized search ranking for notes (from #5677) #5836 §7) defers to this design; §5 rule 7 states the consumer mapping (tier 2 = marked lineage's current tip) and that mark semantics impose no cross-signal precedence, so id: design: personalized search ranking for notes (from #5677) #5836 §9's default stands unamended.
  • Merge proposals: recorded coordination objects (open → merged / rejected / withdrawn / superseded) around the substrate's explicit signed merge revision; rejection never deletes the rejected line; proposals are a gate only where id: design: draft → owner/admin approval flow (from #5677) #5835 approval governance requires them.

Boundaries kept

Parent-fixed decisions (note↔board reference model, session merge model, sovereignty rule, approval flow shape) are cited, not re-decided; §8 states the boundary with each sibling (#5830, #5831, #5832, #5834, #5835, #5836) and the substrate. Implementation slices (§9) wait on the #5834 changelog model and are filed when it lands, per the record.

Verified at origin/main aa01b61853: the revision DAG exists as described; no fork-graph/mark/proposal record existed (git grep for mark-most-correct over doc/ and pkgs/id/src empty before this PR).

Docs-only change; no code touched.


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

Decomposition item 4 of #5677, settling divergence views, mark-most-correct, and merge proposals over the landed signed revision DAG (#3814): lineages as a deterministic partition of the DAG, forks as first-class citizens with no new identity, scoped superseding marks that follow their lineage (the mechanism #5836 defers to this record), and merge proposals as recorded coordination objects around the substrate explicit signed merge revision. Parent-fixed decisions (reference model, session merge model, sovereignty, approval shape) are cited, not re-decided.
@dezren39
dezren39 requested a review from a team as a code owner November 9, 2026 04:01
@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-09T04:01:05.043681Z
We couldn’t complete this review. Comment @codex review to try again.
e381474 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 43 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: c9aae402-ebf2-467d-b039-73f4cd3e1c49
Commits

Reviewing files that changed from the base of the PR and between aa01b61 and e381474.

Files selected for processing: 1

  • doc/2026-11-09T03-57-04Z_design_id_edit_fork_graph/2026-11-09T03-57-04Z_design_id_edit_fork_graph.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 merged commit 88ab37a into main Nov 9, 2026
2 of 5 checks passed
@dezren39
dezren39 deleted the queue/14114-5833-edit-fork-graph branch November 9, 2026 04:01
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