I am a licensed gas technician and install many furnaces, water tanks, air conditioners etc... Althought sky rider is correct, the code is silent on distance that 636 needs to terminate from a wall, common sense is usually used. First of all there are many options you have, The first I would bring to your neighbour is to run the 636 pipe vertically up the wall. Of course he will need supports (cheap, could use all round, valley hangers etc.), but (dont quote me on this) there is a rule in the gas code about venting into a common walkway. This problem would arise very rarely, but I do recall there being a code for it. I believe the height is supposed to be 7 feet. Since the fumes are coming out hot, your carbon monoxide and flue gases would terminate and blow up, at least putting you at ease about the fumes. Another thing, (goddamn rookie technicians i tell you...)
Tell them to cut the pipe coming out of the wall back as far back as possible so that the edge of the 90 is sitting inside the brick, (they may need to chip the brick out more) this will make the pipe tighter to the wall, and also the 90 at the top poitning towards your house can be cut off and they can glue a new one back on facing horizontal to the wall. This would eliminate the issue of Flue gases being blown in the direction of your house.
Your neighbour is indeed right about the cost of running 636 through a finished basement. Its a royal pain in the cunt
next time, just call me for the install.