Skip to content

contract: history resolutions come from the power history - #107

Merged
frahlg merged 1 commit into
mainfrom
contract-history-power-source
Oct 25, 2026
Merged

frahlg merged 1 commit into
mainfrom
contract-history-power-source

Conversation

@frahlg

@frahlg frahlg commented Oct 25, 2026

Copy link
Copy Markdown
Member

Why

srcfl/ftw#1854 (merged) serves the app's history tiles for grid, PV and battery from the measured power rows that /api/history draws, at 5m and 1h alike. Load stays the energy ledger's consumer use. The registry still said source: energy_ledger for 5m and source: hourly_rollup for 1h.

What changes

resolutions in registry.yaml: source: power_history for both. No geometry changes: same tile spans, same retention.

Paired with srcfl/ftw (contract/registry.yaml plus the regenerated go/protocol/contract_gen.go comment) and srcfl/ftw-app (protocol/registry.yaml). Merge the three together.

Contract-pair: srcfl/ftw@898c707

🤖 Generated with Claude Code

srcfl/ftw#1854 serves the app's grid, PV and battery tiles from the
measured power rows /api/history draws, at 5m and 1h alike; load stays
the ledger's consumer use. The registry said energy_ledger and
hourly_rollup.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-25T16:45:47.949978Z — PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
ftw-webapp fe1db8c Commit Preview URL

Branch Preview URL
Oct 25 2026, 04:43 PM

@frahlg
frahlg merged commit ebf9bd1 into main Oct 25, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant