build-release
Build release artifacts from committed sources — .cf for the main configuration and .cfe per…
Closed deploy → test → fix → redeploy loop against the test infobase, until the scenarios pass or the iteration budget is exhausted
> /plugin marketplace add comol/ai_rules_1c > /plugin install 1c-rules@1c-rules
How it fires
How this command gets triggered: by you, by Claude, or both.
/test-fix-loopContext preview
What this command does when you run it.
Closed deploy → test → fix → redeploy loop against the test infobase, until the scenarios pass or the iteration budget is exhausted
description: Closed deploy → test → fix → redeploy loop against the test infobase, until the scenarios pass or the iteration budget is exhausted argumentHint: "[<scenario / task description>] [--iterations N]"
Run the requested test scenarios against the test infobase and, when they fail, close the loop: diagnose → fix the code → redeploy → re-test — until every scenario passes or the iteration budget runs out. This is the *outer* loop over test failures; the *inner* retry loop for deploy errors stays where it lives (`/update1cbase → Update retry loop`) and does not consume test iterations.
**Strictly opt-in.** This loop runs only when invoked as a command or explicitly requested in words; `UI_TESTING=essential` / `auto` enable routine UI verification, not this repeated deploy/fix loop. Invoking it **is** the explicit UI-test request that `manual` requires. Effective `UI_TESTING=off` still blocks: point to `/uitests essential`, `/uitests on` or `/uitests manual`; an explicit enable-and-run instruction satisfies the switch without a second confirmation. Execution prerequisites still apply. Web-client iterations are token-expensive — on that route state the expected cost once at the start.
Parameters, classes and defaults — `content/rules/dev-standards-env.md §1`; Defaulted keys are never asked for. Blocking for this command: `PLATFORM_PATH`, `INFOBASE_PATH`, **and a UI route** — QA MCP with a test client of the infobase, or `INFOBASE_PUBLISH_URL` for the web client (without either there is nothing to loop over — stop and ask). The dev/test-target confirmation of `/deploy-and-test` applies unchanged.
Scenario set: taken from the argument / user request. Do not invent scenarios beyond what was asked; one scenario per user-visible behavior, in the template of `content/agents/tester.md → Test Scenarios`.
**EDT projects** (`.dev.env` `USE_EDT=true`): the deploy step keeps a single owner per `content/rules/edt-workflow.md`.
Iteration budget: `--iterations N` or a number stated in the request; default **3** (mirrors the update-retry budget). Route and driving rules — via `/deploy-and-test` Step 4: QA MCP (`1c-qa-testing` skill, `qa-testclient.md`; a fresh test client after every redeploy), else the web client (`ui-testing-tools.md`, `web-client-driving.md`, including the two-attempts anti-loop limit inside the browser).
1. **Deploy.** Run `/deploy-and-test` Steps 0–3 (its command lines, tool selection, and retry loop are the single source of truth). Full-snapshot mode when `EXTENSION_NAMES` is configured, single-target otherwise. If the deploy retry loop exhausts its own budget, the whole command stops with its failure report — a broken deploy is not a test failure. 2. **Test.** Run the scenario set per `/deploy-and-test` Step 4 / the `1c-tester` workflow.
3. **All green → exit** to the final report. 4. **On failure — fix before the next iteration.** Diagnose per `standards(name="systematic-debugging")` (the `DEBUG_FAST_PATH` fast path applies). Fix through the normal development procedure — triage quick-fix vs full-cycle per `AGENTS.md`, delegating to `1c-error-fixer` when delegation is warranted (`subagents.md`). Run the applicable Gates 1–3 on every touched module **before** redeploying. Re-deploying unchanged sources is forbidden — the same no-change-repeat rule as everywhere else; an iteration without a fix is a wasted iteration and a defect. 5. Next iteration (back to 1) while the budget allows.
An iteration table — per iteration: deployed git state, scenarios run, pass/fail per scenario, one-line fix summary — followed by the standard test report (`tester.md → Test Report Format`) for the final state, and the `IB tooling:` line required by `AGENTS.md → Skills and Subagents`.
Repo: comol/ai_rules_1c
Build release artifacts from committed sources — .cf for the main configuration and .cfe per…
Toggle the caveman communication style — set CAVEMAN (on|auto|off) in .dev.env for the whole…
Check a 1C XML configuration dump for duplicate UUIDs, and optionally regenerate them
Read-only check for available updates of the 1C MCP server images and of the 1c-rules…
Load the configuration into the test infobase from .dev.env and check the result in the 1C…