Skip to content

chore(serena): track the shared Serena project config - #261

Open
itsdestin wants to merge 1 commit into
masterfrom
chore/track-serena-config
Open

chore(serena): track the shared Serena project config#261
itsdestin wants to merge 1 commit into
masterfrom
chore/track-serena-config

Conversation

@itsdestin

Copy link
Copy Markdown
Owner

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 reading ipc-handlers.ts (3,809 lines) or App.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 overrides

Verification

  • project.yml carries no absolute or machine-specific paths (grep -nE "/home/|/Users/|C:|destin" → no matches)
  • Index built clean: 871 TypeScript + 88 Kotlin files in ~12s

Setup recipe and scoping gotchas live in the workspace repo at docs/code-intelligence.md. Notably: Serena must be scoped to youcoded/, not the workspace root — the workspace .gitignore excludes every sub-repo, so aiming it there indexes nothing while appearing to succeed.

🤖 Generated with Claude Code

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>
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.

1 participant