diff --git a/content/commands/check-uuid.md b/content/commands/check-uuid.md index de3eec14..abfacc34 100644 --- a/content/commands/check-uuid.md +++ b/content/commands/check-uuid.md @@ -22,7 +22,7 @@ Detects objects that claim the same identity. The full description of the tool 2. **Run the check.** ```powershell - powershell.exe -NoProfile -File skills/1c-metadata-manage/tools/1c-uuid-check/scripts/uuid-check.ps1 -ConfigPath "" [-IncludeIntra] + powershell.exe -NoProfile -ExecutionPolicy Bypass -File skills/1c-metadata-manage/tools/1c-uuid-check/scripts/uuid-check.ps1 -ConfigPath "" [-IncludeIntra] ``` (In the `1c-rules` source repository, prefix the script path with `content/` — `SKILL.md → Path conventions`.) @@ -36,7 +36,7 @@ Detects objects that claim the same identity. The full description of the tool Before repairing, state the risk in one line: `-Fix` keeps the *first* occurrence and regenerates the rest, which is positional rather than semantic. If the dump has already been loaded into an infobase, regenerating a `uuid` makes the platform treat the object as new on the next load and orphans its data — in that case have the user decide which occurrence keeps the identity. ```powershell - powershell.exe -NoProfile -File skills/1c-metadata-manage/tools/1c-uuid-check/scripts/uuid-check.ps1 -ConfigPath "" [-IncludeIntra] -Fix + powershell.exe -NoProfile -ExecutionPolicy Bypass -File skills/1c-metadata-manage/tools/1c-uuid-check/scripts/uuid-check.ps1 -ConfigPath "" [-IncludeIntra] -Fix ``` 5. **Confirm.** After a repair, re-run without `-Fix` and report the clean result. Then validate the affected objects (`meta-validate` / `cf-validate` — `content/skills/1c-metadata-manage/docs/meta-manage.md`, `content/skills/1c-metadata-manage/docs/cf-manage.md`) before the dump is loaded. diff --git a/content/commands/doctor.md b/content/commands/doctor.md index 2f0d58b0..21b088b6 100644 --- a/content/commands/doctor.md +++ b/content/commands/doctor.md @@ -65,7 +65,7 @@ Pass criterion: the root always-on files exist, and either the installed tool la Frontmatter, `content/...` path references, Markdown links, `.md → Section` anchors, routed-standards heading parity, and the `AGENTS.md` always-on byte budget are owned by the validator script — do **not** re-derive them by hand. In the `1c-rules` source repository run: ```powershell -powershell -NoProfile -File tools\validate-rules.ps1 +powershell -NoProfile -ExecutionPolicy Bypass -File tools\validate-rules.ps1 ``` and report its output: every `ERRORS` line → **FAIL**, every `WARNINGS` line → **WARN**, with the file and line exactly as printed; `OK` → **OK**. In an installed project the script is not shipped — report **SKIP**; file presence there is covered by the manifest check in Check 1. diff --git a/content/skills/1c-metadata-manage/SKILL.md b/content/skills/1c-metadata-manage/SKILL.md index 1a0ce806..b4193044 100644 --- a/content/skills/1c-metadata-manage/SKILL.md +++ b/content/skills/1c-metadata-manage/SKILL.md @@ -37,7 +37,7 @@ The same convention applies to `docs/*.md` references like `skills/1c-metadata-m XML saving in `form-edit`, `form-add`, `remove-form`, `form-compile` registration, `meta-edit`, `cf-edit`, `cfe-borrow` registration/merge, `skd-edit`, `subsystem-edit`, `subsystem-compile` registration, `interface-edit`, `role-edit`, `add-template` and `add-help` retains the input CRLF/LF style and uses Configurator's compact empty tags (``). Formatting-only changes should not be repaired by a global replacement that can alter literal XML in comments or CDATA. -On Windows use the shipped `.ps1` entry points. Before selecting a Linux/macOS runtime, using a Python port, or resolving a missing runtime, read [runtime-selection.md](docs/runtime-selection.md) for the exact supported commands and limitations. A missing runtime never permits hand-editing metadata XML. +On Windows use the shipped `.ps1` entry points, started as `powershell.exe -NoProfile -ExecutionPolicy Bypass -File