Sync: opaque Sedimentree histories and disposable-tree lifecycle - #204
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
usregister per slot. Fresh replacement IDs, deterministic concurrent intent resolution, execution-time eligibility checks, control-first reconnect and retirement prevent stale content from resurrecting after winning control is learned.Verification
cargo fmt --all -- --checkcargo clippy --workspace --all-targets -- -D warningscargo test --workspace(engine 6 unit + 48 integration; kernel 27 unit + 87 integration)cargo test -p polyvisor-engine -p polyvisor-kerneljust witcargo build --workspace --target wasm32-wasip2 --releasejust composedeno task builddeno task checkdeno task test(36 passed)CI supplies the existing real-Chromium E2E regression gate. No UI changes or new browser claims.
Scope and limits
Exploratory project with no users: document IDs now have a disjoint namespace; no migration layer. No public history WIT, backup identity/recovery implementation, or chat protocol/UI.
Cleanup concerns cooperating replicas/stores, not secure erasure. Offline replicas may retain/serve a former version until learning winning control. Keyhive's private, nonserialized content-key cache can remain until vault teardown; wrapper payload/head/ancestor cleanup and eligibility still apply. An upload completing during group adoption can remain orphaned in the old folder because adoption does not authorize deleting old-group data.
Automerge will be armed with merge commits and watched through CI.