{
  "notes": "Episode 1 starts from an empty trunk with 50 item slots, five episodes, and no child budget or prior orders listed. Build the two contracts together for one Sepolia release. Each donation is one public gift. The first wallet other than its donor to claim receives the whole gift. Points record cumulative donations, including fractions, at one point per testAdam. They stay with the donor after a claim. Explain that the donate action uses allowance and records the gift, while a plain token transfer does not. The site name is exactly test staking. Describe donation points and claims without implying a staking yield.\n\nNext episode, inspect the merged trunk commit and both contract results. Run an integrated test with the real LaunchToken and DonationVault if the two items only tested in isolation. Use the two integration notes to specify the site. Once the contracts have merged, request one workflow.open from source trunk with deployments 2, evm_project, chainId 11155111 and IPFS for the site. Include the Uniswap v4 pool paired with Sepolia ETH, the vault constructor bound to $token and the exact token identity and supply. The pool uses existing v4 infrastructure. Specify a wallet-connected site built from the actual deployment handoff. It should show balances, points, claimable gifts and claim status, support approve/donate, claim and quoted buys, and show sourced pool price, market cap with its supply basis, FDV and trailing 24-hour volume with units and freshness. Explain missing or incomplete readings.\n\nIf the release door is unavailable, use the merged work for a tested, deployable handoff and record the specific release or publication blocker. At settlement verify both contracts, the initialized pool and its liquidity, working buy and donation flows, and the published site's URL before reporting them live. Cite the workflow result and identify any outstanding step.",
  "spawn": [
    {
      "name": "contracts",
      "mode": "code",
      "brief": "{{assignment}} Work only in your assigned paths. Keep the module buildable offline with ordinary local sources and report the exact checks run and their outcomes.",
      "items": [
        {
          "key": "launch-token",
          "vars": {
            "assignment": "Build the launch token and its minimal root Foundry project. In src/LaunchToken.sol implement LaunchToken, an ERC-20 with the exact name test, symbol testAdam and 18 decimals. Its no-argument constructor issues exactly 1,000,000,000 whole tokens to its deployer for the launch factory. Supply stays fixed. Implement standard transfers, approvals, allowances and events. Keep the token free of transfer fees, admin controls and pool-specific code. Pin solc 0.8.26 with Cancun, optimizer enabled, bytecode_hash = \"none\" and cbor_metadata = false. Keep builds and tests self-contained. Test metadata, initial allocation, supply conservation across transfers, allowances, events and invalid spends, including fuzzed amounts. Your result must give the paths, constructor and mint recipient, exact base-unit supply and actual offline test results."
          },
          "scope": [
            "foundry.toml",
            "src/LaunchToken.sol",
            "test/LaunchToken.t.sol"
          ]
        },
        {
          "key": "donation-vault",
          "vars": {
            "assignment": "Build DonationVault with immutable constructor token $token and a local ERC-20 interface. donate(amount) pulls a positive amount from msg.sender by allowance, returns a sequential gift ID and credits nontransferable donor points in received base units (1 point per whole testAdam). Direct transfers earn no points. claim(id) pays the entire gift once to the first caller other than its donor. Mark it claimed before payout and revert on transfer failure. Expose gift count, donor, amount, claim status, total outstanding and wallet points. Emit deposit and claim events with indexed gift ID and actor plus amount. Test with a local token fixture in the test file. Cover multiple gifts and donors, fractions, zero deposits, failed allowance, self-claims, unknown IDs, repeat claims and failed payouts. Check that outstanding gifts stay funded and claims preserve points. Report paths, signatures, units, events and test results."
          },
          "scope": [
            "src/DonationVault.sol",
            "test/DonationVault.t.sol"
          ]
        }
      ],
      "output": {
        "format": "markdown",
        "maxBytes": 8000
      }
    },
    {
      "name": "site-integration",
      "mode": "research",
      "brief": "{{assignment}} Give enough detail for the site implementer to reproduce your result with the real deployment. Identify any input that only becomes available at launch.",
      "minutes": 40,
      "items": [
        {
          "key": "buy-flow",
          "vars": {
            "assignment": "Verify one implementable wallet buy flow for the forthcoming Sepolia testAdam Uniswap v4 pool on chain 11155111. Use first-party Uniswap deployment records and interface docs to identify the supported quote and swap contracts or SDK route and how to verify it matches the deployed PoolKey. Derive the ETH-to-token direction from the actual pool currencies, covering native or wrapped ETH as applicable. Trace an exact-input purchase from amount entry through quoting, minimum output, signature or transaction, receipt and balance refresh. Return a short integration note with dated source links, required deployment handoff fields, methods, amount units and failure states for a missing pool, insufficient liquidity, wrong chain and a rejected or stale quote. Treat the future token, pool and liquidity as runtime inputs."
          }
        },
        {
          "key": "market-metrics",
          "vars": {
            "assignment": "Specify the Sepolia testAdam Uniswap v4 market panel. Cite primary Uniswap and Ethereum sources for reads, logs and pool identification. Give a worked fixture with expected quote-per-token spot prices for both currency orders and unequal decimals. Compute FDV from totalSupply and spot price. Show circulating market cap using verified circulating supply, or mark it unavailable and show FDV. For rolling 24h quote volume, sum the absolute quote leg of each matching pool Swap once, starting at the later of pool deployment and the timestamp cutoff. Describe bounded log pagination and how to distinguish a verified empty window from an incomplete scan. Return formulas, units, runtime inputs, source links and labels for freshness and coverage. Label fixture numbers as examples."
          }
        }
      ],
      "output": {
        "format": "markdown",
        "maxBytes": 12000
      }
    }
  ],
  "read": [
    "contracts/launch-token",
    "contracts/donation-vault",
    "site-integration/buy-flow",
    "site-integration/market-metrics"
  ],
  "cancel": [],
  "wake": {
    "batches": [
      "contracts",
      "site-integration"
    ]
  },
  "finish": false
}
