undef-engine 2025-12-02
Protocol consolidation and game handler standardization
381 files · 25,911+ · 21,821-

Protocol Consolidation

6 files changed
  • __init__.py Python module __init__
  • queue.py Python module queue
  • protocols.py Python module protocols
  • protocols.py Python module protocols
  • protocol.py Python module protocol
  • repository.py Python module repository
  • Consolidated PubSubProtocol into core.protocols decouple internal
    4 files
    • __init__.py
    • queue.py
    • protocols.py
    • protocols.py
  • Moved protocols.py to protocols/ package with init.py decouple internal
    4 files
    • __init__.py
    • queue.py
    • protocols.py
    • protocols.py
  • Added queue protocol to core protocols interface internal
    4 files
    • __init__.py
    • queue.py
    • protocols.py
    • protocols.py

Game Handlers

6 files changed
  • config.py Python module config
  • config.py Python module config
  • settings.py Python module settings
  • lobby_settings.py Python module lobby_settings
  • config.py Python module config
  • handler.py Python module handler
  • Standardized game handler patterns across games decouple internal
    4 files
    • game.ts
    • handler.py
    • hand.py
    • handler.py
  • Removed unused imports and dead campaign config code deprecate internal
    4 files
    • config.py
    • config.py
    • settings.py
    • lobby_settings.py
6 files changed
  • conftest.py E2E test for conftest
  • test_spectator_e2e.py E2E test for test_spectator_e2e
  • test_spectator_mode.py E2E test for test_spectator_mode
  • test_spectator_upgrade.py E2E test for test_spectator_upgrade
  • test_spectator_load.py E2E test for test_spectator_load
  • test_oauth_e2e.py E2E test for test_oauth_e2e
  • Merged npc-chatter branch with NPC testing improvements qualify internal
    4 files
    • admin-auth.spec.ts
    • admin-dashboard.spec.ts
    • admin-realtime-updates.spec.ts
    • animation.spec.ts
  • Updated NpcManager component with better NPC controls decouple internal
    4 files
    • NpcManager.tsx
    • npc_actions.py
    • npc_actions.py
    • brain.py

Enhancement

6 files changed
  • conftest.py E2E test for conftest
  • test_spectator_e2e.py E2E test for test_spectator_e2e
  • test_spectator_mode.py E2E test for test_spectator_mode
  • test_spectator_upgrade.py E2E test for test_spectator_upgrade
  • test_spectator_load.py E2E test for test_spectator_load
  • test_oauth_e2e.py E2E test for test_oauth_e2e
  • Fixed primitive test imports to use correct module paths qualify internal
    4 files
    • admin-auth.spec.ts
    • admin-dashboard.spec.ts
    • admin-realtime-updates.spec.ts
    • animation.spec.ts
  • Updated E2E global setup and game helpers decouple internal
    4 files
    • admin-auth.spec.ts
    • admin-dashboard.spec.ts
    • admin-realtime-updates.spec.ts
    • animation.spec.ts
  • Improved ErrorModal and WebSocketContext decouple internal
    4 files
    • NavigationArrows.tsx
    • WebSocketContext.tsx
    • useSpectatorWebSocket.ts
    • useWebSocket.ts
  • Updated Terrible Psychiatrist board decouple internal
    4 files
    • TerriblePsychiatristBoard.tsx
    • DiagnosisCard.tsx
    • PlayerStatusBar.tsx
    • RoleBanner.tsx

Documentation

6 files changed
  • store.py Python module store
  • store.py Python module store
  • sessions.py Python module sessions
  • session.py Python module session
  • session_factory.py Python module session_factory
  • __init__.py Python module __init__
  • Documented storage consolidation status and architecture rationale decouple internal
    4 files
    • ARCHITECTURE_AUDIT_REPORT.md
    • CLAUDE.md
    • 20251127-1221-architecture-overview.md
    • ARCHITECTURE.md