Currently, if a single policy throws an unhandled exception, the entire CLI process terminates immediately.
Action Items:
- Wrap individual policy execution in a try/catch block.
- Catch unexpected errors and log them as a "System Error" for the specific file/policy.
- Allow the runner to continue processing other files even if one fails.
- Add a test case where a policy throws an error to verify graceful handling.
Currently, if a single policy throws an unhandled exception, the entire CLI process terminates immediately.
Action Items: