agent: add global unit support to reconciler

Why was this change necessary?