Skip to content
Development
Command

/checkupdates

Read-only check for available updates of the 1C MCP server images and of the 1c-rules ruleset, without pulling or installing anything

From plugin
ai-rules-1c
55045 skills13 agents45 commands
> /plugin marketplace add comol/ai_rules_1c
> /plugin install 1c-rules@1c-rules

Command definition

checkupdates.md
description: Read-only check for available updates of the 1C MCP server images and of the 1c-rules ruleset, without pulling or installing anything
argumentHint: "[mcp|rules]"

/checkupdates — are there updates for MCP and the rules

The command only **looks**: it compares what is installed with what is published and prints a verdict. It does not `docker pull`, does not recreate containers, does not touch rule files (except the `lastUpdatesCheckAt` field in `.ai-rules.json` — see *Report*). Updating is `/updatemcp` (MCP servers) and `/updaterules` (the ruleset); this command only recommends running them.

The argument narrows the check: `mcp` — images only, `rules` — rules only, empty — both parts.

For MCP images load `content/rules/mcp-deployment.md` and inspect the recorded deployment host/context, including an optional shared Debian/Ubuntu Engine. Apply that target to the Docker examples below; use host-native paths and shell syntax. Without host access, report image versions/digests as unverified and continue the independent rules check. Never infer remote versions from local containers or require Docker Desktop on a client.

Proactive run

The model may start this check on its own **at most about once every 30 days**, plus the one-off triggers below — once per session, at the end of the turn, never interrupting the main task.

  • **Monthly rhythm.** On the first non-trivial task of a session read `.ai-rules.json`: `lastUpdatesCheckAt`, else `updatedAt`, else `installedAt`. Older than 30 days, or all three empty — run this command. A fresh date — do not run it "just in case". The command itself writes the stamp after a completed check.
  • **One-off triggers**, even within 30 days: an error looks like one already fixed (a server answers differently from its documentation); the user asks whether updates exist or why something differs from the instructions; before proposing `/support` — when an update fixes the problem, suggest `/updatemcp` or `/updaterules` instead of a ticket.
  • **MCP reminder.** If the session has no 1C MCP tools, `SUPPORT_KEY` is empty and `integrations.mcp.mode` is not `external`, remind at the end of the report that the rules work best with the MCP servers at https://vibecoding1c.ru/mcp_server (the same text as after `init` / `/updaterules`). With a key or an external install present but no tools visible — one line «MCP не подключены, `/installmcp` или перезапуск клиента», without the purchase page.

A verdict "an update exists" does not authorize `/updatemcp` or `/updaterules`: they recreate containers and rewrite files — the user's decision.

Part A. The `1c-rules` ruleset

The scripts below are **pure ASCII** (Windows PowerShell 5.1 reads a BOM-less `.ps1` as ANSI and mangles Cyrillic in literals), so the column labels are English; translate them yourself in the report to the user.

1. Read `.ai-rules.json` at the project root: the fields `version` (the result of `git describe --tags --always` of the source at install time) and `updatedAt`. No file — the rules were not installed by this installer; say so and skip Part A.

2. Ask GitHub for the current HEAD and the number of commits since the installation — without cloning:

$ErrorActionPreference = 'Stop'
[Console]::OutputEncoding = [Text.Encoding]::UTF8

$manifest = Get-Content '.ai-rules.json' -Raw | ConvertFrom-Json
$repo = 'comol/ai_rules_1c'

$head = (git ls-remote "https://github.com/$repo" HEAD) -split '\s+' | Select-Object -First 1
$since = [Uri]::EscapeDataString($manifest.updatedAt)
$commits = Invoke-RestMethod -Uri "https://api.github.com/repos/$repo/commits?since=$since&per_page=100" `
    -Headers @{ 'User-Agent' = '1c-rules-checkupdates' }

[pscustomobject]@{
    Installed    = $manifest.version
    UpdatedAt    = $manifest.updatedAt
    Head         = $head.Substring(0, 7)
    CommitsSince = @($commits).Count
} | Format-List

3. Verdict:

  • `version` matches the beginning of `HEAD`, no commits after it → **up to date**;
  • more than zero commits → **update available**: show their count and 3–5 recent subjects (`$commits.commit.message` — the first line of each), then suggest `/updaterules`;
  • `version` = `local` or does not look like a sha → nothing to compare with; say so plainly and suggest `/updaterules` as the safe way to align;
  • GitHub is unreachable or answered `403` (anonymous request limit) → say exactly that; it is not "no updates".

Part B. MCP images

**If MCP is not connected** — no running `comol/*` containers **and** no 1C MCP tools in the current session (`syntaxcheck` / `templatesearch` / `metadatasearch` / `search_metadata` / `check_1c_code` / `ssl_search` / `docsearch`) — Part B has nothing to compare. Do not present that as "images are up to date". Write in the report that MCP is not connected, and if at the same time `SUPPORT_KEY` in `.dev.env` is empty and there is no `integrations.mcp.mode = "external"` — add the reminder:

> Правила работают наиболее эффективно с MCP-серверами для 1С: https://vibecoding1c.ru/mcp_server > Комплект уже куплен — `/installtools` или `/installmcp`. Нет комплекта — страница покупки по ссылке. Установщик правил ключ MCP не выдаёт.

If the key or an external install is present but there are no tools in the session — briefly: MCP is not connected, `/installmcp` or a client restart; do not repeat the purchase link. Do not go further in Part B.

Since 27.09.2026 every server is published in one channel under the variant tags `latest` / `light` / `arm64` (canon — `/installmcp` → `## Image variant`). Compare **the container's tag with the same tag on Docker Hub**; a newer `latest` says nothing about a `light` container. A container on a `*-beta` tag (also the joined form `latestbeta`) is **outdated**: those tags are no longer published, so there is nothing to compare — report it with the fix `/updatemcp`.

1. Collect what actually runs — the tag is taken from the container, not from `config.env` (the user ma

Read more
@comol
Ships withai-rules-1c

Rules\skills\subagens for vibecoding in 1C(bsl)

55032 skills13 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
550
Star history of comol/ai_rules_1c on GitHub, a chart by star-history.com

Other commands on ai-rules-1c.

build-release

build-release

Command

Build release artifacts from committed sources — .cf for the main configuration and .cfe per extension, with optional version…

@comol@comolInstall Command
caveman

caveman

Command

Toggle the caveman communication style — set CAVEMAN (on|auto|off) in .dev.env for the whole project; on|off|auto persist,…

@comol@comolInstall Command
check-uuid

check-uuid

Command

Check a 1C XML configuration dump for duplicate UUIDs, and optionally regenerate them

@comol@comolInstall Command
checkmcp

checkmcp

Command

Check availability of 1C MCP servers and install/start the missing ones

@comol@comolInstall Command
deploy-and-test

deploy-and-test

Command

Load the configuration into the test infobase from .dev.env and check the result in the 1C interface — QA MCP first, the web…

@comol@comolInstall Command
doctor

doctor

Command

Diagnose whether 1c-rules is installed, connected, configured, and usable by the current agent

@comol@comolInstall Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command