From 047229c514192178d53c539deae09654f1087a1c Mon Sep 17 00:00:00 2001 From: znetsixe Date: Tue, 19 May 2026 15:59:03 +0200 Subject: [PATCH] =?UTF-8?q?fix(CONTRACT):=20remove=20stale=20set.scaling?= =?UTF-8?q?=20row=20=E2=80=94=20topic=20removed=20in=20refactor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit groupcontrol.test.js comment confirms `setScaling is gone — handleInput now takes canonical m³/s directly` since the refactor. CONTRACT.md still listed it; contract-verify now agrees with the registry. Co-Authored-By: Claude Opus 4.7 (1M context) --- CONTRACT.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CONTRACT.md b/CONTRACT.md index 2bcb8ef..5934f86 100644 --- a/CONTRACT.md +++ b/CONTRACT.md @@ -8,7 +8,6 @@ Hand-maintained for Phase 4; the `## Inputs` table is generated from | Canonical | Aliases (deprecated) | Payload | Effect | |---|---|---|---| | `set.mode` | `setMode` | `string` — one of `prioritycontrol`, `optimalcontrol`, `dynamiccontrol`, … | Switches the control strategy via `source.setMode(payload)`. | -| `set.scaling` | `setScaling` | `string` — one of `absolute`, `normalized` | Sets the demand-scaling convention via `source.setScaling(payload)`. | | `child.register` | `registerChild` | `string` — the child node's Node-RED id | Resolves the child via `RED.nodes.getNode` and registers it through `childRegistrationUtils.registerChild(childObj.source, msg.positionVsParent)`. | | `set.demand` | `Qd` | numeric (number or numeric string) | Calls `source.handleInput('parent', parseFloat(payload))`. On success, replies on Port 0 with `topic = source.config.general.name`, `payload = 'done'`. Non-numeric payloads log `error` and are skipped. |