- Implemented `stripHereDocumentBodies` function to handle here-documents in terminal commands.
- Updated `analyzeTerminalRiskPolicy` to auto-allow empty commands and improve command parsing.
- Added new annotation type for terminal review resolution in shared types.
- Created comprehensive tests for terminal command review processes, including auto-approval and human review escalation scenarios.
- Refined approval batch handling in tests to ensure accurate decision-making and event tracking.
- Improved handling of dangerous commands and refined risk analysis logic in terminal command policies.
- Enhanced e2e tests for workbench run scenarios to validate approval workflows and execution permissions.