Add AI agent session/state files to Agents.gitignore

The existing template comments out most agent paths because some are
team configuration. The entries added here are not: they are session
transcripts, chat history, caches, and local settings that AI coding
tools write into the working tree, like the aider history files the
template already ignores unconditionally.

Covered: Claude Code (.claude.json, session/todos/projects/statsig/
shell-snapshots/history), Codex (sessions, history, logs), Cursor
(chats, logs, session state), Continue sessions, and the .agent/,
.copilot/, .playwright-mcp/, .remember/, .specstory/, and
.superpowers/ state directories. The list is cross-checked against
the aimhooman rule catalog, which tests each pattern against real
repositories.
This commit is contained in:
rmyndharis 2026-07-19 19:27:49 +07:00
parent dcc0fc7bc2
commit ac270609a9

View File

@ -13,6 +13,10 @@
# OpenAI Codex
# AGENTS.md
# .codex/
.codex/sessions/
.codex/history*
.codex/log/
.codex/logs/
# Aider
.aider.input.history
@ -22,8 +26,15 @@
# .aiderignore
# Claude Code
.claude.json
.claude/*.local.json
.claude/**/*.log
.claude/history*
.claude/session*.json
.claude/todos/
.claude/projects/
.claude/statsig/
.claude/shell-snapshots/
CLAUDE.local.md
# .claude/
@ -33,12 +44,16 @@ gemini-debug.log
# .gemini/
# Cursor AI
.cursor/chats/
.cursor/logs/
.cursor/session*
# .cursorrules
# .cursor/
# .cursor.json
# .cursor-settings.yaml
# Continue
.continue/sessions/
# .continue/
# .continuerc.json
@ -56,6 +71,14 @@ gemini-debug.log
# .tabnineignore
# .tabnine/
# Other agent session and state directories
.agent/
.copilot/
.playwright-mcp/
.remember/
.specstory/
.superpowers/
# GitHub Copilot
# .github/copilot-instructions.md