We provide a framework for part of the homological theory of Z-algebras and their generalizations, directed towards analogues of the Auslander-Gorenstein condition and the associated double Ext spectral sequence that are useful for enveloping algebras of Lie algebras and related rings. As an application, we prove the equidimensionality of the characteristic variety of an irreducible representat...