Data separation

From IngvarConsulting/unica · View interactive version

Data separation is an AI agent skill from the GitHub repository IngvarConsulting/unica. Разделение данных 1С. Используй когда нужно проверить tenant-boundaries, разделители, безопасные запросы, RLS/права, фоновые задания, обмены или интеграции в разделенной базе.

How to use this skill

Skill file

Data Separation

MCP routing

контракт каждой — argsSchema, execution, previewRequired,

dryRunRequired. Контракт вызова бери оттуда, а не из этого текста;

используй опубликованную argsSchema; при support.state: limited

разрешено только подмножество support.supportedArgs. Недоступной операции

в словаре нет. Для плановой операции сначала проверь результат

dryRun: true, затем исполняй запрос с dryRun: false. Preview

не фиксирует входы между вызовами. Не обходи контракт прямым runner-ом.

References

Workflow

  1. Identify separation model: separator values, tenant ownership, user/session context, rights/RLS, privileged code, and external ids.
  2. Inspect metadata and roles with unica.view on the object node and unica.view on the role node; find risky code with unica.search.
  3. Trace tenant value through reads, writes, reports, background jobs, exchange messages, file batches, temp storage, and integration calls.
  4. Review queries for missing tenant filters, unsafe privileged mode, broad virtual tables, and joins that cross boundaries.
  5. Check syntax with unica.check (test runs are outside the v0.13 surface); record runtime verification as unavailable and require separate evidence covering at least two tenant contexts.

Red flags

Contract gaps

If public MCP unica cannot expose separation metadata, role details, or runtime context required for the task, report a Unica MCP contract gap.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.