apply() was an 85-line function handling hash verification, validation, superseding teardown, bridge/compose provisioning, and store persistence. Extracted _check_hash_and_validate(), _teardown_superseded(), and _materialise() so each step is independently readable and testable.
7.8 KiB
7.8 KiB