{
  "notes": "Episode 2: read goal.json, the orchestrator schema and all four handed results. sepolia-staking-app accepted all 4 items and merged at 423999f8ba694b2b9534fece6545207072e87b4b in https://github.com/identity-md-launches/goal-3352-laucnh-token-sepolia-called.git. There are no requester additions, refusals, running batches, pending effects, mandates, launch receipts or public site URL. 4/50 items were used before this decision; the two new waves use 4 more, leaving 42 if accepted. Three orchestration episodes remain after this one. No source checkout is present in this episode's workspace; source behavior below is reported by the workers, not independently certified here.\n\nImplemented interfaces: src/TestToken.sol is a fixed-supply ERC-20 with lowercase name/symbol test, 18 decimals, constructor(uint256 initialSupply) in base units, positive supply minted to its immediate caller, and no later mint/burn. The token result reports 32 tests passing on Solidity 0.8.24 and 0.8.26, including 4 fuzz tests with 1024 cases each. src/ShareStaking.sol has constructor(address tokenAddress), token(), stake(uint256), withdraw(uint256), stakedBalance(address), totalStaked(), pointsOf(address); it reports only 2 passing tests and a repaired rounding issue. Points are nontransferable, 18 decimals, one pool point per occupied second shared by contemporaneous stake; elapsed time is not a lockup. Both global and user remainder handling merit checks when shares change. site/index.html, style.css and app.js are dependency-free and use an injected wallet, exact approval, receipt checks and relative deployment.json. Website tests used mocks; actual browser rendering and an integrated chain flow remain unverified. release/deploy.py and README.md provide two-contract deployment and receipt-based resumption, with 8 fixture tests only; compilation against the merged sources and actual supply/runtime checks need integration. site/deployment.json is not yet a live manifest; its fields are numeric chainId 11155111 and string token, staking, tokenTx, stakingTx. Scratch harnesses from earlier workers are not delivered dependencies.\n\nDecision: ep02-integrate has three disjoint component items to strengthen staking accounting, website behavior and release validation. ep02-acceptance is the next code wave, read-only, to check the resulting merged trunk; code waves serialize normally, and no unsupported after dependency is used. Workers preserve the token source and interfaces, configuration, and the stated economics. All testing transactions are on a disposable local chain, with simulated time and fixture identities confined to tests. Named result files must distinguish passed, failed and unperformed checks.\n\nIn parallel open ep02-test-token through launch.open for the already isolated, tested TestToken source at the pinned commit. This is a token-only owner launch; it must rerun token checks and confirm supply delivery before claiming success. The goal has not selected initialSupply: retain the existing required positive owner-selected deployment setting, never pick a fixture supply. The platform supplies owner identity/signing; no worker is to discover credentials. Since the constructor mints to its immediate caller, a factory route must prove the owner receives the supply rather than trapping it. Return any unsupported route or unfilled launch setting as a precise pending condition. This child consumes one of two onchain deliverables; reserve the remaining onchain deliverable and sole website for a staking-plus-site workflow. Do not also launch a second token through release/deploy.py or the later workflow.\n\nNext episode: first read all new results, the actual resulting trunk commit, the token child's status/result and any refusal. A child can wake the goal before the code waves finish; keep pending work running and do not duplicate it or spend an episode on unchanged results. A code failure requires a targeted repair; an unrun check is not a pass. If the token child is refused, mend only the documented refusal under a fresh key; do not guess unsupported launch fields or spend duplicate deployments. Once token receipts and integration evidence are sound, use the remaining workflow.open entitlement to deploy only ShareStaking against the token identified by that child, and publish the checked site with ipfs true and the receipt-derived manifest. Orders must reference the existing child/launch records in words, without literal owner or contract addresses forbidden by the order schema. Request exact compiler/source identity, receipts, confirmation blocks, both contract addresses, token binding, manifest and public URL. Reconcile existing receipts before retrying any transaction. Episode 4 should arrange independent public-URL and Sepolia read verification; episode 5 should finish only with evidenced deployment/publication and accurate limitations. Public checks must match name/symbol/decimals/supply, runtime identity, staking.token(), receipt hashes, website manifest and displayed balances/points. Do not represent localhost fixtures as Sepolia or a served directory as a published website. If an owner deployment setting or platform publication action is pending, name exactly what remains. finish stays false.",
  "spawn": [
    {
      "name": "ep02-integrate",
      "mode": "code",
      "minutes": 55,
      "brief": "Complete one component of the merged test-token staking app within your item's scope. {{work}} {{validation}} Preserve public interfaces, lowercase test/test, 18 decimals and one pool point per occupied second; do not add lockups or new economics. Do not change configuration or other items' files. Use simulated time and local-only fixtures, never live signing or production stand-ins. Keep submitted checks reproducible offline with supplied Foundry or Python/Node standard libraries; vendor any necessary dependency inside scope as ordinary files, never a submodule. Return one JSON object with component, baseCommit, paths, checks (command, pass/fail/not-run, evidence), issues, followUp and gate (pass/fail/unverified). Name every unrun check and its cause; a fixture is not deployment evidence.",
      "items": [
        {
          "key": "staking",
          "vars": {
            "work": "Deliver verified stake-share accounting with the real TestToken, adding durable integration/regression tests and fixing defects in ShareStaking only if demonstrated. Run the entire Foundry suite, retaining token tests. Independently model elapsed intervals, points and principal conservation. Reproduce: A stakes 100 tokens at t0; B stakes 300 at t0+6; B fully exits at t0+14; A fully exits at t0+18. Expected final points are A=12e18 and B=6e18, with all principal returned. Check partial withdrawals, multiple deposits, same-timestamp operations, idle intervals, full exit/re-entry, late entrants getting no earlier points, and accrued points surviving exit.",
            "validation": "Stress fractional stakes, repeated checkpoints, denominator changes in global remainder accounting and large uint256 values accepted by TestToken, looking for lost/duplicated credit or overflow that prevents withdrawal. Add a bounded randomized sequence checked against an independent rational model with a stated rounding bound; distinguish harmless rounding from a reproducible defect. Check reverting transfer/approval paths and rollback. State exact commands, compiler choices, numerical observations, rounding guarantees and unresolved issues. Leave TestToken source unchanged."
          },
          "scope": [
            "src/ShareStaking.sol",
            "test/ShareStaking.t.sol",
            "test/ShareStakingIntegration.t.sol"
          ]
        },
        {
          "key": "website",
          "vars": {
            "work": "Deliver a checked browser client and durable tests for site/index.html, style.css and app.js. Use the existing contracts' ABIs to verify selectors, integer encoding and 18-decimal formatting. Exercise the page with an injected EIP-1193 test provider: initial load, absent/invalid deployment metadata, no wallet, rejected connection/switch, wrong chain, account changes, exact approval then successful receipt then stake, sufficient allowance, rejected/reverted transactions, partial/full withdrawal, token-binding mismatch and a chain/account change while an approval is pending. Compare displayed wallet balance, stake, total, share and points to provider values without Number precision loss.",
            "validation": "Persist dependency-free Node checks under test/website/. Render desktop and narrow mobile views with a browser if available, checking usable controls, focus, overflow and pending/error feedback; report rendering as unverified if the runtime cannot run. Check relative-path hosting and explain elapsed share-based points. Fix demonstrated defects within scope. Keep mock manifests and fixture addresses in tests/scratch only, never publish site/deployment.json; live metadata must come from confirmed launch receipts. Record browser and mock coverage separately."
          },
          "scope": [
            "site/index.html",
            "site/style.css",
            "site/app.js",
            "test/website/**"
          ]
        },
        {
          "key": "release",
          "vars": {
            "work": "Deliver release tooling validated against actual merged Foundry artifacts, with durable Python standard-library tests under test/release/. Build TestToken and ShareStaking without changing configuration. Exercise release/deploy.py on a disposable local node, configured with chain ID 11155111 solely for this isolated test, using only its synthetic accounts. Verify fresh deployment, token-first sequencing, successful matching receipts, and restart with the known token transaction and with both transactions: no duplicate creation. Strengthen checks for 18 decimals, requested totalSupply, correct constructor caller/initial supply recipient, and runtime/artifact identity accounting for Solidity immutable slots, alongside lowercase metadata and staking.token().",
            "validation": "Exercise wrong chain, missing/failed/mismatched receipts, wrong bytecode, supply and token binding. Persist useful checks, not ephemeral installed dependencies. Keep stdout manifest JSON compatible with the website; do not write a live manifest from fixtures. Document a verification-only handoff for platform-managed launches so neither verification nor later staking deployment accidentally recreates the token. Keep initialSupply a required positive owner setting in base units; never invent a launch amount or read credentials. Report exact artifact interfaces, commands, observed local receipts and limits, clearly labeled local-only."
          },
          "scope": [
            "release/deploy.py",
            "release/README.md",
            "test/release/**"
          ]
        }
      ],
      "output": {
        "format": "json",
        "maxBytes": 20000
      }
    },
    {
      "name": "ep02-acceptance",
      "mode": "code",
      "minutes": 50,
      "brief": "Perform one end-to-end acceptance check of the newest merged trunk after the ep02-integrate code wave. Your scope is empty: do not modify delivered source or configuration; temporary harnesses belong in test/scratch. Report the exact checked commit and whether all three integration components landed. Run forge build, the full Foundry tests, the committed website/release checks and JS/Python syntax checks; use installed compiler flags rather than editing config. On a disposable local node with test-only chain ID 11155111, deploy the actual compiled TestToken then ShareStaking, using only synthetic local accounts and a fixture supply. Do not submit public-chain transactions or inspect credentials. Exercise the release verification/resumption path and assert that resuming creates no additional contracts. Use two users and simulated time: A deposits 100 tokens at t0, B deposits 300 at t0+6, B exits at t0+14, A exits at t0+18; assert final A/B points 12e18/6e18, zero final totalStaked and returned principal. Also exercise partial exit, empty interval and re-entry. Serve an isolated copy of the real site with the local receipt-derived manifest. Drive it with an injected wallet adapter against that node, checking balances, share, points, approval/receipt/stake ordering and partial/full withdrawals against contract reads; do not substitute canned values for this integrated check. Check desktop/mobile rendering and relative paths when a browser runtime is available. Never write local addresses into the deliverable manifest or claim a public launch. Return one JSON object containing checkedCommit, componentsPresent, gates (build, contracts, release, website, browser, overall: each pass/fail/unverified), commands with outcomes, expected/observed numerical evidence, local artifact and manifest identity, exact failures with file/line where possible, and remaining liveChecks. Set overall pass only if every required gate passed; report blocked tooling and unrun checks explicitly. This result must be sufficient to decide whether the staking-plus-site launch can use this commit.",
      "items": [
        {
          "key": "full-flow",
          "vars": {},
          "scope": []
        }
      ],
      "output": {
        "format": "json",
        "maxBytes": 24000
      }
    }
  ],
  "open": [
    {
      "key": "ep02-test-token",
      "action": "launch.open",
      "body": {
        "objective": "Launch only the test ERC-20 on Ethereum Sepolia, chain ID 11155111, for this goal's owner using the platform-managed launch path. The source is src/TestToken.sol with test/TestToken.t.sol in https://github.com/identity-md-launches/goal-3352-laucnh-token-sepolia-called.git at commit 423999f8ba694b2b9534fece6545207072e87b4b. Reproduce its token tests and compile before deploying. Name and symbol must both be exactly lowercase test; decimals 18; fixed supply with no subsequent mint or burn. The constructor takes one positive uint256 initialSupply in raw base units. Keep this as a required owner-selected launch setting: no amount was supplied by the requester, so do not invent one or copy a test fixture. The platform resolves the owner and signing; never seek machine credentials. The constructor credits its immediate caller: use a supported owner deployment/delivery route and verify that the entire minted supply reaches the goal owner rather than remaining in a factory. If that route or the required launch setting is unavailable, report the exact pending condition without an unsupported deployment. Deploy no staking contract, liquidity pool or website in this child. Reconcile any existing attempt's receipt before retrying. Return the child/launch identifier, actual source commit and compiler settings, constructor supply, successful creation transaction and receipt, contract address, confirmation block/hash, deployed runtime identity, onchain name/symbol/decimals/totalSupply and evidence of initial supply delivery. Separate local test evidence from Sepolia evidence; do not claim completion without the confirmed live contract. The later staking-plus-site child must be able to consume this launch record.",
        "chainId": 11155111
      }
    }
  ],
  "read": [
    "ep02-integrate/staking",
    "ep02-integrate/website",
    "ep02-integrate/release",
    "ep02-acceptance/full-flow"
  ],
  "cancel": [],
  "wake": {
    "batches": [
      "ep02-acceptance"
    ]
  },
  "finish": false
}
