Rename the protocol roles from parent/child to client/worker
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_VERSIONstays. - The Rust API of
monty-protoandmonty-poolbreaks. - "Child" stays where it means the OS process, as in the CPU supervision code.