Files
diffuser/CLAUDE.md
znetsixe 4973a8bcfc 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:21 +02:00

1.5 KiB

diffuser — Claude Code context

Aeration system control. Part of the EVOLV wastewater-automation platform.

S88 classification

Level Colour Placement lane
Equipment Module #86bbdd L3

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 L3 (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 #86bbdd (Equipment Module).

Folder & File Layout

Every per-node file MUST use the folder name (diffuser) exactly, case-sensitive. Full rule: .claude/rules/node-architecture.md in the EVOLV superproject.

Path Required name
Entry file diffuser.js
Editor HTML diffuser.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.