Relocation

sealed interface Relocation

The outcome of deriving the §4 generation-move from log-recorded acked finals (EntitlementLedger.relocationPatch). Three outcomes, all deterministic functions of the same inputs, so every peer derives the identical one.

Inheritors

Types

Link copied to clipboard
data class Moved(val patch: EntitlementLedger) : Relocation

The derived patch — drain each fenced edge, credit the live edge.

Link copied to clipboard
data object Nothing : Relocation

Every fenced edge is already drained: nothing left to move (the idempotence case, §5.4 iii).

Link copied to clipboard
data class Refused(val reason: String) : Relocation

The move is refused — reason is the diagnostic. Fail-closed: the strand stays standing.