fix(commands): point set.mode description at the schema enum
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) <noreply@anthropic.com>
This commit is contained in:
@@ -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,
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user