You have it right. For most installations with 1x SRAM mountain cranks, the -6mm offset is for 135 QR and 142x12, and the -3mm is Boost aka 148x12.
The "most installations" qualifier is due to the various asymmetrical rear end designs out there, like for example Cannondale's Ai. Bikes like that shift the cassette over by some amount, so the rear chainline is wider than it would be. That is one instance where what you have could be the right thing even on a 142 bike.