Commit Graph

24 Commits

Author SHA1 Message Date
znetsixe
a3583a3edb 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:31 +02:00
znetsixe
98052a16e7 docs(wiki): update Home.md to match WIKI_TEMPLATE §14-section standard
- Bump banner hash to 94b6616 (current HEAD)
- Section 9: add processOutputFormat + dbaseOutputFormat + enableLog fields
  that exist in settler.html but were absent from the config table
- Section 10: replace "Skipped" with precise stateless rationale
- Section 14: add item 5 — editor colour #e4a363 vs S88 #50a8d9 discrepancy,
  referencing node-red-flow-layout.md §16 for cleanup tracking
- Re-ran npm run wiki:all; AUTOGEN markers intact

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11 21:05:00 +02:00
znetsixe
94b661658c 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:12 +02:00
znetsixe
43a5bf5468 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:16 +02:00
znetsixe
2af30c0bd8 fix(commands): restore child.register handler (alias registerChild)
Same fix as monster: P6.6 refactor dropped the case 'registerChild'
branch when extracting commands. Settler registers reactor + measurement
children — without this, Port 2 inbound handshakes were silently
ignored.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-11 16:04:32 +02:00
znetsixe
6953d6473e 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:44 +02:00
znetsixe
b8247fc755 P6: convert settler to platform infrastructure
Refactor of settler to use BaseNodeAdapter + commandRegistry + statusBadge.
settler follows the platform refactor plan in .claude/refactor/MODULE_SPLIT.md.
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:23:44 +02:00
znetsixe
b199663c77 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:26 +02:00
znetsixe
518262ac98 Merge remote-tracking branch 'origin/main' into dev-Rene
# Conflicts:
#	settler.html
#	src/nodeClass.js
#	src/specificClass.js
2026-03-31 16:26:04 +02:00
root
9af42bdc4c Harden settler runtime and scaffold tests 2026-03-31 14:26:10 +02:00
Rene De Ren
a650ca4856 Expose output format selectors in editor 2026-03-12 16:39:25 +01:00
Rene De Ren
fdfb9edf0d fix: replace console.log with logger for unknown topic warning
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 09:33:31 +01:00
Rene De Ren
a369361d99 test: add unit tests for specificClass
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 16:31:53 +01:00
Rene De Ren
417fad4ec3 refactor: adopt POSITIONS constants and fix ESLint warnings
Replace hardcoded position strings with POSITIONS.* constants.
Prefix unused variables with _ to resolve no-unused-vars warnings.
Fix no-prototype-builtins where applicable.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 15:35:28 +01:00
Rene De Ren
8ae21ce787 Migrate _loadConfig to use ConfigManager.buildConfig()
Replaces manual base config construction with shared buildConfig() method.
Node now only specifies domain-specific config sections.

Part of #1: Extract base config schema

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 14:59:35 +01:00
Rene De Ren
5deb22b8da Fix ESLint errors and bugs
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 13:39:57 +01:00
p.vanderwilt
7f2d326612 Remove depreciated features in html 2025-11-07 16:19:08 +01:00
p.vanderwilt
9c98f1a139 Add warning for improper positioning and rename source assignment 2025-11-06 14:52:41 +01:00
p.vanderwilt
49eeafdcf9 Minor improvements and updates to fix changes due to fork 2025-10-31 13:47:19 +01:00
p.vanderwilt
93b67e607a Refactor settler node: remove unused inlet input and enhance effluent calculation logic 2025-10-24 15:00:57 +02:00
p.vanderwilt
efb99df107 Implement settler class with reactor, measurement and machine connection logic 2025-10-23 17:15:41 +02:00
p.vanderwilt
a6fe39891b Add register child function and fix whitespace 2025-10-22 16:22:33 +02:00
p.vanderwilt
51dc56cc85 Add initial implementation of the settler node for Node-RED
- Create package.json to define project metadata and dependencies
- Implement settler.html for the node's UI in Node-RED
- Add settler.js to register the settler node type and handle HTTP requests
- Introduce src/nodeClass.js for the settler node class functionality
- Define src/specificClass.js for settler-specific logic and utilities
2025-10-22 16:07:42 +02:00
p.vanderwilt
1fc14dda35 Initial commit 2025-10-22 15:28:10 +02:00