Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
101 changes: 65 additions & 36 deletions .serena/project.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,28 @@


# list of languages for which language servers are started; choose from:
# al bash clojure cpp csharp csharp_omnisharp
# dart elixir elm erlang fortran go
# haskell java julia kotlin lua markdown
# nix perl php python python_jedi r
# rego ruby ruby_solargraph rust scala swift
# terraform typescript typescript_vts zig
# al bash clojure cpp csharp
# csharp_omnisharp dart elixir elm erlang
# fortran fsharp go groovy haskell
# java julia kotlin lua markdown
# matlab nix pascal perl php
# php_phpactor powershell python python_jedi r
# rego ruby ruby_solargraph rust scala
# swift terraform toml typescript typescript_vts
# vue yaml zig
# (This list may be outdated. For the current list, see values of Language enum here:
# https://github.com/oraios/serena/blob/main/src/solidlsp/ls_config.py
# For some languages, there are alternative language servers, e.g. csharp_omnisharp, ruby_solargraph.)
# Note:
# - For C, use cpp
# - For JavaScript, use typescript
# Language Server Details (Serena AUTO-DOWNLOADS these on first startup):
# - csharp: Uses Microsoft.CodeAnalysis.LanguageServer (Roslyn) - same engine as VS Code's C# extension
# Downloads from Azure NuGet feed; also downloads .NET 9 runtime if needed
# ⚠️ KNOWN ISSUE: Fails on T-Mobile Home Internet due to IPv6 routing issues to Azure blob storage
# - csharp_omnisharp: Uses OmniSharp (alternative) - also auto-downloads
# - cpp: Uses clangd (auto-downloads v19.1.2 on Windows/Mac; Linux needs `apt install clangd`)
# - For Free Pascal/Lazarus, use pascal
# Special requirements:
# - csharp: Requires the presence of a .sln file in the project folder.
# Some languages require additional setup/installations.
# See here for details: https://oraios.github.io/serena/01-about/020_programming-languages.html#language-servers
# When using multiple languages, the first language server that supports a given file will be used for that file.
# The first language is the default language and the respective language server will be used as a fallback.
# Note that when using the JetBrains backend, language servers are not used and this list is correspondingly ignored.
#
# T-Mobile IPv6 workaround: Use csharp_omnisharp instead of csharp if you see Azure NuGet download errors.
# The issue is that Python urllib prefers IPv6, and T-Mobile's IPv6 routing to Azure blob storage is broken.
languages:
- csharp_omnisharp
- cpp
Expand All @@ -30,14 +31,12 @@ languages:
# For a list of possible encodings, see https://docs.python.org/3.11/library/codecs.html#standard-encodings
encoding: "utf-8"

# whether to use the project's gitignore file to ignore files
# Added on 2025-04-07
# whether to use project's .gitignore files to ignore files
ignore_all_files_in_gitignore: true

