Add patches: fix autodocs and agent makefile, replace ycp with rb