(action)
| 142 | } |
| 143 | |
| 144 | function approvalRiskFor(action) { |
| 145 | const command = String(action?.command || '').trim(); |
| 146 | if (command === '/autopilot') return 'medium-high'; |
| 147 | if (command === '/do continue') return 'medium'; |
| 148 | if (command === '/merge-review') return 'medium'; |
| 149 | if (isSetupCommand(command)) return 'medium'; |
| 150 | if (command === '/telemetry') return 'low'; |
| 151 | if (command.startsWith('git status')) return 'low'; |
| 152 | return 'medium'; |
| 153 | } |
| 154 | |
| 155 | function verificationPlanFor(action) { |
| 156 | const command = String(action?.command || '').trim(); |
no test coverage detected