If they’re good decision theorists, they will just not wish to know anything that their wishing to know would cause problems like that.
If they’re good decision theorists they will just not make commitments that can only have downsides (relative to more careful commitments). It is of benefit to neither to arrange a system that requires mindreading how well the other person has mindread you and chosen to self modify to not want the thing that you would want them to not want to know. All that can do is allow extra opportunities for any deviation from good decision theory at any time to cause problems.
If they’re good decision theorists they will just not make commitments that can only have downsides (relative to more careful commitments). It is of benefit to neither to arrange a system that requires mindreading how well the other person has mindread you and chosen to self modify to not want the thing that you would want them to not want to know. All that can do is allow extra opportunities for any deviation from good decision theory at any time to cause problems.