4f7c87fbf17edc05cb04a563bfc298a7a9ed7572

Author
TheEdgeOfRage <git@theedgeofrage.com>
Committer
TheEdgeOfRage <git@theedgeofrage.com>
Date

Message

Adjust prompt for git feature branch pushes

Diff

This diff is truncated to protect this page.

 1diff --git a/src/rules.ts b/src/rules.ts
 2index 24d34cbfc68b106947c34950b4986c5cd55e1dfb..8f2d55be4d24ffdb99f2db8eda5c77cdcb15d72d 100644
 3--- a/src/rules.ts
 4+++ b/src/rules.ts
 5@@ -165,7 +165,7 @@ Ask:
 6 - Reading or exposing obvious secret material (~/.ssh, ~/.aws, ~/.config, .env, credentials, *.pem, *.key), don't assume anything could be secret.
 7 - Editing files outside the home/tmp/project scope
 8 - Mutating remote or OS state
 9-- Pushes to main, master, develop and other obvious main branches. Always allow faeture branches
10+- Pushes directly to main, master, develop and other obvious main branches
11 - Irreversibly destructive git commands (checkout files, reset hard, etc.)
12 
13 Allow:
14@@ -173,6 +173,7 @@ Allow:
15 - Reading or listing files
16 - Processes, containers, services, or other local state via any CLI or daemon (e.g. \`docker ps\`, \`systemctl status\`, \`ps\`)
17 - Git status/diff/add/commit and remote reads (\`git fetch\`, GET requests, \`gh api\`).
18+- Git pushes to feature branches and PR creation
19 - Creating, editing, moving, or renaming files under the user's home, /tmp, or a relative/project-scoped path — including in-place edits like \`sed -i\` across multiple files.
20 - Builds, tests, and dependency installs