From ba021df6b24a7147c62c00ba8a91cbb4a583241a Mon Sep 17 00:00:00 2001 From: serversdown Date: Fri, 16 Oct 2026 19:09:58 -0400 Subject: [PATCH] docs(claude): say where config decoding actually stands -- set up, waiting on a keypad press "Where things stand" said config decoding "needs a bench session varying one setting at a time -- not desk work", which was true when written and now sends a reader off to build tooling that exists. This is the same staleness that had the file claiming micromate/ had no live client. What it now says, because these are the things that cost time to rediscover: - The harness is scratch/mm_config_diff.py and the baseline is already captured. - THE METHOD IS VERIFIED VIABLE: all five config blocks are bit-stable, so any byte differing between two snapshots IS the setting. That was the open question about whether the Series III approach transfers at all. - Start with SAMPLE RATE. A large distinctive power of two pins endianness in one shot; a boolean toggle moves one byte 0 -> 1 and teaches nothing. - The keypad works. No Windows VM, no contending for the modem's single TCP session. - `sg dialout -c` is required to open /dev/ttyACM0, because the group membership exists in /etc/group but not in shells started before it was added -- AND THE FAILURE LOOKS LIKE A DEAD UNIT, which is worth a line on its own. - watch-001..005 on disk are clock ticks, not findings. - channel+24 = 3.1030800342559814, independently confirming _GEO_LSB_IPS to 1.1e-8 and 32,226.05 counts exactly. - The rest of that channel map is GRADED and the grades are load-bearing: +4 "channel type" and the +8:24 uint16 split are single-setup guesses, recorded as guesses on purpose. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01Ru8Lg9HkkYvX9VWWo65SmL --- CLAUDE.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index aa371fc..d3bd363 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -40,6 +40,33 @@ Read this first when picking the project back up. about a dozen fields read; `0x2C`, `0x2E`, `0x08`, `0x01` are fetched and undecoded. Finishing it needs a bench session varying one setting at a time, as was done for Series III — not desk work. +- **Config decoding is set up and waiting on ONE keypad press (2026-10-15).** + `scratch/mm_config_diff.py` is the loop — read-only, four subcommands + (`volatile` / `snap` / `watch` / `diff`). Baseline and the noise mask are + saved under `scratch/mm_config_snaps/UM20147/` (gitignored). + **The method is verified viable: all five config blocks are bit-stable** + (0 bytes moved across repeated reads), so any byte that changes between two + snapshots *is* the setting — no noise floor to subtract. That was the open + question. + **Start here:** run `watch`, change exactly one setting on the unit's keypad, + and it prints the changed runs with content-relative offsets and each + plausible field type. **Sample rate first** — a large distinctive power of two + pins endianness in one shot where a boolean toggle teaches nothing. + ⚠ Settings do **not** have to be changed from THOR. The unit's own keypad + works: no Windows VM, and no contending for the modem's single TCP session. + ⚠ `sg dialout -c "..."` is needed to open `/dev/ttyACM0` — the `dialout` + membership is in `/etc/group` but shells started before it was added do not + see it, and the failure looks like a dead unit. + ⚠ `watch-001`..`005` in the snapshot dir are **clock ticks, not findings** — + taken before the mask covered the minutes byte. + 🔑 **`channel+24` (f32 BE) reads `3.1030800342559814` on every geo channel.** + Over 10,000 that is `_GEO_LSB_IPS` to 1.1e-8, and it implies 32,226.05 counts + full scale — the documented figure exactly. The LSB previously rested only on + intersecting 991,415 rounding constraints from Thor's exports; **the unit + reports it directly.** Two independent derivations, eight digits. + ⚠ The rest of the channel-block map in the reference is **graded** — one + measured, two inferred, two explicitly flagged as guesses. Respect the grades; + `+4` "channel type" and the `+8:24` uint16 split are single-setup guesses. - **🔑 ACH / call-home, captured end to end (2026-10-14).** A Micromate signals `RADIO RING`; **two paths exist and timing decides which**: if anything already holds the modem's single TCP session the ring rides that connection,