Major refactoring across client, crypto, server, and transport layers
50 files · 1,523+ · 2,319-

Crypto: Certificate Module Simplification

6 files changed
  • certificate.py Modified (+352/-647)
  • debug.py Modified (+174/-36)
  • test_certificate_loading.py Modified (+15/-15)
  • test_certificate_properties.py Modified (+4/-4)
  • test_certificate_verify.py Modified (+2/-2)
  • crypto.py Modified (+2/-2)
  • Rewrote crypto/certificate.py (999 lines of changes, net reduction) with cleaner API interface behavioral
    2 files
    • certificate.py
    • crypto.py
  • Expanded crypto/debug.py (210 lines) with better diagnostic capabilities decouple internal
    2 files
    • debug.py
    • crypto.py
  • Simplified certificate creation and verification interfaces harden internal
    1 file
    • certificate.py

Lifecycle Improvements

6 files changed
  • base.py Modified (+229/-54)
  • handler.py Removed (-16)
  • handshake.py Modified (+2/-43)
  • server.py Modified (+149/-35)
  • base.py Modified (+32/-2)
  • client.py Removed (-3)
  • Enhanced client/base.py (283 lines) with improved subprocess and gRPC channel management interface internal
    3 files
    • base.py
    • base.py
    • client.py
  • Expanded server.py (184 lines) with better lifecycle management and shutdown handling decouple internal
    1 file
    • server.py
  • Updated handshake.py with refined negotiation flow decouple internal
    1 file
    • handshake.py
  • Removed handler.py (16 lines) as its functionality was absorbed elsewhere decouple internal
    1 file
    • handler.py

Interface Expansion

6 files changed
  • base.py Modified (+229/-54)
  • __init__.py Added (+20)
  • base.py Modified (+32/-2)
  • types.py Added (+18)
  • unix.py Modified (+33/-6)
  • types.py Modified (+43/-141)
  • Added 20 lines to transport/__init__.py for better module exports instantiate internal
    1 file
    • __init__.py
  • Enhanced transport/base.py (34 lines) with interface improvements interface internal
    2 files
    • base.py
    • base.py
  • Added transport type definitions (18 lines) in types.py instantiate internal
    2 files
    • types.py
    • types.py
  • Updated unix transport with socket management fixes remediate internal
    1 file
    • unix.py

Gemini Test Removal and Cleanup

17 files changed
  • config.py Modified (+97/-100)
  • service.py Added (+6)
  • types.py Added (+18)
  • unix.py Modified (+33/-6)
  • types.py Modified (+43/-141)
  • test_integration_extended.py Removed (-103)
  • test_protocol_extended.py Removed (-102)
  • test_protocol_integration.py Removed (-46)
  • test_protocol_integration_fixed.py Removed (-102)
  • test_service.py Removed (-118)
  • test_service_advanced.py Removed (-65)
  • test_service_edge_cases.py Removed (-77)
  • test_service_improvements.py Removed (-40)
  • test_transport_types_direct.py Removed (-21)
  • test_transport_unix_close.py Removed (-85)
  • test_transport_unix_listen.py Removed (-55)
  • test_transport_suite_2.py Added (+328)
  • Removed 8 Gemini-generated test files: test_integration_extended.py, test_protocol_extended.py, test_protocol_integration.py, test_protocol_integration_fixed.py, test_service.py, test_service_advanced.py, test_service_edge_cases.py, test_service_improvements.py, test_transport_types_direct.py, test_transport_unix_close.py, test_transport_unix_listen.py qualify internal
    15 files
    • service.py
    • types.py
    • unix.py
    • types.py
    • test_integration_extended.py
    • test_protocol_extended.py
    • test_protocol_integration.py
    • test_protocol_integration_fixed.py
    • test_service.py
    • test_service_advanced.py
    • test_service_edge_cases.py
    • test_service_improvements.py
    • test_transport_types_direct.py
    • test_transport_unix_close.py
    • test_transport_unix_listen.py
  • Cleaned up remaining test imports and fixtures qualify internal
    35 files
    • test_client_grpc.py
    • test_client_handshake.py
    • test_client_init.py
    • test_client_lifecycle.py
    • test_client_stubs.py
    • test_client_transport.py
    • test_connection.py
    • test_certificate_loading.py
    • test_certificate_properties.py
    • test_certificate_verify.py
    • client.py
    • crypto.py
    • test_integration_extended.py
    • test_protocol_extended.py
    • test_protocol_integration.py
    • test_protocol_integration_fixed.py
    • test_service.py
    • test_service_advanced.py
    • test_service_edge_cases.py
    • test_service_improvements.py
    • test_transport_types_direct.py
    • test_transport_unix_close.py
    • test_transport_unix_listen.py
    • test_handshake_certificate.py
    • test_handshake_integration.py
    • test_handshake_network.py
    • test_handshake_process_io.py
    • test_handshake_utils.py
    • test_server_critical.py
    • test_server_handshake.py
    • test_server_signals.py
    • test_server_tls.py
    • test_server_transport.py
    • test_transport_suite.py
    • test_transport_suite_2.py
  • Simplified types.py by removing 184 lines moved to config decouple internal
    3 files
    • config.py
    • types.py
    • types.py