

Just because the agent would’ve never made a different choice, doesn’t mean these things don’t matter anymore, it’s wholly irrelevant to whether or not we should punish them.
i do not make claims about punishments for actions, but instead i am talking about moral responsibility. consider a cat knocking over my cup, compared to a child who does it on purpose. your inclination is to hold the child morally responsible but not the cat. though you may punish the cat, you would not think that the cat is capable of the type of moral reasoning a child is capable of.
it may help to consider the example of a tree falling accidentally by gravity and killing a person. is that tree morally responsible for murder?
if you accept physical determinism, then knowledge, reasoning, experience, etc. are part of the physical system (ie. your brain) which makes the decision. they only play a role in that they influence the physical system for the decision making. the problem remains that you are forced to make a certain decision according to physics. the knowledge, reasoning, etc. are significant insofar as they influence the physics.
in determinism: you change the physics, you change the outcome. knowledge and reasoning changes the physics (the state of your mind), which changes the outcome. their influence on your decision making process does not imply free will.
i gave an example of a tree accidentally falling and killing someone in the other comment, it is hard to imagine free will has nothing to do with why you don’t hold the tree morally responsible.
anyway, i am going to stop replying, my original reply was just showing that the free will problem is very much an issue for any deterministic position. there are potentially good ways to salvage determinism and i give references to three in my first comment, but the point you put forth is not convincing.