Repository navigation
Add Playwright MCP, Superpowers and claude-remember directories to Agents.gitignore - #4883
rmyndharis wants to merge 1 commit into
Conversation
|
LGTM 🚢 |
dooleydevin
left a comment
There was a problem hiding this comment.
Can you include documentation in the PR body that justifies these changes? There are some that seem legitimate to me (like .continue/sessions/), but I cannot find references to others (like .remember).
There was a problem hiding this comment.
🟡 Changes recommended
An active finding remains because Global/Agents.gitignore ignores only .log files under .claude, leaving other artifacts in .claude/logs/ uncovered.
1 open issue
What changed in this PR
This pull request expands Global/Agents.gitignore to exclude local AI coding-agent sessions, histories, logs, caches, and state while leaving potentially shareable configuration files available for explicit tracking.
Changes:
- Adds OpenAI Codex session, history, and log exclusions.
- Adds Claude Code, Cursor, and Continue session/state exclusions.
- Adds state-directory exclusions for several other agent tools.
This pull request is ready to be approved.
| File | Description |
|---|---|
Global/Agents.gitignore |
Adds ignore rules for local AI-agent session and state artifacts. |
Review effort: Lite (auto)
| .claude/todos/ | ||
| .claude/projects/ | ||
| .claude/statsig/ | ||
| .claude/shell-snapshots/ |
Playwright MCP, the Superpowers brainstorming companion and the claude-remember plugin write generated, machine-local data into the project directory by default (.playwright-mcp/, .superpowers/ and .remember/). None of it is shared project configuration.
ac27060 to
94dbe04
Compare
|
Thanks for the review. I checked each entry against the tools' own documentation and narrowed the PR to the three directories these tools create inside a project by default:
I dropped the Claude Code, Codex, Copilot CLI, Cursor and Continue paths. Those tools write them under the user's home directory rather than the project, and several are legacy paths that current versions no longer write (Claude Code docs); |

Link to the application or project's homepage
Reasons for making this change
These three agent tools write generated, machine-local data into the project directory by default, so the directories show up as untracked files in every repository where the tools run. None of it is shared project configuration.
.playwright-mcp/in the working directory when--output-diris not set. Saved storage state can contain session cookies..superpowers/brainstorm/under the project root, and its instructions ask users to add.superpowers/to.gitignore..remember/inside the project by default.None of the existing sections covers these tools, so the three rules go in one new section next to the other agent entries.
Links to documentation supporting these rule changes
--output-diroption: https://github.com/microsoft/playwright-mcp/blob/404be8eb89abecff77a55152b6d843d140c78372/README.md?plain=1#L442.superpowers/to.gitignore": https://github.com/obra/superpowers/blob/5bf4e78011075bcfc0dc295f0724994cd123ee71/skills/brainstorming/visual-companion.md?plain=1#L58.remember/inside the project by default": https://github.com/Digital-Process-Tools/claude-remember/blob/d29ae885954a0a7ecf75e3ae961fecb629e6ad18/README.md?plain=1#L142Merge and Approval Steps