Repository navigation
docs(implementation): deleted-parent and role-revocation parity caveat - #18
Merged
Merged
Conversation
…y caveat Parent lookup is current-state and deletes are terminal, so a child delivered after its parent's delete is a permanent dead letter and replicas can diverge. Documents the arrival-order consequence, why a timestamp-relative fix is rejected (author-controlled messageTimestamp), the interim missing-vs-tombstoned classification, and the open convergence decision.
Refines the deleted-parent caveat: the client-facing reply does not distinguish a tombstoned parent from one that has not arrived; the receiver classifies it terminal locally, which avoids a tombstone-existence oracle.
Structural parent existence is evaluated against the parent's retained initial write, not its current liveness. A soft delete does not remove ancestry or seal children; prune removes ancestry and is terminal. Records the decision, the rejected alternatives, and the Enbox/dwn-spec divergence follow-ups.
This was referenced Sep 13, 2026
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.
What
Documents a parity caveat discovered while implementing #221's parent verification: a parent-bearing child whose parent has been deleted is a permanent dead letter, and replicas holding the same valid messages can converge to different Record state. Role revocation has the same shape.
Why it matters
DWN-REC-004read as a global admission guarantee.Contents
Adds a "Known parity caveat" section to
implementation/dependency-resolution.mdcovering:DWN-REC-004conflict (parents and role revocation);messageTimestampis author-controlled, so an author could backdate a child past the parent's delete; late tombstones also prevent convergence on their own);Invalid) locally, which does not restore convergence but avoids a tombstone-existence oracle;Notes
This is documentation only. It does not change normative DWN semantics; it records current Enbox parity, the Rust interim classification, and the unresolved decision.
Update: ADR 0007 added
This PR now also records the decision as
decisions/0007-retained-parent-ancestry.mdand updatesdecisions/README.md,implementation/dependency-resolution.md, andDWN-REC-004accordingly.pruneremoves ancestry and is terminal.