Dima's memories led me to the tomb where Captain Avery lies. Dima killed her and replaced her with a synth to control Far Harbor. He made her an agent.