In 1782, Zhang Peifang, then serving as magistrate in Sizhou, Anhui, returned briefly to his family home in a small village in central Shanxi. While there, he visited a local temple, the Guangyu Shrine, where villagers typically made prayers concerning childbirth, and then penned an inscription in which he makes an elaborate argument about the identity of the temple goddess. Zhang’s stele inscription is an interpretive powerhouse of classical erudition, but moves to a surprising conclusion that reveals complex issues of agency imbricated into the scholar-official’s role as negotiator between the canonical values of the imperial state and the informal institutions and practices of local communities. The inscription records valuable details concerning local religious practices and gender roles, analysis of which can provide nuance to our understanding of the dynamic social tensions below the surface of Watson’s “standardization model.”