Skip to content

chore: ignore generated .cursor/ and .agents/ directories - #128

Open
AlexanderFengler wants to merge 1 commit into
mainfrom
chore/ignore-generated-editor-dirs
Open

chore: ignore generated .cursor/ and .agents/ directories#128
AlexanderFengler wants to merge 1 commit into
mainfrom
chore/ignore-generated-editor-dirs

Conversation

@AlexanderFengler

@AlexanderFengler AlexanderFengler commented Aug 28, 2026

Copy link
Copy Markdown
Member
  • HSSMSpine's sync_agent_config.py materializes .cursor/ and .agents/ into every ecosystem repo on each launch, but only the spine gitignored them
  • That left every repo one git add -A away from committing generated editor config. It just happened on HSSM #1248, where the swept-in files also leaked local worktree paths into the diff
  • No repo tracks these paths today (git ls-files .cursor .agents is empty in all five), so this only affects future accidents — nothing needs untracking
  • Verified with git check-ignore on paths inside both directories

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated project ignore settings to exclude generated editor and agent configuration directories.

HSSMSpine's sync_agent_config.py materializes these into every ecosystem
repo on each launch, but only the spine gitignored them. That left every
repo one 'git add -A' away from committing generated editor config -- which
just happened on lnccbrown/HSSM#1248, where the swept-in files also leaked
local worktree paths.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings August 28, 2026 03:55

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@coderabbitai

coderabbitai Bot commented Aug 28, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: c062f20f-b752-4e89-a364-41bb0355f8e8

📥 Commits

Reviewing files that changed from the base of the PR and between 11e5d67 and c5b07f2.

📒 Files selected for processing (1)
  • .gitignore

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The .gitignore file now excludes .cursor/ and .agents/ directories. Comments identify these directories as generated configuration.

Changes

Generated configuration

Layer / File(s) Summary
Ignore generated editor directories
.gitignore
Adds ignore rules for .cursor/ and .agents/. Comments describe their generation process.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to c5b07

This localized change only prevents generated editor configuration directories from being accidentally committed; no actionable merge-blocking risk remains.

Suggested reviewers: cpaniaguam

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: ignoring the generated .cursor/ and .agents/ directories.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/ignore-generated-editor-dirs

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Aug 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants