pub struct ShadowRefusal {
pub kind: String,
pub effect: Effect,
pub effect_id: EffectId,
pub input_hash: String,
pub served: bool,
}Expand description
One shadow refusal, structured for journaling (R0.12 wave 4): the effect the candidate would have attempted, classified, with the recorded-outcome disposition. The shadow’s report is built from these — which effects it refused, and which of them the source run’s journal could answer for.
Fields§
§kind: StringThe refused effect’s kind identifier.
effect: EffectThe wire-level safety class the shadow refused.
effect_id: EffectIdThe effect id the occurrence derived in the shadow’s scope.
input_hash: StringThe canonical input digest of the refused call.
served: boolWhether the recorded world answered for the refused effect: the
source run’s journal held a matching outcome, and the shadow
served it (the hybrid-replay rule — pin the effect, re-run the
decision). false means the candidate diverged from the
recording at this call: the journal has no answer to a call the
recorded world never received.