Rule reminder
The congiuntivo trapassato expresses an action that occurred before another past action, often in regret, hypothetical, or counterfactual contexts. It is formed with the congiuntivo imperfetto of 'avere' or 'essere' + past participle: avessi/fossi + participio passato.
Mi dispiaceva che tu non _____ a trovarmi quando eri in città.