Rule reminder
English 'I thought/hoped he had (gone/come/left...)' with essere verbs = fossi/fosse etc. + past participle with agreement.
I thought he had already gone home.