💡 Suggestion
Document direct verification hook preconditions (src/script/sigcache.h:77, head)
The comment refers direct callers to the base-hook documentation, but that documentation does not state the requirements enforced before cache lookup: ECDSA requires a valid CPubKey encoding, and Schnorr requires exactly 64 signature bytes. The script checker removes an optional sighash byte first, so a 65-byte script-form Schnorr signature is not valid for a direct hook call. Document these requirements on the hooks or overrides so direct callers can avoid assertion failures. This is a documentation clarification; the regular script-checking path already supplies the required inputs.
Review coverage was incomplete. The adversarial review had incomplete evidence.