Which side of the fence faces the neighbor, and where on the line does it go?
Finished side out. Most municipal codes and effectively every HOA want the smooth face toward the street and the neighbor, with rails and posts on your side. Shadowbox and board-on-board end the argument by reading the same from both directions, which is why they are the default on a shared line. Set the fence 4 to 6 in inside your own line rather than on it — that keeps it unambiguously yours and lets you maintain both faces without stepping onto someone else's ground. If you are within a foot of the line and the pins are not findable, pay $500–1,000 for a boundary survey before you dig, not after the neighbor objects.
How wide should the gates be?
Three feet passes a person, but 4 ft is the number that matters — that is what a wheelbarrow, a push mower or a hand truck needs, and the upcharge over a 3 ft kit is small. Go 5 ft for side-yard access where a riding mower or a small trailer has to get through. Above 5 ft build a double gate rather than one wide leaf: a single leaf past about 5 ft levers on its hinges and sags within a season no matter how good the hardware is. Drive gates for a car run 10 to 12 ft, always as a pair and always on 6x6 posts.
Can I build a fence on top of a retaining wall?
Not into the wall itself. Segmental block walls are not designed for the overturning load a fence hands them, and core-drilling the caps voids most manufacturers' systems. Set the posts in their own footings behind the wall — at least 3 ft back from the face, further on a tall wall — or cast sleeves into the reinforced zone while the wall is going up. Check how your code measures height as well: if it measures from the low side, a 4 ft wall under a 6 ft fence is a 10 ft fence. Size the wall itself with the Retaining Wall Calculator.
How long does a DIY fence really take?
Four working days for two people on a typical 150 ft wood privacy run, not one weekend. Day one is layout, the 811 locate and digging — a rented two-person auger does twenty to thirty holes, a clamshell digger eight to ten. Day two sets and plumbs the posts and then stops: fast-setting mix needs about four hours before it takes load, standard mix wants overnight, and no gate should hang the same day. Days three and four are rails, pickets, gates and caps. Rocky or root-bound ground doubles the digging.