docs/dev-only-features.md
Development-only features must only be available when APP_ENV=local. Use the
isDev() helper consistently at every entry point so that hiding the UI is not
the only protection.
Resource migration is under development and is not available in production.
resources/views/livewire/project/shared/resource-operations.blade.php is
rendered only when isDev() returns true and displays a Dev badge.404 Not Found outside development mode by
migrateResourceToDestination() in bootstrap/helpers/api.php.MigrateResourceToDestination rejects execution outside
development mode as a defense-in-depth check.tests/Feature/MigrateResourceToDestinationTest.php.Before promoting this feature, remove all three runtime gates together and update the tests and this document in the same change.
Server transfer is under development and is not available in production.
isDev() returns
true, and the transfer Livewire components return 404 Not Found outside
development mode. Public Livewire actions repeat the check before doing work.ServerTransferController returns 404 Not Found unless isDev() returns true.tests/Feature/Api/ServerTransferApiTest.php and
tests/Feature/Livewire/ServerTransferUiTest.php.Before promoting this feature, remove the API and UI runtime gates together and update the tests and this document in the same change.