Design and approach
Clarify the approximate tapscript validation budget (src/bitcoin-util.cpp:414, head)
For tapscript, the budget comes from the supplied stack and script, while consensus initializes it from the serialized full witness, including the control block and any annex. Nonempty signature checks consume this budget, so budget-sensitive results can differ from the actual spend even when the tool reports unqualified success. Since a fragment may intentionally differ from the transaction witness, should -tx evaluate only an established matching witness, or should the result and help explicitly label the budget as approximate? The answer determines whether the tool needs a complete-witness evaluation mode or clearer labeling.
🟡 Minor
Validate initial stack element sizes for base scripts (src/bitcoin-util.cpp:447, head)
The initial-stack arguments are copied directly into stack, but the size check runs only for witness_v0 and tapscript. In BASE evaluation, an initial item larger than MAX_SCRIPT_ELEMENT_SIZE bypasses the limit applied to script pushes. For example, a script can drop such an item and leave a true result, even though a valid scriptSig cannot seed an item of that size. Apply the initial-item size check to BASE as well so the reported result reflects reachable consensus execution.
Disambiguate raw script hex from decimal assembly (src/bitcoin-util.cpp:312, head)
The raw-hex test takes precedence over the existing assembly parser. As a result, evalscript 10 is treated as bytecode 0x10 (a truncated data push), while ParseScript("10") parses the valid decimal assembly token as OP_10. This silently changes the meaning of a valid assembly fragment. Require an explicit raw-hex discriminator or otherwise define an unambiguous input mode, and retain coverage for both forms.
Review coverage was incomplete. The adversarial review had incomplete evidence. The adversarial_glm review had incomplete evidence.