Just a thought,
broctl restart --clean at present does operations in the following sequence:
1) Stop running bro
2) clean up nodes
3) check configurations
4) install new config
5) start bro.
If scripts are buggy, this would fail at step (3) and now I am debugging scripts while bro is not running.
I think restart --clean should first check configurations (step 3) and then if success, move further or stop.
buggy/typo scripts are preffered to be debugged while bro is running.