From 2560ef4586f742c45e297776797bd24136ad0694 Mon Sep 17 00:00:00 2001 From: serversdown Date: Thu, 29 Oct 2026 13:12:29 -0400 Subject: [PATCH] docs: THOR's watchdog interval is a setting; the ring-path test varies it - micromate reference: the watchdog can check every 5 s, hourly or never (Brian, operator-reported). The 10-14 "reconnects continuously" describes that THOR's setting, not fixed behaviour; whether a check holds the line, and how a call-home reaches THOR with the watchdog off, are unmeasured. - spec, ring-path test: the old setup ("a unit THOR is not otherwise watching") would not test the production path, since THOR receives a call-home on its own connection. Revised: UM20147 as a THOR test unit; Run 0 baseline with the watchdog off; Run A with SFM holding the line; Run A2 and Run B at the fleet's watchdog setting; after the 1c bench pass. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44 --- docs/micromate_protocol_reference.md | 10 ++++++ .../2026-10-20-sfm-series4-parity-design.md | 34 ++++++++++++++----- 2 files changed, 35 insertions(+), 9 deletions(-) diff --git a/docs/micromate_protocol_reference.md b/docs/micromate_protocol_reference.md index 8518ebc..022561b 100644 --- a/docs/micromate_protocol_reference.md +++ b/docs/micromate_protocol_reference.md @@ -2929,6 +2929,16 @@ There is no inbound connection, no dial, nothing to accept. to every unit continuously — 1,039 lines of it in 37 minutes. The call-home mechanism depends on that connection existing. +> **2026-10-29 (Brian, operator-reported; not measured by us):** the watchdog's +> interval is a THOR setting. It can check every 5 s, every hour, or never. The +> 1,039 lines above were taken at whatever that THOR was set to, so "continuously" +> describes that setting, not THOR's fixed behaviour. Two things are still +> unmeasured: whether a check holds the line open afterwards or drops it, and +> how a unit's call-home reaches THOR when the watchdog is set to never (the +> modem dialling out to `ListenerAchTcp`, presumably, which this capture never +> saw used). The ring-path bench test in the parity spec now varies this +> setting on purpose. + #### THOR has a second, unused ACH path `ListenerAchTcp` logs `Waiting for a ACH connection on :: Port 12346` — and in diff --git a/docs/superpowers/specs/2026-10-20-sfm-series4-parity-design.md b/docs/superpowers/specs/2026-10-20-sfm-series4-parity-design.md index 6b10e95..ae7aaec 100644 --- a/docs/superpowers/specs/2026-10-20-sfm-series4-parity-design.md +++ b/docs/superpowers/specs/2026-10-20-sfm-series4-parity-design.md @@ -851,19 +851,35 @@ Open questions: 🔶 Inferred: 60 s between attempts (`0x2C` content `[120:122]` = `00 3c`, Series III's "time between retries" offset), and about 21 s of ringing per attempt (10-14 capture). - - *Setup:* a bench Micromate on a modem whose destination is the office - THOR-ACH server, and a unit THOR is not otherwise watching. SFM runs on a - test port with a scratch DB. Keep THOR's ACH log open. - - **Run A, one call-up:** SFM calls the unit up and holds the line (any - serial-named read). Trigger a call-home on the unit. Record: + - ~~*Setup:* a bench Micromate on a modem whose destination is the office + THOR-ACH server, and a unit THOR is not otherwise watching.~~ + **Revised 2026-10-29:** THOR receives a call-home on its *own* connection to + the unit (10-14, measured), so a unit THOR does not watch would not test the + production path. And THOR's watchdog interval is a THOR setting -- every 5 s, + hourly, or never (Brian) -- so the runs vary it on purpose. + - *Setup:* UM20147 added to THOR as a test unit, its modem's destination set to + the office THOR server. SFM runs from the parity branch on a test port with + a scratch DB and a timestamped log (it logs every ring and hang-up). THOR's + ACH log open; note THOR's clock against ours. Run after the 1c bench pass: + the call-home uploads UM20147's events, and may erase them per THOR's + test-unit settings. + - **Run 0, baseline (watchdog never, nobody on the line):** trigger a + call-home. Does it reach THOR -- i.e. does the modem dial out by itself? + - **Run A, one call-up (watchdog never):** SFM calls the unit up and holds + the line (any serial-named read). Trigger a call-home. Record: - whether SFM logs the RADIO RING and hangs up, with the time; - whether and when THOR starts a session (its ACH log); - the number and spacing of rings and attempts. - - **Run B, a poller:** as A, but a script requests the unit's status every - ~10 s throughout. If THOR still gets the call, no cool-down is needed; if - the poller keeps the call from reaching THOR, build it, sized from Run A. + - **Run A2 (watchdog at the fleet's setting):** as A, with THOR competing for + the line. First: can SFM get on at all, and does a watchdog check hold the + line or drop it? Then: after SFM hangs up on the ring, does THOR get back on + before the unit's next attempt? + - **Run B, a poller (watchdog at the fleet's setting):** as A2, but a script + requests the unit's status every ~10 s throughout. If THOR still gets the + call, no cool-down is needed; if the poller keeps the call from reaching + THOR, build it, sized from Run A. - *Also settles:* whether the modem routes a call-home to its destination - on its own, in which case SFM never sees a ring and THOR gets the call + on its own (Run 0), in which case SFM never sees a ring and THOR gets the call while SFM is still connected. - The ack for start/stop when the unit is already in that state. ✅ **Answered for stop (2026-10-25, UM20147):** a stop sent to an idle unit