feat(bridges): mm_dry_run -- a write's planned frames from a live unit's reads; bench-checked on UM20147

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
This commit is contained in:
serversdownandClaude Opus 5.5 committed 2026-10-22 17:29:00 -04:00
1 parent cbda4b80df
commit 9ecf6e6a0c
3 files changed
+107

No files matched your search

+8
View File
@@ -27,6 +27,14 @@ Read this first when picking the project back up.
⚠ **No command has ever been originated against a unit by this project.**
Every write was performed by THOR while we recorded. That line is worth
keeping.
**Series-4 write path, phase 2 is done (2026-10-22):** the write encoder, a
send-side opcode gate and write *plans* for start/stop, call-home enable and
the setup rewrite, reproduced byte for byte against THOR's captured frames.
`bridges/mm_dry_run.py` prints a write's planned frames from a live unit's
reads (run on UM20147: sizes equal UM12947's). `MicromateProtocol._send`
refuses every write opcode unless explicitly allowed, and `0xA2` always, so
"no command has ever been originated against a unit" is still true and is now
enforced in code.
- **✅ `micromate/` HAS a live client (2026-10-02).** `framing.py`,
`protocol.py`, `client.py` + models, **119 tests**, mirroring the
`minimateplus/` stack and reusing its `transport.py` unchanged. Connect over