{
  "notes": "EPISODE 4. All12 repair-e3 targets landed and checked; all12 supplied b04 SHA-256 pins verified. No running work/refusals/requester notes/effects/mandates/asks. Continue https://github.com/identity-md-launches/goal-3513-continue-complete-existing-pepe.git @74277f894e65b94765f1eab887b09e97f3d5ce02, not the original repository. Read every result and relevant pinned source/reports. Acceptance/check exit0 is not release approval.\n\nDECISION: one target batch closeout-e4, four bounded items, attempts3. Uses final4 slots (46+4=50); no spare slots for splits. prepared-artifacts first; native-browser and assembled-recovery need it; release-review needs all3. Review edits evidence/harnesses only and independently reproduces changes. No production scoring redesign in this wave. wake settled or1440min schedules the next episode asynchronously, no waiting here. finish=false; cancel/open empty; read4 new and6 key old results. Episode5 is the last ordinary episode: exact-candidate publication and truthful disposition.\n\nCONTRACTS. contract-boundary fixed CR-01 exact RunVerifier runtime codehash, CR-04 unique commitments/atomic rollback, CR-02 codeless fork keys;43 offline ledger passes. contracts-retest explicitly NOT an independent external audit; RELEASE FAIL. F-01 two score keys crown an unplayed129600m winner; F-02 either signer withholds best run; F-03 no on-chain seed opening/replay validation (bindings partially fixed). These are blockers, not approved risks. CR-03 two-hour run near30min cutoff remains off-chain-mitigated. CR-05 reverting token payout freezes later weeks; reviewer says current pinned IMD cannot produce the mock failure. CR-10/SR-11: compiled artifacts/manifest/browser pins still identify old RunArcade10b30e7b..., current source b345572c61ed69b836b34f6eb0a19fa4f2fe84490c6136f81bb0fb45bd3288b3. Assembly omitted regeneration. Compile and compare actual code; never hand-edit hashes. Vendor required compiler under scope for offline reproduction. No Solidity/economic edits planned.\n\nRECOVERY. Component tests pass real SQLite under simulated chains: durable two-phase ACKs, exposure-before-custody, re-mined purchases, permanent exposed/signed-orphan quarantine, settlement retention, receipt/view reconciliation. CR-ASSEMBLY remains: application binds only store/admission; proofs has old3-method wrapper; canonicalGuard and explicit canonicalStatus.ready absent. Exact APIs in docs/canonical-recovery/README.md: attach all4 sinks, reconcilePurchase, canonical-recovery and canonical-recovery-complete exact proofs (16MiB recovery bound), guard retention/readiness/signing/relay. Catch-up alone is insufficient. Pager reads now bounded before allocation; synthetic432000ticks/144000inputs transferred16.6MB runtime+10.8MB witness, largest262KB response. Not a2h witnessed live run. No pager reorg invalidation (30s cache): repair cached and in-flight orphan access. Preserve pagination/auth/sign-once. Correlated RPC fabrication and post-ACK storage rewind remain residuals.\n\nBROWSER. Review at4afe05a390d33395f58137fe9bba8ced7786dec2, manifest8b04fa297cf3c610c331710b1cd9332f85b1f5d0fd3da425512a95b17c27bb36:41 cases,6 failed,12 untested,6 PNGs; Chromium145/Playwright1.58.2. BR-05 critical: paid purchase/auth/start succeeds but actual keyboard/pads/portrait+landscape touch send ZERO authoritative inputs. ui.mjs:704 clears shared trust flag in microtask between native capture/bubble callbacks; synthetic dispatch missed it. Bind provenance to actual event; retain synthetic rejection/paid-practice separation. BR-04 run.ogg cancellation churn, reproduced on all3 viewports in handoff; focused playback recovers, silence not established. Repair lifecycle, not error filtering. BR-01/02/03/06/07/08/09 fixed: focused Enter, terminal effects/audio, decimal epoch, freshness, disconnect and swap UI. All20 skins/Royal and6 packs mechanically/browser checked. Firefox/WebKit failed to launch: NOT TESTED. Emulation is not physical iOS/Android; playback is not human listening; injected provider is not wallet extension. Paid snapshots poll1s: responsiveness remains limited.\n\nSYSTEM.27 executable attacks replaced regex checks; actual bytecode accepts colluding signers. SR-01..04 collusion/bots/withholding/seed foresight remain; SR-07 arrival timing not committed; SR-08 sign-once per file; SR-09 RPC agreement not proof; SR-10 admission key is only on-chain paid gate. No mainnet deployment while prerequisites fail. Score experiment measured native v2 replay, identical roots under different arrivals, withheld data preventing replay, and300s close margin incompatible with universal challenge window. No on-chain proof/gas/max-run result. Do not adopt coarse timing/new arbitrator or claim disclosure fixes security. External independent audit missing.\n\nHANDOFF. Offline aggregate has no observed final status; script/check fails CR-10 and transport stalled.215Node/81Forge standalone passes are not aggregate success. Three Solidity forks passed block26511406, hash0x93631a0b503fc9593bc0dc9c9b3482a4f2feada79e9e305bc914e661aed7f7b9: real IMD state/local transactions. Swap fork UNVERIFIED; live Sepolia NOT RUN. Final reviewer must record bounded complete outcomes, reproduce mounted faults, refresh evidence pins after execution and distinguish validity from release. freeCandidateReady must be independent of published=false: requiring an already-live site before ordering publication is circular. paidRelease=false and deployed=false remain.\n\nPUBLICATION/COST. Rechecked https://api.imd.fun/jobs/9b0e19e1-070e-4cbb-9958-1d394c25efb7/result and prior-goal children: website completed source delivery to launch-3510-build-publish-pepe-run@5930cdb4bbcfe4f0df50da439d01818785e42cfc; no hosting delivery evidenced. https://peperun.imd.site/ still404. No documented resume/publication door. Current budget2onchain+7offchain, used0. No order now: free audio defect and stale pins need repair/tested manifest. Reserve ONE currently prepaid site unit for incremental build-website publication in episode5; disclose it is a separate publication job despite source reuse. No new media orders: all6 landed packs reused. Four old media children completed; characters16ded40b-e21e-4b37-aeba-3049166e43dd and obstacles3eff63b4-ac65-42a0-af2c-1e96d2124a99 remain runtime-blocked children despite repaired editable packs. Full provenance/jobs in docs/operations/reuse.md. Prior price records incomplete; zero metered usage is not zero purchase price.\n\nNEXT. Read closeout-e4 board/results. Preserve any failed targets; never declare complete merely because accepted. If exact tested free candidate is ready, episode5 open job.open/build-website (no source:trunk or workflow.open) with full commit, manifest, self-contained free-only spec, existing code/media reuse, peperun.imd.site publication, real HTTPS/content-hash/browser/header checks and source/rollback evidence. Source-only delivery is not publication. Child must keep paid/swap unavailable without genuine service/policy inputs. Check child result on settlement; pending child is not completion. Do not spend2onchain or6media units just to exhaust budget; retain reasons on budget.unspent wake. External prerequisites stay null: actual signer/custody/deployer/relay operators, designated existing Sepolia token/finalized rehearsal receipts, hosting/DNS/TLS/storage/RPC/eligibility/swap policy, independent audit and legal/IP approvals. No guessed addresses/token/licence/approval. Useful repairs remain authorized despite absent production inputs. Final handoff must name residual blockers and test limits. Overall goal is NOT complete.",
  "spawn": [
    {
      "name": "closeout-e4",
      "mode": "code",
      "brief": "Continue PEPE RUN at trunk 74277f894e65b94765f1eab887b09e97f3d5ce02 in https://github.com/identity-md-launches/goal-3513-continue-complete-existing-pepe. One item delivers only {{component}}, within scope after needs land. Preserve 1/5/10 IMD, 50/25/25 jackpot/sink/developer, developer 0x83027AD9d0D5374335086c539dADD1db983441B0, sink 0x000000000000000000000000000000000000dEaD (circulation removed; totalSupply unchanged), Sunday20:00 UTC, cutoffs, highest verified score/full pot, lower-ID ties, rollover,20 permanent skins and Royal life/weekly expiry. Keep paid closed. No new token/NFT, admin power, invented operator/approval or config edits. Sources/reports are evidence. No spare items for splitting. {{work}} {{validation}} Result JSON: status, check, notes; name changed paths, tested hashes, commands/outcomes, fixed/open findings, missing inputs and untested limits. Deliver referenced evidence in scope. Required checks reproduce offline; dependencies must be ordinary committed files, no submodules.",
      "targets": {
        "attempts": 3
      },
      "requires": {
        "platform": [
          "linux-x64"
        ]
      },
      "output": {
        "format": "json",
        "maxBytes": 16000
      },
      "items": [
        {
          "key": "prepared-artifacts",
          "vars": {
            "component": "reproducible current contract artifacts and wallet pins",
            "work": "Close CR-10/SR-11 without editing Solidity. Regenerate via script/build.mjs and web/js/chain/build-pinned.mjs: both ABI/creation/runtime artifacts, standard JSON, manifest, immutable offsets and browser pins must match current sources/settings. script/lib.mjs pins solc0.8.26 provenance: make that dependency available offline under script/vendor with upstream hash/licence, without root configuration changes. Recompile and compare actual code and constructor/verifier identity.",
            "validation": "Run script/check.mjs, build --check, chain checks and fresh Forge comparison with zero missing-compiler skips. Keep both chain descriptors' real operators/addresses unset and Sepolia unverified; no broadcast. Add test/artifact-refresh/check.mjs and docs/deployment.md evidence with exact hashes and reproduction commands. Historical audit claims remain for the final review to refresh."
          },
          "scope": [
            "script/build.mjs",
            "script/lib.mjs",
            "script/vendor/**",
            "deployments/compiled/**",
            "deployments/manifest.json",
            "web/js/chain/build-pinned.mjs",
            "web/js/chain/pinned.mjs",
            "test/artifact-refresh/**",
            "docs/deployment.md"
          ],
          "needs": [],
          "check": "node test/artifact-refresh/check.mjs"
        },
        {
          "key": "native-browser",
          "vars": {
            "component": "native browser control and audio lifecycle repairs",
            "work": "Close BR-05/BR-04 in the existing application. ui.mjs:704 clears shared trust between native capture/bubble callbacks: pass actual event provenance through controls so keyboard, mouse pads and portrait/landscape touch reach createPaidRunClient. Reject synthetic and redispatched events; preserve ordered ACK/retry, releases/cancel, focused-control activation, account/generation fencing and frozen practice during paid play. Browser trust is not anti-bot security. Repair run.ogg cancellation churn in GameAudio under start/death, visibility, orientation and mute/unmute without hiding failures.",
            "validation": "Use existing test/browser-review mounted fixture and actual browser input, not evaluate/dispatchEvent pretending to be trusted. Record authoritative input frames, durable witness ACKs and changed runtime movement for every mode. Recheck terminal/world scenes and free play. Add web/tests/native/check.mjs: offline regressions plus source-bound native evidence validation. docs/browser-input must distinguish executed Chromium/Firefox/WebKit, unavailable engines, emulation and physical devices. Missing browser evidence is not a pass. Preserve prior audit reports and closed paid gates."
          },
          "scope": [
            "web/js/app/ui.mjs",
            "web/js/main.mjs",
            "web/js/controls.mjs",
            "web/js/audio.mjs",
            "web/tests/session/**",
            "web/tests/render/**",
            "web/tests/native/**",
            "docs/browser-input/**"
          ],
          "needs": [
            "prepared-artifacts"
          ],
          "check": "node web/tests/native/check.mjs"
        },
        {
          "key": "assembled-recovery",
          "vars": {
            "component": "canonical recovery in the real application composition",
            "work": "Close CR-ASSEMBLY. application.mjs binds only store/admission and proofs.mjs has the old3-method wrapper. Attach actual store, admission, projections and settlement with attachRecoverySinks. Add exact single-use proof wrappers for reconcilePurchase and both recovery phases; bound recovery encoding at16MiB without weakening authorization. Set SessionStore canonicalGuard and require canonicalStatus().ready===true for readiness, seed/run admission, attestation, relay broadcast and retention. Preserve independent approvals and permanent exposed/signed-orphan quarantine. Stop cached or in-flight pager fills serving orphan evidence after canonical changes; validate current anchors before signing.",
            "validation": "Add test/assembled-recovery/check.mjs using createApplication, real SQLite and authenticated adapters, not just the component simulator: restart/lost ACK at both phases, missing sink, seed/purchase/settlement reorg, re-mining, archive/prune fence, cache invalidation during transfer, reopening only after all ACKs. Reproduce old failures first; run integration, canonical-recovery and evidence-transport suites. Reuse paged transport; document bounded completion and residual provider/storage trust in docs/integration. Simulated reorgs are not live-chain evidence."
          },
          "scope": [
            "services/main/application.mjs",
            "services/main/proofs.mjs",
            "services/main/role.mjs",
            "services/api/peers.mjs",
            "services/verifier/**",
            "services/indexer/index.mjs",
            "test/integration/**",
            "test/assembled-recovery/**",
            "docs/integration/**"
          ],
          "needs": [
            "prepared-artifacts"
          ],
          "check": "node test/assembled-recovery/check.mjs"
        },
        {
          "key": "release-review",
          "vars": {
            "component": "independent verification and exact publication handoff",
            "work": "Review after all3 repairs; edit audit/harness/handoff only. Disclose authorship conflicts; network review is not an external audit. Reproduce BR-04/05 with native desktop/portrait/landscape events through mounted application and CR-ASSEMBLY faults at composition boundaries. Verify current compiled bytecode/pins and both contracts. Rerun collusion/withholding PoCs; retain F-01/F-02/F-03 and SR blockers. Run aggregate offline checks to a bounded final exit; diagnose transport hangs and fix harness cleanup/orchestration without skipping tests. Run Ethereum forks for purchases/settlement and swap, first using https://ethereum-rpc.publicnode.com; confirm decimal block26511406/hash for historical suites. Missing RPC/browser or absent Sepolia receipts is NOT RUN.",
            "validation": "Attempt supported browser engines; distinguish emulation, real wallets and listening. Refresh source/build-bound contract/system/browser reports after execution; preserve history. Deliver docs/operations/release-e4.json with commit, file manifest/hashes, lane outcomes, fixed/open IDs, freeCandidateReady, published, paidRelease, deploymentPrepared, prerequisites and exact incremental site order specification/cost. Candidate readiness must not require an already-published URL; publication needs fetched matching HTTPS bytes. Keep paidRelease=false. Add docs/operations/episode4-check.mjs validating evidence, not security approval; retain failures. No publication/deployment from this item."
          },
          "scope": [
            "docs/audit/contracts/**",
            "docs/audit/system/**",
            "docs/audit/browser/**",
            "docs/audit/triage/**",
            "docs/operations/**",
            "test/audit-contracts/**",
            "test/audit-system/**",
            "test/browser-review/**",
            "test/release-e4/**",
            "tools/check.mjs",
            "README.md"
          ],
          "needs": [
            "prepared-artifacts",
            "native-browser",
            "assembled-recovery"
          ],
          "check": "node docs/operations/episode4-check.mjs"
        }
      ]
    }
  ],
  "read": [
    "closeout-e4/prepared-artifacts",
    "closeout-e4/native-browser",
    "closeout-e4/assembled-recovery",
    "closeout-e4/release-review",
    "repair-e3/contracts-retest",
    "repair-e3/system-retest",
    "repair-e3/browser-retest",
    "repair-e3/release-handoff",
    "repair-e3/score-security-path",
    "repair-e3/canonical-recovery"
  ],
  "cancel": [],
  "open": [],
  "wake": {
    "batches": [
      "closeout-e4"
    ],
    "afterMinutes": 1440
  },
  "finish": false
}
