Odin: the projection-unreadable mark is found through anyhow context layers

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
soul-probe 2026-09-30 05:23:54 +02:00
commit dc46be205a

View file

@ -627,10 +627,7 @@ impl RuntimeState {
/// failure of Odin's own authority, marked for the fatal rule in `survive`,
/// whatever error it wraps.
fn own_projection_failure(error: anyhow::Error) -> anyhow::Error {
if error
.chain()
.any(|cause| cause.is::<ProjectionUnreadable>())
{
if error.downcast_ref::<ProjectionUnreadable>().is_some() {
return error;
}
error.context(PresenceAuthorityRefused(