Skip to content

Release v1.209.0 — the force-charge follows the backup pool, the ledger records the ON's fate, and a cost night's summary states its close - #590

Merged
tesseractAZ merged 21 commits into
mainfrom
feat/topup-reissue-room
Nov 23, 2026
Merged

tesseractAZ merged 21 commits into
mainfrom
feat/topup-reissue-room

Conversation

@tesseractAZ

@tesseractAZ tesseractAZ commented Nov 23, 2026 •

Copy link
Copy Markdown
Owner

Summary

Three changes to the supervised night charge, all on the force-charge. While the pool alarm of 1.208.0 stands, the charge rate counts only the Cores in the panel's backup pool and the ON is not sent to a slot the alarm names. The ledger records whether the ON took. On a night with no outage line, the morning summary states how the force-charge ended and the pool at the close beside the level the evening notice named.

With no pool alarm standing, every device write, decision, log line and push is that of 1.208.0.

Changes

  • The pool. poolOutRead reads the standing alarm; forceChargePoolSlots gives the ON's targets and the rate's count by two rules that fail safe in opposite directions (the rate counts a doubtful slot out, the ON keeps a doubtful slot in). The live rate's bound, the plan's automatic charge cap and the start's fallback rate take the count. A new refusal, noPoolSlots, when every connected slot is left out. In the ON's readback check only a slot in the pool reading ON proves the ON took, and a failure with none names the slots out of the pool too.
  • The ledger. Six columns on night_charge_ledger for the ON's fate (slots sent, slots left out, re-issues, verified time, failed time, failed slots), stamped at the ON, at each verdict and re-issue and at the first OFF. Every stamp writes the ON time and mode again from the record, which repairs a first ON stamp lost to a restart. No reader decides on the new columns in this release.
  • The summary. costNightAccount words the cost night's close: what switched the force-charge off, re-issues, slots the ON was not sent to, the pool against the announced level, and a flagged title and lead where the force-charge did not run, failed or was never confirmed.
  • Why. On 2026-11-16 a top-up that no slot applied closed at 49% against an announced 56.7% under "reserve restored" and "completed". Its rate was timed for three Cores with two in the pool, and the ledger kept only that an ON was sent.

Known limits are listed in the changelog entry and in docs/reference/15-4-night-charge-surfaces-and-de-bias.md.

Verification

  • cd server && npm test: 7,094 tests, 0 failures, in both time zones
  • server/ type-checks, both projects; web/ type-checks
  • python3 scripts/check-no-secrets.py
  • python3 scripts/validate-addon-config.py (no option added; the version only)
  • node scripts/check-mutant-anchors.mjs: 6,619 anchors across 158 harnesses
  • node scripts/check-docs.mjs --check
  • node scripts/check-doc-claims.mjs --tests 7094: 11 of 11
  • Tested against live EcoFlow data: N/A before the merge; the first night after the deploy is read (the morning summary and the ledger row)

Engine behaviour

  • Three committed mutation harnesses, each run in full with every mutant killed: mutate-cost-night-close.mjs (244), mutate-pool-slots.mjs (183), mutate-on-fate.mjs (143).
  • The motivating night is in the tests and the harnesses (the 2026-11-16 shapes).
  • The 97 harnesses that hold a mutant on a changed source file were re-run on the gated commit: 5,482 of 5,482 mutants killed, no survivor. Two harnesses' all-worker baselines aborted under load and passed on the re-run with fewer workers (the load guard, not a verdict).
  • Operator guide and reference updated in the same PR (ecoflow_panel/DOCS.md, docs/guide/options.md, docs/reference/15-1 to 15-4, A-feature-inventory.md).
  • Each part's tests were written by an author who did not write its code; the whole change was reviewed by six independent readers, each finding checked by a second.

Release

  • ecoflow_panel/config.yaml 1.208.0 to 1.209.0; ## 1.209.0 in ecoflow_panel/CHANGELOG.md (32,246 bytes).

