build-release
Build release artifacts from committed sources — .cf for the main configuration and .cfe per…
Aggregate accumulated rule-friction signals into user-approved behavior rules in LLM-RULES.md (ruleset self-improvement loop)
> /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.
/evolveContext preview
What this command does when you run it.
Aggregate accumulated rule-friction signals into user-approved behavior rules in LLM-RULES.md (ruleset self-improvement loop)
description: Aggregate accumulated rule-friction signals into user-approved behavior rules in LLM-RULES.md (ruleset self-improvement loop) userOnly: true argumentHint: "[note <text>|show]"
Turn friction observed during work (user corrections of agent behavior, demonstrably redundant mandated steps, conflicting rules) into explicit, user-approved rules in `LLM-RULES.md` at the project root.
This command is the **only** legitimate writer of `LLM-RULES.md`. During regular tasks agents never edit it, `AGENTS.md`, or the installed rule files inline — they capture friction signals and, when signals accumulate, recommend running this command. The capture discipline and the recommendation trigger are canon in `AGENTS.md → Rules self-improvement`; this file owns everything from aggregation onward.
Precedence reminder: `LLM-RULES.md` overrides `AGENTS.md` and the on-demand rules; `USER-RULES.md` and `memory.md` override `LLM-RULES.md`.
Parse the argument: empty — full pass (collect → cluster → propose → approve → write); `note <text>` — record one friction signal and stop; `show` — report the current state, no writes.
Gather friction signals from, in order:
1. **Current session** — corrections and steers the user gave in this chat that contradict or refine behavior mandated by the active ruleset. 2. **Memory search** (all connected providers per `content/rules/project-memory.md`) — query for `rule-friction` notes and deduplicate across providers; refine with behavior keywords if the first query is too broad. Respect the no-blind-chaining discipline of `AGENTS.md → MCP Tool Calling → C`. All memory writes in this command use the same rule's Cognee → OpenViking → templates priority. 3. **`memory.md` fallback entries** — behavior-steering entries recorded there while `remember` was unavailable. 4. **User input** passed with the command invocation.
Skip episodes already consumed by an earlier pass: consumed episodes are cited in the `Evidence` lines of existing `LLM-RULES.md` entries, and notes older than the `Last /evolve run:` date are suspect — re-check them against existing entries before reuse.
Proposals that **weaken** any of the following are safety-relevant: the verification chain (`syntaxcheck` / `check_1c_code` / `review_1c_code`, validator budgets, the `content/rules/verification-gates.md` gates), transactions / locks discipline, security / RLS / secrets / PII handling, `CONFUSION` gates on material forks, MCP evidence gates for BSL / metadata / spec authoring.
For such proposals:
The model is a poor judge of the usefulness of gates that constrain the model — that asymmetry is exactly why this section exists.
Present every surviving proposal as a numbered list; per proposal: the rule text, scope, evidence episodes (one line), what base rule or `AGENTS.md` section it refines or overrides, and the `[safety-relevant]` flag where applicable. Then one consolidated question round with per-entry approve / reject / edit. Safety-relevant entries require their own explicit confirmation.
No approval — no write. For rejected proposals, record one `remember` note (`rule-friction: rejected — <behavior>`) so the same proposal is not re-raised from the same episodes.
If the file is absent (older install), create it first with the template structure: the `# LLM Rules` title with its one-line pointer, the `Last /evolve run:` line, `## Active rules`, `## Superseded`.
Entry format (English, imperative, original 1C identifiers as-is, no secrets / PII):
### R-007 — <short title> (YYYY-MM-DD) - **Rule:** <imperative behavior rule> - **Scope:** <when / where it applies> - **Evidence:** <episodes in one line> - **Refines:** <`AGENTS.md → <section>` / `<rule-file>.md` / none>
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…