Stumbled across this article - seems to kinda fit some themes - Scientists Assert They Will Soon be Able to Edit Human Memories
“One focus of our current research is to develop strategies to eliminate problematic non-associative memories that may become stamped on the brain during a traumatic experience without harming associative memories, which can help people make informed decisions in the future – like not taking shortcuts through dark alleys in high-crime areas,” says Schacher.