They somehow choose the direction that the foragers will go, and by coming back -- just by making it back -- they tell the foragers that it's safe to go out.
どういうわけか 偵察アリは食糧アリが行く方向を決め その方向から無事に帰ってくることで 外出しても安全だと食糧アリに教えます