diff --git a/.claude/skills/README.md b/.claude/skills/README.md index fe5f4f9..f5c43dd 100644 --- a/.claude/skills/README.md +++ b/.claude/skills/README.md @@ -12,3 +12,8 @@ are not used for grouping; group tasks inside each skill instead: The `description` in `SKILL.md` decides when Claude uses the skill. List the words users will actually say. + +Skills must work on any R1.03 system, so never use names from a particular system (items, +sections, stations, nodes). Write placeholders such as `
.` and, where an example +helps, use names from the sample project `CI-Eng-Sample` (`examples/CI-Eng-Sample/`). +Test-system evidence belongs in `knowledge/progress.md` and `knowledge/issues.md`. diff --git a/.claude/skills/system-check/SKILL.md b/.claude/skills/system-check/SKILL.md new file mode 100644 index 0000000..9eb3042 --- /dev/null +++ b/.claude/skills/system-check/SKILL.md @@ -0,0 +1,89 @@ +--- +name: system-check +description: >- + Read-only check of a CI Server machine, run before any CI Server work. Use when + the user asks which CI Server version is installed, whether CI Server is running, where it is + installed, whether time is synchronized, or before starting any task in another skill. + Also covers starting CI Server (needs administrator rights). Target version R1.03. +version: R1.03 +source: IM 36K10J10-01EN §1.2, §1.4, §3.6, §3.7; practiced on the test system 2026-09-29/30 +status: verified (2026-09-30) +--- + +# System check + +Run this read-only check before any CI Server work. It changes nothing. + +## 1. Installed version + +PowerShell: + +```powershell +$keys = @('HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*','HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*') +foreach ($k in $keys) { foreach ($i in (Get-ItemProperty $k -ErrorAction SilentlyContinue)) { if ($i.DisplayName -match 'CI Server') { "{0} | {1}" -f $i.DisplayName, $i.DisplayVersion } } } +``` + +Expected for this repo: `CI Server R1.03.00 (r10200M) | 1.03.00`. Anything else: warn the +user that the repo targets R1.03. + +**From the running system** (preferred when CI Server is running): export the local node +dataset and read `VERSION_MAJOR`, `VERSION_MINOR`, `VERSION_PACK` (1, 3, 0 = R1.03.00). + +``` +dssqld -e local_node.qli -d LOCAL_NODE_DF -c -l local_node.lst +``` + +Run it in a scratch folder; it only reads. The same row shows the node name, node number and +licence state (`NAME`/`NODE_NAME` = `UNLICENCED` means no licence is registered). +`dssqld -f -l dict.lst` dumps the full data dictionary (all datasets and fields) if you need +to find another dataset. + +**Per-component versions** (rewritten at every start): `%TLS_ALLUSERS_PATH%\lst\tls_versions.lst`, +one line per component: `,,,`. On the test system all 110 +lines read `R1.03.00`; a different version on some lines means a patch is installed. + +**Message log**: `%TLS_LOG_PATH%\umhlog.log` holds CI Server messages +(`--> From: () on