The rules of retailing are being rewritten as hope fades that inflation will subside any time soon, or that supply chain disruptions are easing. These ongoing challenges have retailers scrambling daily to reinvent how they operate as conditions seem to lurch from quarter to quarter.