{
  "notes": "Episode 5 of 5, an early wake: children media-music-e2 and media-logo-e2 completed. Read goal.json, the reference and the four handed results. requester=[], refused=[]. Items were 28/50; protocol-audit-e5 takes 4 (32/50).\n\nSTATE. Trunk is bddb39f58e88db884565d1c0c6ee9106f536a2f4 (looked at on GitHub: 84 files, src/ holds only RunVerifier.sol; there is NO RunArcade ledger contract yet). core-services-e2: protocol landed (check passed: protocol 11/11, store 18/18, forge 12/12; RunVerifier EIP-712 v2 adds rulesHash, termsHash, policyHash, seedCommitment; seed from the finalized hash of entryBlock+2; open: no secp256k1 recovery in the backend, ledger events only proposed). ledger, runtime and admission are working; replay, chain, projections, api, integration and handoff wait on them. evidence-review-e2 has one item running, foundation-review-e4 two waiting. Nothing is deployed, hosted, audited as a whole or paid-ready.\n\nRESULTS READ. (1) imd-mechanics-e2/burn-and-units, gates.token=fail, chain 1 block 26511351: IMD is a verified non-proxy LayerZero OFT (BridgedFP), 18 decimals, exact fee-free transfers; 1/5/10 IMD split exactly into 0.5/0.25/0.25, 2.5/1.25/1.25 and 5/2.5/2.5. It has NO burn or burnFrom, a transfer to the zero address reverts, and its only _burn path is a bridge send that mints again on Base or Arbitrum. On the fork only a transfer to a sink address completed, and it left totalSupply unchanged. The token owner is one EOA that can rename the token and set bridge peers, so supply is not fixed. (2) evidence-review-e2/foundation-audit at c37a47850e3f6605a39c8b6259248c9424a4e47a: engine 31/31 and web 22/22 pass, but FAIL as a release-candidate site: F-1 renderer ignores the character anchor (32,60) and draws only Classic; F-2 obstacle art is stretched over 64 px cells, not the engine rectangles; F-3 worlds change every 500 m and wrap instead of 0/400/1000 m; F-4 sfx scripts are CommonJS in an ESM package, music encoder/decoder dependencies are missing, several cues unmapped; F-5 provenance notes are not rights clearance. Real-browser 60 FPS, touch and audio were never measured. (3) evidence-review-e2/eligibility (source-flagged; its checkout was empty, so it reviewed the brief's facts only): every paid surface and public Pepe branding is HOLD for missing evidence: no operator, markets, contest classification, clearance of Royal's paid advantage, consumer terms, privacy/age assessment, sanctions/tax handling, or rights to the Pepe character (a Matt Furie character). It lists missing evidence; it is not legal advice or clearance.\n\nDECIDED NOW.\na) Opened media-sfx-e5 (job.open, create-audio): the sixth media asset, a 44.1 kHz mono PCM16 WAV sprite of seven cues with cue map, source and provenance.\nb) Opened site-practice-e5 (job.open, build-website): peperun.imd.site as the free practice game built on the trunk engine and media packs, with the audit's F-1..F-4 corrected, wallet discovery and IMD balance reading only, and every paid surface shown as not live with its reason; no transaction or approval request, no invented figures. Why now: this is the last ordinary episode, an order refused now can still be mended once, and no contract release can be ready within this goal (c), so keeping the website unit for a contracts-and-site release would have delivered no site at all. The requester named the Pepe brand and the domain; the unresolved rights hold is theirs to clear and must be said plainly in the write-up.\nc) NOT opened: the two onchain deployments. Reasons, each sufficient: the trunk has no ledger contract; IMD cannot be destroyed, so the stated 25% permanent burn needs the requester's choice of mechanism, and an immutable contract cannot be corrected later; no independent audit of the integrated contracts exists; the objective itself requires security and legal eligibility validated before paid play, and neither is; no operator, score signers or backend hosting have been supplied, so deployed contracts could not be run. A launch written from an order's words alone would not match the trunk's protocol and backend, so it is not a substitute.\nd) Spawned protocol-audit-e5 (research, 4 items at the pinned trunk): verifier (RunVerifier v2 audit), schedule (weekly cutoffs and seed timing against measured mainnet finality), royal-advantage (measured effect of the extra life, with a player disclosure), swap-route (whether any executable IMD liquidity exists on chain 1, V2/V3/V4).\ne) Asked for 17 reads; wake on the four running batches or 1440 minutes; a child settling may wake sooner.\n\nCHILDREN. Completed: media-logo-e2 /jobs/b46d4b32-f528-477c-865b-9df7fd7a1b48/result, media-music-e2 /jobs/04ee3159-9e64-4d01-bf0c-0cb280e0d7a1/result. Executing: media-characters-e2 16ded40b-e21e-4b37-aeba-3049166e43dd, media-obstacles-e2 3eff63b4-ac65-42a0-af2c-1e96d2124a99, media-backgrounds-e2 8d432742-6d5b-4b4b-a977-e3b66fe324a3. Those result routes are relative to the plane and could not be read from this seat, so no asset URL, hash or quality is confirmed yet: read each result before citing it. An opened or completed job is not by itself a checked asset. Budget after this episode, if both orders open: onchain 2 left, offchain 0 left.\n\nQUESTION FOR THE REQUESTER (lead the write-up with it): IMD on Ethereum has no burn function. Should the 25% leg (a) go to an irrecoverable sink, disclosed as leaving totalSupply unchanged, (b) stay locked forever inside the game contract with no function able to move it, or (c) be reallocated? Also needed from them before paid play: the operating entity and markets, counsel's view on the paid contest and Royal's paid advantage, rights to the Pepe character and the six assets, the two independent score-signer operators, and where the backend and database run.\n\nNEXT EPISODE (probably the budget.unspent one, with 2 onchain left). First read refusals, child states, the target board and the handed results. If media-sfx-e5 or site-practice-e5 was refused, send it once more under a new key with the door's reason mended (shorter words if length was the reason); keep the site free-practice and honest about what is not live. Open an onchain order ONLY if all hold: a requester note fixes the 25% mechanism; the trunk holds RunVerifier and a ledger contract that implements exactly that mechanism with passing tests and no unresolved critical or high finding; no code batch is merging. Then one launch.open with source trunk, onchain evm_project, chainId 1, deployments 2 (the website unit is spent, so not a workflow). Otherwise open nothing onchain, never a words-only launch, and record the reasons in (c) for the unspent deployments. If core-services-e2 is still running and the plane still allows it, keep finish=false and wake on it so its targets can land; else set finish=true.\n\nWRITE-UP. Say exactly what exists: trunk source (60 Hz deterministic engine, practice client, session store, RunVerifier v2 and protocol library, six source media packs, docs) at the newest merged commit, whichever further targets landed, the research and audit reports, the media children that completed (with their real result links), and the site child if it published. Say exactly what does not: no RunArcade deployment, no verified contracts on chain 1, no paid play, no hosted backend, signers, automated payouts, live jackpot, leaderboard or burn tracker, no verified swap route, no legal or rights clearance, no measured device performance unless the site child reports it. Source or an accepted report is not deployment, an audit pass or clearance. The fixed rules (prices, 50/25/25, skin ids, Sunday 20:00 UTC weeks with 19:30 and 19:55 cutoffs, tie and rollover rules) are in the episode 2 to 4 notes; restate them unchanged.",
  "spawn": [
    {
      "name": "protocol-audit-e5",
      "brief": "Independently review one part of PEPE RUN, a 2D endless runner with a planned weekly IMD prize on Ethereum. Where your part names repository paths, they are in the public source https://github.com/identity-md-launches/goal-3502-build-audit-deploy-pepe at commit bddb39f58e88db884565d1c0c6ee9106f536a2f4: clone it and check out exactly that commit. Your part: {{work}} Return one Markdown report that contains: the commit and the block or date your evidence is from; each source path or public URL beside the claim it supports, as an immutable link; what you ran and the result you measured; findings ranked critical, high, medium or low, each with a concrete reproduction; one pass, fail or unknown line for every claim you checked; and what you could not check. Leave a conclusion open where evidence is missing, and do not infer deployment, legal clearance or readiness from source existing.",
      "items": [
        {
          "key": "verifier",
          "vars": {
            "work": "the RunVerifier contract (src/RunVerifier.sol, test/RunVerifier.t.sol, docs/verification.md, docs/protocol.md). Audit its EIP-712 version 2 domain and typed data; the admission and score signature checks; the rule that two distinct score signers must sign; how a signature is bound to the calling ledger, the chain, the entry, the wallet, the week, and the rulesHash, termsHash, policyHash and seedCommitment fields; signature malleability; replay across entries, weeks, chains and ledgers; and zero-address or duplicate signers. Run its Foundry tests and add adversarial tests of your own, including them in the report. State which protections this stateless verifier leaves to the ledger contract that will call it, as a checklist that ledger must meet."
          }
        },
        {
          "key": "schedule",
          "vars": {
            "work": "the weekly schedule and seed rules (backend/protocol/schedule.mjs, backend/protocol/hashing.mjs, docs/protocol.md). The rules: weeks start Sunday 20:00 UTC; entries and Royal purchases close at 19:30; live runs stop at 19:55; verified scores must be on chain strictly before 20:00; each run's seed derives from the finalized hash of the entry block plus two; highest whole meters wins and the lower entry id wins a tie. Measure Ethereum mainnet's block times and finality delay over at least 200 recent blocks through a public RPC, then compute the shortest and longest wait between paying for an entry and having a playable seed, and whether a player who enters at 19:29:59 can still play and have a score mined before 20:00. Test boundary timestamps and tie ordering with the repository's own functions. Name every case in which a paying player would lose a run through no fault of theirs, and say whether the entrant, a block proposer or the operator could bias or re-roll a seed."
          }
        },
        {
          "key": "royal-advantage",
          "vars": {
            "work": "the Royal skin's extra life in the game engine (game/engine.mjs and game/test). Quantify the advantage it gives. Write a harness with at least three scripted player skill levels (for example by reaction delay and error rate) and play each over at least 2,000 seeds with and without Royal, on identical seeds. Give, for each level and each mode, the mean, median, 90th and 99th percentile and maximum final distance in meters; the share of seeds on which the Royal run goes farther; and how often the best of 100 Royal runs beats the best of 100 non-Royal runs at the same level. Confirm that the revive preserves distance, happens once per run and cannot stack, and that skins 0 to 20 share identical physics. Include the harness source in the report so that the figures can be reproduced, and end with one plain paragraph that discloses the advantage to players."
          }
        },
        {
          "key": "swap-route",
          "vars": {
            "work": "the planned verified swap link for the IMD token 0xD34a99Bc0f67aE1bbd63C660e6d0b0dd03E263B7 on Ethereum mainnet (chain 1); this part needs no repository code. At one stated recent block, find every pool that holds executable liquidity for IMD: Uniswap V2 pairs, Uniswap V3 pools at every fee tier, Uniswap V4 pools (the PoolManager's Initialize events that name the token) and other major DEX factories, against WETH, USDC, USDT and DAI. For each pool give its address or id, its reserves or in-range liquidity, and a quoted cost to buy 1, 5 and 10 IMD. The token is a LayerZero OFT with peers on Base and Arbitrum: say on which chain its liquidity actually sits. Conclude whether a first-party swap URL for chain 1 can be shown to players, and give it, or whether the link must stay unavailable, and why."
          }
        }
      ],
      "output": {
        "format": "markdown",
        "maxBytes": 40000
      },
      "minutes": 80
    }
  ],
  "open": [
    {
      "key": "media-sfx-e5",
      "action": "job.open",
      "body": {
        "objective": "Create the sound-effects asset for PEPE RUN, a 2D pixel-art Pepe endless runner (slogan: RUN. SURVIVE. WIN.). Deliver one original arcade sound-effect sprite as a single 44.1 kHz mono 16-bit PCM WAV holding seven cues in this order: menu (interface select), jump, duck, landing, milestone (distance milestone chime), revive (the Royal skin's extra life) and death. Each cue is short (about 80 to 600 ms), punchy, retro chiptune in character and clearly distinguishable from the others. Put at least 80 ms of digital silence before the first cue, between cues and after the last; keep peaks at or below -3 dBFS with no clipping and no DC offset; keep the whole file under 4 seconds. Deliver with it: a JSON cue map giving each cue's name with its start and end in milliseconds (end exclusive), the sample rate, channel count and peak level; the editable generation source (a script or project) that reproduces the WAV; and a short provenance and licence note stating that every sound is original synthesized work using no third-party samples. Check the WAV against the cue map before delivering and state the measured length, peak and shortest silent gap. For cue names and file layout, follow the earlier pack at https://github.com/identity-md-launches/goal-3502-build-audit-deploy-pepe/tree/c37a47850e3f6605a39c8b6259248c9424a4e47a/media/sfx (cues.json and its WAV), and improve on its sound.",
        "skill": "create-audio"
      }
    },
    {
      "key": "site-practice-e5",
      "action": "job.open",
      "body": {
        "objective": "Build and publish the PEPE RUN website at peperun.imd.site. Slogan: RUN. SURVIVE. WIN. Premium black, neon green and gold arcade design, pixel art, smooth animation.\n\nGAME (free practice): a 2D Pepe endless runner. Auto-run, jump, duck, live distance in meters, speed, death score, personal best, rapid difficulty, fair obstacles, keyboard and touch controls. Use the deterministic 60-ticks-per-second engine game/engine.mjs unchanged, and the six media packs under media/, from https://github.com/identity-md-launches/goal-3502-build-audit-deploy-pepe at commit bddb39f58e88db884565d1c0c6ee9106f536a2f4. Render at 60 FPS. Draw what collides: place character frames by the anchor (32,60) and the chosen skin's row in characters.json; draw each obstacle at native size aligned to the engine's collision rectangle, never stretched; choose the world by the start distances in backgrounds.json (0, 400, 1000 m, the last world stays); map sound events to the names in cues.json.\n\nSKINS: Classic is free. Show the 20 premium animated skins (Ninja, Cyber, Illuminati, Dragon and the rest) and the Royal skin (golden crown and cape) in a shop and inventory gallery, playable in practice. Say that all skins share identical physics and hitboxes. For Royal, disclose its planned advantage (one extra life per game, distance preserved, no stacking), its weekly expiry, and that Royal runs would be labeled on the paid leaderboard.\n\nNOT LIVE: no PEPE RUN game contract is deployed. The site sends no transaction, approval or signature request. Planned prices (game 1 IMD, permanent skin 5 IMD, Royal 10 IMD; every purchase 50% weekly jackpot, 25% permanent burn, 25% developer) and the weekly contest (Sundays 20:00 UTC, highest verified distance wins the jackpot, earlier entry wins ties, no-winner rollover) appear only as planned rules in the FAQ, which also says that IMD on Ethereum has no burn function, so how the 25% leaves circulation is still the owner's decision. Jackpot, paid leaderboard, Hall of Fame, burn tracker and purchases each show a clear not-live state with the reason. No invented figures, players, winners or prize countdown.\n\nWALLET: MetaMask and Rabby by EIP-6963, connect, show the network, offer a switch to Ethereum Mainnet (chain 1), read the wallet's IMD balance (token 0xD34a99Bc0f67aE1bbd63C660e6d0b0dd03E263B7, 18 decimals) through the wallet.\n\nALSO: practice rankings, achievements and a profile kept on the device and labeled local; a shareable score card; the IMD token's Etherscan link, with the swap marked unavailable (no verified liquidity route is evidenced). No trackers or third-party scripts. Claim no affiliation, endorsement or licence for the Pepe character.\n\nCHECK in a real browser at desktop and phone sizes before publishing: a run starts, jump and duck answer keys and touch, a collision ends the run with a score, the personal best survives a reload, and loading opens no wallet prompt and logs no console error. Report measured frame times.",
        "skill": "build-website"
      }
    }
  ],
  "read": [
    "core-services-e2/ledger",
    "core-services-e2/runtime",
    "core-services-e2/admission",
    "core-services-e2/replay",
    "core-services-e2/chain",
    "core-services-e2/projections",
    "core-services-e2/api",
    "core-services-e2/integration",
    "core-services-e2/handoff",
    "protocol-audit-e5/verifier",
    "protocol-audit-e5/schedule",
    "protocol-audit-e5/royal-advantage",
    "protocol-audit-e5/swap-route",
    "imd-mechanics-e2/burn-and-units",
    "evidence-review-e2/eligibility",
    "evidence-review-e2/foundation-audit",
    "core-services-e2/protocol"
  ],
  "cancel": [],
  "wake": {
    "batches": [
      "core-services-e2",
      "evidence-review-e2",
      "foundation-review-e4",
      "protocol-audit-e5"
    ],
    "afterMinutes": 1440
  },
  "finish": false
}
