The repo's prior docs (CLAUDE.md, MEMORY notes, superproject overview) framed monster as a "multi-parameter biological process monitor" suggesting NH4/NO3/COD/TSS measurement. The source code only emits volumetric pulse + bucket state — no constituent analysis. The framing was misleading. Reframed to match the code. Also updated examples/README.md: removed references to four flow files that don't exist in the repo (`integration.flow.json`, `edge.flow.json`, `monster-dashboard.flow.json`, `monster-api-dashboard.flow.json`) and documented the actual two files (`basic.flow.json`, `02-integrated-e2e.json`). The missing flows stay tracked in wiki/Reference-Examples.md as TODOs. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1.6 KiB
1.6 KiB
monster — Claude Code context
Sampling-cabinet pulse counter — measures sampled volumes and pulse cadence; does not analyze constituents (NH4 / NO3 / COD / TSS). For multi-parameter analyses, wire the output to an upstream/downstream analyzer node. Part of the EVOLV wastewater-automation platform.
S88 classification
| Level | Colour | Placement lane |
|---|---|---|
| Unit | #50a8d9 |
L4 |
Flow layout rules
When wiring this node into a multi-node demo or production flow, follow the placement rule set in the EVOLV superproject:
.claude/rules/node-red-flow-layout.md(in the EVOLV repo root)
Key points for this node:
- Place on lane L4 (x-position per the lane table in the rule).
- Stack same-level siblings vertically.
- Parent/children sit on adjacent lanes (children one lane left, parent one lane right).
- Wrap in a Node-RED group box coloured
#50a8d9(Unit).
Folder & File Layout
Every per-node file MUST use the folder name (monster) exactly, case-sensitive. Full rule: .claude/rules/node-architecture.md in the EVOLV superproject.
| Path | Required name |
|---|---|
| Entry file | monster.js |
| Editor HTML | monster.html |
| Node adapter | src/nodeClass.js |
| Domain logic | src/specificClass.js |
| Editor JS modules | src/editor/*.js (extract when inline editor JS exceeds ~50 lines) |
| Tests | test/{basic,integration,edge}/*.test.js |
| Example flows | examples/*.flow.json |
When adding new files, read the rule above first to avoid drift.