attentionContext(); $r=$context['writer']->recordNativeAttention($context,$requestId,'native_scope_incomplete'); $saved=($r['status']??null)==='native_attention_recorded'; }catch(Throwable $e){$saved=false;} return new WP_Error($saved?'owned_native_scope_pending':'owned_native_obligation_unsaved', __('OrderGuard has not completed erasure. Alias and order-reference coverage and server confirmation still require attention. Later erasers must not run yet.','orderguard'), array('attention_recorded'=>$saved,'automatic_retry'=>false,'erasure_complete'=>false,'coverage'=>'request_email_only')); } private static function error(string $code) { return new WP_Error($code,__('OrderGuard could not safely enter this erasure step. No completion is confirmed.','orderguard'), array('automatic_retry'=>false,'erasure_complete'=>false)); } }