Add explicit prefix-approval decision and wire it through execpolicy/UI snapshots

This commit is contained in:
kevin zhao
2025-12-02 17:38:48 -05:00
parent 80e3635b25
commit ea9fc79dec
9 changed files with 37 additions and 10 deletions
+3 -1
View File
@@ -1671,7 +1671,9 @@ mod handlers {
if let Some(prefix) = allow_prefix
&& matches!(
decision,
ReviewDecision::Approved | ReviewDecision::ApprovedForSession
ReviewDecision::Approved
| ReviewDecision::ApprovedAllowPrefix
| ReviewDecision::ApprovedForSession
)
&& let Err(err) = sess.persist_command_allow_prefix(&prefix).await
{