>>121183678The show explicitly points it out when Jimmy, Monica, and Darcy escaped and hacked into the database and learned Hayward was tracking Vision.
Even before that, most people here already put together what SWORD was up to considering the name change to Sentient Weapon Observation and Response Division, the line about the organization refocusing on artficial intelligence, and the CCTV footage of Vision's body being dissected upon by scientists in episode five.