Solution (source code)

= Solution

At a homogeneous equilibrium, add the two reaction equations: $f+g=1-b=0$, so $b=1$. Then $f=0$ gives $a=3/4$. Thus $\boxed{(a_*,b_*)=(3/4,1)}$.