Skip to content

feat(id): fence durable world journals by immutable partition (#3898 slice 2) - #15460

Merged
dezren39 merged 3 commits into
mainfrom
claude/project-thread-mnx9mn
Nov 26, 2026
Merged

dezren39 merged 3 commits into
mainfrom
claude/project-thread-mnx9mn

Conversation

@dezren39

@dezren39 dezren39 commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

Refs #3898

Before: a world journal on disk carried no jurisdiction, so any caller that knew a world directory could open its journal in any partition. The fix sat in draft #14658, which had stalled with failing tests and conflicts.

After: a world journal records an immutable jurisdiction at creation. Reopening in the same partition works; reopening in another partition, through the unscoped production opener, through a symlink or alias, or over malformed metadata is refused before any tail repair. Legacy journals are never adopted silently.

How: the three content commits from #14658 cherry-picked onto main (its sandbox-test gate commit is already on main), with the doc/README.md conflict resolved by keeping both entries. Ten partition-fence tests pass remotely and rustfmt is clean; the clippy errors in that run are in id-core and already on main. Original work by lane code-g in #14658; this supersedes it.


Generated by Claude Code


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

@dezren39
dezren39 marked this pull request as ready for review November 26, 2026 08:03
@coderabbitai

coderabbitai Bot commented Nov 26, 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 30 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: 98237f3d-512f-4d52-bf13-163657fef1ce
Commits

Reviewing files that changed from the base of the PR and between fce732d and 0a0aa69.

Files selected for processing: 3

  • doc/2026-11-24T23-10-00Z_feature_world_partition_fence/2026-11-24T23-10-00Z_feature_world_partition_fence.md
  • doc/README.md
  • pkgs/id/crates/id-worlds/src/world_store.rs
  • 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

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