fix(micromate): the write ceiling is enforced at the wire; allowed_writes retired; execute takes only real plans

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-23 16:06:24 -04:00
1 parent 8daf413fe3
commit a90b8158b6
5 files changed
+150 -40

No files matched your search

+2 -2
View File
@@ -1,8 +1,8 @@
"""Write plans for a Micromate: the exact frames a write would send, in order.
A plan is what a dry run returns. Building one sends nothing; transmitting it
also needs a protocol constructed with those SUBs in `allowed_writes`, which no
code does yet (see `micromate.opcodes`).
is `MicromateProtocol.execute(plan)` and nothing else: the connection holds no
write permission of its own (see `micromate.opcodes`).
Every input is the unit's OWN read of the block being written (content, i.e.
response data[11:]), and every plan sends back exactly what was read except