uwarp-space
2026-02-21
Monorepo bootstrapped from undef-warp with SysOp API, metrics infrastructure, and fixture galaxies
2872 files · 359,245+ · 146,706-
SysOp API with OpenAPI spec
6 files changed
app.pySysOp API application wired with FastAPIdata_files.pyParser-backed data files routerships.pyShips router promoted to canonical endpointfactions.pyFactions router promoted to canonical endpointglobals.pyGlobal command handler added (137 lines)terminal.jsANSI black fixed to #000 in xterm.js theme
- Added full OpenAPI spec for SysOp API (sysop.openapi.json, sysop.openapi.html, sysop.openapi.render.json)
qualify
behavioral
1 file
sysop.openapi.json
- Added OpenAPI generation and rendering scripts
instantiate
internal
2 files
generate_sysop_openapi.pyrender_sysop_openapi_html.sh
- Global command handler added (137 lines)
instantiate
behavioral
1 file
globals.py
- SysOp routers promoted: ships, bosses, factions to canonical routers; data_files router added (parser-backed)
instantiate
internal
4 files
ships.pybosses.pyfactions.pydata_files.py
- ANSI black fixed to
remediate
internal
1 file
terminal.js
- Added sysop test suites (data_files, operational_endpoints, planet_classes, ship_classes, system, alien_races)
qualify
internal
3 files
test_alien_races.pytest_auth.pytest_config.py
Metrics infrastructure
2 files changed
__init__.pyMonitoring package with RequestCounter, LoginCounter, SnapshotStore, MetricsCalculatormaintenance_executor.pyMaintenance executor with metrics wiring
- Added monitoring package with RequestCounter (rolling RPS/error rate), LoginCounter (logins-per-hour), SnapshotStore (hourly/daily trends), and MetricsCalculator
interface
internal
2 files
__init__.pymaintenance_executor.py
- Added 5 monitoring test files covering all monitoring components
qualify
internal
5 files
test_login_counter.pytest_metrics_calculator.pytest_request_counter.pytest_snapshot_store.pytest_middleware_wiring.py
- Shutdown unblocking and connection wait_closed timeouts added to telnet transport
instantiate
behavioral
1 file
telnet.py
Computer commands matched to TW2002 behavior
3 files changed
reports.pyR (port report), C (ship catalog), N (personal settings) fixed after live verificationsettings.pySettings command reworkregistry.pyRegistry updated
- R (port report), C (ship catalog), N (personal settings) fixed to match TW2002 behavior after live verification
remediate
behavioral
1 file
reports.py
- Settings command reworked
baseline
behavioral
1 file
settings.py
- Personal Planet Scan (Y command) header and two-row format implemented; MM/DD/YY date format for daily log D command
instantiate
internal
1 file
reports.py
- Added computer planets test suite (114 lines)
qualify
internal
1 file
test_computer_planets.py
ANSI art wired into commands
1 file changed
display.pyANSI art wired into commands; render ordering fixed
- ANSI art wired into commands; render ordering fixed
remediate
behavioral
1 file
display.py
- QA deviation tracking updated: ANSI art, hardware, library all marked FIXED; 0 intentional deviations remaining
remediate
internal
1 file
qa-comparison-report.md
TUI search and filter
1 file changed
app.pySearch/filter with Input widget overlay; row selection index corrected
Storage safety and connection cleanup
2 files changed
game_state.pyclose(), __del__, context manager added for SQLite connection cleanup on GCschema.pySchema extended; _meta table absence handled for older DBs
- Added close(), del, and context manager to ensure SQLite connection cleanup on GC
harden
internal
1 file
game_state.py
- Schema extended; _meta table absence handled for older DBs
interface
internal
1 file
schema.py
- Added _serialize_gamestat for GameStatRecord INI serialization
instantiate
internal
1 file
game_state.py
- conn.close() wrapped in try/except to prevent unraisable exceptions during GC
harden
internal
1 file
game_state.py
- File locking stress test moved to proper location; gold fields test added
qualify
internal
1 file
test_gold_fields.py
Fixture galaxies for parser verification
1 file changed
manifest.yamlTWGS BigBang galaxy fixture files for 10 test galaxies
- Added TWGS BigBang galaxy fixture files for 10 test galaxies with GAMESTAT.LST for all 10
qualify
internal
1 file
manifest.yaml
- Added fixture galaxy parser test (383 lines, 161 tests across 10 galaxies)
qualify
internal
1 file
test_fixture_galaxies.py
- Added config roundtrip test (29 lines)
qualify
internal
1 file
test_config_roundtrip.py
Dead code and script removal
1 file changed
demo_uwarp_cli.pyDemo and one-off test scripts deleted (3800+ lines total)
- Deleted demo_uwarp*.py and all scripts/test_*.py one-off test scripts (3800+ lines total)
deprecate
internal
1 file
demo_uwarp_cli.py
- Deleted tools/migration/ helper scripts (fix_imports, refactor phases, etc.)
deprecate
internal
1 file
fix_imports.py
- Deleted frontend/cli/reports/bbs_log.py (28 lines)
deprecate
behavioral
1 file
bbs_log.py
Monorepo and migration documentation
4 files changed
AGENTS.mdAgent/automation strategiesmonorepo-migration-plan.mdMonorepo migration plan (195 lines)monorepo-agent-strategies.mdAgent strategies for monorepo (84 lines)monorepo-cutover-checklist.mdCutover checklist (54 lines)
- Added AGENTS.md with agent/automation strategies (43 lines)
instantiate
internal
1 file
AGENTS.md
- Added monorepo migration plan, agent strategies, and cutover checklist documentation
specify
architectural
3 files
monorepo-migration-plan.mdmonorepo-agent-strategies.mdmonorepo-cutover-checklist.md
- QA report updated; all deviations resolved
specify
internal
1 file
qa-comparison-report.md
Monorepo package scaffolding and migration
4 files changed
pyproject.tomlPublic uwarp package skeletonpyproject.tomlPrivate uwarp-server package skeletonpyproject.tomlCore runtime packagepyproject.tomlGame logic package
- Bootstrapped uv workspace with package skeletons (uwarp, uwarp-server, uwarp-core, uwarp-game, uwarp-sysop, uwarp-worker)
baseline
architectural
4 files
pyproject.tomlpyproject.tomlpyproject.tomlpyproject.toml
- Added plugin loader, runtime wrapper, and default plugin runtime scaffold
instantiate
internal
1 file
runtime.py
- Synced full upstream runtime, worker, and test suites into monorepo package layout
baseline
internal
2 files
__init__.py__init__.py
- Added logging compatibility shim for migrated modules
instantiate
internal
1 file
__init__.py
- Alias and mercenary_expire_turn fields added to Gold player record parsing
instantiate
internal
1 file
player.py
- Stardock command fixes (entertainment, purchases, police)
remediate
behavioral
3 files
entertainment.pypurchases.pypolice.py
- Command fixes (trading, combat, display)
remediate
behavioral
3 files
trading.pycombat.pydisplay.py
- Worker schema updated
interface
internal
1 file
schema.py
- Dead code removed from alien AI
deprecate
internal
1 file
alien_encounter.py
- Formatter/linter cleanup: ruff issues resolved, mypy file-level disables replaced with targeted ignores
baseline
errata
1 file
pyproject.toml
- xdist loadscope added to pytest config
qualify
internal
1 file
pytest.ini