Комментарии 18
я так понял, что конфигурацию Кассир 5 для 1С именно так и сгенерировали. Другое объяснение существования этой поделки я не нахожу просто. ни одной подсказки на кнопках, ни "очко" основной формы, которое под микроскопом рассматривать, зависания наглухо при переключении пользователей, 3-5 минутное ожидание при снятии Z отчета, и ещё ворох "чудес".
Классная статья, прям “боль токенов” описана честно 😄
Serena в этом смысле — как нормальный индекс/навигация по проекту, чтобы агент не устраивал “прочитаю-ка я 1500 модулей, вдруг найду нужное”.
Но (нюанс какой) экономия токенов — это половина игры.
Вторая половина — не превратить “память проекта” в чёрный ящик, где потом никто не понимает:
а что агент реально читал, на что опирался, почему сделал именно так.
Я бы к вашему AGENTS.md добавил прям одну простую инженерную рельсу:
если меняешь код → покажи diff/что тронул + команду проверки (syntax/test) + коротко “почему так”.
И ещё: память Serena круто бы версионировать (хотя бы “дата + commit hash”), чтобы онбординг был воспроизводимым, а не “сегодня помню, завтра забыл”.
В общем: Serena — огонь как “лопата против токен-ямы”.
Если ещё сверху положить дисциплину “read-set / change-set / checks”, то это уже взрослый production-вайб, а не просто vibe-coding.
Не совсем понятно это правило:

Cursor memory bank жеж?!!! https://github.com/vanzan01/cursor-memory-bank + Rules к нему нормальные https://github.com/comol/cursor_rules_1c + MCP https://vibecoding1c.ru/mcp_server и будет счастье. Ну и opus 4.6 не юзайте пока.
Cursor memory bank - можно и его использовать. Только для чего? В serena тебе полный фарш и memory bank и onbording и codestyle и крутой функционал поиска паттернов и экономия токенов - в одной коробке. Cursor memory bank - умеет так делать?)
на счет не юзать opus 4.6? Юзал - очень крутая модель!
с 01.01.2026 Cursor поменял ценовую политику, т.к. они жестко спалились перед anthropic claude и goolge gemini. У них был профит, если используешь их модели в терминале, то стоимость была в 10 раз меньше чем через api. Теперь Cursor в топовые модели ходит только по api, соответственно прайс стал x10. Все профильные форумы об этом уже говорят.
Весь "полный фарш" serena конечно уже давно есть в Cursor-е.
opus 4.6 вцелом ничем не лучше 4.5 для целей кодинга в 1С https://vibecoding1c.ru/bench но расход токенов в 2 - 2.5 раза больше.


