Document Cloud Agent driver and site-simulator layout - #969
Draft
frahlg wants to merge 1 commit into
Draft
Conversation
Record that device-drivers is the editable driver source and device-simulator is the site FTW talks to in this environment, so future agents do not treat ftw/drivers or make dev as that path.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Accepted text proposal
Issue or Discussion: documentation-only
Maintainer comment that accepted this scope: Cloud Agent environment setup; record how
device-driversanddevice-simulatorfit the test stack.What changed
Adds a Cursor Cloud specific instructions section to
AGENTS.md. It states that this environment is a multi-repo FTW stack, that driver edits belong insrcfl/device-drivers(notftw/drivers/*.lua), and thatsrcfl/device-simulatoris the site FTW talks to for protocol-shaped integration.make e2e/make devstill use the in-tree Go simulators.No runtime behaviour changes.
Why
Cloud Agents were treating
make devas the only site path, andftw/driversas editable source. That is wrong: the recovery snapshot is generated, and a real-site loop for driver/protocol work goes through device-simulator (Sungrow hybrid + bound SDM630).Evidence from this environment: FTW on
:8080with both driversok, Sungrow PV ≈ −2.5 kW, SDM630 as site meter, ticks advancing against device-simulator on:8762.Boundaries and safety
Out of scope: changing
make dev, e2e, or FTW config defaults. Stale site-meter data still stops dispatch. Planner output is still not sent to hardware. The in-tree Go simulators remain themake e2epath.Verification
device-simulatorserver mode (:8762, Modbus5100+)GET /api/health→drivers_ok: 2,status: okGET /api/status→ sungrowpv_w≈ −2550,bat_soc0.5, sdm630status: ok, tick counts advancingmake test-driver ID=sungrowin device-drivers → 85 passed, 4 skippedChecklist