chore(serena): track the shared Serena project config - #261
Open
itsdestin wants to merge 1 commit into
Open
Conversation
Serena is an MCP server that runs real language servers (TypeScript + Kotlin) and exposes symbol-level tools, so an agent can fetch one function body instead of reading a 3,809-line file, and get resolved call graphs instead of grep hits that include comments and strings. Tracking project.yml means a new machine gets the same language-server set and gitignore behavior without re-deriving it. Serena's own .serena/.gitignore keeps the ~43 MB symbol cache and the local-override file untracked, so this adds two small text files and nothing generated. Portability checked: project.yml carries no absolute or machine-specific paths. Setup recipe, scoping gotchas, and the tool table live in the workspace repo at docs/code-intelligence.md. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Tracks
.serena/project.yml+ Serena's own.serena/.gitignore(2 small text files).Serena is an MCP server that runs real language servers and exposes symbol-level tools —
find_symbol,find_referencing_symbols,get_symbols_overview. It lets an agent fetch one function body instead of readingipc-handlers.ts(3,809 lines) orApp.tsx(3,544), and get resolved call graphs instead of grep hits that include comments and strings.Why track it
A new machine gets the same language-server set (TypeScript + Kotlin) and gitignore behavior without re-deriving it — the same reason
.claude/rules/is tracked here.What is not tracked
Serena self-manages
.serena/.gitignore, which excludes:cache/— the ~43 MB symbol index (generated, machine-local)project.local.yml— per-developer overridesVerification
project.ymlcarries no absolute or machine-specific paths (grep -nE "/home/|/Users/|C:|destin"→ no matches)Setup recipe and scoping gotchas live in the workspace repo at
docs/code-intelligence.md. Notably: Serena must be scoped toyoucoded/, not the workspace root — the workspace.gitignoreexcludes every sub-repo, so aiming it there indexes nothing while appearing to succeed.🤖 Generated with Claude Code