edt-zip-export-pitfalls

edt-zip-export-pitfalls is a cursor rule for Cursor from Desko77/cursor-1c-skills. It costs 0 tokens per session (1,941 once invoked), scanned A, original, MIT.

A troubleshooting guide for exporting 1C projects from 1C:Enterprise Development Tools into an information base through an incremental ZIP archive.

In plain words
What is it for?
Use it when creating or editing metadata, forms, or modules in EDT projects and diagnosing ZIP export or information-base loading errors.
Why use it?
It explains why an export can pass the development tool's checks but still fail when the information base is updated because required files are missing.

Cursor rule for Cursor

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

Good fit Use it when creating or editing metadata, forms, or modules in EDT projects and diagnosing ZIP export or information-base loading errors.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/desko77/cursor-1c-skills/edt-zip-export-pitfalls
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-zip-export-pitfalls

README.md
[![agentmods](https://agentmods.dev/badge/rules/desko77/cursor-1c-skills/edt-zip-export-pitfalls.svg)](https://agentmods.dev/rules/desko77/cursor-1c-skills/edt-zip-export-pitfalls)
Your own site
<a href="https://agentmods.dev/rules/desko77/cursor-1c-skills/edt-zip-export-pitfalls"><img src="https://agentmods.dev/badge/rules/desko77/cursor-1c-skills/edt-zip-export-pitfalls.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 1,941 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.01941
Opus 5 $0.00000 $0.00971
Sonnet 5 $0.00000 $0.00388
Haiku 4.5 $0.00000 $0.00194

Measured 8d ago against content hash b67abd506ca5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

edt-zip-export-pitfalls 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 8d 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-zip-export-pitfalls.mdc · 146 lines

How it starts

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

EDT Zip Export Pitfalls

Грабли EDT при экспорте конфигурации в инфобазу (incremental sync через zip-архив).

Применяется: при создании/правке объектов метаданных в EDT-проектах (Configuration или Extension), особенно через MCP edit_metadata / прямую правку .mdo. Касается агента разработчика mcp-edt.

Симптомы общие: EDT-валидация (get_project_errors) чистая, но при запуске/обновлении ИБ платформа падает с RuntimeCoreException и сообщением Файл не обнаружен 'zip:///...'.


1. Подсистема с командным интерфейсом без CommandInterface.cmi

Симптом

Ошибка загрузки/выгрузки конфигурации
по причине:
Файл не обнаружен 'zip:///Ext/CommandInterface.xml'

Стек: DesignerSessionThickClientLauncher.importIncrementalXmlToInfobaseLoadFilesQuery.processExecutionResponses.

Условие

Создана собственная подсистема (не Adopted) с <includeInCommandInterface>true</includeInCommandInterface> в .mdo, но рядом нет файла CommandInterface.cmi.

Фикс

Создать минимальный CommandInterface.cmi рядом с .mdo подсистемы:

<?xml version="1.0" encoding="UTF-8"?>
<cmi:CommandInterface xmlns:cmi="http://g5.1c.ru/v8/dt/cmi"/>

Затем clean_project + revalidate_objects для подсистемы.

Когда применять профилактически

При создании любой новой собственной подсистемы расширения через edit_metadata create_object Subsystem, если предполагается includeInCommandInterface=true - сразу создавать пустой CommandInterface.cmi.

В типовой конфигурации (без расширения) у части подсистем .cmi отсутствует и все работает - там индекс EDT давно собран. Для свежедобавленных в расширение лучше создавать явно.


2. Профилактический чеклист при создании объекта метаданных через EDT MCP

Для агента разработчика mcp-edt - перед каждым update_database или запуском ИБ:

Subsystem (новая собственная)

  • <name> уникальное (с префиксом расширения, напр. Ext_*)
  • <includeInCommandInterface>true</includeInCommandInterface> - обязателен CommandInterface.cmi рядом
  • Все ссылки <content> указывают на существующие объекты конфигурации
  • Объект зарегистрирован в Configuration.mdo (<subsystems>Subsystem.Имя</subsystems>)

Read the full file on GitHub · 146 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. 8d ago First seen · 146 lines · 0 tokens per session scan A b67abd506ca5

Subscribe to this mod's changes

edt-zip-export-pitfalls is a cursor rule published in the GitHub repository Desko77/cursor-1c-skills (55 stars, last pushed 6d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,941 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-08-30.