edt-known-errors

edt-known-errors is a cursor rule for Cursor from Desko77/cursor-1c-skills. It costs 0 tokens per session (2,306 once invoked), scanned A, original, MIT.

A troubleshooting guide for 1C projects managed in EDT, the development environment for 1C applications. It covers metadata writing, validation, database updates, restructuring, deployment, and storage operations.

In plain words
What is it for?
Use it when EDT cannot write or deploy metadata, generated forms or reports fail to update the database, older broken objects hide the source of an error, or storage and restructuring behave unexpectedly.
Why use it?
A project can pass EDT's checks but still fail during a real database update because some structural and data-description errors are checked only then.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Good fit Use it when EDT cannot write or deploy metadata, generated forms or reports fail to update the database, older broken objects hide the source of an error, or storage and restructuring behave unexpectedly.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/desko77/cursor-1c-skills/edt-known-errors
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/Desko77/cursor-1c-skills

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for edt-known-errors

README.md
[![agentmods](https://agentmods.dev/badge/rules/desko77/cursor-1c-skills/edt-known-errors/github.svg)](https://agentmods.dev/rules/desko77/cursor-1c-skills/edt-known-errors)
Your own site
<a href="https://agentmods.dev/rules/desko77/cursor-1c-skills/edt-known-errors"><img src="https://agentmods.dev/badge/rules/desko77/cursor-1c-skills/edt-known-errors/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for edt-known-errors

Your own site · 80×15
<a href="https://agentmods.dev/rules/desko77/cursor-1c-skills/edt-known-errors"><img src="https://agentmods.dev/badge/rules/desko77/cursor-1c-skills/edt-known-errors.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 2,306 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.02306
Opus 5.5 $0.00000 $0.00922
Sonnet 5.5 $0.00000 $0.00461
Haiku 4.5 $0.00000 $0.00231

Measured 7d ago against content hash b16cf9b0ca9c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

edt-known-errors scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

rules/edt-known-errors.mdc · 115 lines

How it starts

The opening of the file, as written. The whole thing — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Известные ошибки EDT: запись метаданных, деплой, хранилище

Применяется: при работе с EDT-проектом через AI-EDT (ai-edt) - запись кода и метаданных, валидация, update_database, выгрузка, обновление из хранилища.

Сигналы ответов плагина, троттлинг, большие конфигурации и sync_control описаны в скиле ai-edt-tools (references/gotchas-and-errors.md) и здесь не повторяются. При расхождении верна версия скила: она соответствует выпуску плагина. Ошибка zip:/// - edt-zip-export-pitfalls.md, целостность .mdo (UUID, длина строки, scale, fillValue, stringQualifiers) - 1c-mdo-integrity.md.


Запись метаданных и валидация

  • "Валидно в EDT, ошибка в ИБ" - отдельный класс дефектов. get_project_errors пуст, а update_database завершается ошибкой (XDTO, реструктуризация): статический валидатор EDT не проверяет структурные и XDTO-ошибки. После генерации форм, макетов, СКД и метаданных выполнять реальный update_database, а не только валидацию.
  • Инкрементальная загрузка ИБ перечитывает только новые и измененные объекты. Давний дефектный объект не дает ошибки, ошибки дают свежеизмененные - это сужает поиск причины.
  • EDT не подхватывает внешние правки .dcs, .mdo, .form (Python, Bash, git checkout) в модель сборки без clean_project или обновления проекта - деплоится прежняя версия. Схемы и метаданные при переносе переносить отдельно от BSL и проверять, что EDT перечитал файл.
  • Запись .bsl скриптом с newline="" меняет концы строк. Python читает файл с universal newlines (CRLF -> LF), и запись без преобразования сохраняет LF в проекте с политикой CRLF; EDT показывает ложные синтаксические диагностики на строках, идентичных рабочим. Писать с newline="\r\n", затем clean_project. Штатный путь записи BSL - edt-bsl-write-safety.md.
  • dryRun=true у form-операций проверяет откат транзакции, а не результат на форме. Ответ сообщает успех с откатом при любом содержимом; функциональная проверка - вызов без dryRun.
  • Реквизит регистра без <type>: первая запись в регистр разрывает соединение сеанса. После создания реквизита проверять, что тип записан в .mdo.
  • Поле CheckBoxField, привязанное к реквизиту не типа Boolean, ломает отрисовку и загрузку в ИБ. Для числовых и перечислимых реквизитов - RadioButtonField или переключатель (Tumbler).
  • BLOCKER common-module-type означает неполный набор флагов общего модуля. Проверка берет ожидаемый вид модуля из суффикса имени; модуль без суффикса проверяется как серверный, а он по стандарту 469 требует трех признаков: <server>true</server>, <clientOrdinaryApplication>true</clientOrdinaryApplication>, <externalConnection>true</externalConnection>. Модуль, созданный edit_metadata createObject, несет только server=true. Исправление - привести набор признаков к соседнему модулю того же вида, суффикс имени не менять. Клиент-серверный модуль (суффикс КлиентСервер) несет тот же набор плюс <clientManagedApplication>true</clientManagedApplication>. Перед созданием общего модуля прочитать .mdo соседнего модуля нужного вида и повторить набор. Отсутствие булева признака в .mdo означает false: EMF не сериализует значение, равное умолчанию, поэтому set_object_property ...=false файл не меняет, и это не дефект.
  • Ложные диагностики EDT на больших конфигурациях (УХ, ERP): undefined-variable [Толстый клиент] в модуле объекта, синтаксические ошибки после правки формы (кеш маркеров, частичный индекс). Проверка платформой надежнее; не исправлять код до воспроизведения ошибки.

Read the full file on GitHub · 115 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 115 lines · 0 tokens per session scan A b16cf9b0ca9c

Subscribe to this mod's changes

edt-known-errors is a cursor rule published in the GitHub repository Desko77/cursor-1c-skills (73 stars, last pushed 7d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,306 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-27.