Movement's Aptos Core repository has merged a significant framework enhancement designed to provide better lifecycle management for core resources accounts. PR #167, authored by @andygolay, introduces the `DECOMMISSION_CORE_RESOURCES` feature flag alongside a new `account::destroy_account_from` function, giving developers a controlled mechanism to decommission critical system accounts.
The implementation adds the `account::destroy_account_from` function with comprehensive unit test coverage, configured to abort execution if the feature flag is not enabled. This safety-first design ensures that account destruction operations cannot occur accidentally. Additionally, the `account::create_account` function has been modified to prevent creation of the core resources account (@a550c18) unless the feature flag is explicitly enabled, further protecting system integrity.
The change has been thoroughly tested through the Movement Move testing framework (`movement move test --package-dir aptos-move/framework/aptos-framework`), validating both happy and unhappy execution paths. This feature enhances the Aptos Framework's account management capabilities, allowing operators to manage core system resources with greater flexibility while maintaining robust safety guarantees through feature flag gating.

