commit c57230c1288cc7f29c1e61c28b9d1a167c046032
parent fc1c59e13103ba84f90e2784f145e727bd8778ce
Author: William Casarin <jb55@jb55.com>
Date: Fri, 13 Feb 2026 10:43:22 -0800
dave: auto-accept read-only gh CLI commands
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat:
1 file changed, 13 insertions(+), 0 deletions(-)
diff --git a/crates/notedeck_dave/src/auto_accept.rs b/crates/notedeck_dave/src/auto_accept.rs
@@ -95,6 +95,19 @@ impl Default for AutoAcceptRules {
"git rev-parse".into(),
"git ls-files".into(),
"git describe".into(),
+ // GitHub CLI (read-only)
+ "gh pr view".into(),
+ "gh pr list".into(),
+ "gh pr diff".into(),
+ "gh pr checks".into(),
+ "gh pr status".into(),
+ "gh issue view".into(),
+ "gh issue list".into(),
+ "gh issue status".into(),
+ "gh repo view".into(),
+ "gh search".into(),
+ "gh release list".into(),
+ "gh release view".into(),
// Beads issue tracker
"bd".into(),
],