docs(config): document saved ask rules from approvals#3460
Conversation
Clarify that the approval card's S shortcut is available only for exec_shell and persists the approved command as an ask rule. Document the existing arity-aware command matching and distinguish manually authored file-path ask rules from UI persistence, which is not supported yet.
|
Thanks @greyfreedom for taking the time to contribute. This repository is observing a maintainer-managed PR intake gate in dry-run mode, so this pull request is staying open. This note helps maintainers prepare the allowlist before any enforcement is considered. Please read |
|
Thank you!! Just a heads up - I am going to revert "yolo" mode back to having complete freedom - if there's a certain middle ground you're hoping to get between agent and yolo mode, I'll do my best to figure out how to configure that. |
Thanks for the heads up. I agree that |
Summary
Document the current persistence behavior for ask rules created from approval cards.
Scope
Sis available only inexec_shellapproval cards.Sapproves once and persists an ask rule containing the approved command.permissions.tomland matched at runtime, but cannot yet be saved through the approval UI.Not in this slice
Builds on
permissions.tomlschema and runtime wiring.exec_shellask rules.Issues
Refs #1186 (partial)
Refs #2242 (partial)
Validation
cargo fmt --all -- --checkgit diff --check