# PEPE RUN foundation practice-build audit **Conclusion date:** 2026-11-28 **Audited revision:** `c37a47850e3f6605a39c8b6259248c9424a4e47a` (detached checkout of `identity-md-launches/goal-3502-build-audit-deploy-pepe`). **Decision:** **FAIL for a release-candidate playable website; PASS for the checked deterministic engine and individual raster/data validators.** This is not evidence of deployment, paid-play, contract, operational, legal, ownership, device, or accessibility readiness. ## Scope and method Examined the actual pinned tree as one free-practice build: `game/engine.mjs`, `web/`, and six media packs (`logo`, `characters`, `obstacles`, `backgrounds`, `music`, `sfx`). I ran the repository tests and validators below from a disposable detached checkout, with Node v24.21.0 and Python 3.13.5. No substitute engine/client was used; the web suite's merged-tree test imports `game/engine.mjs` ([test source](https://github.com/identity-md-launches/goal-3502-build-audit-deploy-pepe/blob/c37a47850e3f6605a39c8b6259248c9424a4e47a/web/tests/practice.test.mjs#L338-L351)). I visually inspected the delivered logo (512x512), character review sheet (22 rows × 8 cells), obstacle atlas (256x128), and background atlas (960x384). The character sheet visibly contains Classic; Ninja, Cyber, Illuminati, Dragon; 16 further permanent variants; and Royal with crown/cape. This was asset inspection, not a browser-composited screenshot. No local browser, mobile emulator, audio player/decoder, or physical device was available; none was claimed to have been exercised. ## Checked claims: pass / fail / unknown | Status | Claim actually checked | Evidence | |---|---|---| | PASS | Deterministic 60 Hz engine, collision, Royal save, course reachability and replay suite pass. | `npm test`: 31/31 pass, 4.53 s. It includes 1,500 seeds × 3 km and a 200-seed/2.4 km autopilot; the engine’s four obstacle geometries and 32x44 / 32x24 player boxes are defined at [game/engine.mjs:35-49](https://github.com/identity-md-launches/goal-3502-build-audit-deploy-pepe/blob/c37a47850e3f6605a39c8b6259248c9424a4e47a/game/engine.mjs#L35-L49). | | PASS | Actual web module tests, including the actual-engine merged test, pass. | `node --test web/tests/practice.test.mjs`: 22/22 pass, 208 ms. This is Node simulation, not a DOM/canvas browser run. | | PASS | Character atlas data/raster/source consistency and requested variants pass. | `node media/characters/check.mjs`: 22/22 checks; 512x1408 RGBA; 176 frames; all 22 rows; rows 1–20 permanent and Royal crown/cape. Atlas contract: [characters.json:11-28](https://github.com/identity-md-launches/goal-3502-build-audit-deploy-pepe/blob/c37a47850e3f6605a39c8b6259248c9424a4e47a/media/characters/characters.json#L11-L28). | | PASS | Background atlas structural/seam validator passes. | `python3 media/backgrounds/check_atlas.py`: 960x384 RGBA8, all nine layer tiles had 0/128 seam mismatches; declared worlds/starts are 0/400/1000 m ([backgrounds.json:11-39](https://github.com/identity-md-launches/goal-3502-build-audit-deploy-pepe/blob/c37a47850e3f6605a39c8b6259248c9424a4e47a/media/backgrounds/backgrounds.json#L11-L39)). | | PASS | Packaged SFX PCM and map are internally valid. | The checker passed when evaluated as its CommonJS source with `cwd=media/sfx`: 44.1 kHz mono PCM16, 2,880.00 ms, peak 11,656/32,767, 92,202 audible samples, 80 ms minimum silent guard. This does **not** mean the documented direct command works (see F-4). | | FAIL | Current renderer has an incompatible character anchor and collision-art contract. | F-1. | | FAIL | Current renderer’s obstacle art does not use the atlas’s solid bounds or animation contract. | F-2. | | FAIL | Current world selection conflicts with the background map’s transitions/final-world behavior. | F-3. | | FAIL | Offline/reproducible audio validation and music rebuild are not dependency-closed. | F-4. | | UNKNOWN | Actual 60 FPS/frame timing, canvas appearance, touch behavior, Ogg playback and audio quality on desktop/mobile. | The available perf test feeds synthetic timestamps ([practice.test.mjs:299-308](https://github.com/identity-md-launches/goal-3502-build-audit-deploy-pepe/blob/c37a47850e3f6605a39c8b6259248c9424a4e47a/web/tests/practice.test.mjs#L299-L308)); no `requestAnimationFrame` was measured. No physical device was tested. | | UNKNOWN | Legal/trademark clearance and asset ownership/rights beyond repository assertions. | F-5. | ## Severity-ranked findings and bounded release repairs ### F-1 — P1: collision cues, foot anchor, and skin integration diverge The engine collision box is fixed at 32x44 standing and 32x24 ducking ([engine:35-40](https://github.com/identity-md-launches/goal-3502-build-audit-deploy-pepe/blob/c37a47850e3f6605a39c8b6259248c9424a4e47a/game/engine.mjs#L35-L40)). The art metadata instead declares run 24x44, duck 25x25, rise 22x44, and fall 19x44 boxes ([characters.json:190-263](https://github.com/identity-md-launches/goal-3502-build-audit-deploy-pepe/blob/c37a47850e3f6605a39c8b6259248c9424a4e47a/media/characters/characters.json#L190-L263)). It also defines the ground anchor as `(32,60)`. The renderer ignores that: it sets `FRONT_FOOT_IN_CELL=44`, draws at `RUNNER_FRONT_X-44`, and vertically at `GROUND_Y-height-64` ([render.mjs:5-12,165-179](https://github.com/identity-md-launches/goal-3502-build-audit-deploy-pepe/blob/c37a47850e3f6605a39c8b6259248c9424a4e47a/web/js/render.mjs#L5-L12)). Relative to the declared art anchor, that is a 12 px left and 4 px upward placement error; grounded opaque pixels therefore sit about 5 px above the renderer ground line. The code also always samples source `y=0`, so practice renders Classic only, not any selected permanent/Royal row. **Repair before website release:** choose one canonical collision rectangle and anchor. Either revise the engine/reachability fixtures to use validated per-animation metadata, or change the atlas metadata/art to represent its fixed engine rectangles; do not claim visual collision equivalence until they agree. Load `characters.json`, select an entitlement-approved row, and place each cell from `(32,60)` (or a deliberately replaced, documented anchor). Add browser canvas regression tests that overlay the physics rectangle for all 176 frames, including Ninja/Cyber/Illuminati/Dragon/Royal, and require no unexplained cue offset. ### F-2 — P1: obstacle rendering stretches whole 64 px cells over unrelated solids Engine shapes are three ground dimensions (24x30, 22x46, 56x28) plus an overhead 64x120 at bottom 30 ([engine:42-49](https://github.com/identity-md-launches/goal-3502-build-audit-deploy-pepe/blob/c37a47850e3f6605a39c8b6259248c9424a4e47a/game/engine.mjs#L42-L49)). The asset offers only a 53x37 ground solid and a 58x19 overhead solid in 64x64 cells ([obstacles.json:14-76](https://github.com/identity-md-launches/goal-3502-build-audit-deploy-pepe/blob/c37a47850e3f6605a39c8b6259248c9424a4e47a/media/obstacles/obstacles.json#L14-L76), [79-145](https://github.com/identity-md-launches/goal-3502-build-audit-deploy-pepe/blob/c37a47850e3f6605a39c8b6259248c9424a4e47a/media/obstacles/obstacles.json#L79-L145)). Renderer code chooses a static column by hash and stretches the entire 64x64 source cell to engine width/height ([render.mjs:145-156](https://github.com/identity-md-launches/goal-3502-build-audit-deploy-pepe/blob/c37a47850e3f6605a39c8b6259248c9424a4e47a/web/js/render.mjs#L145-L156)); it neither reads `solidBounds` nor advances the 120 ms frames. For the 64x120 gate, its actual source solid occupies only y=9..27, yet collision occupies y=18..138 screen-space before scaling; this materially defeats the nearby “what you see is what collides” comment. **Repair:** introduce an explicit engine-kind → sprite descriptor map. Either ship art cells/anchors whose opaque collision silhouette exactly fills each engine rectangle, or draw the art at native bounds and show a deliberate, documented collision cue. Drive frame selection from the metadata. Add pixel/bounds tests for all four engine kinds and test jump/duck clearance with renderer geometry, not only headless physics. ### F-3 — P1: background schedule and parallax metadata are ignored The asset map says Lily Marsh starts at 0 m, Neon Rooftops at 400 m, and Ruined Observatory at 1,000 m; it supplies ratios .12/.38/.72 ([backgrounds.json:10-39](https://github.com/identity-md-launches/goal-3502-build-audit-deploy-pepe/blob/c37a47850e3f6605a39c8b6259248c9424a4e47a/media/backgrounds/backgrounds.json#L10-L39)). The renderer instead selects `floor(meters/500) % rows` and hard-codes .15/.4/.8 ([render.mjs:46-49,119-128](https://github.com/identity-md-launches/goal-3502-build-audit-deploy-pepe/blob/c37a47850e3f6605a39c8b6259248c9424a4e47a/web/js/render.mjs#L46-L49)). Result: the 400 m transition occurs at 500 m; 1,500 m returns to Lily Marsh instead of continuing the final world. Its own test asserts this incorrect 500 m/wrap behavior. **Repair:** load the background map and choose the last world with `startDistanceMeters <= distance`; retain the final world after 1,000 m. Use declared layers, ratios, horizon and cell bounds. Add exact regression checks at 0, 399, 400, 999, 1,000 and 1,500 m. ### F-4 — P1: audio test/rebuild closure fails offline; runtime cues are incomplete The root declares ESM (`"type": "module"`) ([package.json:1-14](https://github.com/identity-md-launches/goal-3502-build-audit-deploy-pepe/blob/c37a47850e3f6605a39c8b6259248c9424a4e47a/package.json#L1-L14)), while `media/sfx/check.js` and `synthesize.js` use `require`. Consequently the documented `node media/sfx/check.js` failed here with `ReferenceError: require is not defined in ES module scope`; the documented synthesis command has the same module-format defect. The package has no dependencies/lockfile, while music encoding dynamically imports `wasm-media-encoders` and measurement imports `@wasm-audio-decoders/ogg-vorbis` ([run-score.mjs:1-3,67-75](https://github.com/identity-md-launches/goal-3502-build-audit-deploy-pepe/blob/c37a47850e3f6605a39c8b6259248c9424a4e47a/media/music/run-score.mjs#L1-L3)); neither package is present. Thus `run.ogg` was not independently decoded/listened to or regenerated. At runtime, only jump, duck, milestone and death map to provided cues. `start`, `best`, `pause`, and `resume` aliases find no matching entries, while `menu`, `landing`, and `revive` are unused ([audio.mjs:11-29](https://github.com/identity-md-launches/goal-3502-build-audit-deploy-pepe/blob/c37a47850e3f6605a39c8b6259248c9424a4e47a/web/js/audio.mjs#L11-L29); [cues.json](https://github.com/identity-md-launches/goal-3502-build-audit-deploy-pepe/blob/c37a47850e3f6605a39c8b6259248c9424a4e47a/media/sfx/cues.json)). Browser Ogg support is unverified and has no fallback. **Repair:** make SFX scripts `.cjs` or ESM, add a root script that runs all asset checks, and commit a lockfile plus the exact music encoder/decoder dependencies (or a dependency-free verifier). Add a byte-level Ogg format/duration check that works offline. Reconcile event names with `cues.json`, wire landing/revive where specified, and feature-detect/fallback-test music formats on actual target browsers. ### F-5 — P2: provenance statements are useful but not clearance evidence The character metadata uses `LicenseRef-PEPE-RUN-Project-Asset` and explicitly says the owner may replace it with a public licence; it also reserves “Pepe” name clearance for legal review ([characters.json:1830-1847](https://github.com/identity-md-launches/goal-3502-build-audit-deploy-pepe/blob/c37a47850e3f6605a39c8b6259248c9424a4e47a/media/characters/characters.json#L1830-L1847)). Logo/obstacle/background/SFX/music documents make repository-origin assertions, but this audit found no independent rights grant, chain of title, trademark opinion, creator agreement, or release clearance. Procedural sources and hashes support reproducibility claims only. **Repair:** before publishing or paid play, attach an owner-approved asset manifest: hash, author/contributor agreement or assignment, licence, source location, third-party review, and a legal decision on name/mascot/music. Preserve the current generator provenance as supporting evidence, not as clearance. ## Reproduction record From a fresh checkout at the stated commit, with a Node executable on `PATH`: ```sh npm test node --test web/tests/practice.test.mjs node media/characters/check.mjs python3 media/backgrounds/check_atlas.py node media/sfx/check.js # expected current failure: ESM/CJS mismatch (cd media/sfx && node --input-type=commonjs < check.js) # validator result recorded above ``` The built-in package test script runs only `game/test/**/*.test.mjs`; the web test command is not exposed by `package.json`. Rendering tests use fake/synthetic APIs except the final merged engine/session check, so neither their pass nor the reported 60 Hz simulation establishes a rendered 60 FPS result. ## Explicit limits / non-findings No assertion is made about smart contracts, wallet behavior, payments, jackpots, score authority, server anti-cheat, deployment, hosting, CI, source verification, accessibility in a browser, or live rankings. The practice page itself says it makes no wallet/payment request and paid play is unavailable ([index.html:64-68](https://github.com/identity-md-launches/goal-3502-build-audit-deploy-pepe/blob/c37a47850e3f6605a39c8b6259248c9424a4e47a/web/index.html#L64-L68)). No Ogg audio was listened to; no audio quality, real browser decode, mobile latency, or physical-device controls conclusion can be drawn.