Skip to content

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

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.

A copy of srcfl/ftw-webapp's registry (Contract-pair: srcfl/ftw-webapp@fe1db8c60b148da1cb358155e16caa152ac69c2a), paired with srcfl/ftw. Merge the three together.

Checks

  • swift test --filter ContractTests in appleApp/FTWKit: 7 pass.

🤖 Generated with Claude Code

Copy of srcfl/ftw-webapp's registry change (paired with srcfl/ftw).

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:27.296850Z b0eb933 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.

@frahlg
frahlg merged commit 83e15bd into main Oct 25, 2026
1 check passed
@frahlg
frahlg deleted the contract-history-power-source branch November 4, 2026 17:26
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