P11.6 wiki regen + Phase 10 private-test rewrites where applicable

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 '<measure> (default <unit>)' 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) <noreply@anthropic.com>
This commit is contained in:
znetsixe
2026-05-11 19:44:06 +02:00
parent 133d442b76
commit 8540328bf5

View File

@@ -90,14 +90,15 @@ flowchart TB
<!-- BEGIN AUTOGEN: topic-contract -->
| 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. |
<!-- END AUTOGEN: topic-contract -->
@@ -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` |