What you describe does not want to be a thought experiment, because it doesn’t abstract away relevant confounders (moral value of human life). The setup in the post is better at being a thought experiment for the distinctions being discussed (moral value of golem’s life more clearly depends on a moral framework). In this context, it’s misleading to ask whether something should be done instead of whether it’s the action that’s hedonistic utilitarian / preference utilitarian / autonomy-preserving.
What you describe does not want to be a thought experiment, because it doesn’t abstract away relevant confounders (moral value of human life). The setup in the post is better at being a thought experiment for the distinctions being discussed (moral value of golem’s life more clearly depends on a moral framework). In this context, it’s misleading to ask whether something should be done instead of whether it’s the action that’s hedonistic utilitarian / preference utilitarian / autonomy-preserving.