When deleting a source file then running arc liberate arcanist raises an exception. This can be resolved by manually editing the __phutil_library_map__.php file but I would hope that instead we could recover and delete the sourcefile from the library map.
IGNORING CLASS LOAD FAILURE: Source file "/path/to/sourcefile.php" failed to load. [2023-06-19 15:31:44] EXCEPTION: (Exception) Source file "/path/to/sourcefile.php" failed to load. at [<arcanist>/src/init/lib/PhutilBootloader.php:272] arcanist(), tmphutil() #0 PhutilBootloader::executeInclude(string) called at [<arcanist>/src/init/lib/PhutilBootloader.php:211] #1 PhutilBootloader::loadLibrarySource(string, string) called at [<arcanist>/src/symbols/PhutilSymbolLoader.php:423] #2 PhutilSymbolLoader::loadSymbol(array) called at [<arcanist>/src/symbols/PhutilSymbolLoader.php:277] #3 PhutilSymbolLoader::selectAndLoadSymbols() called at [<arcanist>/src/init/init-library.php:23] #4 __phutil_autoload(string) called at [<arcanist>/src/runtime/ArcanistRuntime.php:885] #5 ArcanistRuntime::getHelpWorkflows(array) called at [<arcanist>/src/runtime/ArcanistRuntime.php:167] #6 ArcanistRuntime::executeCore(array) called at [<arcanist>/src/runtime/ArcanistRuntime.php:37] #7 ArcanistRuntime::execute(array) called at [<arcanist>/support/init/init-arcanist.php:6] #8 require_once(string) called at [<arcanist>/bin/arc:10]