exception_guard
Check raise/throw statements for built-in exception usage, enforce project-defined exceptions with module-scoped fallback, and verify test_bridge after fixing.
Instructions
Check raise/throw uses project exceptions vs builtins, module-scoped (falls back to project scope). Fix → verify test_bridge. Pairs config_drift.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | File to check (relative to workspace_dir) | |
| workspace_dir | Yes | REQUIRED: project root (abs). |