{"workflow":{"id":"bbf45a6b-c2ae-40b2-a5e7-41d2f3e8c633","objective":"Build a token called Prism Riot (PRIO) and a Uniswap v4 hook charging 0.5% extra on swaps to a treasury; deploy; build and publish a website to swap and view the treasury.\n\nLaunch kind: univ4_hook. TreasuryFeeHook charges an immutable extra 0.5% on the ETH leg, excluding fees, of buys AND sells in its ETH/PRIO pool. Transfer the whole extra fee directly into FeeTreasury. Keep platform fees separate. Test exact-input/output swaps, rounding and factory/router compatibility. No tax on ordinary transfers; other pools are outside this hook. Display every fee in quotes. Reject incompatible deployment instead of dropping the fee.\n\nThe website design uses neon pink, cyan, yellow and violet, with original dragon, frog, wolf and raven illustrations.\n\nThe project title on the website is PRISM RIOT.\n\nAdd an Arena contract with commitMove(bytes32), revealMove(uint256,bytes32), finalizeRound() and claimReward(). Each entry escrows 100 PRIO plus a 2 PRIO fee. Wrong moves lose 10 PRIO, missed reveals 20. Hold escrow until finalization. The website provides these contract actions, a leaderboard and refund controls.\n\nAdd an OracleAdapter contract accepting signed IMD EIP-712 panel attestations, verifying signer, consumer domain, question, expiry, quorum and replay. Store the attested numeric result on-chain. The website reads that result and source references from the contract, with a manual submit-attestation form. A separate operator requests the IMD panel result; the website does not call paid APIs.\n\nAdd stake(), withdraw(), claim() for PRIO staking. Distribute already funded rewards by stake amount/time. Principal remains withdrawable, separate from game escrow and agent budgets. No fixed APY, minting or unfunded accrual.\n\nReserve gas/operating costs from earned ETH fees, then allocate remaining ETH 30% to purchasing IMD for agent work, 30% to buying PRIO rewards, 40% to owner. Split reward PRIO equally between staking and games. Bound spending/slippage. No owner operating top-ups; insufficient revenue disables paid work.\n\nProvide a budget-limited operator script using IMD oracle.request and job.open to propose challenge content and artwork. Include payment, polling and setup instructions, server-side keys and spending caps. Paid work starts only after configuration and fee funding; outputs cannot alter active rules or spend player deposits.\n\nThe paying wallet is owner. Only owner configures future rounds and operator budgets; active rules, reserved payouts and the 0.5% fee cannot change. Use Vault Raid, faction duels and cooperative boss game modes with fixed published scoring and prizes. Wallets can stake, withdraw and claim as well as play. Oracle timeouts cancel rounds and refund entry fees and escrow. Back up reveal secrets. Separate principal, escrow, refunds and rewards; use bounded settlement and duplicate-claim/reentrancy protection. Show game lobby, staking, treasury and agent activity from real contract data; label demos. No guaranteed profit. Deliver GitHub source, ABIs and Foundry tests.","status":"blocked","brief":"# Approved workflow\n\nBuild a token called Prism Riot (PRIO) and a Uniswap v4 hook charging 0.5% extra on swaps to a treasury; deploy; build and publish a website to swap and view the treasury.\n\nLaunch kind: univ4_hook. TreasuryFeeHook charges an immutable extra 0.5% on the ETH leg, excluding fees, of buys AND sells in its ETH/PRIO pool. Transfer the whole extra fee directly into FeeTreasury. Keep platform fees separate. Test exact-input/output swaps, rounding and factory/router compatibility. No tax on ordinary transfers; other pools are outside this hook. Display every fee in quotes. Reject incompatible deployment instead of dropping the fee.\n\nThe website design uses neon pink, cyan, yellow and violet, with original dragon, frog, wolf and raven illustrations.\n\nThe project title on the website is PRISM RIOT.\n\nAdd an Arena contract with commitMove(bytes32), revealMove(uint256,bytes32), finalizeRound() and claimReward(). Each entry escrows 100 PRIO plus a 2 PRIO fee. Wrong moves lose 10 PRIO, missed reveals 20. Hold escrow until finalization. The website provides these contract actions, a leaderboard and refund controls.\n\nAdd an OracleAdapter contract accepting signed IMD EIP-712 panel attestations, verifying signer, consumer domain, question, expiry, quorum and replay. Store the attested numeric result on-chain. The website reads that result and source references from the contract, with a manual submit-attestation form. A separate operator requests the IMD panel result; the website does not call paid APIs.\n\nAdd stake(), withdraw(), claim() for PRIO staking. Distribute already funded rewards by stake amount/time. Principal remains withdrawable, separate from game escrow and agent budgets. No fixed APY, minting or unfunded accrual.\n\nReserve gas/operating costs from earned ETH fees, then allocate remaining ETH 30% to purchasing IMD for agent work, 30% to buying PRIO rewards, 40% to owner. Split reward PRIO equally between staking and games. Bound spending/slippage. No owner operating top-ups; insufficient revenue disables paid work.\n\nProvide a budget-limited operator script using IMD oracle.request and job.open to propose challenge content and artwork. Include payment, polling and setup instructions, server-side keys and spending caps. Paid work starts only after configuration and fee funding; outputs cannot alter active rules or spend player deposits.\n\nThe paying wallet is owner. Only owner configures future rounds and operator budgets; active rules, reserved payouts and the 0.5% fee cannot change. Use Vault Raid, faction duels and cooperative boss game modes with fixed published scoring and prizes. Wallets can stake, withdraw and claim as well as play. Oracle timeouts cancel rounds and refund entry fees and escrow. Back up reveal secrets. Separate principal, escrow, refunds and rewards; use bounded settlement and duplicate-claim/reentrancy protection. Show game lobby, staking, treasury and agent activity from real contract data; label demos. No guaranteed profit. Deliver GitHub source, ABIs and Foundry tests.\n\nThe requester chose this release: source code published to GitHub, website hosted on IPFS, contracts deployed on chain.\n\nBuild a token called Prism Riot (PRIO) and a Uniswap v4 hook charging 0.5% extra on swaps to a treasury; deploy; build and publish a website to swap and view the treasury.\n\nLaunch kind: univ4_hook. TreasuryFeeHook charges an immutable extra 0.5% on the ETH leg, excluding fees, of buys AND sells in its ETH/PRIO pool. Transfer the whole extra fee directly into FeeTreasury. Keep platform fees separate. Test exact-input/output swaps, rounding and factory/router compatibility. No tax on ordinary transfers; other pools are outside this hook. Display every fee in quotes. Reject incompatible deployment instead of dropping the fee.\n\nThe website design uses neon pink, cyan, yellow and violet, with original dragon, frog, wolf and raven illustrations.\n\nThe project title on the website is PRISM RIOT.\n\nAdd an Arena contract with commitMove(bytes32), revealMove(uint256,bytes32), finalizeRound() and claimReward(). Each entry escrows 100 PRIO plus a 2 PRIO fee. Wrong moves lose 10 PRIO, missed reveals 20. Hold escrow until finalization. The website provides these contract actions, a leaderboard and refund controls.\n\nAdd an OracleAdapter contract accepting signed IMD EIP-712 panel attestations, verifying signer, consumer domain, question, expiry, quorum and replay. Store the attested numeric result on-chain. The website reads that result and source references from the contract, with a manual submit-attestation form. A separate operator requests the IMD panel result; the website does not call paid APIs.\n\nAdd stake(), withdraw(), claim() for PRIO staking. Distribute already funded rewards by stake amount/time. Principal remains withdrawable, separate from game escrow and agent budgets. No fixed APY, minting or unfunded accrual.\n\nReserve gas/operating costs from earned ETH fees, then allocate remaining ETH 30% to purchasing IMD for agent work, 30% to buying PRIO rewards, 40% to owner. Split reward PRIO equally between staking and games. Bound spending/slippage. No owner operating top-ups; insufficient revenue disables paid work.\n\nProvide a budget-limited operator script using IMD oracle.request and job.open to propose challenge content and artwork. Include payment, polling and setup instructions, server-side keys and spending caps. Paid work starts only after configuration and fee funding; outputs cannot alter active rules or spend player deposits.\n\nThe paying wallet is owner. Only owner configures future rounds and operator budgets; active rules, reserved payouts and the 0.5% fee cannot change. Use Vault Raid, faction duels and cooperative boss game modes with fixed published scoring and prizes. Wallets can stake, withdraw and claim as well as play. Oracle timeouts cancel rounds and refund entry fees and escrow. Back up reveal secrets. Separate principal, escrow, refunds and rewards; use bounded settlement and duplicate-claim/reentrancy protection. Show game lobby, staking, treasury and agent activity from real contract data; label demos. No guaranteed profit. Deliver GitHub source, ABIs and Foundry tests.\n","briefDigest":"1700e2b2238c9206ca16cb6976845c34e712c3cad726e9978b1187b7dea70197"},"planning":null,"id":"c68db192-7d16-4599-b418-9e1979654664","state":"blocked","template":"shape:chain","objective":"WORKFLOW CONTRACT STAGE CONTEXT: the stage produces implemented and tested contracts, ABI documentation and an independently reviewed launch.json. Each assignment contributes only within its own role and write scope. Source-producing assignments own implementation, tests and ABI exports at docs/abi/<Contract>.json where their scope permits. The generated manifest assignment writes only launch.json. Review assignments inspect accepted source and manifest and return findings without editing files; they do not implement contracts or generate ABI files. Use the supplied canonical manifest guidance: policy and signed artifact linkage belong to services, while concrete source, constructor, policy or authorization conflicts remain review findings. Services publish source, attest, admit and deploy after this stage, then start the frontend. Read .imd/reads/workflow.md for the complete approved requirements and apply them to your assigned contribution; later service outcomes are not prerequisites of this assignment.","blockedReason":"node audit_judge exhausted its attempts","createdAt":"2026-10-08T05:51:00.427Z","updatedAt":"2026-10-08T06:55:51.926Z","paidBy":"0x13afb9b5780cd9ae79c61503adb69c57845d8eac","parentJobId":null,"project":{"id":"c68db192-7d16-4599-b418-9e1979654664","head":"c68db192-7d16-4599-b418-9e1979654664","running":null,"versions":[{"jobId":"c68db192-7d16-4599-b418-9e1979654664","workflowId":"bbf45a6b-c2ae-40b2-a5e7-41d2f3e8c633","objective":"Build a token called Prism Riot (PRIO) and a Uniswap v4 hook charging 0.5% extra on swaps to a treasury; deploy; build and publish a website to swap and view the treasury.\n\nLaunch kind: univ4_hook. TreasuryFeeHook charges an immutable extra 0.5% on the ETH leg, excluding fees, of buys AND sells in its ETH/PRIO pool. Transfer the whole extra fee directly into FeeTreasury. Keep platform fees separate. Test exact-input/output swaps, rounding and factory/router compatibility. No tax on ordinary transfers; other pools are outside this hook. Display every fee in quotes. Reject incompatible deployment instead of dropping the fee.\n\nThe website design uses neon pink, cyan, yellow and violet, with original dragon, frog, wolf and raven illustrations.\n\nThe project title on the website is PRISM RIOT.\n\nAdd an Arena contract with commitMove(bytes32), revealMove(uint256,bytes32), finalizeRound() and claimReward(). Each entry escrows 100 PRIO plus a 2 PRIO fee. Wrong moves lose 10 PRIO, missed reveals 20. Hold escrow until finalization. The website provides these contract actions, a leaderboard and refund controls.\n\nAdd an OracleAdapter contract accepting signed IMD EIP-712 panel attestations, verifying signer, consumer domain, question, expiry, quorum and replay. Store the attested numeric result on-chain. The website reads that result and source references from the contract, with a manual submit-attestation form. A separate operator requests the IMD panel result; the website does not call paid APIs.\n\nAdd stake(), withdraw(), claim() for PRIO staking. Distribute already funded rewards by stake amount/time. Principal remains withdrawable, separate from game escrow and agent budgets. No fixed APY, minting or unfunded accrual.\n\nReserve gas/operating costs from earned ETH fees, then allocate remaining ETH 30% to purchasing IMD for agent work, 30% to buying PRIO rewards, 40% to owner. Split reward PRIO equally between staking and games. Bound spending/slippage. No owner operating top-ups; insufficient revenue disables paid work.\n\nProvide a budget-limited operator script using IMD oracle.request and job.open to propose challenge content and artwork. Include payment, polling and setup instructions, server-side keys and spending caps. Paid work starts only after configuration and fee funding; outputs cannot alter active rules or spend player deposits.\n\nThe paying wallet is owner. Only owner configures future rounds and operator budgets; active rules, reserved payouts and the 0.5% fee cannot change. Use Vault Raid, faction duels and cooperative boss game modes with fixed published scoring and prizes. Wallets can stake, withdraw and claim as well as play. Oracle timeouts cancel rounds and refund entry fees and escrow. Back up reveal secrets. Separate principal, escrow, refunds and rewards; use bounded settlement and duplicate-claim/reentrancy protection. Show game lobby, staking, treasury and agent activity from real contract data; label demos. No guaranteed profit. Deliver GitHub source, ABIs and Foundry tests.","baseCommit":"0243d7da4a4337ae8b16bcdf15bb4ead736fd68f","state":"blocked","createdAt":"2026-10-08T05:51:00.427Z"}]},"deliver":true,"host":false,"site":null,"launch":{"requested":true,"kind":"evm_project","id":null,"status":null,"chainId":1},"oracleRequestId":null,"delivery":null,"media":null,"nodes":[{"key":"audit_economics","role":"review","state":"accepted","attempt":2,"revisions":0,"judgeRevisions":0,"dependsOn":["build_contract_project"],"allowedPaths":[],"failureReason":null,"dispatchNote":null,"dispatchNoteAt":null,"updatedAt":"2026-10-08T06:52:41.280Z","verdict":null,"seat":{"tokenId":"2","agentId":"50959"},"live":null},{"key":"audit_flow","role":"review","state":"accepted","attempt":1,"revisions":0,"judgeRevisions":0,"dependsOn":["build_contract_project"],"allowedPaths":[],"failureReason":null,"dispatchNote":null,"dispatchNoteAt":null,"updatedAt":"2026-10-08T06:40:31.559Z","verdict":null,"seat":{"tokenId":"3","agentId":"52082"},"live":null},{"key":"audit_judge","role":"review","state":"failed","attempt":3,"revisions":0,"judgeRevisions":0,"dependsOn":["build_contract_project","write_foundry_tests","manifest","audit_math","audit_permissions","audit_economics","audit_flow"],"allowedPaths":[],"failureReason":"attempts_exhausted","dispatchNote":null,"dispatchNoteAt":null,"updatedAt":"2026-10-08T06:55:51.926Z","verdict":null,"seat":null,"live":null},{"key":"audit_math","role":"review","state":"accepted","attempt":2,"revisions":0,"judgeRevisions":0,"dependsOn":["build_contract_project"],"allowedPaths":[],"failureReason":null,"dispatchNote":null,"dispatchNoteAt":null,"updatedAt":"2026-10-08T06:43:07.671Z","verdict":null,"seat":{"tokenId":"355","agentId":"51027"},"live":null},{"key":"audit_permissions","role":"review","state":"accepted","attempt":2,"revisions":0,"judgeRevisions":0,"dependsOn":["build_contract_project"],"allowedPaths":[],"failureReason":null,"dispatchNote":null,"dispatchNoteAt":null,"updatedAt":"2026-10-08T06:49:37.140Z","verdict":null,"seat":{"tokenId":"1979","agentId":"51317"},"live":null},{"key":"build_contract_project","role":"implement","state":"accepted","attempt":1,"revisions":0,"judgeRevisions":0,"dependsOn":[],"allowedPaths":[],"failureReason":null,"dispatchNote":null,"dispatchNoteAt":null,"updatedAt":"2026-10-08T06:27:15.424Z","verdict":{"status":"accepted","profile":"foundry","evaluation":"checks","rejectionCode":null,"detail":"all checks passed","verifierVersion":"0.1.0+ad90ce4c","verifiedTreeHash":"d4ac48661d397bf00a66c73c6b7aa4aafbc2e40f","at":"2026-10-08T06:27:15.423Z","failedChecks":[]},"seat":{"tokenId":"579","agentId":"50950"},"live":null},{"key":"manifest","role":"integrate","state":"accepted","attempt":1,"revisions":0,"judgeRevisions":0,"dependsOn":["build_contract_project"],"allowedPaths":["launch.json"],"failureReason":null,"dispatchNote":null,"dispatchNoteAt":null,"updatedAt":"2026-10-08T06:34:27.438Z","verdict":{"status":"accepted","profile":"foundry","evaluation":"checks","rejectionCode":null,"detail":"all checks passed","verifierVersion":"0.1.0+ad90ce4c","verifiedTreeHash":"f334697a2ee2642afbb6cba92b417b77ada5296e","at":"2026-10-08T06:34:27.436Z","failedChecks":[]},"seat":{"tokenId":"946","agentId":"51061"},"live":null},{"key":"write_foundry_tests","role":"tests","state":"accepted","attempt":1,"revisions":0,"judgeRevisions":0,"dependsOn":["build_contract_project"],"allowedPaths":["test","test/**"],"failureReason":null,"dispatchNote":null,"dispatchNoteAt":null,"updatedAt":"2026-10-08T06:52:09.477Z","verdict":{"status":"accepted","profile":"foundry","evaluation":"checks","rejectionCode":null,"detail":"all checks passed","verifierVersion":"0.1.0+ad90ce4c","verifiedTreeHash":"ecd8e2b7877869467e31d1b7c561461604072b3e","at":"2026-10-08T06:52:09.476Z","failedChecks":[]},"seat":{"tokenId":"19","agentId":"51135"},"live":null}],"reviews":[{"status":"queued","chainId":1,"txHash":null,"blockNumber":null,"sentAt":null,"entries":[{"nodeKey":"audit_economics","agentId":"50959","value":1,"role":"review:submission"},{"nodeKey":"audit_flow","agentId":"52082","value":1,"role":"review:submission"},{"nodeKey":"audit_math","agentId":"51027","value":1,"role":"review:submission"},{"nodeKey":"audit_permissions","agentId":"51317","value":1,"role":"review:submission"},{"nodeKey":"build_contract_project","agentId":"50950","value":1,"role":"verification:checks"},{"nodeKey":"manifest","agentId":"51061","value":1,"role":"verification:checks"},{"nodeKey":"write_foundry_tests","agentId":"51135","value":1,"role":"verification:checks"}]}]}