chore: add Serena project memories#137
Conversation
Persist Serena MCP project memory files (.serena/memories/) so they travel with the repo. Future sessions, fresh checkouts, and worktrees activate the project with full onboarding context (overview, structure, suggested commands, code style, task completion checklist) without re-running onboarding. Also add .worktrees/ to .gitignore for project-local git worktree usage. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Warning Rate limit exceeded
To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (8)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
….yml) Follow-up to the memories commit. Persist Serena's auto-generated project config so fresh checkouts and worktrees activate Serena cleanly without regenerating these files: - .serena/.gitignore: ignores transient state (cache/, project.local.yml) - .serena/project.yml: project name, language, encoding for Serena's LSP bootstrapping Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Set per-project initial_prompt that Serena always injects on activation (unlike memories, which load on demand). Captures the small set of project-specific rules where forgetting causes real damage — branch/PR targets, anti-patterns, key invariants. Kept tight on purpose to bound the per-session token cost. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Replace machine-specific absolute path in `## Repo Location` (was `/home/johnrdorazio/development/...`) - Label unlabeled fenced code blocks as `text` so MD040 passes and rendering is unambiguous Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Summary
.worktrees/to.gitignore(project-local git worktrees convention)Why
Serena's
.serena/memories/*.mdfiles capture project-specific knowledge — overview, structure, suggested commands, code style, and a task-completion checklist — that Serena writes during onboarding. Committing these means:Files
.serena/memories/project_overview.md.serena/memories/project_structure.md.serena/memories/suggested_commands.md.serena/memories/code_style_and_conventions.md.serena/memories/task_completion_checklist.mdSerena's inner
.serena/.gitignore(already present in the .serena directory and not part of this PR) excludescache/andproject.local.ymlautomatically, so transient state never gets committed.Test plan
git statusshows clean tree after merge (no untracked.serena/paths showing as needing commit)🤖 Generated with Claude Code