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.go Monolithic RPC file removed (548 lines)
  • rpc_client.go Dedicated Go RPC client (262 lines)
  • rpc_server.go Dedicated Go RPC server (126 lines)
  • rpc_tls.go TLS certificate generation and management (224 lines)
  • main.go Modular RPC subcommand routing (78 line changes)
  • cty.go CTY Go module
  • go.mod Go module dependencies updated
  • Removed monolithic rpc.go and split into rpc_client.go, rpc_server.go, and rpc_tls.go modules interface architectural
    4 files
    • rpc.go
    • rpc_client.go
    • rpc_server.go
    • rpc_tls.go
  • Updated main.go for modular RPC subcommand routing interface internal
    1 file
    • main.go

Python RPC server expanded with TLS matrix support

4 files changed
  • server.py Improved server lifecycle, TLS configuration, and certificate handling (289 line changes)
  • cli.py Updated RPC CLI commands (44 line changes)
  • client.py Client updates (51 line changes)
  • stock_cli.py Stock CLI updates
  • Major expansion of src/tofusoup/rpc/server.py with improved server lifecycle management, TLS configuration, and certificate handling interface behavioral
    1 file
    • server.py
  • Updated src/tofusoup/rpc/cli.py and client.py with command and connection improvements interface behavioral
    2 files
    • cli.py
    • client.py

RPC conformance and debug tests added

6 files changed
  • souptest_rpc_kv_matrix.py KV store RPC matrix testing (268 lines)
  • debug_notls_test.py Debug script for non-TLS testing (57 lines)
  • debug_tls_test.py Debug script for TLS testing (67 lines)
  • test_server_cert.py Server certificate validation test (84 lines)
  • test_server_cert_with_stderr.py Server cert test with stderr capture (45 lines)
  • test_tls_matrix.py TLS matrix test (90 lines)
  • Added conformance/rpc/souptest_rpc_kv_matrix.py for KV store RPC matrix testing qualify internal
    1 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.py
    • debug_tls_test.py
    • test_server_cert.py
    • test_server_cert_with_stderr.py
    • test_tls_matrix.py

Proto definitions and historical documents reorganized

7 files changed
  • kv.proto Counter KV proto definition
  • kv.pb.go Generated Go proto code
  • kv_grpc.pb.go Generated Go gRPC code
  • kv_pb2.py Generated Python proto code
  • kv_pb2.pyi Proto type stubs
  • AGENTS.md Moved to historical
  • ARCHITECTURE_REVIEW_2025-10-28.md Architecture review archived
  • Added protobuf counter service definitions with Go and Python generated code instantiate internal
    3 files
    • kv.proto
    • kv.pb.go
    • kv_pb2.py
  • Moved historical handoff and analysis documents to docs/historical/ specify internal
    3 files
    • AGENTS.md
    • ARCHITECTURE_REVIEW_2025-10-28.md
    • HANDOFF.md