NEO-29: add explicit MCP-only GitHub rule in AGENTS

Add a top-level AGENTS.md section that requires user-github MCP for GitHub actions and forbids gh CLI fallback.
pull/54/head
VinPropane 2026-04-25 23:44:35 -04:00
parent 01b627cc8a
commit 2d131671c2
1 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,11 @@
# Agents (Neon Sprawl) # Agents (Neon Sprawl)
## Critical GitHub tooling rule
- Agents must use **GitHub MCP** (`user-github`) for all GitHub operations.
- Agents must **never** use `gh` CLI in this repository.
- If MCP is unavailable/auth-failed, agents must stop and ask the user (no `gh` fallback).
Optional **personas** for Cursor. Enable by **@ mentioning** the rule in chat or by asking explicitly (e.g. “review this as the code review agent”). Optional **personas** for Cursor. Enable by **@ mentioning** the rule in chat or by asking explicitly (e.g. “review this as the code review agent”).
| Agent | Rule file | When to use | | Agent | Rule file | When to use |