Problem
When USE_LOCAL_REGISTRY=true and RUDI_REGISTRY_ROOT selects an explicit checkout, fetchIndex() can still return a newer or equal-mtime cache created from a different local root. CI exposed this as a repeated resolver test failure: one test received the previous fixture's package contract.
Evidence
Scope
- make a valid explicitly configured local Registry index authoritative
- retain existing mtime/cache behavior for auto-discovered local roots
- add a deterministic regression with an intentionally newer stale cache
- keep this fix independent of the feature PR stack
Acceptance
Problem
When
USE_LOCAL_REGISTRY=trueandRUDI_REGISTRY_ROOTselects an explicit checkout,fetchIndex()can still return a newer or equal-mtime cache created from a different local root. CI exposed this as a repeated resolver test failure: one test received the previous fixture's package contract.Evidence
RUDI_REGISTRY_ROOTand its mtime winsScope
Acceptance