Conversation
Signed-off-by: Fredrik Ahlgren <fredrik@sourceful-labs.com>
This was referenced Sep 21, 2026
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.
Charging questions currently depend on text reports and several reads. Add
GET /api/loadpoints/{id}/evidenceand the read-onlyget_charging_evidenceAsk why tool, using the same loadpoint view as the existing UI. Calling the tool without an ID lists up to 32 loadpoint IDs.The versioned response includes saved goals, plan windows and freshness, Core's last commanded watts and reason, and a separate charger observation. The observation distinguishes telemetry receipt time from source power time. Missing, offline, malformed or stale power becomes
null; a cached zero cannot imply that charging stopped. A failed replan retains diagnostics while marking the plan outdated and omitting its old windows.The endpoint uses the existing Read tier. It adds no control authority or MCP service. Core's commanded watts remain distinct from a device acknowledgement, and observed power does not prove which command caused it. Reads span separate state snapshots, with collection bounds included in the response. The ordinary loadpoint response and UI remain unchanged.
Validation:
PATH=/opt/homebrew/bin:$PATH make verifypassed: Go tests, vet/build, deployment and release fixtures, and bundled Energyplan checks.No live model, physical charger or customer installation was used. The next validation step is reading evidence from a candidate on a test box. Related model work in #1292 touches different files; this change does not depend on it. Linux packaging remains in #1336.