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.htmlCyberpunk theme applied; shared header bar added; terminal as primary interfacewarp-header.cssWarp header CSS extracted to separate file to satisfy CSP nonce policywarp-header.jsShared header bar implementationindex.htmlBlank name at login returns to pre-game menu; warp favicon addeddisplay.pyAll 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.htmlindex.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.pyOriginal request forwarded to DO for WebSocket upgrades; or-default pattern for CF headers.get; /ws routed by path to avoid CF Headers.get issuewrangler.tomlWorker 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
Schema
2 files changed
ddl.pyMigrations removed; reset_and_recreate_schema added; galaxy link fixedschema.pyLegacy DDL aliens table synced with worker schema
Release Hardening (Rounds 14–18)
3 files changed
service.pyRounds 14–18 hardening: 13 critical issues (R16), nav pre-flight, corp slot, alien spawn, event counter, stock_pct boundary; 3167 tests passingmanagement.pyPlanet hex-offset fields renamed to semantic names; load_planets fixedtrading.pystock_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
Build
2 files changed
sync_uwarp.pyStatic bundle generation added to sync_uwarp.pypyproject.tomlcryptography dependency dropped (~20MB bundle reduction); release ID in /health