There's no head termite in this context, so how are they coordinating such large-scale structure?
But you can be pretty confident that that morning or some days before what was to be painted and what color was already set out. And when the foundation was laid, and plumbing installed, there was a plan communicated to those workers. Not necessarily the day of, but again sometime in advance.
If we scale to cities and towns, you'll be more likely to see a kind of uncoordinated development. The corner shop wasn't intended to be there on day one (outside of planned cities, at least), but someone recognized that it had value (on a popular foot path, near some homes or offices) and met the need without explicitly coordinating with the others. Of course, this is also tempered by zoning and permitting laws.
Heedless? Termites have quite well-defined heads.