004 guard fences stale claim

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

slate cleared
node-a claimed epoch=1
node-b seized epoch=2
node-a fenced: record now epoch=2
node-b still owns

Expected output

slate cleared
node-a claimed epoch=1
node-b seized epoch=2
node-a fenced: record now epoch=2
node-b still owns

Flows

flow ~reset click a branch to expand · @labels scroll to their anchor
reset (world: "tests/regression/400_RUNTIME_FEATURES/470_FLEET/470_004_guard_fences_stale_claim/world")
flow ~claim click a branch to expand · @labels scroll to their anchor
claim (world: "tests/regression/400_RUNTIME_FEATURES/470_FLEET/470_004_guard_fences_stale_claim/world", id: "room-42", node: "node-a", ttl-ms: 0)
flow ~seize click a branch to expand · @labels scroll to their anchor
seize (world: "tests/regression/400_RUNTIME_FEATURES/470_FLEET/470_004_guard_fences_stale_claim/world", id: "room-42", node: "node-b", ttl-ms: 0)
flow ~guard click a branch to expand · @labels scroll to their anchor
guard (world: "tests/regression/400_RUNTIME_FEATURES/470_FLEET/470_004_guard_fences_stale_claim/world", id: "room-42", node: "node-a", epoch: 1)
flow ~guard click a branch to expand · @labels scroll to their anchor
guard (world: "tests/regression/400_RUNTIME_FEATURES/470_FLEET/470_004_guard_fences_stale_claim/world", id: "room-42", node: "node-b", epoch: 2)

Test Configuration

MUST_RUN