tofusoup
2025-10-31
Go harness RPC modularized with expanded Python server TLS matrix support
136 files · 9,469+ · 4,038-
Go harness RPC split into modular files
7 files changed
rpc.goMonolithic RPC file removed (548 lines)rpc_client.goDedicated Go RPC client (262 lines)rpc_server.goDedicated Go RPC server (126 lines)rpc_tls.goTLS certificate generation and management (224 lines)main.goModular RPC subcommand routing (78 line changes)cty.goCTY Go modulego.modGo module dependencies updated
- Removed monolithic
rpc.goand split intorpc_client.go,rpc_server.go, andrpc_tls.gomodules interface architectural4 files
rpc.gorpc_client.gorpc_server.gorpc_tls.go
- Updated
main.gofor modular RPC subcommand routing interface internal1 file
main.go
Python RPC server expanded with TLS matrix support
4 files changed
server.pyImproved server lifecycle, TLS configuration, and certificate handling (289 line changes)cli.pyUpdated RPC CLI commands (44 line changes)client.pyClient updates (51 line changes)stock_cli.pyStock CLI updates
- Major expansion of
src/tofusoup/rpc/server.pywith improved server lifecycle management, TLS configuration, and certificate handling interface behavioral1 file
server.py
- Updated
src/tofusoup/rpc/cli.pyandclient.pywith command and connection improvements interface behavioral2 files
cli.pyclient.py
RPC conformance and debug tests added
6 files changed
souptest_rpc_kv_matrix.pyKV store RPC matrix testing (268 lines)debug_notls_test.pyDebug script for non-TLS testing (57 lines)debug_tls_test.pyDebug script for TLS testing (67 lines)test_server_cert.pyServer certificate validation test (84 lines)test_server_cert_with_stderr.pyServer cert test with stderr capture (45 lines)test_tls_matrix.pyTLS matrix test (90 lines)
- Added
conformance/rpc/souptest_rpc_kv_matrix.pyfor KV store RPC matrix testing qualify internal1 file
souptest_rpc_kv_matrix.py
- Added debug and TLS test scripts for debugging certificate and TLS issues
qualify
internal
5 files
debug_notls_test.pydebug_tls_test.pytest_server_cert.pytest_server_cert_with_stderr.pytest_tls_matrix.py
Proto definitions and historical documents reorganized
7 files changed
kv.protoCounter KV proto definitionkv.pb.goGenerated Go proto codekv_grpc.pb.goGenerated Go gRPC codekv_pb2.pyGenerated Python proto codekv_pb2.pyiProto type stubsAGENTS.mdMoved to historicalARCHITECTURE_REVIEW_2025-10-28.mdArchitecture review archived
- Added protobuf counter service definitions with Go and Python generated code
instantiate
internal
3 files
kv.protokv.pb.gokv_pb2.py
- Moved historical handoff and analysis documents to
docs/historical/specify internal3 files
AGENTS.mdARCHITECTURE_REVIEW_2025-10-28.mdHANDOFF.md