Files
Lainandlain b6ed3234a1 docs(evidence): add M1 soak and TF transition results (#3)
## M1 soak evidence (1h) + TF/KEY assist windows

**Manifest verdict: FAIL — one criterion.** Console `wifi reconnect`
never returns to CONNECTED (0/5 soak cycles + 0/1 controlled repro).
Root cause: `wifi_service.cc reconnect()` calls `esp_wifi_connect()`
while still associated; IDF v6 rejects it (`sta is connected, disconnect
before connecting to new ap`), no disconnect event fires, so the
event-driven auto-reconnect never engages. Boot auto-connect and the
portal path are unaffected (`connect_stored` disconnects first). Fix
tracked as a follow-up task.

### Soak metrics (3600s, run m1-20260831T021427Z)
| criterion | result |
| --- | --- |
| JSONL count 360±10 | 358 PASS |
| sequence strictly monotonic | 25..384 PASS |
| status:FAILED lines | 0 PASS |
| reset_reason constant | 11 everywhere PASS |
| tf state | READY all samples PASS |
| wifi reconnect → CONNECTED | 0/5 **FAIL** |
| internal_free decline <15% | N/A (heap not instrumented) |

### Assist windows
- W1 KEY ≥3s portal hold: PASS (AP up, auto-recovery to CONNECTED ≤120s)
- W1 short/long: +2/+2 exact, no spurious (via retry window) PASS
- W2 TF: 2 pull→insert cycles, 4/4 transitions PASS
- W3 absent-boot: classified ≤0.9s, DEGRADED never FAILED, logging
resumed PASS

### Tooling
`frame-m1-capture` gains `--command`/`--command-interval` (periodic
`wifi reconnect`) with pytest coverage. Gates:
ruff/pyright/pytest/frame-partitions/frame-evidence/frame-doc-links/frame-sbom
all green locally.

Co-authored-by: ania-lain <[email protected]>
2026-08-31 11:33:03 +08:00

10 lines
1.2 KiB
Plaintext

18:17:36 followup: PASS-b rerun (15s spacing), DEFERRED-d record, fresh PASS-e/PASS-d window
18:17:46 b-rerun round 1 taken; waiting 15s (> board_service read_rtc 10s cadence)
18:18:05 [note-b] earlier [FAIL-b] superseded: harness sampled utc 3s apart while board_service.cc:256 refreshes rtc.unix_seconds every 10s; device utc is live (telemetry timeline advances 10s/line). rerun utc r1=2026-01-06T08:05:39Z r2=2026-01-06T08:05:59Z
18:18:05 [PASS-b] rerun 15s-spaced rounds: rtc_valid=True, utc=2026-01-06T08:05:39Z -> 2026-01-06T08:05:59Z (advanced=True), partitions_ok=True, sensor_valid=True, temp=274, hum=380
18:18:05 [note-d] original d-window (18:13:26-18:14:56) saw no TF state change for 90s (user unavailable); capture script then crashed on a None-format bug before writing the marker - defect is in the throwaway harness, not the device
18:18:05 >>> FOR BOOT TEST (PASS-e): PLEASE PULL TF CARD NOW AND KEEP IT OUT
18:20:05 [DEFERRED-d] no TF state change observed in either d-window (user unavailable); deferred
18:20:05 [DEFERRED-e] no TF state change observed after pull request (user unavailable); deferred
SUMMARY: {'b': 'PASS', 'd': 'DEFERRED', 'e': 'DEFERRED'}