The wrapper finds the closest matching compile command using filename heuristics and makes minimal tweaks so it can be used with the header.
This isn't hooked up to anything by default, we could consider automatically wrapping commands that tools get from the autodetectFrom* methods. But my immediate plan is to enable it in clangd: D45007.
Maybe add a comment describing the use-cases we had in mind while designing these heuristics?