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.2.1 test
> node --test tests/*.test.mjs

✔ sector 1: spawn, enemies, pickups, key, relays and exit occupy reachable space (3.61234ms)
✔ sector 1: mandatory objectives are reachable without a secret wall (2.344941ms)
✔ sector 2: spawn, enemies, pickups, key, relays and exit occupy reachable space (0.65751ms)
✔ sector 2: mandatory objectives are reachable without a secret wall (0.494054ms)
✔ sector 3: spawn, enemies, pickups, key, relays and exit occupy reachable space (0.789028ms)
✔ sector 3: mandatory objectives are reachable without a secret wall (0.513884ms)
✔ raycasting is finite on cardinal axes and respects closed walls (0.379762ms)
✔ collision substeps prevent tunnelling through walls and preserve sliding (2.045731ms)
✔ doors block sight and collision until fully opening (0.442636ms)
✔ E opens faced ordinary door and golden doors require a key (1.433719ms)
✔ opening a secret counts once and does not consume key (0.509257ms)
✔ movement speed is normalized diagonally and frame deltas are bounded (3.667849ms)
✔ shots hit a visible host; liberated hosts count exactly once (1.664737ms)
✔ walls block player weapons and enemy line of sight (0.960577ms)
✔ slap is free and only works in melee range (0.53746ms)
✔ blaster respects cooldown and capacitor costs (0.658551ms)
✔ bass cone hits multiple hosts, stuns and knocks back without wall tunnelling (0.691501ms)
✔ pulse rifle emits a travelling projectile that damages a target (2.336729ms)
✔ disruptor destabilizes multiple targets and unplugger pierces (1.513689ms)
✔ charged alternate fire has a larger cost and damage (0.858052ms)
✔ all six weapons have unique names, fire rates, and energy costs (0.111768ms)
✔ captive rescue requires proximity, restores autonomy, cannot double-count (0.415486ms)
✔ enemies telegraph and damage the player (1.579528ms)
✔ ranged enemies launch readable projectiles (1.028458ms)
✔ Ori follows, auto attacks, and Q stuns with an energy cost (1.902655ms)
✔ Ori Q tags objectives without a nearby hostile (0.507754ms)
✔ resonance vision drains and then recharges (4.984917ms)
✔ R vent restores energy after a delay and respects cooldown (1.054838ms)
✔ bass drop charges from liberation, affects nearby enemies, then empties (0.676779ms)
✔ dodge has a cooldown and brief damage immunity (0.510108ms)
✔ death stops the simulation; retry restores a playable checkpoint (0.98966ms)
✔ checkpoints round trip mutations, doors, player and liberation (1.139616ms)
✔ unsupported or malformed checkpoints are rejected (0.778502ms)
✔ progression requires both relays and a key and unlocks later weapons (0.986816ms)
✔ Warden has three phases and blocks the final ending until defeated (0.854126ms)
✔ key and health pickups update the HUD model and persist progress (1.198244ms)
✔ upgrades from two Φ artifacts increase weapon damage (0.876189ms)
✔ deterministic initial simulation has matching states for matching inputs (10.152919ms)
✔ crawler phases through a thin wall into a valid landing cell (0.512632ms)
✔ browser smoke scenario passes in the same production simulation (23.770965ms)
✔ a dead player cannot replace a valid retry checkpoint (0.859284ms)
✔ Dead zone prevents resting-stick drift (1.174358ms)
✔ Radial stick preserves diagonals and caps full speed (0.094562ms)
✔ Controller settings sanitize old and invalid saves (0.066901ms)
✔ Analog movement keeps partial speed and legacy keyboard speed (0.182295ms)
✔ Diagonal analog movement cannot exceed full-stick speed (0.116775ms)
✔ Left and right sticks reach real movement and horizontal aiming (0.087272ms)
✔ Small movements still collide with map walls (0.072129ms)
✔ Keyboard and gamepad input coexist without extra speed (0.053019ms)
✔ RT fires a real weapon and holding continues automatic fire (0.07972ms)
✔ RT buffers a press near cooldown expiry (0.207492ms)
✔ LT charges and releases exactly one alternate shot (0.211288ms)
✔ A opens a real door and interacts only once per press (0.054953ms)
✔ A extracts through the real completion event before the next simulation tick (0.034151ms)
✔ All Xbox actions use the documented standard button layout (0.056876ms)
✔ Y, X, B, vision, weapon cycling and map reach real game actions (0.031768ms)
✔ Holding L3 sprints and D-pad down spends a full bass charge (0.03982ms)
✔ D-pad menu movement repeats; A confirm never repeats while held (0.027812ms)
✔ Pause or focus loss cancels held fire and charge until controls release (0.050997ms)
✔ Disconnect clears all held input; reconnect waits for neutral (0.052078ms)
✔ Multiple and sparse gamepads retain the active standard device (0.049835ms)
✔ Unmapped and blocked controllers fail safely without guessing buttons (0.038317ms)
✔ Optional rumble is limited, can be disabled, and resets on pause (0.455916ms)
✔ v0.1.0 tests remain byte-for-byte unchanged (10.9379ms)
✔ v0.2 sector 1: content reachable and key obtainable before locked doors (6.724952ms)
✔ v0.2 sector 2: content reachable and key obtainable before locked doors (2.512723ms)
✔ v0.2 sector 3: content reachable and key obtainable before locked doors (6.292786ms)
✔ v0.2 sector 4: content reachable and key obtainable before locked doors (1.276693ms)
✔ v0.2 sector 5: content reachable and key obtainable before locked doors (1.926591ms)
✔ v0.2 sector 6: content reachable and key obtainable before locked doors (2.048475ms)
✔ Act II increases encounter count and individual enemy strength (0.934607ms)
✔ original Warden ending offers Act II while final ending cannot advance (1.723786ms)
✔ an actual v0.1.0 checkpoint migrates and retains state (10.309974ms)
✔ a click just before cooldown expiry buffers exactly one shot (1.579238ms)
✔ expired click buffers never fire later (2.938535ms)
✔ wall impacts and hit reactions are emitted without gore (0.902028ms)
✔ Ori assistance has its own visible effect and source attribution (0.913836ms)
✔ danger warnings interrupt banter and remain rate limited (4.827484ms)
✔ Michael and Ori exchange lines in deterministic order (9.320625ms)
✔ movement against a wall produces no footsteps or walking bob (2.99478ms)
✔ navigation route respects golden access gates until a key is held (1.515472ms)
✔ archive signs can be read by facing and interacting (0.646284ms)
✔ fallback keyboard codes work when browser code is absent (0.266391ms)
✔ pointer capture rejects overlapping attempts (0.432081ms)
✔ denied capture switches to fallback without pausing play (0.29925ms)
✔ a capture timeout enables an explicit retry (0.180832ms)
✔ Escape from a real lock pauses; intentional release does not (0.147041ms)
✔ all six sectors clear through traversal, combat and interactions (618.879989ms)
✔ live enemy attacks cause death, and retry permits a complete traversal (114.530302ms)
✔ render-only door rays can see behind an opening panel without changing collision (0.281694ms)
✔ Warden health phases update even while Ori holds a stun (0.524971ms)
✔ default pointer timer adapters clean up a denied request (0.311039ms)
✔ Ori stun prevents crawler phasing until the stun expires (0.561366ms)
ℹ tests 93
ℹ suites 0
ℹ pass 93
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 912.942761
