Concatenate all section functions into the full detection script.
Independent sections run as parallel background jobs writing to temp
files, then results are concatenated in the original display order.
The header (sets CWD, IN_GIT, and ROOT) and project section run first
because later sections depend on their variables.