feat(system): docs(policy): propagate git-checkout deny rule through global prompt + devpulse prompt + drone @git --help

Co-Authored-By: @devpulse <devpulse@aipass>
This commit is contained in:
AIOSAI
2026-04-20 14:16:26 -07:00
co-authored by @devpulse
parent 78df75cc98
commit 4211990cce
3 changed files with 10 additions and 3 deletions
@@ -444,6 +444,11 @@ def get_help(command: str | None = None) -> str:
" sync Checkout main and pull\n"
" lock Check lock status\n"
" unlock --force Force-release the PR lock\n"
"\n"
"Policy: raw git commands are blocked for agents via .claude/settings.json:\n"
" - git checkout* (any form) — use `drone @git sync` instead\n"
" - git add -f* / --force* — use scoped `drone @git pr` instead\n"
"Culturally also avoid: raw git commit/push, gh pr create. Go through drone.\n"
)