<?php
declare(strict_types=1);$file=__DIR__.'/private/cache/5d/55caff83008b5e5948fa9c4777b0b5.php';$out=__DIR__.'/private/orphan-cache-cleanup.json';if(file_exists($out)||is_link($file)||!is_file($file)||hash_file('sha256',$file)!=='80dc8be3fb586513490c36c00afe4aa23717496421d0be9f6f8f3a9fab1374e3')throw new RuntimeException('Exact own orphan file lease');$raw=file_get_contents($file);$ttl=(int)substr($raw,8,12);if($ttl!==300)throw new RuntimeException('Original token TTL300');$rec=['exact_own_file'=>$file,'sha256'=>hash('sha256',$raw),'bytes'=>strlen($raw),'filemtime'=>filemtime($file),'original_TTL'=>$ttl,'cache_scope'=>'Own isolated worker only','no_global_stateless_logout_claim'=>true];if(!unlink($file))throw new RuntimeException('Own file deletion failed');$rec['removed']=!file_exists($file);file_put_contents($out,json_encode($rec,JSON_PRETTY_PRINT));chmod($out,0600);echo json_encode(['own_orphan_token_cache_removed'=>1,'TTL'=>300,'shared_cache_touched'=>false]),"\n";