у меня свой набор MCP под 1С
Ты хоть открой и посмотри описания https://vibecoding1c.ru/mcp_server. У тебя процентов 10 от того что надо... Не говоря уже о графах, моделях, гибридных поисках и прочего... Я уже не буду рассуждать на тему "как у меня"/"не как у меня"... У меня что то вроде было по состоянию на Июнь 2025-го... Этого звиздец как недостаточно. Просто забей
Есть такая наука - информатика. Она говорит нам о том, что мы имеем не так много возможностей по сжиманию информации. Если LLM не принимают на вход gzip, то уже не стоит дергаться. Насколько я вижу, все идут по пути размазывания контекста между агентами.
абсолютно согласен!
Отсюда вывод, надо называть управление контекстом управлением контекстом.
Эти вот все инструкции волшебные попадают прямиком в чат с ИИ тупо. Это просто часть запроса.
И кстати, любой ИИ сможет дать команду запроса данных, если ему её описать. Будет формат плавать может быть, но если вы ему скажете "Используй func с аргументом ИмяДокумента", то скорее всего он вам выдаст +- валидный json.
Например дипсик тот же
"Для поиска контрагента по ИНН используй запрос get_by_inn(inn : string) Найди контрагента с ИНН 63224567 "
"По вашему запросу выполняется поиск контрагента с ИНН 63224567.
Вызываю функцию get_by_inn('63224567')"
При выполнения tool serena.find_symbol вот такая ошибка - Error executing tool: LanguageServerTerminatedException - LanguageServerTerminatedException: Language server is not running. Чем может быть вызвано?
не сделан онбординг проекта. В папке с проектом должна появится папка .serena, в ней файл project.yml с настройками языка. Можешь вручную сделать папку и файл.
структура project.yml
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
ignored_paths: []
# whether the project is in read-only mode
# If set to true, all editing tools will be disabled and attempts to use them will result in an error
# Added on 2025-04-18
read_only: false
excluded_tools: []
# 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: ""
project_name: "Название проекта"
languages:
- bsl:
included_optional_tools: []
encoding: utf-8
также в папке C:\Users\User\.serena смотри настройки serena_config.yml
gui_log_window: false
# whether to open a graphical window with Serena's logs.
# This is mainly supported on Windows and (partly) on Linux; not available on macOS.
# If you want to see the logs in a web browser, use the `web_dashboard` option instead.
# Limitations: doesn't seem to work with the community version of Claude Desktop for Linux
# Might also cause problems with some MCP clients - if you have any issues, try disabling this
#
# Being able to inspect logs is useful both for troubleshooting and for monitoring the tool calls,
# especially when using the agno playground, since the tool calls are not always shown,
# and the input params are never shown in the agno UI.
# When used as MCP server for Claude Desktop, the logs are primarily for troubleshooting.
# Note: unfortunately, the various entities starting the Serena server or agent do so in
# mysterious ways, often starting multiple instances of the process without shutting down
# previous instances. This can lead to multiple log windows being opened, and only the last
# window being updated. Since we can't control how agno or Claude Desktop start Serena,
# we have to live with this limitation for now.
web_dashboard: true
# whether to open the Serena web dashboard (which will be accessible through your web browser) that
# shows Serena's current session logs - as an alternative to the GUI log window which
# is supported on all platforms.
web_dashboard_open_on_launch: true
# whether to open a browser window with the web dashboard when Serena starts (provided that web_dashboard
# is enabled). If set to False, you can still open the dashboard manually by navigating to
# http://localhost:24282/dashboard/ in your web browser (24282 = 0x5EDA, SErena DAshboard).
# If you have multiple instances running, a higher port will be used; try port 24283, 24284, etc.
log_level: 10
# the minimum log level for the GUI log window and the dashboard (10 = debug, 20 = info, 30 = warning, 40 = error)
trace_lsp_communication: false
# whether to trace the communication between Serena and the language servers.
# This is useful for debugging language server issues.
ls_specific_settings:
bsl:
enable_hash_prefiltering: true #предварительная фильтрация файлов по хешу
file_read_parallelism: 500 #количество параллельных операций чтения файлов (по умолчанию 500)
# Added on 23.08.2025
# Advanced configuration option allowing to configure language server implementation specific options. Maps the language
# (same entry as in project.yml) 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.
#
# увеличим таймаут инструментов для крупных проектов
tool_timeout: 360
# timeout, in seconds, after which tool executions are terminated
excluded_tools: []
# list of tools to be globally excluded
included_optional_tools:
- create_text_file
- delete_lines
- insert_at_line
- read_file
- replace_lines
- summarize_changes
# list of optional tools (which are disabled by default) to be included
jetbrains: false
# whether to enable JetBrains mode and use tools based on the Serena JetBrains IDE plugin
# instead of language server-based tools
# NOTE: The plugin is yet unreleased. This is for Serena developers only.
default_max_tool_answer_chars: 150000
# Used as default for tools where the apply method has a default maximal answer length.
# Even though the value of the max_answer_chars can be changed when calling the tool, it may make sense to adjust this default
# through the global configuration.
token_count_estimator: CHAR_COUNT
# the name of the token count estimator to use for tool usage statistics.
# See the `RegisteredTokenCountEstimator` enum for available options.
#
# By default, a very naive character count estimator is used, which simply counts the number of characters.
# You can configure this to TIKTOKEN_GPT4 to use a local tiktoken-based estimator for GPT-4 (will download tiktoken
# data files on first run), or ANTHROPIC_CLAUDE_SONNET_4 which will use the (free of cost) Anthropic API to
# estimate the token count using the Claude Sonnet 4 tokenizer.
# MANAGED BY SERENA, KEEP AT THE BOTTOM OF THE YAML AND DON'T EDIT WITHOUT NEED
# The list of registered projects.
# To add a project, within a chat, simply ask Serena to "activate the project /path/to/project" or,
# if the project was previously added, "activate the project <project name>".
# By default, the project's name will be the name of the directory containing the project, but you may change it
# by editing the (auto-generated) project configuration file `/path/project/project/.serena/project.yml` file.
# If you want to maintain full control of the project configuration, create the project.yml file manually and then
# instruct Serena to activate the project by its path for first-time activation.
# NOTE: Make sure there are no name collisions in the names of registered projects.
#указать зарегистрированные проекты
projects:
- E:\DATA1C\BASE (путь к твоей папке с проектом 1С)

Вайбкодинг 1С с IDE Cursor. Как экономить токены