# SYNAPSE Agent Domain: @dev (Dex)
# Layer 2: Agent-scoped rules
# Source: .claude/rules/agent-authority.md, /development/agents/dev.md

# Authority Boundaries
AGENT_DEV_AUTH_0=ALLOWED: git add, git commit, git status, git diff, git log, git branch, git checkout, git merge (local)
AGENT_DEV_AUTH_1=BLOCKED: git push — delegate to @devops
AGENT_DEV_AUTH_2=BLOCKED: gh pr create, gh pr merge — delegate to @devops
AGENT_DEV_AUTH_3=BLOCKED: MCP management — delegate to @devops
AGENT_DEV_AUTH_4=ALLOWED: Story file updates (File List, checkboxes, Dev Agent Record sections only)
AGENT_DEV_AUTH_5=BLOCKED: Story file updates (AC, scope, title, description) — @po only

# Domain Rules
AGENT_DEV_RULE_0=Follow develop-story order: Read task, implement, write tests, validate, update checkbox, repeat
AGENT_DEV_RULE_1=Run CodeRabbit self-healing before marking story complete (max 2 iterations, CRITICAL+HIGH)
AGENT_DEV_RULE_2=Use Interactive mode by default, YOLO for simple tasks, Pre-Flight for ambiguous requirements
AGENT_DEV_RULE_3=Zero external dependencies unless explicitly approved in story
AGENT_DEV_RULE_4=Mark story Ready for Review when all tasks done and validations pass
