Improve logging and error handling
Description: Implement structured logs and handle edge cases.
User Story: As an engineer, I want detailed logs and error handling, so I can troubleshoot and ensure reliability.
DoR: Basic logs in place
DoD: Logs structured; all critical functions wrapped in try/catch
Acceptance Criteria: 100% exception coverage of runtime modules