GeezerVison is showing github.com — id-core: fenced jurisdiction migration control plane core (#3404) by dezren39 · Pull Request #13347 · developing-today/code
Conversation
dezren39
commented
Nov 23, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Slice
Lands the pure control-plane core for the fenced jurisdiction migration control plane tracked in #3404 — the slice Lane VY implemented, adopted through Lanes WL and WO, and held under the flag hold recorded on the issue (comment 7101852149) until Drew's batch approval on 2026-11-23.
- New module
pkgs/id/crates/id-core/src/migration_control.rs: durable migration record, phase machine (pending → source freeze → freeze acknowledged → export → target activation → switched, plus maintenance and abort-to-forward-only recovery), CAS-checked routing-epoch transitions, lease/fencing token, write-admission decision, export gate on the freeze acknowledgement. 17 tests.
- Wiring:
pub mod migration_control in id-core; serde derives on Jurisdiction in residency.rs (serde is already an id-core dependency); re-export from the root id crate.
Verification (laptop, nix develop in pkgs/id)
cargo nextest run -p id-core: 853 passed, 1 skipped, 0 failed — all 17 migration_control tests pass (ambiguous-CAS idempotence, stale-epoch rejection, stale-token fencing, freeze-gated export, resume-from-record, and the rest).
cargo check -p id: clean.
- The new module is rustfmt-clean. A workspace-wide
cargo fmt --check also flags pre-existing drift in untouched files (admission_gate.rs, world_presentation.rs, graph/attribute.rs); left alone here.
Scope note
This is one slice of #3404; the issue remains open. Hosted wiring (WebSocket/alarm/RPC/bridge enforcement) rides on #3399/#3400/#3402. The export-gate slice in PR #13275 (oc-code-04) is separate and untouched; the only shared neighbourhood is the pkgs/id/src/lib.rs wiring lines, additive on both sides.

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
chatgpt-codex-connector[bot] reacted with thumbs up emoji
Adds pkgs/id/crates/id-core/src/migration_control.rs: the pure,
durable-record control-plane core for jurisdiction migration -
the phase machine (pending, source freeze, freeze acknowledged,
export, target activation, switched, maintenance, and
abort-to-forward-only recovery), CAS-checked routing-epoch
transitions, the lease/fencing token, and the write-admission
decision the hosted paths will consult. Jurisdiction gains serde
derives so migration records can persist; the module is
re-exported from the root id crate.
Implementation started by Lane VY; adopted through Lanes WL and
WO; landed under Drew's 2026-11-23 batch approval of the flag
hold recorded on #3404. One slice of the issue: the hosted
wiring remains ahead, gated on the directory and routing work.
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 58 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:
6d1129ea-b6c5-47a6-a5b5-8264756591ad
Commits
-
Reviewing files that changed from the base of the PR and between ae19862 and f6c8764.
Files selected for processing: 4
-
pkgs/id/crates/id-core/src/lib.rs
pkgs/id/crates/id-core/src/migration_control.rs
pkgs/id/crates/id-core/src/residency.rs
pkgs/id/src/lib.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
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
| Review |
Status |
Commit |
Review trigger |
| 📝 Code Review |
✅ Completed 2026-11-23T14:04:30.401037Z |
f6c8764 |
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.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 23, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|