🤖 Generated with Claude Code

tesseractAZ and others added 21 commits November 21, 2026 12:12
The morning summary of a night with no outage line takes a new optional
input (cost): what switched the force-charge off, the pool as read when
the account goes, the level the evening notice named, and the ON
re-issues made. Absent, the words are v1.208.0's byte for byte.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ass, and a slot left out is named

- a force-charge that never started with the pool at or above its stop is not flagged
- a failed or unconfirmed night says what switched the force-charge off
- an unconfirmed night that reached its stop keeps its re-issue; the stop reason alone says reached
- an empty failed-slot list is every slot; an unusable re-issue count says nothing
- a time the clock cannot print is no time (the builder threw)
- no two brackets in a row; the expected figure rides the charge's phrase
- NightChargeCostClose.leftOutSlots: a slot the ON was not sent to is named

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
… close account

- server/test/costNightClose.test.ts: 42 cases
- scripts/mutate-cost-night-close.mjs: 131 mutants (131 killed against 4e360eb)
- docs/reference/15-2, DOCS.md, CHANGELOG 1.209.0 section, config.yaml 1.209.0

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ass, and a slot left out is named

- a force-charge that never started with the pool at or above its stop is not flagged
- a failed or unconfirmed night says what switched the force-charge off
- an unconfirmed night that reached its stop keeps its re-issue; the stop reason alone says reached
- an empty failed-slot list is every slot; an unusable re-issue count says nothing
- a time the clock cannot print is no time (the builder threw)
- no two brackets in a row; the expected figure rides the charge's phrase
- NightChargeCostClose.leftOutSlots: a slot the ON was not sent to is named

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…the ON's fate

As built by the implementers and their independent test authors, before
the fixes for the defects those authors reported.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…slots and the ON's fate

A failure with no slot reading ON names the exempt slots too (it read as a
partial failure); the pool read reports doubt against its latch and measures
its age on judged capacity; the decision takes left-out slots out itself and
has a rate count for its fallback; the row verdict and every fate stamp hold
for a lost ON stamp; the first OFF's stamp is final.

The two new test files are not yet updated to this contract.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…the corrected words

60 tests; 241 mutants, each killed; the reference, the guide and the
changelog re-printed from the code.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…check failed, not that the charge did not happen

The lead and title already said "ON not confirmed"; the body stated as
fact what they declined to. Three mutants for the new branch, each killed.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ource, as fixed)

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

# Conflicts:
#	server/src/notify.ts
…n fields)

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…are slots and the ON's fate

Run wf_53fe237a-435 was stopped before it finished. These files are as the
agents left them: not verified green, harnesses not confirmed all-killed.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…he ON's fate

Run wf_5ae8ae02-3a4 was stopped before it finished. These files are as the
writers left them: the independent check against the code and its
corrections may not have run; gates not confirmed.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Only a slot in the pool reading ON proves the ON took; the pool verdict's
age runs from the newest counted reading, and a reading that shows every
slot carrying is doubt; the count on its way through a dwell is read down
its chain; the ON-failure log and push say which listed slots are out of
the pool.

The two new test files and the pool-slots harness are not yet updated.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…re slots and the ON's fate

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
… and the ON's fate

Three clusters, each written, checked against the code by an independent
reader and corrected. Two option rows say which Cores are counted.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
… fixes; stale comments corrected

74 tests; 183 mutants, each killed in one full run. The ON-fate harness:
143 mutants, each killed in one full run.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…re slots and the ON's fate

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ess's header names the seventh field

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ts, 7,094 tests, ~14,200 reference lines)

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…cted, a date-dependent test fixed, the verification section filled and gated

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@tesseractAZ
tesseractAZ merged commit 6fe996a into main Nov 23, 2026
16 checks passed
@tesseractAZ
tesseractAZ deleted the feat/topup-reissue-room branch November 23, 2026 14:32
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