{
  "notes": "Episode 1 of 5. The objective is exactly two Sepolia deployments (Test/TEST and its staking contract) plus one published website, with a tradable Uniswap v4 pool opened by the token launch. The input reports 0 of 50 items used, 10 workers, no trunk, no prior batches, no handed results, no requester amendments and no refusals. It does not report children or a child budget; no purchase, available balance, accepted order or completed deployment is inferred. Request one words-only workflow through the documented door now, declaring deployments=2, so the launch can resolve the staking constructor's $token dependency and the frontend can use both live addresses. There is no trunk to release. The plane resolves the owner and determines whether the order can open; inspect its actual acceptance/refusal and budget state next episode. Never split the token, staking and website into unrelated orders to work around a refusal. Two independent single-item research batches prepare narrowly scoped verification specifications for pool tradeability and proportional points accounting; they are not build or deployment substitutes and do not block the initial self-contained workflow request. If both items run, they use 2 of the 50 item seats. No batches currently need cancellation. Next episode: read both requested reports and the workflow status. If refused, use the stated reason to mend only the affected fields and submit a corrected order under a new key; an outage may be retried as documented. If already opened, retain that child and avoid duplicate deployments. On child.settled, read the actual child result using the job ID/result location the plane supplies, and retain its evidence for the final write-up. Check two deployed contracts on chain 11155111, Test/TEST identity, staking bound to the deployed token, pool initialization AND usable liquidity/tradeability, correct share-of-total points across changing stakes, and a published website that actually connects, approves, stakes, withdraws and displays live balances and points. Check the documented launch defaults or owner-settable economics; no owner address, key, funding amount or deployment ID has been invented. Use remaining episodes/items for focused verification or repairs based on returned evidence. Keep finish=false until the live deployment, pool and website are evidenced and material findings are resolved; source code or a publication request alone is insufficient. The wake timer is a plane scheduling decision, not a wait on this episode's machine.",
  "spawn": [
    {
      "name": "e01-v4-pool-acceptance",
      "mode": "research",
      "minutes": 30,
      "brief": "Produce one acceptance specification for the Uniswap v4 pool portion of this goal: launch Test (TEST) on Sepolia, with its launch opening a pool that can trade, while the project deploys only its token and one staking contract. Research public primary Uniswap documentation and official deployment/source records. Specify how a later reviewer can verify the Sepolia infrastructure, identify the pool by its complete PoolKey and pool ID, link the token launch to initialization, verify usable liquidity at the current price, and establish an executable swap through existing infrastructure. Explain the evidence needed to distinguish an initialized empty pool, a quote, a simulation and a confirmed swap. Include dependencies such as currency ordering, paired asset, fee/tick spacing, hooks if any, approvals, initial price, liquidity funding and the supported launch mechanism. Mark platform-specific mechanisms and missing economic inputs as unresolved until evidenced; supply no invented owner address, funding amount or launch ID. This item delivers a verification report using public sources, with no deployment or transaction execution. Return one JSON object containing summary, sources (each with URL, relevant section or commit, access date and supported claim), checks (each with id, requirement, procedure, expected evidence and pass/fail criterion), launchDependencies, unresolvedQuestions and gates. Set gates.specComplete to pass only when every requested check is specified; set gates.liveLaunchVerified to not_evaluated because no live launch result was supplied. The report must be usable to check the combined workflow's eventual result and must identify any unverifiable claim explicitly.",
      "items": [
        {
          "key": "pool-spec",
          "vars": {}
        }
      ],
      "output": {
        "format": "json",
        "maxBytes": 18000
      }
    },
    {
      "name": "e01-staking-points-acceptance",
      "mode": "research",
      "minutes": 30,
      "brief": "Produce one mathematical acceptance specification for TestStaking, the single contract in which holders deposit TEST and earn internal points over time in proportion to their share of the total currently staked. For every interval of constant balances and global emission rate R, define a user's increment as R * elapsedSeconds * userStake / totalStaked, with zero emissions when totalStaked is zero. Keep R symbolic or explicitly a test parameter, not a claim about requester-selected economics. Specify accumulator and per-user checkpoint semantics so deposits, partial/full withdrawals and any permitted rate change settle the previous interval first; earned points survive withdrawal and empty intervals cannot be awarded to the next depositor. Cover pending-points views, precision/rounding bounds, total emission conservation, unauthorized balance changes, principal conservation, safe token transfers and reentrancy protection. Supply at least six hand-checkable vectors covering one staker, unequal simultaneous stakes, staggered entry, partial/full exit, empty-pool/re-entry and a rate change if configurable. Each vector gives ordered actions/timestamps, stakes, expected per-user points, aggregate points and rounding tolerance. Specify property/fuzz-test assertions and the minimum contract reads and events needed by the staking website. This item delivers one specification, without implementing contracts or choosing supply, addresses or liquidity economics. Return one JSON object containing interpretation, accountingModel, invariants, testVectors, contractReadRequirements, reviewChecks, unresolvedQuestions and gates. Set gates.specComplete to pass only when formulas, vectors and checks are complete; set gates.implementationVerified to not_evaluated because no implementation was supplied. Clearly distinguish mathematical deductions from external claims and cite primary sources for any external claim used.",
      "items": [
        {
          "key": "points-spec",
          "vars": {}
        }
      ],
      "output": {
        "format": "json",
        "maxBytes": 18000
      }
    }
  ],
  "open": [
    {
      "key": "test-sepolia-release-e01",
      "action": "workflow.open",
      "body": {
        "request": "Launch Test (TEST) on Sepolia with its launch opening a tradable Uniswap v4 pool. In that same launch deploy TestStaking, whose constructor takes the token as $token, so holders stake TEST and earn points over time proportional to their share of the total currently staked. Then publish one website for this token and staking contract using their live deployment addresses, including $contract:TestStaking. Deliver exactly the two project contracts and the website through this combined workflow, with deployment, pool, test, review and publication evidence.",
        "draft": {
          "objective": "Build, test, independently review and deploy exactly two project contracts on Sepolia (chain ID 11155111): an ERC-20 token named Test with symbol TEST, and TestStaking with its token constructor argument resolved as $token. As part of the token launch, open its Uniswap v4 pool through the supported launch mechanism, initialize it and provide usable liquidity so TEST actually trades. Use existing Sepolia Uniswap v4 infrastructure to keep the new project deployments to these two contracts. Verify infrastructure from primary sources. Unspecified supply, pool economics and points emission parameters must use documented supported launch defaults or owner-settable configuration, and the result must state the settings actually used. Surface missing required funding or owner inputs as unresolved requirements. TestStaking must custody TEST, allow holders to stake and withdraw their principal, and maintain internal earned points without another reward-token deployment. Over each constant-stake interval, a user's points equal the global points-per-second rate times elapsed time times their stake divided by totalStaked. Checkpoint before changing any stake or configurable rate, emit no points during empty intervals, preserve earned points after withdrawal, expose pending points and total/user stakes, and bound rounding error. Use safe transfers and reentrancy protection. Include Foundry unit/property tests for changing shares, staggered entry, empty intervals, partial/full exits, point conservation and principal conservation, plus an independent adversarial review with material findings resolved. After both contracts are live, build and publish one responsive website presenting Test/TEST, Sepolia, actual contract and pool information, and verified explorer/trade links. Connect a wallet, enforce the correct network, show TEST balance, total/user stake, share and earned/pending points, and support approval, stake and withdrawal with amount validation and clear transaction states. Bind the frontend to $token and $contract:TestStaking using the actual deployment outputs. Return both contract addresses and deployment receipts, resolved constructor bindings, ABIs/source references, all chosen economic settings and permissions, test/review results, the complete pool key and ID, initialization and liquidity transaction evidence, and evidence of an executable swap with live transactions and simulations clearly distinguished. Return the published site URL and publication reference plus smoke-test evidence for wallet connection, balances, approval, staking, points display and withdrawal. Explicitly report anything incomplete; a pool without usable liquidity or a site with unresolved addresses does not satisfy the release.",
          "onchain": "evm_project",
          "chainId": 11155111,
          "ipfs": true,
          "github": true,
          "shape": "chain",
          "steps": [
            {
              "skill": "build-contract-project"
            },
            {
              "skill": "frontend-for-contract"
            },
            {
              "skill": "adversarial-review"
            }
          ]
        },
        "deployments": 2
      }
    }
  ],
  "read": [
    "e01-v4-pool-acceptance/pool-spec",
    "e01-staking-points-acceptance/points-spec"
  ],
  "cancel": [],
  "wake": {
    "batches": [
      "e01-v4-pool-acceptance",
      "e01-staking-points-acceptance"
    ],
    "afterMinutes": 90
  },
  "finish": false
}
