Allow version-controlled agent rule files under .claude/rules/ while keeping
machine-local Claude Code state ignored. Aligns with state-hub gitignore pattern.
Machine-specific permission grants and stop-hook state should not be
version-controlled — the .local suffix convention signals this.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>