Swift Package Manager cache invalidation after Package.swift dependency version change
Swift Package Manager caches resolved dependencies and built artifacts locally to speed up repeated builds. The documented behavior for when those caches are invalidated after a manual edit to Package.swift is not fully specified. The goal is to clarify the configuration transition that determines whether derived artifacts are reused or rebuilt after a depen