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.5.0-rc.1 test
> node --test tests/*.test.mjs

✔ sector 1: spawn, enemies, pickups, key, relays and exit occupy reachable space (85.945347ms)
✔ sector 1: mandatory objectives are reachable without a secret wall (73.372367ms)
✔ sector 2: spawn, enemies, pickups, key, relays and exit occupy reachable space (10.550426ms)
✔ sector 2: mandatory objectives are reachable without a secret wall (12.782466ms)
✔ sector 3: spawn, enemies, pickups, key, relays and exit occupy reachable space (1.597544ms)
✔ sector 3: mandatory objectives are reachable without a secret wall (1.162038ms)
✔ raycasting is finite on cardinal axes and respects closed walls (1.132044ms)
✔ collision substeps prevent tunnelling through walls and preserve sliding (29.946695ms)
✔ doors block sight and collision until fully opening (6.05965ms)
✔ E opens faced ordinary door and golden doors require a key (56.991956ms)
✔ opening a secret counts once and does not consume key (29.827365ms)
✔ movement speed is normalized diagonally and frame deltas are bounded (71.785288ms)
✔ shots hit a visible host; liberated hosts count exactly once (37.008859ms)
✔ walls block player weapons and enemy line of sight (12.052973ms)
✔ slap is free and only works in melee range (5.348448ms)
✔ blaster respects cooldown and capacitor costs (1.121715ms)
✔ bass cone hits multiple hosts, stuns and knocks back without wall tunnelling (2.154202ms)
✔ pulse rifle emits a travelling projectile that damages a target (9.885452ms)
✔ disruptor destabilizes multiple targets and unplugger pierces (22.011198ms)
✔ charged alternate fire has a larger cost and damage (14.468499ms)
✔ all six weapons have unique names, fire rates, and energy costs (0.191943ms)
✔ captive rescue requires proximity, restores autonomy, cannot double-count (1.986194ms)
✔ enemies telegraph and damage the player (52.237115ms)
✔ ranged enemies launch readable projectiles (23.228438ms)
✔ Ori follows, auto attacks, and Q stuns with an energy cost (15.23128ms)
✔ Ori Q tags objectives without a nearby hostile (3.629211ms)
✔ resonance vision drains and then recharges (26.950336ms)
✔ R vent restores energy after a delay and respects cooldown (35.309099ms)
✔ bass drop charges from liberation, affects nearby enemies, then empties (12.013733ms)
✔ dodge has a cooldown and brief damage immunity (1.207725ms)
✔ death stops the simulation; retry restores a playable checkpoint (14.28122ms)
✔ checkpoints round trip mutations, doors, player and liberation (16.500924ms)
✔ unsupported or malformed checkpoints are rejected (1.544884ms)
✔ progression requires both relays and a key and unlocks later weapons (30.281317ms)
✔ Warden has three phases and blocks the final ending until defeated (116.184414ms)
✔ key and health pickups update the HUD model and persist progress (1.444495ms)
✔ upgrades from two Φ artifacts increase weapon damage (21.624992ms)
✔ deterministic initial simulation has matching states for matching inputs (146.617794ms)
✔ crawler phases through a thin wall into a valid landing cell (19.489548ms)
✔ browser smoke scenario passes in the same production simulation (411.428945ms)
✔ a dead player cannot replace a valid retry checkpoint (2.425609ms)
✔ Dead zone prevents resting-stick drift (5.156651ms)
✔ Radial stick preserves diagonals and caps full speed (0.456106ms)
✔ Controller settings sanitize old and invalid saves (1.283216ms)
✔ Analog movement keeps partial speed and legacy keyboard speed (0.449579ms)
✔ Diagonal analog movement cannot exceed full-stick speed (0.369259ms)
✔ Left and right sticks reach real movement and horizontal aiming (0.134162ms)
✔ Small movements still collide with map walls (0.111089ms)
✔ Keyboard and gamepad input coexist without extra speed (0.247236ms)
✔ RT fires a real weapon and holding continues automatic fire (5.247571ms)
✔ RT buffers a press near cooldown expiry (40.443819ms)
✔ LT charges and releases exactly one alternate shot (0.184866ms)
✔ A opens a real door and interacts only once per press (0.088484ms)
✔ A extracts through the real completion event before the next simulation tick (0.062473ms)
✔ All Xbox actions use the documented standard button layout (0.094958ms)
✔ Y, X, B, vision, weapon cycling and map reach real game actions (0.10013ms)
✔ Holding L3 sprints and D-pad down spends a full bass charge (10.721747ms)
✔ D-pad menu movement repeats; A confirm never repeats while held (0.116046ms)
✔ Pause or focus loss cancels held fire and charge until controls release (0.094443ms)
✔ Disconnect clears all held input; reconnect waits for neutral (0.112777ms)
✔ Multiple and sparse gamepads retain the active standard device (0.138183ms)
✔ Unmapped and blocked controllers fail safely without guessing buttons (0.334018ms)
✔ Optional rumble is limited, can be disabled, and resets on pause (2.648579ms)
✔ hosted CODE BROWN is the exact original authored collision grid and mission (13.490756ms)
✔ hosted mission is validated and packed as a normal ΦWAD, with author rights (46.004802ms)
✔ one-click flow loads existing BTM game and leaves campaign untouched (61.831807ms)
✔ loads only allowlisted same-origin hosted JSON and rejects corrupt data (84.154996ms)
✔ All twelve sectors clear through tracked poses, secrets and shared boss simulation (16365.32464ms)
✔ Tracked enemy death retries a checkpoint and completes sector one (369.647129ms)
✔ Rigid world and inverse compose through nonzero yaw and translation (5.14858ms)
✔ Left/right eye separation survives the world transform (0.486067ms)
✔ Frustum culling rejects behind-camera chunks but retains crossing chunks (0.514522ms)
✔ All twelve maps generate finite batched floors, ceilings, walls and export IR (0.210851ms)
✔ Door meshes use the shared open animation and passage threshold (3.561379ms)
✔ Atlas materials have unique bounded UV slots with insets (0.53422ms)
✔ Physical wall leaning cannot enter solid geometry or move the eye through it (0.382899ms)
✔ Physical motion cannot cross a locked door but can cross an opened door (0.226332ms)
✔ Head turn and crouch change view without changing body angle or hand aim (0.310931ms)
✔ Menus freeze movement/fire and discard physical head travel on resume (0.632415ms)
✔ Tracking discontinuity rebases safely and cancels simulation input (1.617373ms)
✔ Snap turn triggers once until neutral and smooth turn stays optional (0.307176ms)
✔ Head-relative and controller-relative movement use different references (0.118617ms)
✔ Unsafe muzzle extension is clamped at walls and at maximum reach (0.063959ms)
✔ Floor and ceiling intersections stop vertical tracked shots (0.0535ms)
✔ Walls occlude tracked targets independently of the gameplay body bearing (0.076327ms)
✔ All six weapons retain costs/cooldowns and use independent tracked aim (4.517958ms)
✔ Tracked pulse projectiles hit bodies at height and terminate at the floor (0.152908ms)
✔ Charged tracked fire uses the existing damage/energy multipliers (0.163444ms)
✔ The immersive adapter updates once with post-movement muzzle coordinates (0.066559ms)
✔ Wrist pointer actions suppress primary and alternate fire together (0.0816ms)
✔ Tracked dodge follows aim without snapping the gameplay body (0.062405ms)
✔ Old XR callbacks cannot advance a new distinct session after reentry (1.92209ms)
✔ Version-one saves resume in Classic without persisting XR pose state (0.141252ms)
✔ Comfort settings sanitize invalid values and preserve snap defaults (0.060812ms)
✔ Dynamic geometry and effects have bounded buffers and explicit overflow behavior (0.051092ms)
✔ Immersive session selects the world presenter and advances one shared frame (0.052645ms)
✔ Missing tracked right hand pauses immersive play without firing (0.046871ms)
✔ Controller removal and context loss pause or exit without stale input (0.123809ms)
✔ Failed GL compatibility disposes the partial session and allows retry (0.065769ms)
✔ Unavailable immersive entry keeps Classic usable and Arcade retry possible (0.09008ms)
✔ Deferred tracked shooting still drives Michael firing portrait feedback (0.058517ms)
✔ the campaign adds exactly six authored nightmare maps (17.750295ms)
✔ nightmare pressure, health, fire speed and damage scale rise every level (0.331437ms)
✔ new artifacts require a secret door while required rescues remain reachable (95.202185ms)
✔ Acts II and III can continue and the fourth ending is final (54.751063ms)
✔ nightmare shortcut unlocks weapons without claiming unearned artifacts (4.34902ms)
✔ new-sector saves round trip and mismatched map identifiers are rejected (11.325338ms)
✔ nightmare volleys lead actual movement while original volleys retain direct aim (8.674303ms)
✔ new enemies reposition and resist repeated weapon stuns without reducing Ori stun (9.59473ms)
✔ all twelve sectors clear using ordinary movement, weapons, abilities, doors and pickups (13098.879926ms)
✔ PixelForge ΦWAD mission roundtrip and compatibility (19.931773ms)
✔ temporary mission uses original Game and immersive geometry and restores all 12 campaign sectors (52.886152ms)
✔ custom victory uses original objectives but cannot progress to sector 14 (3.041461ms)
✔ invalid or repeated pack never destroys campaign (36.954491ms)
✔ Twelve sector palettes are distinct, bounded and deterministic for custom fallback (6.997153ms)
✔ Decorative fixtures attach only to open cells and avoid doors and archive signs (55.278928ms)
✔ Distance culling retains crossing chunks and rejects distant geometry (0.577016ms)
✔ All sector/preset batches are finite, bounded and preserve game snapshots (829.653412ms)
✔ Sustained event bursts remain bounded even during late-sector telegraphs (687.161742ms)
✔ Projectile trail budgets cap dense volleys without mutating simulation velocities (27.077203ms)
✔ Wrist capture blocks sticks, turning, fire, charge and every gameplay action (17.162025ms)
✔ Leaving a panel while holding controls cannot leak a shot or snap turn (70.948702ms)
✔ Captured wrist controls still permit collision-safe physical head movement (12.460228ms)
✔ Pointer testing receives current pose transforms before stick locomotion (25.529649ms)
✔ Right glove follows grip independently of the tracked aiming ray (5.383643ms)
✔ Each weapon effect stays at the same safe muzzle as the actual tracked shot (94.536632ms)
✔ Interaction focus honors relay reach, ray direction, occlusion and secret visibility (27.595469ms)
✔ New comfort sliders sanitize values and smooth-turn speed does not affect snap angle (6.65793ms)
✔ Reduced motion steadies decorations without mutating ability timers (241.183165ms)
✔ CODE BROWN geometry and all preset effects preserve custom objectives and campaign isolation (354.629811ms)
✔ HUD semantic text colors meet 4.5:1 contrast on the instrument panel (12.723215ms)
✔ All six weapon UI colors are independent of gameplay weapon definitions (0.512055ms)
✔ All production interaction IDs remain unique and reachable in markup (43.059119ms)
✔ Every custom SVG icon reference resolves to an authored symbol (1.865489ms)
✔ Bundled fonts have valid TTF headers and their actual redistribution licenses (61.659151ms)
✔ Interface has no remote font, image, stylesheet or script requirement (34.477549ms)
✔ The redesigned minimap does not reveal unseen geometry or objectives (8.929763ms)
✔ Minimap rendering is presentation-only and preserves game snapshots (7.259515ms)
✔ v0.1.0 tests remain byte-for-byte unchanged (37.778942ms)
✔ v0.2 sector 1: content reachable and key obtainable before locked doors (25.693658ms)
✔ v0.2 sector 2: content reachable and key obtainable before locked doors (15.407254ms)
✔ v0.2 sector 3: content reachable and key obtainable before locked doors (20.78657ms)
✔ v0.2 sector 4: content reachable and key obtainable before locked doors (13.318827ms)
✔ v0.2 sector 5: content reachable and key obtainable before locked doors (17.054118ms)
✔ v0.2 sector 6: content reachable and key obtainable before locked doors (3.970495ms)
✔ v0.2 sector 7: content reachable and key obtainable before locked doors (3.355182ms)
✔ v0.2 sector 8: content reachable and key obtainable before locked doors (7.570759ms)
✔ v0.2 sector 9: content reachable and key obtainable before locked doors (4.748433ms)
✔ v0.2 sector 10: content reachable and key obtainable before locked doors (34.626538ms)
✔ v0.2 sector 11: content reachable and key obtainable before locked doors (39.084344ms)
✔ v0.2 sector 12: content reachable and key obtainable before locked doors (16.689698ms)
✔ Act II increases encounter count and individual enemy strength (2.553536ms)
✔ original Warden ending offers Act II while final ending cannot advance (4.12229ms)
✔ an actual v0.1.0 checkpoint migrates and retains state (68.851479ms)
✔ a click just before cooldown expiry buffers exactly one shot (5.434793ms)
✔ expired click buffers never fire later (6.925398ms)
✔ wall impacts and hit reactions are emitted without gore (4.108573ms)
✔ Ori assistance has its own visible effect and source attribution (5.315867ms)
✔ danger warnings interrupt banter and remain rate limited (21.336203ms)
✔ Michael and Ori exchange lines in deterministic order (33.394881ms)
✔ movement against a wall produces no footsteps or walking bob (6.796514ms)
✔ navigation route respects golden access gates until a key is held (7.963684ms)
✔ archive signs can be read by facing and interacting (1.315544ms)
✔ fallback keyboard codes work when browser code is absent (0.477793ms)
✔ pointer capture rejects overlapping attempts (0.536217ms)
✔ denied capture switches to fallback without pausing play (0.598325ms)
✔ a capture timeout enables an explicit retry (0.435716ms)
✔ Escape from a real lock pauses; intentional release does not (0.292201ms)
✔ all six sectors clear through traversal, combat and interactions (2911.538156ms)
✔ live enemy attacks cause death, and retry permits a complete traversal (464.909343ms)
✔ render-only door rays can see behind an opening panel without changing collision (0.86043ms)
✔ Warden health phases update even while Ori holds a stun (1.72525ms)
✔ default pointer timer adapters clean up a denied request (1.20421ms)
✔ Ori stun prevents crawler phasing until the stun expires (1.70295ms)
✔ Matrix composition preserves an identity transform (15.408038ms)
✔ A screen is placed in front of the initial head pose (1.819835ms)
✔ Recenter ignores pitch and keeps the arcade screen upright (0.227103ms)
✔ Controller rays hit the panel in texture coordinates (0.140003ms)
✔ Rays behind, parallel to, or pointing away from a panel do not select (0.190101ms)
✔ Quest Touch thumbsticks map separately from Xbox navigator pads (0.18091ms)
✔ Quest triggers fire and charge; grip controls interact and Ori (0.285477ms)
✔ Quest face buttons and stick clicks expose the documented actions (0.125603ms)
✔ Generic xr-standard input keeps trigger/grip controls without guessing faces (0.555917ms)
✔ Losing a Touch controller cancels held fire until neutral (1.177513ms)
✔ Unavailable WebXR reports a fallback without requesting a session (1.464832ms)
✔ Session initialization makes GL compatible before allocating GPU objects (0.711572ms)
✔ Local-floor rejection falls back to local reference space (0.147587ms)
✔ Permission denial leaves VR inactive and permits another attempt (3.465391ms)
✔ Overlapping VR entry attempts request only one session (1.323177ms)
✔ Each XR frame advances once and renders both eye views (0.134393ms)
✔ Tracking loss and hidden headset visibility pause without simulation (0.060564ms)
✔ Recenter changes the anchored screen only on explicit request (1.169489ms)
✔ Pointed UI actions suppress a simultaneous game shot (0.09041ms)
✔ Exit and stale XR callbacks cannot restart or advance the game (3.93378ms)
ℹ tests 194
ℹ suites 0
ℹ pass 194
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 18862.851531
