Why the baseline format needed more fields
Taproot outputs can be spent through a key path or one of the permitted script paths. BIP-371 defines PSBT fields for Taproot data, including a key-path signature, script-path signatures and relevant key-derivation information. The fields apply to PSBT v0 as well as v2. Bitcoin BIPs · BIP-371 ↗
Which data depends on the path
A key-path spend and a script-path spend require different signing and verification inputs. A script-path signer may need information about the selected leaf script and how it relates to the committed output. An implementation should confirm the intended path and keep the associated metadata through export and reimport.
How to test interoperability
Build fixtures for both spending paths and move them through the wallet and signer versions used in production. Check that the recipient and amounts remain correct, that the necessary fields survive, and that the intended path finalizes. A PSBT that opens successfully can still be missing the data a particular signer needs.
