A cache attached to a populated store that never pulled held an empty image, so put_prepared_batch replaced the store with only its new keys. The require_loaded gate now covers a never-pulled state (and a store attached after a pull) as well as a refused load. A cache without stores needs no pull. Pinned in single-file and redb.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>