A senate sub-committee should hear all filed bug reports and decide on rule modifications to fix bugs. Major amendments should be passed by both houses like its already the case today.
If one has a formal model for law, most bugs and conflicts can be found out via a formal verification engine itself. Like TLA+.