npm warn Unknown env config "http-proxy". This will stop working in the next major version of npm.

> michael-wave-ori-break-the-matrix@0.3.0 test
> node --test tests/*.test.mjs

✔ sector 1: spawn, enemies, pickups, key, relays and exit occupy reachable space (9.373143ms)
✔ sector 1: mandatory objectives are reachable without a secret wall (1.772259ms)
✔ sector 2: spawn, enemies, pickups, key, relays and exit occupy reachable space (1.234442ms)
✔ sector 2: mandatory objectives are reachable without a secret wall (0.841102ms)
✔ sector 3: spawn, enemies, pickups, key, relays and exit occupy reachable space (1.445458ms)
✔ sector 3: mandatory objectives are reachable without a secret wall (0.290756ms)
✔ raycasting is finite on cardinal axes and respects closed walls (0.39371ms)
✔ collision substeps prevent tunnelling through walls and preserve sliding (1.680792ms)
✔ doors block sight and collision until fully opening (0.460671ms)
✔ E opens faced ordinary door and golden doors require a key (1.863907ms)
✔ opening a secret counts once and does not consume key (0.668162ms)
✔ movement speed is normalized diagonally and frame deltas are bounded (5.235785ms)
✔ shots hit a visible host; liberated hosts count exactly once (2.116796ms)
✔ walls block player weapons and enemy line of sight (1.063135ms)
✔ slap is free and only works in melee range (0.548173ms)
✔ blaster respects cooldown and capacitor costs (0.383536ms)
✔ bass cone hits multiple hosts, stuns and knocks back without wall tunnelling (0.984457ms)
✔ pulse rifle emits a travelling projectile that damages a target (2.605298ms)
✔ disruptor destabilizes multiple targets and unplugger pierces (3.672909ms)
✔ charged alternate fire has a larger cost and damage (5.774763ms)
✔ all six weapons have unique names, fire rates, and energy costs (0.272378ms)
✔ captive rescue requires proximity, restores autonomy, cannot double-count (0.520782ms)
✔ enemies telegraph and damage the player (2.465949ms)
✔ ranged enemies launch readable projectiles (1.278368ms)
✔ Ori follows, auto attacks, and Q stuns with an energy cost (4.7885ms)
✔ Ori Q tags objectives without a nearby hostile (1.024437ms)
✔ resonance vision drains and then recharges (2.60626ms)
✔ R vent restores energy after a delay and respects cooldown (1.206771ms)
✔ bass drop charges from liberation, affects nearby enemies, then empties (0.72651ms)
✔ dodge has a cooldown and brief damage immunity (0.684767ms)
✔ death stops the simulation; retry restores a playable checkpoint (2.153751ms)
✔ checkpoints round trip mutations, doors, player and liberation (2.402234ms)
✔ unsupported or malformed checkpoints are rejected (1.189244ms)
✔ progression requires both relays and a key and unlocks later weapons (1.140651ms)
✔ Warden has three phases and blocks the final ending until defeated (2.855759ms)
✔ key and health pickups update the HUD model and persist progress (0.681692ms)
✔ upgrades from two Φ artifacts increase weapon damage (0.895764ms)
✔ deterministic initial simulation has matching states for matching inputs (13.305114ms)
✔ crawler phases through a thin wall into a valid landing cell (0.780841ms)
✔ browser smoke scenario passes in the same production simulation (43.993698ms)
✔ a dead player cannot replace a valid retry checkpoint (1.361071ms)
✔ Dead zone prevents resting-stick drift (2.284807ms)
✔ Radial stick preserves diagonals and caps full speed (0.316705ms)
✔ Controller settings sanitize old and invalid saves (0.146409ms)
✔ Analog movement keeps partial speed and legacy keyboard speed (0.09961ms)
✔ Diagonal analog movement cannot exceed full-stick speed (0.142844ms)
✔ Left and right sticks reach real movement and horizontal aiming (0.11284ms)
✔ Small movements still collide with map walls (0.089044ms)
✔ Keyboard and gamepad input coexist without extra speed (0.069755ms)
✔ RT fires a real weapon and holding continues automatic fire (0.125278ms)
✔ RT buffers a press near cooldown expiry (0.148833ms)
✔ LT charges and releases exactly one alternate shot (0.189454ms)
✔ A opens a real door and interacts only once per press (0.060871ms)
✔ A extracts through the real completion event before the next simulation tick (0.036124ms)
✔ All Xbox actions use the documented standard button layout (0.067902ms)
✔ Y, X, B, vision, weapon cycling and map reach real game actions (0.05331ms)
✔ Holding L3 sprints and D-pad down spends a full bass charge (0.090005ms)
✔ D-pad menu movement repeats; A confirm never repeats while held (0.035243ms)
✔ Pause or focus loss cancels held fire and charge until controls release (0.527091ms)
✔ Disconnect clears all held input; reconnect waits for neutral (0.050065ms)
✔ Multiple and sparse gamepads retain the active standard device (0.031257ms)
✔ Unmapped and blocked controllers fail safely without guessing buttons (0.065338ms)
✔ Optional rumble is limited, can be disabled, and resets on pause (0.645358ms)
✔ the campaign adds exactly six authored nightmare maps (2.108393ms)
✔ nightmare pressure, health, fire speed and damage scale rise every level (0.302384ms)
✔ new artifacts require a secret door while required rescues remain reachable (22.341858ms)
✔ Acts II and III can continue and the fourth ending is final (3.169975ms)
✔ nightmare shortcut unlocks weapons without claiming unearned artifacts (0.891417ms)
✔ new-sector saves round trip and mismatched map identifiers are rejected (2.822644ms)
✔ nightmare volleys lead actual movement while original volleys retain direct aim (2.642584ms)
✔ new enemies reposition and resist repeated weapon stuns without reducing Ori stun (2.036645ms)
✔ all twelve sectors clear using ordinary movement, weapons, abilities, doors and pickups (2855.931535ms)
✔ v0.1.0 tests remain byte-for-byte unchanged (8.618469ms)
✔ v0.2 sector 1: content reachable and key obtainable before locked doors (8.884908ms)
✔ v0.2 sector 2: content reachable and key obtainable before locked doors (3.158639ms)
✔ v0.2 sector 3: content reachable and key obtainable before locked doors (5.322515ms)
✔ v0.2 sector 4: content reachable and key obtainable before locked doors (2.278358ms)
✔ v0.2 sector 5: content reachable and key obtainable before locked doors (1.77996ms)
✔ v0.2 sector 6: content reachable and key obtainable before locked doors (2.574112ms)
✔ v0.2 sector 7: content reachable and key obtainable before locked doors (1.536144ms)
✔ v0.2 sector 8: content reachable and key obtainable before locked doors (3.565148ms)
✔ v0.2 sector 9: content reachable and key obtainable before locked doors (1.653791ms)
✔ v0.2 sector 10: content reachable and key obtainable before locked doors (2.021202ms)
✔ v0.2 sector 11: content reachable and key obtainable before locked doors (2.503996ms)
✔ v0.2 sector 12: content reachable and key obtainable before locked doors (1.534482ms)
✔ Act II increases encounter count and individual enemy strength (1.293371ms)
✔ original Warden ending offers Act II while final ending cannot advance (2.308173ms)
✔ an actual v0.1.0 checkpoint migrates and retains state (11.511859ms)
✔ a click just before cooldown expiry buffers exactly one shot (2.411467ms)
✔ expired click buffers never fire later (3.693511ms)
✔ wall impacts and hit reactions are emitted without gore (0.792749ms)
✔ Ori assistance has its own visible effect and source attribution (1.480741ms)
✔ danger warnings interrupt banter and remain rate limited (8.689896ms)
✔ Michael and Ori exchange lines in deterministic order (10.803558ms)
✔ movement against a wall produces no footsteps or walking bob (3.938368ms)
✔ navigation route respects golden access gates until a key is held (2.084127ms)
✔ archive signs can be read by facing and interacting (1.242244ms)
✔ fallback keyboard codes work when browser code is absent (0.405829ms)
✔ pointer capture rejects overlapping attempts (0.445769ms)
✔ denied capture switches to fallback without pausing play (0.249364ms)
✔ a capture timeout enables an explicit retry (0.207151ms)
✔ Escape from a real lock pauses; intentional release does not (0.191337ms)
✔ all six sectors clear through traversal, combat and interactions (682.923464ms)
✔ live enemy attacks cause death, and retry permits a complete traversal (135.060197ms)
✔ render-only door rays can see behind an opening panel without changing collision (0.381963ms)
✔ Warden health phases update even while Ori holds a stun (0.663426ms)
✔ default pointer timer adapters clean up a denied request (0.306871ms)
✔ Ori stun prevents crawler phasing until the stun expires (0.664957ms)
✔ Matrix composition preserves an identity transform (1.484187ms)
✔ A screen is placed in front of the initial head pose (0.198178ms)
✔ Recenter ignores pitch and keeps the arcade screen upright (0.165238ms)
✔ Controller rays hit the panel in texture coordinates (0.092468ms)
✔ Rays behind, parallel to, or pointing away from a panel do not select (0.138428ms)
✔ Quest Touch thumbsticks map separately from Xbox navigator pads (0.14708ms)
✔ Quest triggers fire and charge; grip controls interact and Ori (0.158548ms)
✔ Quest face buttons and stick clicks expose the documented actions (0.097456ms)
✔ Generic xr-standard input keeps trigger/grip controls without guessing faces (0.123305ms)
✔ Losing a Touch controller cancels held fire until neutral (0.162113ms)
✔ Unavailable WebXR reports a fallback without requesting a session (0.143195ms)
✔ Session initialization makes GL compatible before allocating GPU objects (0.164266ms)
✔ Local-floor rejection falls back to local reference space (3.565929ms)
✔ Permission denial leaves VR inactive and permits another attempt (0.144246ms)
✔ Overlapping VR entry attempts request only one session (0.122323ms)
✔ Each XR frame advances once and renders both eye views (0.137336ms)
✔ Tracking loss and hidden headset visibility pause without simulation (0.077507ms)
✔ Recenter changes the anchored screen only on explicit request (0.094532ms)
✔ Pointed UI actions suppress a simultaneous game shot (0.083505ms)
✔ Exit and stale XR callbacks cannot restart or advance the game (0.095573ms)
ℹ tests 128
ℹ suites 0
ℹ pass 128
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 3040.286447
