Rename the protocol roles from parent/child to client/worker

Merged
SA
25d ago
+2094-2070

ParentRequest becomes ClientRequest, ChildEvent becomes WorkerEvent and monty_proto::worker::Child becomes Worker. Comments, docs and READMEs follow. "Child" stays where it means the OS process, as in the CPU supervision code.

Protobuf encodes field numbers, not names, so the wire format is unchanged and PROTOCOL_VERSION stays. The Rust API of monty-proto and monty-pool breaks.

Claude-Session: https://claude.ai/code/session_018zfZ5ww22tWVGat85Cumgx


Summary by cubic

Renames the protocol roles from parent/child to client/worker across code, comments, tests, docs, and READMEs. ParentRequest becomes ClientRequest, ChildEvent becomes WorkerEvent, and monty_proto::worker::Child becomes Worker. Exception conversion comments now describe the peer as untrusted rather than a child.

Migration

  • The wire format is unchanged: protobuf encodes field numbers, not names, so PROTOCOL_VERSION stays.
  • The Rust API of monty-proto and monty-pool breaks.
  • "Child" stays where it means the OS process, as in the CPU supervision code.