FeatureAgents/AgentsGitFlowController
agents-gitflow-guard is a configurable branch-role guard for AI coding agents (Claude Code, Codex, OpenCode, Antigravity, CodeBuddy, ZCode, Cursor, DeepSeek Harness and Pi): you define integration, preview, production and archive branches each with its own update rules, and a shared npm package blocks agents from skipping the flow - sensitive merges stay in your hands, the guard merges into an existing config non-destructively, and it is available as a DSH in-process plugin, a CLI hook and per-editor wiring.
agents-gitflow-guard is a configurable branch-role guard for AI coding agents that stops them from skipping your GitFlow. You define your own branches - integration (where features merge in via PR/MR), preview (environment endpoints), production and archive - each with its own update rules, and the guard blocks agents from bypassing that flow while keeping sensitive merges in your hands. All nine supported clients consume the same npm package agents-gitflow-guard: the DSH in-process plugin auto-mounts on installation, CLI hook clients run one wiring command after install, and Pi copies an extension file, with each client's configuration merged non-destructively. The repository documents an explicit gate matrix of what is blocked versus what passes and the limits of what it does not do.
Install
dsh plugin --profile web add agents-gitflow-guardCopied verbatim from the README's Quick Start 'Step 1 - install' block (the DSH in-process plugin line; the same package's CLI and per-editor installation modes are documented separately, and DSH auto-mounts on plugin installation). npm package agents-gitflow-guard at 0.1.6 (registry check 2026-10-15; the registry repository field resolves back to this repo).
Compatibility
The DSH-specific peer dependencies (@deepseek-ai/cordis and @deepseek-ai/dsh-tools) are declared optional - only the DSH in-process plugin needs them, and DSH supplies them through its shared profile module fallback at runtime - so CLI and other clients are not forced to install them. The guard's wiring merges into an existing config non-destructively (already-present hooks are left untouched and legacy gitflow-guard entries are migrated on re-run) and writes to the project directory by default, with --global requiring confirmation or --yes.
Details
- Repo: FeatureAgents/AgentsGitFlowController
- Category: Coding & Development
- Stars: 1
- Version: GitHub repo FeatureAgents/AgentsGitFlowController (1*); npm package agents-gitflow-guard at 0.1.6 (registry check 2026-10-15; the registry repository field resolves back to this repo). Consumed by nine clients (Claude Code, Codex, OpenCode, Antigravity, CodeBuddy, ZCode, Cursor, DeepSeek Harness and Pi). English README with Chinese, Japanese, Korean, German, French, Italian, Portuguese, Spanish and Russian translations.
Alternatives
030611/dsh-context-provenance · 030611/qiushi-dsh-evidence-audit · 0x3fffff/dsh-desktop-launcher