Commit Graph

31 Commits

Author SHA1 Message Date
znetsixe
cd185dcd82 docs: add Folder & File Layout section per EVOLV convention
Each repo can now be read standalone for the file-naming convention. Full rule:
.claude/rules/node-architecture.md in the EVOLV superproject.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-18 21:30:25 +02:00
znetsixe
59ff4d230e examples: replace stale flows with single integrated e2e example
Drop the pre-refactor flows (edge.flow.json, integration.flow.json,
monster-dashboard.flow.json, monster-api-dashboard.flow.json) and ship
one canonical 02-integrated-e2e.json instead.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-12 14:51:25 +02:00
znetsixe
53c25f2d10 docs(wiki): rewrite Home.md to 14-section template — bump banner + fix gaps
- Banner hash updated to 8540328 (was stale 2a6a0bc).
- Section 9: flag constraints.flowmeter not wired in buildDomainConfig
  (effectively always true at runtime); add nominalFlowMin / flowMax /
  maxRainRef rows that were missing from the config table.
- Section 12: add two new debug recipes — measurement child ignored
  (assetType must be "flow", not "flow-electromagnetic") and flowmeter=false
  has no runtime effect.
- Section 14 #3: expand flowmeter limitation to call out buildDomainConfig gap.
- Section 14 #5: add S88 colour cleanup note (#4f8582 teal → #50a8d9 Unit).
- AUTOGEN markers untouched; npm run wiki:all re-ran cleanly before commit.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11 21:04:58 +02:00
znetsixe
8540328bf5 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>
2026-05-11 19:44:06 +02:00
znetsixe
133d442b76 P11.5 + B2.1/B2.2: per-command units + description (where applicable)
Adds  to scalar setters whose payloads are
plain numbers OR {value, unit}. Skipped where payload is compound or
mode-dependent (control-%, {F, C: [...]}, etc.) — documented inline.
Every command gains a description field for wikiGen consumption.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-11 17:41:11 +02:00
znetsixe
0038a8c2c2 B1.4: cooldown-guard ROOT CAUSE — schema strip of constraint keys
Root cause: configUtils.initConfig was silently stripping the four
unknown constraint keys (nominalFlowMin, flowMax, maxRainRef,
minSampleIntervalSec) because they weren't declared in the schema.
With those keys gone, validateFlowBounds saw NaN/NaN and routed every
i_start into the invalid-bounds branch — _beginRun never fired, so
sumPuls stayed 0.

Fix is in generalFunctions/src/configs/monster.json (declared the
four keys with sensible defaults). Plus a 4-line comment at the guard
site documenting the schema dependency. 10/10 tests pass.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-11 17:29:17 +02:00
znetsixe
2aa7f88f03 fix(commands): restore child.register handler (alias registerChild)
The P6.3 refactor dropped the case 'registerChild' branch from the
nodeClass switch. Restored as a canonical child.register descriptor
with the legacy registerChild alias.

Monster accepts measurement children — without this, inbound Port 2
handshakes from a child were silently ignored.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-11 16:04:29 +02:00
znetsixe
2a82b7d7dc P9.3: wiki/Home.md following 14-section visual-first template + wiki:* scripts
Auto-generated topic-contract + data-model sections via shared wikiGen
script. Hand-written Mermaid diagrams for position-in-platform, code
map, child registration, lifecycle, configuration, state chart (where
applicable).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-11 15:17:42 +02:00
znetsixe
2a6a0bc34b P6: convert monster to BaseDomain + BaseNodeAdapter + concern split
Refactor of monster to use the platform infrastructure (BaseDomain, BaseNodeAdapter,
ChildRouter, commandRegistry, statusBadge). Extracts concerns into
focused modules per .claude/refactor/MODULE_SPLIT.md generic template.
Tests stay green; CONTRACT.md generated; legacy aliases preserved.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-10 22:09:25 +02:00
znetsixe
5a43f90569 docs: add CLAUDE.md with S88 classification and superproject rule reference
References the flow-layout rule set in the EVOLV superproject
(.claude/rules/node-red-flow-layout.md) so Claude Code sessions working
in this repo know the S88 level, colour, and placement lane for this node.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 07:47:27 +02:00
znetsixe
5942a59cce Merge commit 'ae46e00' into dev-Rene
# Conflicts:
#	config/exampleArray.js
#	dependencies/monster/monster_class.js
#	monster.html
#	monster.js
#	src/nodeClass.js
#	src/specificClass.js
2026-03-31 18:17:09 +02:00
Rene De Ren
ae46e0021c Refactor monster to current architecture 2026-03-12 16:43:29 +01:00
znetsixe
32ebfd7154 updates 2026-03-11 11:13:32 +01:00
znetsixe
38013a86db update 2026-02-23 13:17:14 +01:00
znetsixe
00858eb853 before functional changes by codex 2026-02-19 17:37:09 +01:00
znetsixe
6b58dd4bd5 upgrades 2026-01-20 20:47:19 +01:00
znetsixe
ed9409fc29 upgrades 2026-01-20 18:17:40 +01:00
znetsixe
b6e2474a1c Synchronizing workflow monster 2026-01-20 11:42:13 +01:00
znetsixe
9708127a20 agent updates 2026-01-13 15:38:59 +01:00
znetsixe
3971b4e328 adjusted test for new model 2025-11-25 16:19:09 +01:00
77adb043b0 Merge pull request 'update sjoerd' (#1) from sjoerdfijnje/monster:main into dev-Rene
Reviewed-on: https://gitea.centraal.wbd-rd.nl/RnD/monster/pulls/1
2025-11-25 14:30:18 +00:00
SjoerdFijnje
2576625f0a merge update 2025-11-25 15:29:43 +01:00
SjoerdFijnje
df935b2868 monster update 2025-11-25 15:03:51 +01:00
znetsixe
7e683792d4 removed deprecated statement 2025-11-13 19:38:35 +01:00
znetsixe
cf10e20404 S88 updates and icon 2025-10-14 14:08:12 +02:00
SjoerdFijnje
4213b18139 adjusted html to new standard 2025-10-13 10:06:08 +02:00
znetsixe
05293988bb update package 2025-10-06 16:18:46 +02:00
znetsixe
a061873537 sjoerds chages 2025-08-08 09:51:57 +02:00
znetsixe
d28833a6c9 license update 2025-08-07 14:00:17 +02:00
znetsixe
6df8af593d first commit 2025-05-14 10:08:34 +02:00
RnD
0e5a2b836b Initial commit 2025-05-13 09:58:36 +00:00