docs(plan): Series-4 write path phase 2 -- encoder, opcode gate, write plans, dry run

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 00:14:30 -04:00
1 parent 7a6c74266b
commit 2a6acae259
2 files changed
+1143

No files matched your search

File diff suppressed because it is too large. Load diff
@@ -380,6 +380,14 @@ Each safety piece arrives with its first real use, so nothing sits untested.
session through every retry, and the call never reaches THOR.
2. **Encoder + opcode guard + dry run + frame-reproduction tests.** Still
nothing sent.
(2026-10-22) "Dry run" in this phase means the **write plan**: the exact
frames, in order, with their expected acks, built from the unit's own reads
(`micromate.writes`), plus a bench tool that prints one from a live unit's
reads (`bridges/mm_dry_run.py`). Each write endpoint's `dry_run=true`
arrives with that write in phases 3-5 and returns the plan. The opcode
guard is a **send-side gate** in `MicromateProtocol._send`: every write SUB
is refused unless the connection was built with it allowed (none is, in
this phase), and `0xA2` is refused always.
3. **Start/stop monitoring** (row 7): the first live write, at the bench.
Brings the identity check, the audit table and the read-back framework.
4. **Call-home enable/disable** (row 9).