* @brief True when a fanned-out inner command (Safe/Confirm tier) may run without an extra * AI confirmation; Blocked and AlwaysConfirm (incl. deviceGated) ops are rejected. */
| 1396 | * AI confirmation; Blocked and AlwaysConfirm (incl. deviceGated) ops are rejected. |
| 1397 | */ |
| 1398 | static bool innerOpAllowed(const QString& commandName) |
| 1399 | { |
| 1400 | const auto safety = AI::CommandRegistry::instance().safetyOf(commandName); |
| 1401 | return safety == AI::Safety::Safe || safety == AI::Safety::Confirm; |
| 1402 | } |
| 1403 | |
| 1404 | /** |
| 1405 | * @brief Builds the rejection reply for a fanned-out op whose safety tier blocks fan-out. |
no test coverage detected