SHalimoosavi/SYJ-Gridsync-Os ? reverse-engineered prompt

Reverse engineered prompt

Build me a Node.js app called GridSync OS for managing distributed energy devices like inverters, meters, and microgrid equipment.

It should take in telemetry from Modbus, MQTT, and DNP3, turn it into one consistent format, then watch for grid safety issues like voltage, frequency, and battery limits. When something goes out of range, it should move through clear device states, raise alarms, and safely issue commands like curtail or standby without sending duplicates. Commands need to be durable, so if the app crashes or the network drops, anything waiting to be sent should be recovered and retried instead of lost.

I also want a simple REST dashboard for viewing live status, telemetry, alarms, and command history, plus login with JWT and role based access. Make it work on Linux and Windows, keep it production ready, and add tests for the core behavior. If you need current docs for any libraries, look them up online first.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab