LeftResidue
class LeftResidue(val residue: suspend () -> ByteArray?) : DeviceKeyStoreFixture.KeyWriteInterruption
The hook planted what a crash mid-write leaves, and residue reads it back: its bytes while it is there, null once it is gone. The property checks the residue existed before the reopen, and is gone or overwritten after the next key write.