undef-engine 2026-03-08
Test suite expansion with TBH code splitting and inline import cleanup
301 files · 74,645+ · 1,904-

TBH system code splitting and bug fixes

7 files changed
  • class_abilities.py Split oversized class abilities module
  • class_ability_hooks.py Extracted class ability hooks
  • death_hooks.py Death system hooks
  • progression.py Progression system hooks
  • random_generation.py Random generation hooks
  • roll_recording.py Extracted RollRecordingMixin to resolve MRO shadowing
  • spell_hooks.py Spell system hooks
  • Split class_abilities.py and client_state.py into focused modules and extracted RollRecordingMixin to resolve MRO shadowing decouple architectural
    2 files
    • class_abilities.py
    • roll_recording.py
  • Fixed UnboundLocalError in retreat, missing rate limit, game-over gap, and removed dead code remediate behavioral
  • Moved inline stdlib imports to module level and eliminated remaining dictstr, Any idiom remediate internal

Continued test suite expansion

11 files changed
  • models.py Updated for test coverage
  • actions.py Updated for test coverage
  • client_state.py Updated for test coverage
  • acquisitions.py Updated for test coverage
  • actions.py Updated for test coverage
  • scoring.py Updated for test coverage
  • display.py Updated for test coverage
  • app.py Updated for test coverage
  • app.py Updated for test coverage
  • menu_widgets.py Updated for test coverage
  • activity_state.py Updated for test coverage
  • Added 200+ new test files covering engine primitives, server routes, storage backends, auth modules, and all game-specific hooks and actions qualify internal
    3 files
    • models.py
    • actions.py
    • acquisitions.py
  • Added PDQ field operations, badges, and lifecycle hook tests; acquisitions mixin, liars hand, and debate club action tests qualify internal
  • Added primitive coverage tests including ActionQuota, Cooldown, Vault, Wager, Zone, Commitment, Pool, Reveal, Matchup, PredictionMarket, PhaseMachine, and more qualify internal

Warp CLI and game module updates

6 files changed
  • app.py Warp TUI app updates
  • menu_widgets.py Menu widget updates
  • ws_state.py Redaction WebSocket state commands
  • lifecycle.py Redaction lifecycle hooks
  • npc.py Reaction NPC commands
  • npc.py SwarmThink NPC commands