cachedFeedback();$reads=$GLOBALS['deviceReads']; $GLOBALS['locks']['ENELIX.V4.Feedback.44234']=true; $b->watchdogOnly(); check($b->active() && $GLOBALS['deviceReads']===$reads,'busy sampler cannot block watchdog or trigger device I/O'); check($b->cachedFeedback()===$before,'cache preserves original confirmed timestamps and values'); $b->V4BatterieTestStoppen(); check(!$b->active() && end($b->writes)===0,'stop reaches zero while the independent sampler is busy'); [$m,$b,$s]=fixture();start($m,$s);tick($m);advance(3);$b->watchdogOnly(); check(!$b->active() && end($b->writes)===0,'stale sample revokes the command after two seconds'); [$m,$b,$s]=fixture();start($m,$s);tick($m);$GLOBALS['mono']+=2.01;$b->watchdogOnly(); check(!$b->active() && end($b->writes)===0,'monotonic sample age blocks frozen wall clock'); [$m,$b,$s]=fixture();start($m,$s);tick($m);$GLOBALS['clock']--;$b->watchdogOnly(); check(!$b->active() && end($b->writes)===0,'future cache timestamp is never made current'); [$m,$b,$s]=fixture();start($m,$s);tick($m);$deviceReadOk=false;$b->sample(); rejects(fn()=>$b->cachedFeedback(),'failed acquisition invalidates a still-young cached sample'); [$m,$b,$s]=fixture();start($m,$s);tick($m);$reads=$GLOBALS['deviceReads']; $c=$m->command();$c['sequence']++;$b->V4BatterieTestBefehl(json_encode($c)); check($b->active() && $GLOBALS['deviceReads']===$reads,'command independently validates cache and sends without transport I/O');