Files
Ncurator/tests/case/unit
hy 13a7c0e43c feat: Enhance terminal command risk analysis and approval process
- 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.
2026-09-24 14:47:04 +08:00
..