💡 Suggestion
Test merging two present modifiable-flag fields (src/test/psbt_tests.cpp:397, head)
The new cases cover absent/present combinations but not merges where both PSBTs provide a value. Add shared and asymmetric permission cases to catch an implementation that clears bits 0 and 1 unconditionally while retaining the bit-2 OR. Also assert that bit 2 is clear when neither side sets it.