undef-engine
2026-02-27
Split 11 oversized backend files, mypy strict annotations, and frontend accessibility
1104 files · 41,434+ · 41,822-
Backend module splitting and dependency injection
7 files changed
.pre-commit-config.yamlAligned with bbsbot strictness (ty, mypy, codespell, reuse)dep5Updated REUSE compliance metadataAGPL-3.0-or-later.txtLicense file updatesMakefileAdded typecheck targets, removed dead code.env.exampleAdded frontend environment exampleoauth_demo.pyAdded OAuth demo exampleREADME.mdUpdated primitives documentation
- Split 11 large backend files into sub-module packages for better modularity and maintainability
decouple
architectural
1 file
Makefile
- Split gameStore into focused sub-stores with facade pattern (merged via PRs #7, #10) decouple internal
- Split WebSocketContext and migrated singletons to dependency injection decouple internal
- Split oversized modules and improved error handling remediate internal
Mypy strict type annotations across core modules
3 files changed
AdminDashboard.tsxType annotation updatesGameBoardRouter.tsxType annotation updatesApp.tsxType annotation updates
- Resolved mypy errors in src/undef/server (merged via PR #8) harden internal
- Resolved mypy strict type errors in auth and worker modules (merged via PR #6) harden internal
- Fixed mypy strict type errors in games/warp and games/undef_dice (merged via PR #9) harden internal
- Added type annotations to GameContext slots and added GamePluginBase with typed WS messages harden internal
Pre-commit and build infrastructure alignment
1 file changed
.pre-commit-config.yamlMatched bbsbot pre-commit strictness with ty, mypy, codespell, reuse
- Matched bbsbot pre-commit strictness with ty, mypy, codespell, and reuse tools
baseline
internal
1 file
.pre-commit-config.yaml
- Added typecheck targets, aligned pre-commit configuration, and removed dead code
baseline
internal
1 file
Makefile
- Applied ruff and prettier formatting across the codebase baseline errata
Frontend accessibility and test improvements
2 files changed
Lobby.tsxWCAG touch target fixesButton.tsxAccessibility improvements
- Added accessibility improvements with WCAG touch target fixes
remediate
behavioral
2 files
Lobby.tsxButton.tsx
- Updated frontend tests to match current component behavior qualify internal
Backend quality and WebSocket optimization
1 file changed
.env.exampleAdded frontend environment example
- Fixed comprehensive backend code quality issues (merged via PR #4) remediate internal
- Optimized WebSocket lookup in Cloudflare Durable Object adapter streamline internal
- Added shared test fixtures and frontend .env.example
qualify
internal
1 file
.env.example
- Un-skipped stream routes and TP pick-winner tests; suppressed pytest warnings for provide-testkit and saga serialization qualify internal