1---2name: autonomous-server3description: Автономный сервер отладки 1С. Используй когда нужно развернуть или проанализировать локальный автономный контур для отладки HTTP-сервисов и веб-клиента, проверить URL, запуск клиента, изоляцию и диагностические артефакты. Не используй для обычной веб-публикации.4---56# Autonomous Server78## MCP routing910- Preferred path: use MCP `unica` tools `unica.view {}`, `unica.run`, `unica.view` on the object node, `unica.search`, and `unica.check`.11- Runtime идёт через `unica.run`: вызов без `op` отдаёт словарь операций и12контракт каждой — `argsSchema`, `execution`, `previewRequired`,13`ifRevRequiredOnApply`. Контракт вызова бери оттуда, а не из этого текста;14выбирай только операцию с `implemented: true` и не выдумывай аргументов15записи с `argsSchema: null`; превью исполнением не является. Не обходи16контракт прямым runner-ом.17- Do not call internal runtime, server, analyzer, or package adapters directly. They are hidden behind MCP `unica`.1819## Workflow20211. Identify the debug target: HTTP service, web service, web client scenario, client MCP session, or isolated infobase startup.222. Map project source-sets with `unica.view {}`; inspect HTTP/WebService metadata with `unica.view` on the object node and handlers with `unica.search`.233. Check the workspace with `unica.check {}`, then prepare the contour through `unica.run`: `infobase.create`, then `source.import`; each step is previewed with `dryRun: true` and applied with the `ifRev` the preview returned.244. Launch the client with `client.run` (`clientMode=thin`), then stop: an MCP client mode and a web-client URL are not on the v0.13 surface.255. If the user independently provides a web URL, report it as the hand-off point for an external browser-testing tool; otherwise report that no public MCP `unica` operation currently produces a web-client URL.266. Analyze server artifacts: startup command/result, URL, source-set, platform mode, handler metadata, diagnostics, event log or technological log files if provided.2728## Diagnostics2930- Read `../../references/platform/runtime-diagnostics.md` before explaining startup, HTTP-service, web-client, or process-level failures.31- Preserve launch command/result, platform version, infobase path, port, URL, client mode, source-set, process id, session id, and temporary artifact paths.32- For HTTP-service debugging, map URL path to metadata and handler module before interpreting the error.33- For web-client debugging, separate server startup, authentication, UI load, client script failure, and business error.34- If runtime output does not expose a URL, log path, or process id through public MCP `unica`, record a Unica MCP contract gap.3536## Boundaries3738- This skill is for local autonomous debugging, not for production deployment.39- Do not create a legacy web server deployment skill surface. If a task requires a missing runtime operation, report it as a Unica MCP contract gap.40- Keep credentials out of versioned files and final output.4142## MCP example4344```json45{46 "jsonrpc": "2.0",47 "method": "tools/call",48 "params": {49 "name": "unica.run",50 "arguments": {51 "op": "client.run",52 "args": {53 "clientMode": "thin"54 }55 }56 }57}58```