Repository navigation
Conversation
…tery) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VHXsfH6PkT62o9idByAd6e
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VHXsfH6PkT62o9idByAd6e
…ttery interfaces Read from primary sources (GitHub raw files at pinned SHAs and tags, PyPI wheels): recorder statistics, energy/solar_forecast, weather.get_forecasts, workday, modbus.write_register, Nord Pool, Tibber, Kostal Plenticore entities, Solcast, Open-Meteo Solar Forecast, ENTSO-E, EPEX Spot, Octopus Energy and the Open-Meteo API parameters and terms. Energy-Charts and aWATTar stay UNVERIFIED (unreachable). Adds a summary table with the consequence for each adapter. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VHXsfH6PkT62o9idByAd6e
…Phase 4 plan Revision 2, approved by the maintainer on 2026-10-16. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VHXsfH6PkT62o9idByAd6e
… battery and plan v2 Time series with energy-preserving resampling onto the 15-minute grid, forecast and price source protocols, price formula and time-of-use windows, battery model with strategies, risk level, grid-charge policy (price level + schedule) and calibration charge, BatteryAction (rejected by the gate until the battery path exists), Plan v2 with expected flows, prices and reasons, config sections forecast v2, tariff v3, goals v2 and the new battery section with migrations, template kind battery. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VHXsfH6PkT62o9idByAd6e
Every new action kind is rejected by the gate until its invariants exist (ADR-0011 addendum). ADR-0013 'Battery as a controlled asset' is proposed and must be accepted before WP10. STATUS, roadmap and the plan show Phase 4 / 4-A. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VHXsfH6PkT62o9idByAd6e
Gaps in point series become None instead of invented values; the leftover P10 semantics give way to the risk quantile (conservative_planning removed); forecast form keeps entities per source; tariff templates accept currency/MWh and mapping series; effective_grid_charge_policy fixes the schedule precedence; §14a fee windows per quarter; season of a window crossing midnight follows its start day; tz is required; a formula on an all-in source is rejected; BatteryAction rejects grid charging above its charge cap. Safety tests: battery decisions round-trip, every driver refuses a BatteryAction, the gate rejects it for every origin, mode and emergency-stop state. E2E reset helper uses goals v2. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VHXsfH6PkT62o9idByAd6e
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VHXsfH6PkT62o9idByAd6e
This was referenced Oct 17, 2026
Open
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VHXsfH6PkT62o9idByAd6e
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VHXsfH6PkT62o9idByAd6e
5 tasks done
…romium for ubuntu 26.04) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VHXsfH6PkT62o9idByAd6e (cherry picked from commit d9f2dc6)
Hypothesis found 2026-03-28 00:00 UTC with resume time 02:00: that wall time does not exist in Berlin on the spring-forward day and correctly resolves to 03:00. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VHXsfH6PkT62o9idByAd6e
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.
Was
Erster von neun kleinen, gestapelten PRs für Phase 4 (Prognosen, Tarife, Planer, Akku), siehe
docs/plans/phase-4.md§3.docs/plans/phase-4.md, Revision 2, freigegeben am 2026-10-16. Das Konzept „Prognose, Puffer und Akkuplanung“ ist eingearbeitet; §0 begründet, was jeweils übernommen wurde.docs/research/*), gegen den Quellcode mit festgehaltenem Commit bzw. Tag:recorder/statistics_during_period,energy/solar_forecast,weather.get_forecasts,workday,modbus.write_register,nordpool.get_prices_for_date,tibber.get_prices,kostal_plenticoresuncore/core):series.py: Zeitreihen und Quantile; Resampling auf das 15-Minuten-Raster, energieerhaltend und sicher bei der Zeitumstellung; Lücken bleibenNone.forecast.py: Protokolle für Prognose- und Preisquellen, Gütedatensätze.tariff.py: Preisformel inkl. §14a Modul 3 je Quartal, HT/NT, anteilige EEG-Vergütung.battery.py: Akku-Modell, Strategien (self_consumption,prefer_full,target_by_time), Risikoregler (Standard vorsichtig), Morgenpuffer, Überbrückung des nächsten Tages, Autarkie-Gewicht 0,01 €/kWh, Netzladen über Preisgrenze plus Zeitplan (standardmäßig aus), Kalibrierladung (aus).BatteryAction: wird vom Gate in jedem Modus abgelehnt, bis WP10 die Invarianten liefert.BatteryBand.priority_until_soc_pct.battery.battery, Preise in €/MWh, Prognosereihen als Zuordnung Zeitstempel → Wert.docs/STATUS.md,docs/roadmap.mdund dieUNVERIFIED-Tabelle sind aktualisiert.Warum
Die späteren PRs (Tarife, PV-Prognose, Last und Risiko, Planer, Akku, UI) brauchen gemeinsame, typisierte Verträge. Ohne geprüfte Schnittstellen würden die Adapter auf geratenen Feldnamen aufbauen.
Wie getestet
./scripts/check.sh: ruff, mypy --strict, pytest 2866 bestanden, Abdeckung 96 % (neue Kernmodule 99–100 %).check_reasons, Schema-Generierung, Kompatibilitätsliste und Vorlagenprüfung sind grün.None.BatteryActionfür jeden Origin, jeden Modus und Not-Aus an/aus ab.gen:api:check, lint, svelte-check, vitest 219/219, Playwright E2E 162 bestanden. Bundle 132 kB gzip von 250 kB.Risiken
BatteryActionist ein neuer Vertragstyp. Er ist abgesichert, weil das Gate ihn immer ablehnt und alle Treiber ihn verweigern; dafür gibt es Tests.templates/README.md).Safety-Review
control-safety: freigegeben für 4-A.
BatteryActionwird nach der Alters- und der Not-Aus-Prüfung abgelehnt und vor der Bewertung für Schatten-, Assistenz- und Automatikmodus mitsafety.battery_not_supported. Es wird nichts geschrieben, kein Vorschlag erzeugt und kein Laufzeitzustand angelegt.release()bleibt wirkungslos; parametrisierter Test über alle fünf Treiber.priority_until_soc_pctnoch nicht;planner_value_per_kwhwirkt auf keinen Schreibpfad.operationnicht, ein Import setzt weiter auf den Schattenmodus, und Netzladen bleibt nach der Migration aus.mypy --strictist grün, Abdeckung safety 97 %.fix(core)595edba und im Doku-Commit d4893c4 behoben.Checkliste
enunddedocs/STATUS.mdund ggf. ADRs aktualisiertUNVERIFIEDOffene Fragen an den Maintainer
docs/adr/0013-battery-as-controlled-asset.md) bitte annehmen oder ändern, bevor der Akku-PR 4-G beginnt.UNVERIFIED, bitte an der Tibber-Rechnung prüfen).UNVERIFIED, Details in STATUS:recorder/*undenergy/*durchreichtGenerated by Claude Code