When he's seen by some ratkin. Then you need to talk to the Rat King. He sends a squad to find Scrap in his hideout. Don't help him so they find him, bring to the King and there it begins
happened to me some time after I helped him to build a house there