Final code review on PR #13 caught this. When Mindle crashes after accept() but before responding, the helper's readExact blocks indefinitely. setsockopt(fd, SOL_SOCKET, SO_RCVTIMEO, ...) on the socket with a value matching the tool's logical timeout + ~5s headroom would make the helper robust. Low severity: requires a hard crash (not just disconnect), and current users will work around by killing the helper process.
Affects Sources/MindleMCP/main.swift, callMindle socket setup.
Final code review on PR #13 caught this. When Mindle crashes after accept() but before responding, the helper's
readExactblocks indefinitely.setsockopt(fd, SOL_SOCKET, SO_RCVTIMEO, ...)on the socket with a value matching the tool's logical timeout + ~5s headroom would make the helper robust. Low severity: requires a hard crash (not just disconnect), and current users will work around by killing the helper process.Affects
Sources/MindleMCP/main.swift,callMindlesocket setup.