Explicit non-Gorenstein R=T via rank bounds I: Deformation theory