Command execution logic moves from the Handler type to Repository, to allow us to introduce Repository-owned command-scoped contexts later.