<< All versions
Skill v1.0.1
currentAutomated scan100/100ingvarconsulting/unica/background-jobs
+3 new
──Details
PublishedAugust 13, 2026 at 03:09 AM
Content Hashsha256:2be0dd3940cb6944...
Git SHA70cec49768ac
Bump Typepatch
──Files
Files (1 file, 2.7 KB)
SKILL.md2.7 KBactive
SKILL.md · 43 lines · 2.7 KB
version: "1.0.1" name: background-jobs description: "Фоновые и регламентные задания 1С. Используй когда нужно спроектировать, проверить или диагностировать background jobs, расписания, очереди, зависания, retry-логику и журналирование."
Background Jobs
MCP routing
- Preferred path: use MCP
unicatoolsunica.project.map,unica.code.search,unica.meta.info,unica.code.diagnostics,unica.standards.search,unica.standards.explain, andunica.runtime.execute. - Use
unica.role.infowhen job behavior depends on user context or permissions. - Do not call internal runtime, analyzer, standards, or package adapters directly. They are hidden behind MCP
unica.
References
- Read
../../references/platform/platform-mechanics.mdfor background job context, temporary storage, and security boundaries. - Read
../../references/platform/transactions-locks.mdwhen the job reads and then writes shared state; this skill keeps only job restartability. - Read
../../references/platform/runtime-diagnostics.mdwhen the task includes ЖР/ТЖ, hangs, retries, or process/session evidence.
Workflow
- Identify job type: scheduled job, background job launched from code, queue worker, exchange worker, or deferred integration retry.
- Find entry points with
unica.code.search; inspect related metadata withunica.meta.infoand project layout withunica.project.map. - Define execution contract: parameters, user context, transaction scope, idempotency key, lock strategy, timeout, retry count, and logging fields.
- Check failure behavior before implementation: duplicate launch, partial write, stale lock, external service failure, session termination, and restart after crash.
- Run
unica.code.diagnosticsandunica.runtime.executefor syntax/tests/launch verification when the project runtime is available. - For diagnosis, build a timeline from ЖР/ТЖ and map the first failure back to module code.
Review checklist
- Job can be safely restarted or retried.
- Long work is split or checkpointed.
- Logs use structured logging fields: job id, parameters summary, correlation id,
retry count, result, and sanitized error context, but no secrets.
- Shared state a job reads and then writes is handled per
transactions-locks,
and the lock does not block unrelated users or tenants.
- Failure paths distinguish retryable and permanent errors.
Contract gaps
If public MCP unica cannot inspect schedules, active jobs, lock state, or runtime artifacts needed for the task, report a Unica MCP contract gap with the missing operation.