detail
Phase 3 verification caught most of the earlier 91-file migration validating incoming requests against only the first token in the active array (cai_current_token) instead of the whole array (cai_check_token) -- old token worked everywhere, new token was rejected almost everywhere. Fixed across 79 files, 49 automated + 30 individually inspected for real per-file variation including a separate unrelated ISC_TOKEN credential correctly left untouched in 12 files. Separately found backend/tools/file-editor.php had NO auth check at all on its main view or raw/download branch, a pre-existing unauthenticated file-read gap unrelated to tonight's work -- fixed with one gate covering every branch.