Borrowed Wire Protocol Discipline

Rules for implementing a protocol someone else defined — no renaming, no reordering, constants the schema omits read off the counterpart implementation rather than guessed, unknown message types decoded to null instead of thrown, and negotiated capabilities narrowed but never widened. Use when your client must interoperate with an implementation you do not control, when a connection opens and then never gets anywhere, or when a peer on a newer version breaks your session.

maxrave-dev 3c4db59 6.8 KB Updated

File contents

maxrave-dev/kotlin-footguns/tree/main/skills/borrowed-wire-protocol-discipline commit 3c4db59d0c

Frequently asked questions

npx skillmds@latest add maxrave-dev/borrowed-wire-protocol-discipline