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

✔ sector 1: spawn, enemies, pickups, key, relays and exit occupy reachable space (10.734156ms)
✔ sector 1: mandatory objectives are reachable without a secret wall (7.339779ms)
✔ sector 2: spawn, enemies, pickups, key, relays and exit occupy reachable space (33.791999ms)
✔ sector 2: mandatory objectives are reachable without a secret wall (0.874976ms)
✔ sector 3: spawn, enemies, pickups, key, relays and exit occupy reachable space (1.731378ms)
✔ sector 3: mandatory objectives are reachable without a secret wall (1.332098ms)
✔ raycasting is finite on cardinal axes and respects closed walls (1.195597ms)
✔ collision substeps prevent tunnelling through walls and preserve sliding (5.111942ms)
✔ doors block sight and collision until fully opening (1.349902ms)
✔ E opens faced ordinary door and golden doors require a key (4.141849ms)
✔ opening a secret counts once and does not consume key (1.735089ms)
✔ movement speed is normalized diagonally and frame deltas are bounded (12.521888ms)
✔ shots hit a visible host; liberated hosts count exactly once (3.275898ms)
✔ walls block player weapons and enemy line of sight (1.727053ms)
✔ slap is free and only works in melee range (1.334005ms)
✔ blaster respects cooldown and capacitor costs (0.866623ms)
✔ bass cone hits multiple hosts, stuns and knocks back without wall tunnelling (1.640165ms)
✔ pulse rifle emits a travelling projectile that damages a target (6.51708ms)
✔ disruptor destabilizes multiple targets and unplugger pierces (2.688181ms)
✔ charged alternate fire has a larger cost and damage (2.678615ms)
✔ all six weapons have unique names, fire rates, and energy costs (0.157628ms)
✔ captive rescue requires proximity, restores autonomy, cannot double-count (0.943406ms)
✔ enemies telegraph and damage the player (2.555543ms)
✔ ranged enemies launch readable projectiles (1.429453ms)
✔ Ori follows, auto attacks, and Q stuns with an energy cost (2.144401ms)
✔ Ori Q tags objectives without a nearby hostile (0.706616ms)
✔ resonance vision drains and then recharges (4.880887ms)
✔ R vent restores energy after a delay and respects cooldown (1.658616ms)
✔ bass drop charges from liberation, affects nearby enemies, then empties (1.604262ms)
✔ dodge has a cooldown and brief damage immunity (0.945991ms)
✔ death stops the simulation; retry restores a playable checkpoint (1.834242ms)
✔ checkpoints round trip mutations, doors, player and liberation (1.676686ms)
✔ unsupported or malformed checkpoints are rejected (1.121118ms)
✔ progression requires both relays and a key and unlocks later weapons (2.128381ms)
✔ Warden has three phases and blocks the final ending until defeated (1.45009ms)
✔ key and health pickups update the HUD model and persist progress (1.257913ms)
✔ upgrades from two Φ artifacts increase weapon damage (1.245074ms)
✔ deterministic initial simulation has matching states for matching inputs (22.827365ms)
✔ crawler phases through a thin wall into a valid landing cell (2.56824ms)
✔ browser smoke scenario passes in the same production simulation (123.428366ms)
✔ a dead player cannot replace a valid retry checkpoint (1.831512ms)
✔ Dead zone prevents resting-stick drift (2.823955ms)
✔ Radial stick preserves diagonals and caps full speed (0.196385ms)
✔ Controller settings sanitize old and invalid saves (0.128858ms)
✔ Analog movement keeps partial speed and legacy keyboard speed (0.168769ms)
✔ Diagonal analog movement cannot exceed full-stick speed (0.199341ms)
✔ Left and right sticks reach real movement and horizontal aiming (0.149403ms)
✔ Small movements still collide with map walls (0.158231ms)
✔ Keyboard and gamepad input coexist without extra speed (0.258429ms)
✔ RT fires a real weapon and holding continues automatic fire (0.237428ms)
✔ RT buffers a press near cooldown expiry (0.496372ms)
✔ LT charges and releases exactly one alternate shot (0.267295ms)
✔ A opens a real door and interacts only once per press (0.125325ms)
✔ A extracts through the real completion event before the next simulation tick (0.07144ms)
✔ All Xbox actions use the documented standard button layout (0.103842ms)
✔ Y, X, B, vision, weapon cycling and map reach real game actions (0.097724ms)
✔ Holding L3 sprints and D-pad down spends a full bass charge (0.113147ms)
✔ D-pad menu movement repeats; A confirm never repeats while held (0.066363ms)
✔ Pause or focus loss cancels held fire and charge until controls release (0.169642ms)
✔ Disconnect clears all held input; reconnect waits for neutral (0.099429ms)
✔ Multiple and sparse gamepads retain the active standard device (0.10076ms)
✔ Unmapped and blocked controllers fail safely without guessing buttons (0.08734ms)
✔ Optional rumble is limited, can be disabled, and resets on pause (0.702454ms)
✔ All twelve sectors clear through tracked poses, secrets and shared boss simulation (9491.701487ms)
✔ Tracked enemy death retries a checkpoint and completes sector one (260.397942ms)
✔ Rigid world and inverse compose through nonzero yaw and translation (1.95812ms)
✔ Left/right eye separation survives the world transform (0.190016ms)
✔ Frustum culling rejects behind-camera chunks but retains crossing chunks (0.125449ms)
✔ All twelve maps generate finite batched floors, ceilings, walls and export IR (0.090907ms)
✔ Door meshes use the shared open animation and passage threshold (0.128994ms)
✔ Atlas materials have unique bounded UV slots with insets (0.117884ms)
✔ Physical wall leaning cannot enter solid geometry or move the eye through it (1.704538ms)
✔ Physical motion cannot cross a locked door but can cross an opened door (0.791438ms)
✔ Head turn and crouch change view without changing body angle or hand aim (0.122975ms)
✔ Menus freeze movement/fire and discard physical head travel on resume (0.270912ms)
✔ Tracking discontinuity rebases safely and cancels simulation input (0.451601ms)
✔ Snap turn triggers once until neutral and smooth turn stays optional (0.090836ms)
✔ Head-relative and controller-relative movement use different references (0.074569ms)
✔ Unsafe muzzle extension is clamped at walls and at maximum reach (0.042722ms)
✔ Floor and ceiling intersections stop vertical tracked shots (0.032633ms)
✔ Walls occlude tracked targets independently of the gameplay body bearing (0.363728ms)
✔ All six weapons retain costs/cooldowns and use independent tracked aim (0.069792ms)
✔ Tracked pulse projectiles hit bodies at height and terminate at the floor (0.066109ms)
✔ Charged tracked fire uses the existing damage/energy multipliers (0.073599ms)
✔ The immersive adapter updates once with post-movement muzzle coordinates (0.052232ms)
✔ Wrist pointer actions suppress primary and alternate fire together (0.044342ms)
✔ Tracked dodge follows aim without snapping the gameplay body (0.052773ms)
✔ Old XR callbacks cannot advance a new distinct session after reentry (0.044751ms)
✔ Version-one saves resume in Classic without persisting XR pose state (0.360693ms)
✔ Comfort settings sanitize invalid values and preserve snap defaults (0.087965ms)
✔ Dynamic geometry and effects have bounded buffers and explicit overflow behavior (0.053854ms)
✔ Immersive session selects the world presenter and advances one shared frame (0.048421ms)
✔ Missing tracked right hand pauses immersive play without firing (0.04475ms)
✔ Controller removal and context loss pause or exit without stale input (0.045762ms)
✔ Failed GL compatibility disposes the partial session and allows retry (0.04589ms)
✔ Unavailable immersive entry keeps Classic usable and Arcade retry possible (0.045244ms)
✔ Deferred tracked shooting still drives Michael firing portrait feedback (0.200603ms)
✔ the campaign adds exactly six authored nightmare maps (15.202999ms)
✔ nightmare pressure, health, fire speed and damage scale rise every level (0.504164ms)
✔ new artifacts require a secret door while required rescues remain reachable (54.411313ms)
✔ Acts II and III can continue and the fourth ending is final (6.275413ms)
✔ nightmare shortcut unlocks weapons without claiming unearned artifacts (2.087062ms)
✔ new-sector saves round trip and mismatched map identifiers are rejected (5.952243ms)
✔ nightmare volleys lead actual movement while original volleys retain direct aim (4.429778ms)
✔ new enemies reposition and resist repeated weapon stuns without reducing Ori stun (2.209254ms)
✔ all twelve sectors clear using ordinary movement, weapons, abilities, doors and pickups (4498.886068ms)
✔ HUD semantic text colors meet 4.5:1 contrast on the instrument panel (3.639277ms)
✔ All six weapon UI colors are independent of gameplay weapon definitions (0.346875ms)
✔ All production interaction IDs remain unique and reachable in markup (18.402026ms)
✔ Every custom SVG icon reference resolves to an authored symbol (1.001014ms)
✔ Bundled fonts have valid TTF headers and their actual redistribution licenses (47.670502ms)
✔ Interface has no remote font, image, stylesheet or script requirement (7.650002ms)
✔ The redesigned minimap does not reveal unseen geometry or objectives (13.623495ms)
✔ Minimap rendering is presentation-only and preserves game snapshots (3.178675ms)
✔ v0.1.0 tests remain byte-for-byte unchanged (53.837607ms)
✔ v0.2 sector 1: content reachable and key obtainable before locked doors (5.238733ms)
✔ v0.2 sector 2: content reachable and key obtainable before locked doors (4.703239ms)
✔ v0.2 sector 3: content reachable and key obtainable before locked doors (4.829509ms)
✔ v0.2 sector 4: content reachable and key obtainable before locked doors (7.760624ms)
✔ v0.2 sector 5: content reachable and key obtainable before locked doors (41.651505ms)
✔ v0.2 sector 6: content reachable and key obtainable before locked doors (7.391625ms)
✔ v0.2 sector 7: content reachable and key obtainable before locked doors (11.592313ms)
✔ v0.2 sector 8: content reachable and key obtainable before locked doors (4.215009ms)
✔ v0.2 sector 9: content reachable and key obtainable before locked doors (3.281665ms)
✔ v0.2 sector 10: content reachable and key obtainable before locked doors (3.174847ms)
✔ v0.2 sector 11: content reachable and key obtainable before locked doors (6.521579ms)
✔ v0.2 sector 12: content reachable and key obtainable before locked doors (4.527999ms)
✔ Act II increases encounter count and individual enemy strength (1.163638ms)
✔ original Warden ending offers Act II while final ending cannot advance (5.031073ms)
✔ an actual v0.1.0 checkpoint migrates and retains state (11.543372ms)
✔ a click just before cooldown expiry buffers exactly one shot (2.975576ms)
✔ expired click buffers never fire later (7.198364ms)
✔ wall impacts and hit reactions are emitted without gore (1.656827ms)
✔ Ori assistance has its own visible effect and source attribution (6.683928ms)
✔ danger warnings interrupt banter and remain rate limited (7.159972ms)
✔ Michael and Ori exchange lines in deterministic order (54.900483ms)
✔ movement against a wall produces no footsteps or walking bob (3.131733ms)
✔ navigation route respects golden access gates until a key is held (2.909419ms)
✔ archive signs can be read by facing and interacting (0.840993ms)
✔ fallback keyboard codes work when browser code is absent (0.359513ms)
✔ pointer capture rejects overlapping attempts (0.280695ms)
✔ denied capture switches to fallback without pausing play (0.295698ms)
✔ a capture timeout enables an explicit retry (0.113533ms)
✔ Escape from a real lock pauses; intentional release does not (0.311935ms)
✔ all six sectors clear through traversal, combat and interactions (1280.185681ms)
✔ live enemy attacks cause death, and retry permits a complete traversal (295.18334ms)
✔ render-only door rays can see behind an opening panel without changing collision (0.701226ms)
✔ Warden health phases update even while Ori holds a stun (1.37029ms)
✔ default pointer timer adapters clean up a denied request (0.521056ms)
✔ Ori stun prevents crawler phasing until the stun expires (1.863645ms)
✔ Matrix composition preserves an identity transform (1.204338ms)
✔ A screen is placed in front of the initial head pose (0.213048ms)
✔ Recenter ignores pitch and keeps the arcade screen upright (0.088472ms)
✔ Controller rays hit the panel in texture coordinates (0.070519ms)
✔ Rays behind, parallel to, or pointing away from a panel do not select (0.097914ms)
✔ Quest Touch thumbsticks map separately from Xbox navigator pads (0.137743ms)
✔ Quest triggers fire and charge; grip controls interact and Ori (3.582839ms)
✔ Quest face buttons and stick clicks expose the documented actions (0.096982ms)
✔ Generic xr-standard input keeps trigger/grip controls without guessing faces (0.345047ms)
✔ Losing a Touch controller cancels held fire until neutral (0.153678ms)
✔ Unavailable WebXR reports a fallback without requesting a session (0.627834ms)
✔ Session initialization makes GL compatible before allocating GPU objects (0.326108ms)
✔ Local-floor rejection falls back to local reference space (0.045723ms)
✔ Permission denial leaves VR inactive and permits another attempt (0.036625ms)
✔ Overlapping VR entry attempts request only one session (0.47477ms)
✔ Each XR frame advances once and renders both eye views (0.059599ms)
✔ Tracking loss and hidden headset visibility pause without simulation (0.029639ms)
✔ Recenter changes the anchored screen only on explicit request (0.066822ms)
✔ Pointed UI actions suppress a simultaneous game shot (0.026722ms)
✔ Exit and stale XR callbacks cannot restart or advance the game (0.566115ms)
ℹ tests 170
ℹ suites 0
ℹ pass 170
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 10340.319211
