From 304df7f135777fe7d3eeaa27a306a062e98ff1d3 Mon Sep 17 00:00:00 2001 From: znetsixe Date: Tue, 19 May 2026 15:59:14 +0200 Subject: [PATCH] =?UTF-8?q?fix(CONTRACT):=20add=20set.outflow=20row=20?= =?UTF-8?q?=E2=80=94=20registered=20topic=20was=20missing?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Registry's `set.outflow` (alias `q_out`) pushes a measured outflow into the basin balance. CONTRACT.md documented `set.inflow` but not its outflow twin; contract-verify required both. Co-Authored-By: Claude Opus 4.7 (1M context) --- CONTRACT.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CONTRACT.md b/CONTRACT.md index cc38b7b..36d5561 100644 --- a/CONTRACT.md +++ b/CONTRACT.md @@ -12,6 +12,7 @@ Hand-maintained for Phase 2; the `## Inputs` table is generated from | `cmd.calibrate.volume` | `calibratePredictedVolume` | numeric (number or numeric string) — m³ | Resets the predicted-volume series and seeds it with the supplied value; recomputes level. | | `cmd.calibrate.level` | `calibratePredictedLevel` | numeric — metres | Resets the predicted-level series and seeds it with the supplied value; recomputes volume. | | `set.inflow` | `q_in` | number, numeric string, or `{ value, unit, timestamp }` | Pushes a manual inflow measurement onto the predicted-flow series. `unit` may be on the message (`msg.unit`) or inside the object payload. | +| `set.outflow` | `q_out` | number, numeric string, or `{ value, unit, timestamp }` | Pushes a measured outflow value into the basin balance. Same payload conventions as `set.inflow`. | | `set.demand` | `Qd` | numeric — child setpoint demand | Forwards the demand to direct children (machineGroups / machines / stations). Only honoured in `manual` mode; in other modes the call is logged at `debug` and discarded. | Aliases log a one-time deprecation warning the first time they fire.