uwarp-space 2026-03-06
Cyberpunk UI overhaul with shared header, WARP rebrand, WebSocket upgrade fix for Cloudflare, schema migration replacement, and hardening rounds 14–18 with 3167 tests passing
715 files · 121,072+ · 3,575-

UI and Branding

5 files changed
  • terminal.html Cyberpunk theme applied; shared header bar added; terminal as primary interface
  • warp-header.css Warp header CSS extracted to separate file to satisfy CSP nonce policy
  • warp-header.js Shared header bar implementation
  • index.html Blank name at login returns to pre-game menu; warp favicon added
  • display.py All in-game 'Trade Wars 2002' strings replaced with 'WARP'
  • All in-game ‘Trade Wars 2002’ strings replaced with ‘WARP’; header padding and remaining branding fixed instantiate behavioral
    1 file
    • display.py
  • Cyberpunk theme, shared header bar, and ambiguous public stats added to UI; warp-themed favicon added; binary static file serving fixed instantiate behavioral
    2 files
    • terminal.html
    • index.html
  • Warp-header CSS extracted to a separate file to satisfy CSP nonce policy; blank name at login returns to pre-game menu remediate behavioral
    1 file
    • warp-header.css

WebSocket and Cloudflare Worker

2 files changed
  • worker.py Original request forwarded to DO for WebSocket upgrades; or-default pattern for CF headers.get; /ws routed by path to avoid CF Headers.get issue
  • wrangler.toml Worker configuration updated for WebSocket routing fixes
  • Original request forwarded to Durable Object for WebSocket upgrade — previously the upgrade was failing in the CF Worker layer remediate behavioral
    1 file
    • worker.py
  • WebSocket upgrade forwarding and CSP style-src nonce bypass fixed; CF headers.get or-default pattern applied remediate behavioral
    1 file
    • worker.py
  • /ws now routed by path instead of header to avoid Cloudflare Headers.get null-value issue remediate behavioral
    1 file
    • worker.py
2 files changed
  • ddl.py Migrations removed; reset_and_recreate_schema added; galaxy link fixed
  • schema.py Legacy DDL aliens table synced with worker schema
  • Schema migrations removed; reset_and_recreate_schema added as the new schema initialization path; galaxy link fixed remediate internal
    1 file
    • ddl.py
  • Legacy DDL aliens table synced with worker schema remediate internal
    1 file
    • schema.py

Release Hardening (Rounds 14–18)

3 files changed
  • service.py Rounds 14–18 hardening: 13 critical issues (R16), nav pre-flight, corp slot, alien spawn, event counter, stock_pct boundary; 3167 tests passing
  • management.py Planet hex-offset fields renamed to semantic names; load_planets fixed
  • trading.py stock_pct boundary and sector warp query optimization
  • Round 14: 13 pre-release issues resolved harden internal
    1 file
    • service.py
  • Round 15: auth, CORS, binary static file serving hardened; 2721 tests passing at completion harden internal
    1 file
    • service.py
  • Pass-4 hardening: navigate pre-flight, corp slot, alien spawn, event counter fixed; stock_pct boundary and sector warp query optimization applied harden behavioral
    1 file
    • trading.py
  • Round 16: all 13 critical findings and all high/medium/low findings resolved harden behavioral
    1 file
    • service.py
  • Planet hex-offset fields renamed to semantic names; load_planets fixed remediate internal
    1 file
    • management.py
  • Rounds 17–18: all findings resolved; 3167 tests passing at completion qualify internal
    1 file
    • service.py
2 files changed
  • sync_uwarp.py Static bundle generation added to sync_uwarp.py
  • pyproject.toml cryptography dependency dropped (~20MB bundle reduction); release ID in /health
  • Static bundle generation added to sync_uwarp.py build script baseline internal
    1 file
    • sync_uwarp.py
  • cryptography dependency dropped reducing bundle by ~20MB; release ID now returned in /health endpoint baseline internal
    1 file
    • pyproject.toml