Temples are built into city walls to bless and protect the defenses.
How is the Army of the Republic organized? How did the Greeks organize their armies?
Fill in the Final Rest organization (undead hunting specialists) and its position in the Wall Watch.
Dragon patrols would occassionally attack humanoid bands before they got too big. Perhaps tribes blame (rightfully) the Republic and attack? Develop dragon-fighting prestige classes?