The usual BRST-BV implements a Lie algebra and its module in terms of ghosts, etc. Where is there written a corresponding formula incorporating the differential of a dg Lie algebra and module?

$\begingroup$
$\endgroup$

2
beforeadding ghosts, e.g. starting with a dg Lie algebroid and a dg algebra of `fields' $\endgroup$