Thanks for sticking with me here, Rambozo. I'm attaching some pics that will hopefully help make things clearer for you. It's not quite visible in the pic, but the pedal pot is labeled 22k A. Thanks for telling me what the A was, by the way. The only way I could think to read it was Kilo-amps, but that made no sense at all.
On all pots that I have used, the middle lug is the wiper and the outer two lugs are wiped-between. That seems consistent with what I observe when I put a multimeter on these two. On the pedal pot, resistance between Y/G and Brown goes from 2.4 Ohms to 22 kOhms when I push the pedal down. Resistance between Red and Brown goes from 22 kOhms to 2.4 when I push the pedal down. So my reading of it is that Brown (middle lug) is the wiper and Red and G/Y are being wiped-between. If that's true, then a more formal wiring diagram would be as shown below:
You're right that both Brown and G/Y are not attached to pin 4. I was confusing myself. When the pedal is pushed, G/Y shows connectivity to pin 4 because it is being connected to Brown through the pot. G/Y is actually connected to pin 3. Brown to pin 4. Gray to pin 5. You're also right that the pot doesn't go to zero Ohms. I just got sloppy in my speech. It's actually about 2.4 Ohms.