I think there was coordination between the CIA, the shooter, and the secret Service.I don’t believe there was any coordination with the Secret Service and the shooter.
When there’s an operation of this nature, the Feds team up with local law enforcement. When that happens it’s often the case that details are not communicated effectively.
The secret Service made it possible for the shooter to get to his position, and the CIA ran him.