Fix F: mémoire 'charge terminée' prioritaire sur les gardes (rebond rebranchement 09/08)

- DECISION: branche done/recovery_done remontée dans la cascade principale
  (avant mustStopHard) → le collant se réécrit chaque cycle, survit aux
  micro-charges de la VW et aux hard stops batterie
- branche Fix E interne supprimée (remplacée par la branche haute)
- golden 25→26 (night-hard-stop-necrase-pas-done)
- HANDOFF §19
This commit is contained in:
Tallagrand Thierry
2026-08-09 07:03:19 +02:00
parent b287e5ba73
commit 6ca6ea99de
4 changed files with 106 additions and 31 deletions

View File

@@ -350,6 +350,33 @@ export const scenarios = [
takeoverHelperService: 'turn_off',
},
},
{
id: 'night-hard-stop-necrase-pas-done',
label: 'Nuit HC 06:55, VW pleine relance une micro-charge sur batterie (−60 A) → le hard stop N\'ÉCRASE PAS le collant (Fix F)',
time: '2026-08-09T06:55:00+02:00',
overrides: {
...VEHICLE_NIGHT, soc_percent: '40', allow_grid_hc_night: 'on',
battery_current_a: '-60',
evcs_charging_switch: 'on',
charge_permission_now: 'on',
control_latch: 'on',
evcs_current_a: '6',
evcs_ac_power_w: '1400',
evcs_status_raw: '2',
prev_surplus_state: 'night_recovery_done_idle',
},
expect: {
profile: 'night_hc',
sourceMode: 'blocked',
state: 'night_recovery_done_idle',
decision: 'stop_vehicle_full_or_paused',
desiredCharging: false,
currentA: 6,
takeoverNeeded: false,
edfOnAction: false,
takeoverHelperService: 'turn_off',
},
},
// ================= JOUR SOLAIRE =================
{