{
  "notes": "Episode 2 of 5. All five e1-baseline reports landed. The plane now records an owner, two unused on-chain deployments and one unused website. No child is open, trunk is null, and there is no mandate, requester note, refusal or pending effect. The allocation record supersedes episode 1's uncertainty about this goal's budget. It does not establish DNS control, third-party service access, an ETH allowance or an additional transferable credit. The older site job 9b0e19e1-070e-4cbb-9958-1d394c25efb7 shows site null and USD 12.261505 across five historical receipts. Do not add its cost or the historical two units to the current balance.\n\nFree release. Open one prepaid site child now for https://github.com/identity-md-launches/launch-3521-publish-free-play-pepe-run at f74a1295e5d9c5b0948253fded6eedbc7d13aa05, using the committed dist/ at the root of https://peperun.imd.site/. This episode independently fetched the archive and matched all 71 files to SHA256SUMS, whose SHA-256 is f30483fd0b9bfea8c13695f71b351200766b8cb1be7f1987438dfbbf2b6e531a. An ordinary HTTPS root GET still returned 404. e1-baseline/website saw local keyboard/touch, accelerating distance, audio and local-only practice results. Browser/device coverage and public hosting are incomplete. Both website and operations reports had sources flagged by the plane. The archive, manifest, root response and prior job cost were checked separately here. Recheck other flagged evidence before relying on it. Keep the reviewed practice build independent of all paid changes. Future integration updates go through the same site's release channel. A second site, media job or combined launch-and-site order would duplicate the allocation.\n\nContract and service baseline. https://github.com/identity-md-launches/goal-3513-continue-complete-existing-pepe at 0e222f40d058f0462c1ec6418e987211950998fc has 502 tracked files. RunVerifier precedes RunArcade. Both addresses and three role identities in deployments/chain-1.json are null. The two-signature score path lets joint attestations determine the winner and lets either signer withhold a valid score (F-01/F-02/SR-01). Seed opening, canonical seed block, observed input timing and availability still need authenticated binding (F-03/SR-03/SR-04). Local native replay and distinct signer addresses cannot close these findings. Legal automated inputs can match human ones (SR-02). CR-03 leaves just 300 seconds from the final gameplay cutoff to score inclusion. CR-05 can stall the settlement cursor if winner delivery fails. Purchase pause is absent. The mounted GET-only journal rejects the documented POST relay, and automated settlement shares purchase readiness. SQLite recovery and signer separation have fixture evidence only. Contract worker ran 69 selected Solidity tests and two invariant properties. The fresh fork lane executed zero matching tests. No audited live pair, keeper, backend, Etherscan verification or paid approval was evidenced.\n\nDecisions. Seed a goal trunk from the exact source before editing. Each target has its own landing check. Preserve the source website independently for publication. In the working candidate, test a purchase-only switch under the existing immutable admission authority to preserve the constructor and restrict its powers. Isolate failed winner delivery while retaining immediate normal payout. Those are proposed code changes for independent review. Keep signature-free proof work isolated until a complete immutable statement passes review. A proof for one segment cannot authorize ranking. Retain the Sunday 20:00 UTC cutoff, lower entry ID for equal integer metres, full-pot transfer, empty-week rollover and weekly renewal. No grace period, replacement token, third production contract or changes to gameplay are authorized. Keep the 1/5/10 IMD prices and 50/25/25 atomic jackpot/sink/developer split. IMD is 0xD34a99Bc0f67aE1bbd63C660e6d0b0dd03E263B7, sink 0x000000000000000000000000000000000000dEaD, developer 0x83027AD9d0D5374335086c539dADD1db983441B0. Royal is one extra life per game, expires weekly and cannot stack. All 20 permanent skins remain purely cosmetic and wallet-restorable.\n\nCosts disclosed before any new spend. Use one already-paid website unit with zero incremental charge authorized. Preserve both deployment units. e1-baseline/operations models a partial $131.85/month at pilot load, $173.97 at higher RPC load, before gas, people, legal, audit, rights, egress and other exclusions. At illustrative 5/15/30 gwei it models 0.025/0.075/0.15 ETH for both creations and 0.60375/1.81125/3.6225 ETH monthly for 1,000 relays plus five closes. These are scenarios using assumed gas, not provider quotes or spending limits. Obtain measured gas and current itemized quotes, responsible payer and caps before provisioning or broadcasting. Actual incremental hosting, startup, recurring costs and ETH funding remain unconfirmed. Use only authorized existing service capacity. A deployable backup tool or passing local drill is not a live service.\n\nNext episode. Read the target results, merged trunk commit, deployment compatibility report and the site child's actual state/result. On an early child wake, let outstanding targets land. Check both HTTPS entries and all served hashes independently. Record any remaining binding or rights issue with the party able to resolve it. If the child is refused, correct the stated cause under a fresh key only after reconciling the unit. If opened, resolve a failed binding through that publication and keep a single hostname. Reconcile each legacy ID in docs/audit/triage plus BR-04/05/10/11, SR-05/07/08/09/10/11 and canonical recovery findings to the current commit. Schedule independent contract and integrated game reviewers on the final candidate. Finish the full v2 proof, authenticated seed/finality, player-held timed evidence and independent retrieval/submission; measure a 432,000-tick run and inclusion within the actual cutoff. Obtain the stated trust/availability policy and anti-bot limits before deployment. Keep technical fairness claims within the evidence.\n\nTo provision production, the operators must supply confirmed service tenancies, separate replay/verification control and signer custody, encrypted durable storage, backup retention, independent archive RPCs, HTTPS/WSS and a funded keeper with fee caps. Use those services to demonstrate restart/restore with fencing, finality/reorg handling, signer outage, automatic close and permissionless payout while purchases are closed. Redrill real MetaMask/Rabby, weekly inventory, native paid keyboard/touch, leaderboard, profiles, achievements, sink totals and an approved IMD swap route. No actual role addresses, signed security/infrastructure/legal decisions or market eligibility policy were supplied. If a role or approval is missing, record the dependency and responsible operator. Keep paid admission and writes closed. When the pair is ready, use a single contracts-only launch.open from the merged trunk on chain 1 with deployments=2. Confirm the supported contracts-only kind and factory compatibility first; episode 1's evm_project suggestion risks adding a token. Use the verified RunVerifier address for RunArcade and only approved immutable values. Reconcile any ambiguous receipt before retry. Require two finalized creation receipts, matched runtime/immutables and two Etherscan exact-source links. Keep finish false until live delivery is evidenced or the goal must be written up with explicit outstanding blockers.\n\nThis decision requests 13 code targets and one launch-fit item. Counting the five accepted baseline items leaves 31 of 50 seats by the listed item counts, before any further work. The fallback wake is a plane timer. No local waiting is required.",
  "open": [
    {
      "key": "publish-existing-free-practice",
      "action": "job.open",
      "body": {
        "skill": "build-website",
        "objective": "Publish the existing PEPE RUN free-practice site immediately to https://peperun.imd.site/ using this goal's single prepaid website allocation. The source of the public files is https://github.com/identity-md-launches/launch-3521-publish-free-play-pepe-run at commit f74a1295e5d9c5b0948253fded6eedbc7d13aa05. Mount the contents of the committed dist/ at the domain root. The SHA-256 of dist/SHA256SUMS is f30483fd0b9bfea8c13695f71b351200766b8cb1be7f1987438dfbbf2b6e531a; validate its 71 listed files. Keep the existing source and assets, with no redesign or new media. Use the network's actual HTTPS publishing and exact hostname binding. Allow zero incremental charge. Report any unavailable binding, distribution clearance or additional charge before it is incurred. Do not substitute another hostname.\n\nKeep free practice available without a wallet. Preserve the original graphics, audio, jump/duck, accelerating difficulty, distance and mobile controls. Retain local practice records and achievements. Keep verified competition, purchase/admission, swap and wallet writes closed. Keep the paid API and swap policy empty. Serve both / and /web/, relative assets, the public checksum manifest, correct module/audio MIME, CSP, byte ranges and genuine 404s. Verify playable desktop and touch sessions, sound and local-only results. Capture any untested browser/device coverage accurately.\n\nDeliver the existing source revision and the publishing handoff. The publication result should identify the exact HTTPS URL, release identifier, UTC check time, TLS and response status for both entries, public manifest digest, all-file comparison, audio-range and gameplay checks, and actual incremental costs. Where hosting happens after the build step, use the publisher's receipt and post-publication checks. Record a binding or release failure explicitly so it can be repaired in place. A preview or repository URL cannot establish live delivery."
      }
    }
  ],
  "spawn": [
    {
      "name": "e2-continuation",
      "mode": "code",
      "brief": "Deliver one PEPE RUN continuation target on the goal trunk. The original is https://github.com/identity-md-launches/goal-3513-continue-complete-existing-pepe at 0e222f40d058f0462c1ec6418e987211950998fc. Reuse the existing components and assets. {{task}} Work only in your scope. Keep paid play closed. Use local or offline checks, preserve production identities as unconfigured until authorized, and make no external purchase, publication or broadcast. Return JSON with paths, sourceRevision, checks (command, result and counts or measurements), skipped, limitations and nextDependency.",
      "targets": {
        "attempts": 2
      },
      "items": [
        {
          "key": "import-source",
          "vars": {
            "task": "Import the existing project from https://github.com/identity-md-launches/goal-3513-continue-complete-existing-pepe at commit 0e222f40d058f0462c1ec6418e987211950998fc into the empty goal trunk. Carry its 502 tracked files, original paths, file modes, licenses, vendored dependencies, build settings and tests. Compare the imported files against that revision. Create docs/continuation/upstream.sha256 with one line per original regular file, sorted by relative path, lowercase SHA-256, two spaces, path, LF. The manifest's own SHA-256 must be 3e7742e406bd3b42cbb7f7fdbc541bec3eb0b0035dd855d3db675a6ec62d53c2. Add docs/continuation/check-import.mjs to verify that digest, count and every original file at import. Record the source Git tree ID and the outcome of node script/build.mjs --check. This target establishes the comparison point for later edits. The separate website child owns public dist/."
          },
          "scope": [
            ".gitignore",
            "README.md",
            "foundry.toml",
            "package.json",
            "src/**",
            "test/**",
            "script/**",
            "deployments/**",
            "backend/**",
            "services/**",
            "game/**",
            "shared/**",
            "tools/**",
            "web/**",
            "media/**",
            "docs/**"
          ],
          "needs": [],
          "check": "node docs/continuation/check-import.mjs"
        },
        {
          "key": "purchase-pause",
          "vars": {
            "task": "Add the on-chain emergency purchase switch in RunArcade. Use the existing immutable ADMISSION_AUTHORITY to pause and resume new purchases and emit the state change. Retain the constructor and ticket format. Have only this switch affect new purchases. Reject a previously valid unused admission for entry, permanent skin or Royal during pause, before consuming its nonce or funds. A previously purchased entry can still score, any caller can settle, and weekly rollover remains available. Test authority limits, old tickets during pause, resume and unchanged atomic 1/5/10 IMD purchases and 50/25/25 split. Include the initial switch state and the requirement to keep paid issuance closed in the result."
          },
          "scope": [
            "src/RunArcade.sol",
            "test/arcade/RunArcade.t.sol"
          ],
          "needs": [
            "import-source"
          ],
          "check": "node test/arcade/check.mjs"
        },
        {
          "key": "winner-delivery",
          "vars": {
            "task": "Repair CR-05 in the existing ledger. At Sunday close, finalize the oldest week and attempt immediate, exact whole-pot delivery to the recorded winner. If token delivery fails, keep its entire obligation reserved only for that winner while later weeks can finalize. Let anyone retry delivery to that fixed wallet during purchase pause. Isolate the transfer attempt so every partial side effect rolls back before a reservation is made. Preserve liability accounting, lower-entry-ID ties, no-winner rollover and ordinary settlement events. Make a reservation distinguishable from successful payment for consumers. Test normal delivery, a failed attempt followed by a later week and successful retry, double-claim prevention and donated surplus. Return the event/accounting change and any downstream consumers needing migration."
          },
          "scope": [
            "src/RunArcade.sol",
            "test/arcade/RunArcade.t.sol",
            "test/audit-contracts/ContractAudit.t.sol",
            "docs/arcade.md"
          ],
          "needs": [
            "purchase-pause"
          ],
          "check": "node test/arcade/check.mjs"
        },
        {
          "key": "contract-artifacts",
          "vars": {
            "task": "Regenerate the two contract artifacts, standard JSON compiler input, deployment manifest and browser identity pins using the existing generators on the repaired pair. Add a current candidate record under docs/continuation with the source and build digests, ABI/immutable changes, both sizes, and the exact two-contract order. Reconcile the historic RunArcade hash in docs/operations/execution.json against its dated revision and the current build in that record. Preserve signed/historical review records as evidence for their original commits. Keep live addresses and approvals unset. Implement a single offline candidate check for both generator comparisons, current hashes and size bounds. Report any historical checks which need a fresh independent review."
          },
          "scope": [
            "deployments/compiled/**",
            "deployments/manifest.json",
            "web/js/chain/pinned.mjs",
            "docs/continuation/candidate.json",
            "docs/continuation/check-candidate.mjs"
          ],
          "needs": [
            "winner-delivery"
          ],
          "check": "node docs/continuation/check-candidate.mjs"
        },
        {
          "key": "payout-projection",
          "vars": {
            "task": "Carry the repaired winner-delivery events through the existing finalized indexer and projections. Expose week finalization, a reserved winner balance and its eventual delivery as distinct states in the read API. Preserve historical event interpretation for unchanged contracts, ordinary paid winners and no-score rollover. Handle duplicate delivery observations, delayed claim receipts and reorg rollback without overstating either the jackpot or amounts delivered. Add a focused regression using the repaired ABI/event fixtures. Include the event-to-record mapping and confirmed query outputs in the result."
          },
          "scope": [
            "services/indexer/**",
            "services/projections/**",
            "test/payout-projection/**"
          ],
          "needs": [
            "contract-artifacts"
          ],
          "check": "node test/payout-projection/check.mjs"
        },
        {
          "key": "relay-route",
          "vars": {
            "task": "Repair the public score relay method dispatch (VER-01). The mounted router in services/main/application.mjs rejects POST while services/settlement/application.mjs expects an empty POST on /v1/settlement/runs/<session-id>/relay. Forward just that validated route under its existing limits and evidence validation. Keep the other journal endpoints read-only. In the mounted lifecycle fixture, confirm a player can retrieve the validated submission with keeper broadcasting off, and an independent fixture account can relay it. Verify status/history, malformed IDs, wrong methods and nonempty bodies. A reachable relay still requires today's score evidence."
          },
          "scope": [
            "services/main/application.mjs",
            "services/settlement/application.mjs",
            "test/integration/lifecycle.mjs",
            "docs/integration/README.md"
          ],
          "needs": [
            "import-source"
          ],
          "check": "node test/integration/check.mjs"
        },
        {
          "key": "settlement-keeper",
          "vars": {
            "task": "Decouple the automatic weekly close transaction from new-purchase readiness. Use independent settlement authorization for the journaled settle call, fixed chain/ledger, canonical head and signer fee/nonce limits. Keep admission and score submission under their own existing validation. Implement a mounted local EVM test where readiness for new sales is withdrawn, the keeper finalizes an already-valid winner week and an empty rollover, including a restart and a concurrent permissionless caller. Test that an unexpected destination or method is refused by the settlement authorization, and unpaid reserved balances remain attributed to the correct winner. Report actual local receipt and restart checks plus missing production keeper requirements."
          },
          "scope": [
            "services/main/application.mjs",
            "services/main/operator.mjs",
            "services/settlement/**",
            "test/integration/lifecycle.mjs",
            "docs/integration/README.md"
          ],
          "needs": [
            "relay-route",
            "payout-projection"
          ],
          "check": "node test/integration/check.mjs"
        },
        {
          "key": "proof-segment",
          "vars": {
            "task": "Implement one EVM-verifiable transition segment for the existing v2 replay engine in a test harness. Start with a bounded ordinary movement segment from an existing vector. Open a committed pre-state, apply the actual tick/input transition, recompute its post-state and distance, and bind the two commitments to the rules, entry domain and tick range. Reject invalid openings, domains and output. Compare the Solidity calculation against game/engine.mjs for the same inputs on the local EVM, exercising a valid jump/duck boundary. Include the fixture, offline check.mjs, calldata size and measured gas. Use the existing compiler and EVM harness. Report which state/physics branches the segment implements, what authenticates the starting commitment, and the remaining work on full coverage, succinct proving, seed finality and timed input availability. This direct EVM check is a candidate building block. Keep it out of the production ranking path."
          },
          "scope": [
            "test/validity-segment/**",
            "docs/continuation/validity-segment.md"
          ],
          "needs": [
            "import-source"
          ],
          "check": "node test/validity-segment/check.mjs"
        },
        {
          "key": "player-replay-export",
          "vars": {
            "task": "Implement a wallet-bound download for the player's own sealed v2 run using the existing authenticated session, ordered evidence pages and canonical generation checks. Provide the replay inputs, entry identity, rules, released seed opening, ordered chunk digests and applicable timing receipts already available for that run. Retain privacy of live seeds and other players. Bound and resume downloads, reject stale/reorged or incomplete evidence and enable offline replay comparison without either score signature. Add an API test exercising an authorized player's retrieval, account isolation, restart, wrong generation and digest agreement. Document which timing and availability facts still rely on the existing witnesses. This is evidence transport only."
          },
          "scope": [
            "services/api/**",
            "services/verifier/evidence-pages.mjs",
            "test/evidence-transport/**",
            "docs/evidence-transport/README.md"
          ],
          "needs": [
            "import-source"
          ],
          "check": "node test/evidence-transport/check.mjs"
        },
        {
          "key": "wallet-write-gate",
          "vars": {
            "task": "Repair the pending-confirmation purchase gate in web/js/chain/purchase.mjs. After each in-app confirmation, immediately before each provider request that sends an approval or purchase, recheck live paid readiness, connected wallet, chain 1, wallet generation and valid quote as applicable. Preserve exact allowances and existing cancellation/finalized receipt handling. Add controlled provider tests for readiness loss during each prompt, account switch and a successful uninterrupted purchase. Count the actual send requests. Report the point after handing a request to an external wallet at which the app can no longer cancel it."
          },
          "scope": [
            "web/js/chain/purchase.mjs",
            "web/js/chain/check.mjs",
            "web/js/chain/test/**"
          ],
          "needs": [
            "import-source"
          ],
          "check": "node web/js/chain/check.mjs"
        },
        {
          "key": "wallet-profile",
          "vars": {
            "task": "Mount the existing wallet profile projection in the paid-capable browser source. Render its finalized wallet aggregates and as-of state, including disconnect, unavailable, stale and reorged results. Fence a late response across account or chain changes. Keep browser-local practice records and achievements distinct and the free build usable without a provider. Extend mounted panel tests with known fixture amounts and account switches. The result must identify the projection fields rendered and prove that missing data does not turn into invented statistics."
          },
          "scope": [
            "web/index.html",
            "web/js/app/ui.mjs",
            "web/js/app/panels.mjs",
            "web/js/app/projections.mjs",
            "web/tests/panels/**"
          ],
          "needs": [
            "import-source"
          ],
          "check": "node web/tests/panels/check.mjs"
        },
        {
          "key": "burn-tracker",
          "vars": {
            "task": "Bind the browser burn tracker to the existing finalized arcade sink-contribution projection. Display the exact IMD unit, as-of block and freshness status. Explain that transfers to the sink remove IMD from circulation while totalSupply stays unchanged. Scope totals to arcade distributions. Handle verified zero, nonzero, unavailable and reorged data distinctly. Cover those states in mounted panel tests, preserving profile behavior and the closed free release. Report the projection field and the checked fixture totals."
          },
          "scope": [
            "web/index.html",
            "web/js/app/ui.mjs",
            "web/js/app/panels.mjs",
            "web/tests/panels/**"
          ],
          "needs": [
            "wallet-profile"
          ],
          "check": "node web/tests/panels/check.mjs"
        },
        {
          "key": "durable-restore",
          "vars": {
            "task": "Deliver a runnable backup/restore utility for the existing SQLite-backed deployment. Accept explicit application database paths and operator-selected destinations. Use SQLite-consistent snapshots with integrity and generation manifests. Respect separate operator custody for each role. Restore into a fresh fenced staging target and fail closed on missing, mixed-generation or inconsistent state. Exercise a synthetic admission, witness record, sign-once reservation and pending settlement around restart. Check the preserved digests and lack of duplicate work. Provide the operator command and recovery limitations. Only the test uses disposable records. Production encryption, durable volumes, retention, fencing and an offsite operator drill require real acceptance evidence."
          },
          "scope": [
            "tools/recovery/**",
            "test/restore-drill/**",
            "docs/continuation/restore.md"
          ],
          "needs": [
            "import-source"
          ],
          "check": "node test/restore-drill/check.mjs"
        }
      ],
      "output": {
        "format": "json",
        "maxBytes": 12000
      }
    },
    {
      "name": "e2-launch-fit",
      "mode": "research",
      "minutes": 35,
      "brief": "Produce one launch-compatibility report for the two existing PEPE RUN contracts on Ethereum chain 1. Source https://github.com/identity-md-launches/goal-3513-continue-complete-existing-pepe at 0e222f40d058f0462c1ec6418e987211950998fc. Inspect RunVerifier, RunArcade, the deployment manifest, standard compiler input and deploy script. Map the exact constructor types and deployment order to one IMD contracts-only launch using two prepaid units and one backward contract reference. Check which constructor-time external reads, code identity checks, immutable role inputs or address substitutions the documented IMD deployer can actually support. Identify any mismatch with a plain Foundry dry-run. Cite the exact public IMD door/schema records and source lines you verified; where the platform behavior is undocumented, mark it unknown. Use public read-only evidence. Do not create a manifest with stand-in values or send a transaction. Return JSON with sourcePin, order, confirmedKindOrNull, constructorBindings, incompatibilities, minimalChanges, missingOperatorInputs and releaseChecks. Specify the checks for exactly two creations, no new token/pool and two Etherscan exact-source matches. This report informs a later decision once repairs and audits land.",
      "items": [
        {
          "key": "two-contract-order",
          "vars": {}
        }
      ],
      "output": {
        "format": "json",
        "maxBytes": 10000
      }
    }
  ],
  "read": [
    "e2-continuation/import-source",
    "e2-continuation/purchase-pause",
    "e2-continuation/winner-delivery",
    "e2-continuation/contract-artifacts",
    "e2-continuation/payout-projection",
    "e2-continuation/relay-route",
    "e2-continuation/settlement-keeper",
    "e2-continuation/proof-segment",
    "e2-continuation/player-replay-export",
    "e2-continuation/wallet-write-gate",
    "e2-continuation/wallet-profile",
    "e2-continuation/burn-tracker",
    "e2-continuation/durable-restore",
    "e2-launch-fit/two-contract-order"
  ],
  "cancel": [],
  "wake": {
    "batches": [
      "e2-continuation",
      "e2-launch-fit"
    ],
    "afterMinutes": 480
  },
  "finish": false
}
