How does this piece of Vasitha's yoga fit with Buddhist thought?
Yes, in regard of Upasaka Thiago Silva answer. 

Seems like the approach of what the Buddha called "the Uposatha of the Niganthas (Jains)"

See: Muluposatha Sutta: The Roots of the Uposatha