# list of additional paths to ignore
# same syntax as gitignore, so you can use * and **
# Was previously called `ignored_dirs`, please update your config if you are using that.
# Added (renamed) on 2025-04-07
# list of additional paths to ignore in this project.
# Same syntax as gitignore, so you can use * and **.
# Note: global ignored_paths from serena_config.yml are also applied additively.
ignored_paths:
- Output/**
- Obj/**
Expand All @@ -52,7 +51,20 @@ ignored_paths:
# Added on 2025-04-18
read_only: false

# list of tool names to exclude. We recommend not excluding any tools, see the readme for more details.
# initial prompt for the project. It will always be given to the LLM upon activating the project
# (contrary to the memories, which are loaded on demand).
initial_prompt: |
FieldWorks (FLEx) is a Windows-first linguistics suite by SIL International.
Key build facts:
- Uses MSBuild Traversal SDK via FieldWorks.proj (21 ordered phases, 110+ projects)
- Native C++ (Phase 2) must build before managed code (Phases 3+)
- Build command: .\build.ps1 or msbuild FieldWorks.proj /p:Configuration=Debug /p:Platform=x64 /m
- Check .github/instructions/*.instructions.md for coding guidelines (managed, native, testing, etc.)
- Per-folder AGENTS.md files describe component contracts and dependencies

# list of tool names to exclude.
# This extends the existing exclusions (e.g. from the global configuration)
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.

should this comment go down next to excluded_tools: [] (line 106)?

#
# Below is the complete list of tools for convenience.
# To make sure you have the latest list of tools, and to view their descriptions,
# execute `uv run scripts/print_tool_overview.py`.
Expand Down Expand Up @@ -86,20 +98,15 @@ read_only: false
# * `restart_language_server`: Restarts the language server, may be necessary when edits not through Serena happen.
# * `search_for_pattern`: Performs a search for a pattern in the project.
# * `summarize_changes`: Provides instructions for summarizing the changes made to the codebase.
# initial prompt for the project. It will always be given to the LLM upon activating the project
# (contrary to the memories, which are loaded on demand).
initial_prompt: |
FieldWorks (FLEx) is a Windows-first linguistics suite by SIL International.
Key build facts:
- Uses MSBuild Traversal SDK via FieldWorks.proj (21 ordered phases, 110+ projects)
- Native C++ (Phase 2) must build before managed code (Phases 3+)
- Build command: .\build.ps1 or msbuild FieldWorks.proj /p:Configuration=Debug /p:Platform=x64 /m
- Check .github/instructions/*.instructions.md for coding guidelines (managed, native, testing, etc.)
- Per-folder AGENTS.md files describe component contracts and dependencies
# project_name: Intentionally left out so that the folder name will be used and worktrees will not conflict
# * `switch_modes`: Activates modes by providing a list of their names
# * `think_about_collected_information`: Thinking tool for pondering the completeness of collected information.
# * `think_about_task_adherence`: Thinking tool for determining whether the agent is still on track with the current task.
# * `think_about_whether_you_are_done`: Thinking tool for determining whether the task is truly completed.
# * `write_memory`: Writes a named memory (for future reference) to Serena's project-specific memory store.
excluded_tools: []

# list of tools to include that would otherwise be disabled (particularly optional tools that are disabled by default)
# list of tools to include that would otherwise be disabled (particularly optional tools that are disabled by default).
# This extends the existing inclusions (e.g. from the global configuration).
included_optional_tools: []

# list of mode names to that are always to be included in the set of active modes
Expand All @@ -123,7 +130,6 @@ fixed_tools: []
# the name by which the project can be referenced within Serena
project_name: FieldWorks
Comment on lines 130 to 131
Copy link

Copilot AI Apr 7, 2026

Choose a reason for hiding this comment

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

Previously the config comment indicated project_name was intentionally omitted to avoid worktree conflicts. Setting a fixed project_name can reintroduce collisions when multiple worktrees/instances are used. If worktrees are still part of the workflow, consider omitting project_name again or making it unique per worktree (e.g., derived from folder/worktree name).

Suggested change
# the name by which the project can be referenced within Serena
project_name: FieldWorks

Copilot uses AI. Check for mistakes.


# time budget (seconds) per tool call for the retrieval of additional symbol information
# such as docstrings or parameter information.
# This overrides the corresponding setting in the global configuration; see the documentation there.
Expand All @@ -136,3 +142,26 @@ symbol_info_budget:
# Note: the backend is fixed at startup. If a project with a different backend
# is activated post-init, an error will be returned.
language_backend:

# line ending convention to use when writing source files.
# Possible values: unset (use global setting), "lf", "crlf", or "native" (platform default)
# This does not affect Serena's own files (e.g. memories and configuration files), which always use native line endings.
line_ending:
Copy link

Copilot AI Apr 7, 2026

Choose a reason for hiding this comment

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

If Serena’s config parsing distinguishes between an omitted key (inherit global) and a present-but-null key, line_ending: with no value may not behave like “unset” and could also fail schema validation if an enum/string is expected. Prefer removing the key entirely to inherit the global setting, or set an explicit value (e.g., unset, \"lf\", \"crlf\", or \"native\") consistent with what the 1.0 parser expects.

Suggested change
line_ending:

Copilot uses AI. Check for mistakes.

# list of regex patterns which, when matched, mark a memory entry as read-only.
# Extends the list from the global configuration, merging the two lists.
read_only_memory_patterns: []

# list of regex patterns for memories to completely ignore.
# Matching memories will not appear in list_memories or activate_project output
# and cannot be accessed via read_memory or write_memory.
# To access ignored memory files, use the read_file tool on the raw file path.
# Extends the list from the global configuration, merging the two lists.
# Example: ["_archive/.*", "_episodes/.*"]
ignored_memory_patterns: []

# advanced configuration option allowing to configure language server-specific options.
# Maps the language key to the options.
# Have a look at the docstring of the constructors of the LS implementations within solidlsp (e.g., for C# or PHP) to see which options are available.
# No documentation on options means no options are available.
ls_specific_settings: {}
Loading