From 8540328bf5f263990bf9146fec918b6a576738ba Mon Sep 17 00:00:00 2001 From: znetsixe Date: Mon, 11 May 2026 19:44:06 +0200 Subject: [PATCH] P11.6 wiki regen + Phase 10 private-test rewrites where applicable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For all 11 nodes with auto-gen markers: wiki/Home.md sections 5 (topic contract) and 9 (data model) regenerated via npm run wiki:all. New Unit column shows ' (default )' for declared topics, '—' otherwise. Effect column now uses descriptor.description (P11.2 field) overriding the generic per-prefix fallback. For rotatingMachine + reactor: Phase 10 test rewrites — 3 + 8 files moved off private nodeClass internals (_attachInputHandler, _commands, _pendingExtras, _registerChild, _tick, etc.) to the public BaseNodeAdapter surface (node.handlers.input, node.source.*). +6 / +7 net new tests. Co-Authored-By: Claude Opus 4.7 (1M context) --- wiki/Home.md | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/wiki/Home.md b/wiki/Home.md index 6d88ba5..0844d2a 100644 --- a/wiki/Home.md +++ b/wiki/Home.md @@ -90,14 +90,15 @@ flowchart TB -| Canonical topic | Aliases | Payload | Effect | -|---|---|---|---| -| `cmd.start` | `i_start` | `any` | Triggers an action / sequence — not idempotent. | -| `set.schedule` | `monsternametijden` | `any` | Replaces the named state value with the supplied payload. | -| `set.rain` | `rain_data` | `any` | Replaces the named state value with the supplied payload. | -| `data.flow` | `input_q` | `object` | Pushes a value into the node's measurement stream. | -| `set.mode` | `setMode` | `any` | Replaces the named state value with the supplied payload. | -| `set.model-prediction` | `model_prediction` | `any` | Replaces the named state value with the supplied payload. | +| Canonical topic | Aliases | Payload | Unit | Effect | +|---|---|---|---|---| +| `cmd.start` | `i_start` | `any` | — | Trigger / release the sampler start gate. | +| `set.schedule` | `monsternametijden` | `any` | — | Replace the sampling-times schedule. | +| `set.rain` | `rain_data` | `any` | — | Push current rain-event data into the sampler logic. | +| `data.flow` | `input_q` | `object` | — | Push the upstream flow measurement (payload: {value, unit}). | +| `set.mode` | `setMode` | `any` | — | Switch the monster between auto / manual modes. | +| `set.model-prediction` | `model_prediction` | `any` | — | Push the upstream rain-prediction snapshot used by the sampler. | +| `child.register` | `registerChild` | `string` | — | Register a child node (typically a measurement) with this monster. | @@ -167,7 +168,7 @@ What lands on Port 0. Built in `buildOutput()` from `m.measurements.getFlattened | `bucketVol` | number | — | `0` | | `bucketWeight` | number | — | `0` | | `daysPerYear` | number | — | `0` | -| `flowMax` | undefined | — | `null` | +| `flowMax` | number | — | `0` | | `flowToNextPulseM3` | number | — | `0` | | `invalidFlowBounds` | boolean | — | `false` | | `m3PerPuls` | number | — | `0` | @@ -178,7 +179,7 @@ What lands on Port 0. Built in `buildOutput()` from `m.measurements.getFlattened | `minVolume` | number | — | `5` | | `missedSamples` | number | — | `0` | | `nextDate` | undefined | — | `null` | -| `nominalFlowMin` | undefined | — | `null` | +| `nominalFlowMin` | number | — | `0` | | `predFlow` | number | — | `0` | | `predM3PerSec` | number | — | `0` | | `predictedRateM3h` | number | — | `0` |