Reduces an invocation envelope to what is safe to persist and read back later.
The rules and the reasoning live in SanitizeForPersistence; this adds the one thing
specific to an envelope: an envelope whose every field was dropped is NO envelope, not an empty
one. Writing {} would tell the dispatcher the data/context roots exist and are empty, so a
data.x condition would read as absent-data and take a branch, where "nothing was carried" is
the honest answer.
Reduces an invocation envelope to what is safe to persist and read back later.
The rules and the reasoning live in SanitizeForPersistence; this adds the one thing specific to an envelope: an envelope whose every field was dropped is NO envelope, not an empty one. Writing
{}would tell the dispatcher thedata/contextroots exist and are empty, so adata.xcondition would read as absent-data and take a branch, where "nothing was carried" is the honest answer.