diff options
Diffstat (limited to 'CHECKLIST-CVM-RELAY.md')
| -rw-r--r-- | CHECKLIST-CVM-RELAY.md | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/CHECKLIST-CVM-RELAY.md b/CHECKLIST-CVM-RELAY.md deleted file mode 100644 index e7c512d..0000000 --- a/CHECKLIST-CVM-RELAY.md +++ /dev/null | |||
| @@ -1,35 +0,0 @@ | |||
| 1 | # CVM Relay Stability Checklist | ||
| 2 | |||
| 3 | ## Pre-flight | ||
| 4 | - [x] Create worktree `/home/c03rad0r/esp32-tollgate-cvm-relay` | ||
| 5 | - [x] Create branch `feature/cvm-relay-stability` from master | ||
| 6 | - [x] Document plan in PLAN-CVM-RELAY.md | ||
| 7 | |||
| 8 | ## Task 3: Fix Relay Disconnect | ||
| 9 | - [x] Modify `cvm_relay_task()` inner loop: 1s TLS read timeout | ||
| 10 | - [x] Decouple ping timer from read success | ||
| 11 | - [x] Add consecutive-timeout counter for real disconnect detection | ||
| 12 | - [x] Handle relay close frames (opcode 0x08) | ||
| 13 | - [x] `make test-unit` passes (61/61) | ||
| 14 | - [x] Build firmware | ||
| 15 | - [x] Lock Board B: `make lock-b PHASE="cvm-relay-stability"` | ||
| 16 | - [x] Verify Board B port: `esptool.py --port /dev/ttyACM1 chip_id` | ||
| 17 | - [x] Flash Board B via `make flash-b` | ||
| 18 | - [x] Monitor serial: confirm WS connected, no disconnect in 120s | ||
| 19 | - [ ] Unlock Board B (deferred — may need more testing) | ||
| 20 | |||
| 21 | ## Task 1: Test get_sessions & get_usage via Relay | ||
| 22 | - [x] Write `tests/integration/test-cvm-mcp-relay.mjs` | ||
| 23 | - [x] Test: `get_sessions` returns JSON array via relay (0 active sessions) | ||
| 24 | - [x] Test: `get_usage` returns metric/price/step fields via relay | ||
| 25 | - [x] Both tests PASS on Board B (via `make test-cvm-mcp`) | ||
| 26 | |||
| 27 | ## Task 2: Test Non-Owner Auth Rejection via Relay | ||
| 28 | - [x] Test: non-owner request gets no response (12s wait) | ||
| 29 | - [x] Test: owner control request succeeds after non-owner test | ||
| 30 | - [x] Both tests PASS on Board B (via `make test-cvm-mcp`) | ||
| 31 | |||
| 32 | ## Final | ||
| 33 | - [x] `make test-unit` — 61 tests pass | ||
| 34 | - [x] Commit: 3 commits on feature/cvm-relay-stability | ||
| 35 | - [ ] Push to remote (nostr git relay down — will retry later) | ||