I am looking for a science fiction novel featuring a person who has had his memories erased and the orders for some task implanted in his mind.
The idea that intrigued me most was that this person's mind was being erased and newly reprogrammed after each assignment.
I thought it was by Peter F. Hamilton, but cannot identify the book by the descriptions I find online. Maybe it was written by a different author. I'm pretty sure it was published within the past five or so years.