routine_assignment_ext_processor

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

A coding rule and example for starting background jobs from an external 1C processing file through the 1C Standard Subsystems long-running-operations feature. An external processing file is a separately opened 1C tool rather than one stored in the application catalogue.

In plain words
What is it for?
Use it when writing BSL code for background jobs launched from external processing files. It covers opening the file, placing it in temporary storage, making a server copy, and passing that copy to the long-running operation.
Why use it?
The server cannot normally find a processing file opened directly from a file, so the background job cannot use it. The pattern first copies the file to the server through temporary storage.

Cursor rule for Cursor

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

Good fit Use it when writing BSL code for background jobs launched from external processing files. It covers opening the file, placing it in temporary storage, making a server copy, and passing that copy to the long-running operation.

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

README.md
[![agentmods](https://agentmods.dev/badge/rules/desko77/cursor-1c-skills/routine_assignment_ext_processor/github.svg)](https://agentmods.dev/rules/desko77/cursor-1c-skills/routine_assignment_ext_processor)
Your own site
<a href="https://agentmods.dev/rules/desko77/cursor-1c-skills/routine_assignment_ext_processor"><img src="https://agentmods.dev/badge/rules/desko77/cursor-1c-skills/routine_assignment_ext_processor/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 routine_assignment_ext_processor

Your own site · 80×15
<a href="https://agentmods.dev/rules/desko77/cursor-1c-skills/routine_assignment_ext_processor"><img src="https://agentmods.dev/badge/rules/desko77/cursor-1c-skills/routine_assignment_ext_processor.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 1,415 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.01415
Opus 5.5 $0.00000 $0.00566
Sonnet 5.5 $0.00000 $0.00283
Haiku 4.5 $0.00000 $0.00142

Measured 1mo ago against content hash 15a57770073c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

routine_assignment_ext_processor 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 1mo 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/routine_assignment_ext_processor.mdc · 103 lines

How it starts

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

Фоновые задания из внешней обработки (БСП)

Применяется: BSL, БСП 3.0+, платформа 8.3.13+. Запуск фоновых заданий из внешних обработок через подсистему "Длительные операции" БСП.


Проблема

Процедуры ДлительныеОперации работают на сервере. Если обработка открыта через "файл-открыть" (а не из справочника ДополнительныеОтчетыИОбработки), БСП не может найти ее на сервере. Решение: создать копию обработки на сервере через временное хранилище.

Шаблон: копирование обработки на сервер

&НаКлиенте
Процедура ПриОткрытии(Отказ)
    Если ЭтоВнешняяОбработка() Тогда
        ОписаниеОповещения = Новый ОписаниеОповещения(
            "ОбработатьРезультатПомещенияФайлаОбработки", ЭтотОбъект);
        НачатьПомещениеФайлов(ОписаниеОповещения,
            ИмяФайлаОбработки(), Ложь, УникальныйИдентификатор);
    КонецЕсли;
КонецПроцедуры

&НаКлиенте
Процедура ОбработатьРезультатПомещенияФайлаОбработки(ПомещенныеФайлы, ОбработчикЗавершения) Экспорт
    Если ПомещенныеФайлы <> Неопределено Тогда
        ХранениеФайлаОбработки = КопияОбработкиНаСервере(ПомещенныеФайлы[0].Хранение);
    КонецЕсли;
КонецПроцедуры

&НаСервере
Функция КопияОбработкиНаСервере(Хранение)
    Каталог = ФайловаяСистема.ОбщийКаталогВременныхФайлов();
    Если Не ЗначениеЗаполнено(Каталог) Тогда
        ВызватьИсключение НСтр("ru = 'Не настроен общий каталог временных файлов.'");
    КонецЕсли;
    //@skip-check missing-temporary-file-deletion
    Результат = Каталог + Строка(Новый УникальныйИдентификатор) + ".epf";
    ДвоичныеДанные = ПолучитьИзВременногоХранилища(Хранение);
    ДвоичныеДанные.Записать(Результат);
    Возврат Результат;
КонецФункции

Файл пишется в общий каталог временных файлов БСП (ФайловаяСистема.ОбщийКаталогВременныхФайлов, есть в БСП 3.1.11 и 3.2.1). Имя из ПолучитьИмяВременногоФайла() указывает в каталог временных файлов рабочего процесса текущего сеанса: на кластере фоновое задание выполняется в другом рабочем процессе или на другом сервере, файла не видит и отказывает "обработка не найдена". В файловом варианте ошибка не воспроизводится.

Read the full file on GitHub · 103 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. 1mo ago Changed · +7 lines 15a57770073c
  2. 3mo ago First seen · 96 lines · 0 tokens per session scan A 96feddbe451f

Subscribe to this mod's changes

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

Related

routine_assignment_ext_processor compared with cursor rules from other repositories

routine_assignment_ext_processor next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
routine_assignment_ext_processorDesko77/cursor-1c-skillsCursor rule786d agoMITA0Cursor
project-contextyellow-hammer/mcp-1c-platform-toolsCursor rule473d agoMITA1,160Cursor
code-styleyellow-hammer/mcp-1c-platform-toolsCursor rule473d agoMITA331Cursor
evolution-no-legacyyellow-hammer/mcp-1c-platform-toolsCursor rule473d agoMITA147Cursor
ponytailDietrichGebert/ponytailCursor rule201k8d agoMITA604Cursor
angular-20angular/angularCursor rule102k4d agoMITA0Cursor
dev-standardapache/supersetCursor rule76ktodayApache-2.0A1,147Cursor