  I study A-infinity enhancements of algebraic Calabi-Yau triangulated
categories admitting a (triangle) generator, showing that the Serre pairing on
such categories determines and is determined by a cyclic pairing on an
enhancement of the generator. Using this result, I construct a formal
topological string field action inducing an extended D-brane superpotential for
such categories. I also give a procedure for lifting certain 2d boundary
topological field theories to open topological string theories generated by a
single D-brane.
