With a warrant, they definitely can legally record you without your consent and your knowledge, e.g. secretly invading your home and placing recording devices there - IMHO that's the point of the parent post; while there are checks and balances that require legal review, in the end, the government can do all that unilaterally after a judge approves that it is necessary.