Integrability and BRST invariance from BF topological theory | Synapse