From c9970c0c578f925e4e6cf1fc9bdada4eefc5674c Mon Sep 17 00:00:00 2001 From: znetsixe Date: Tue, 19 May 2026 16:05:43 +0200 Subject: [PATCH] fix(commands): point set.mode description at the schema enum MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Old description said "auto / manual" but the schema declares four modes. New description enumerates the allowed values and refers readers to the schema. RM's wiki/Reference-Contracts.md is hand-maintained (no AUTOGEN markers) and already says "one of the allowed mode names" — no regeneration needed. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/commands/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/index.js b/src/commands/index.js index 40da98b..483d3b3 100644 --- a/src/commands/index.js +++ b/src/commands/index.js @@ -19,7 +19,7 @@ module.exports = [ topic: 'set.mode', aliases: ['setMode'], payloadSchema: { type: 'string' }, - description: 'Switch the machine between auto / manual control modes.', + description: 'Switch the operating mode. Allowed: `auto`, `virtualControl`, `fysicalControl`, `maintenance` (schema-validated in `rotatingMachine.json` → `mode.current`).', handler: handlers.setMode, }, {