{"assessments":[],"deployments":[{"attestationHash":"d3d5e4016c8b2ee9e859423886bda4ece7db7206cf20289d330aa0798eaa10e2","chainId":1,"contracts":[{"address":"0x39e55288f5b84dd867a784c95f110818ea8f3b31","blockNumber":26427708,"name":"WishGarden","role":"other","txHash":"0xbee6176e81e9e010acdd652ff3d879bc920f58c8821b3535b7e89da9817fe521"}],"id":"4da4ce03-15a3-45c0-b7bc-243040826032","manifestHash":"f4afc86b9a7da5df382771ca38f0353b688cfcaedf48670d3d28b3730e8d5e9b","status":"live"}],"fuzz":[],"identity":{"adapter":"0xde152afb7db5373f34876e1499fbd893a82dd336","chainId":1,"collection":"0x0000ec93127baa929e58e97dd0095a2bfb38ec1d","registry":"0x8004a169fb4a3325136eb29fa0ceb6d2e539a432"},"interpretation":"Records acceptance and evidence. Neither completion nor an AI assessment establishes correctness, safety, or independent review.","jobId":"82d61211-7552-4dac-9dd0-c34a5780ccec","kind":"shape:chain","nodes":[{"acceptedSubmissionHash":"7aeb945e8bba3bf0ee11e0918ee62ce0af7d849965cc8ad78d3cebba92c34434","dependsOn":["audit_imported_code"],"execution":{"network":false,"profile":"foundry","requires":[],"skillHash":"15128eeb8da9fb5ec13c7964e80f936ddc40e718cc0d455d200435c3dc43d6a7","skillId":"adapt-contract-project","tools":[]},"key":"adapt_contract_project","kind":"code","role":"implement","skillHash":"15128eeb8da9fb5ec13c7964e80f936ddc40e718cc0d455d200435c3dc43d6a7","skillId":"adapt-contract-project","state":"accepted"},{"acceptedSubmissionHash":"a695654968d0c5605ed61504afc5c7cbf063d206c3d5e42a321f4a20c4374e14","dependsOn":["adapt_contract_project","write_foundry_tests","manifest"],"execution":{"network":false,"profile":"foundry","requires":[],"skillHash":"bc5bfc8455464381f2db18badb2b55cf8bec1e535c019349a0378fa990741171","skillId":"audit-specialist","subagents":3,"tools":[]},"key":"audit_economics","kind":"code","role":"review","skillHash":"bc5bfc8455464381f2db18badb2b55cf8bec1e535c019349a0378fa990741171","skillId":"audit-specialist","state":"accepted"},{"acceptedSubmissionHash":"134142a8c0884107cdf2751e8d4e4cc9ce8971ac2ea220ad33980eae478ba727","dependsOn":["adapt_contract_project","write_foundry_tests","manifest"],"execution":{"network":false,"profile":"foundry","requires":[],"skillHash":"bc5bfc8455464381f2db18badb2b55cf8bec1e535c019349a0378fa990741171","skillId":"audit-specialist","subagents":3,"tools":[]},"key":"audit_flow","kind":"code","role":"review","skillHash":"bc5bfc8455464381f2db18badb2b55cf8bec1e535c019349a0378fa990741171","skillId":"audit-specialist","state":"accepted"},{"acceptedSubmissionHash":"b2770aa1d2d0989e3c601850b2e638bde15821ee87af68b78f65b17148ab166c","dependsOn":[],"execution":{"network":false,"profile":"foundry","requires":[],"skillHash":"b72293c3366fff3f0b93151bca72cc6cbd189dad31d1ccd1d34dd483f2165a36","skillId":"audit-imported-code","subagents":4,"tools":[]},"key":"audit_imported_code","kind":"code","role":"review","skillHash":"b72293c3366fff3f0b93151bca72cc6cbd189dad31d1ccd1d34dd483f2165a36","skillId":"audit-imported-code","state":"accepted"},{"acceptedSubmissionHash":"f5e5f94034ec7076b3ef13ff2a13ff5d0431bbf278bb188677d599f409aac366","dependsOn":["adapt_contract_project","write_foundry_tests","manifest","audit_math","audit_permissions","audit_economics","audit_flow"],"execution":{"network":false,"profile":"foundry","requires":[],"skillHash":"b89279670f5a00f5d26286edee00c97dd158b997031350a01cafe6e0329ad227","skillId":"audit-judge","subagents":4,"tools":[]},"key":"audit_judge","kind":"code","role":"review","skillHash":"b89279670f5a00f5d26286edee00c97dd158b997031350a01cafe6e0329ad227","skillId":"audit-judge","state":"accepted"},{"acceptedSubmissionHash":"fd69a03412b0efa9b76775e5b3d917629b34d9015da79d4c71c6704047ec7465","dependsOn":["adapt_contract_project","write_foundry_tests","manifest"],"execution":{"network":false,"profile":"foundry","requires":[],"skillHash":"bc5bfc8455464381f2db18badb2b55cf8bec1e535c019349a0378fa990741171","skillId":"audit-specialist","subagents":3,"tools":[]},"key":"audit_math","kind":"code","role":"review","skillHash":"bc5bfc8455464381f2db18badb2b55cf8bec1e535c019349a0378fa990741171","skillId":"audit-specialist","state":"accepted"},{"acceptedSubmissionHash":"004876ce944f25c3073369bbd89ee3e4bf59f801be0c0abe6c011d7d4bd7a69f","dependsOn":["adapt_contract_project","write_foundry_tests","manifest"],"execution":{"network":false,"profile":"foundry","requires":[],"skillHash":"bc5bfc8455464381f2db18badb2b55cf8bec1e535c019349a0378fa990741171","skillId":"audit-specialist","subagents":3,"tools":[]},"key":"audit_permissions","kind":"code","role":"review","skillHash":"bc5bfc8455464381f2db18badb2b55cf8bec1e535c019349a0378fa990741171","skillId":"audit-specialist","state":"accepted"},{"acceptedSubmissionHash":"8c318330564a8286400a011e95fe7313cbbcd315cfa2980b5035b8f44ad0a4cb","dependsOn":["audit_imported_code","adapt_contract_project","write_foundry_tests"],"execution":{"network":false,"profile":"foundry","requires":[],"tools":[]},"key":"manifest","kind":"code","role":"integrate","skillHash":null,"skillId":null,"state":"accepted"},{"acceptedSubmissionHash":"33356a110bb4ac86f793a7038c2f3fd504f9e4ef9fb9558fd97a31480f0a1c2c","dependsOn":["adapt_contract_project"],"execution":{"network":false,"profile":"foundry","requires":[],"skillHash":"6c8cf11980f74125d34b6f2b05c5495824fcaadbed08be63708f2f4c4e8114a2","skillId":"write-foundry-tests","subagents":4,"tools":[]},"key":"write_foundry_tests","kind":"code","role":"tests","skillHash":"6c8cf11980f74125d34b6f2b05c5495824fcaadbed08be63708f2f4c4e8114a2","skillId":"write-foundry-tests","state":"accepted"}],"objective":"EVERLIGHT GARDEN on IMD. CONTRACTS ONLY: implement a new paid candle protocol using the pinned source as reference, independently test/review it, publish Solidity source on GitHub and deploy its Ethereum contracts. NO new ERC20, NFT, pool, website or website hosting in this order. A separate later order builds the garden website. Do not inherit obsolete economics or free claims from the imported project.\n\nOwner: 0x48E4E74fE1d0c14404cEB57B9fec5b21329C6ec9. Ethereum IMD: 0xd34a99bc0f67ae1bbd63c660e6d0b0dd03e263b7. Base IMD: 0xFF0C532FDB8Cd566Ae169C1CB157ff2Bdc83E105. IMD has 18 decimals. Use SafeERC20 and exact received-amount checks. Legacy garden 0xaabd6a747359f5478803efa7b51e929e62ec4ca2 and treasury 0x929a062e0ab6266534f1ce573ba34ca7980207aa stay separate and untouched. No legacy balance sweep, retrospective rewards or new free claims. NFT ownership grants NOTHING in this project.\n\n1 IMD buys one permanent candle; 1-50 candles per transaction, no global 10,000 cap, no expiry. Each has a stable sequential ID, immutable purchaser/beneficiary, timestamp and one of seven cosmetic styles. Candles and reward rights are nontransferable, not NFTs. Record an optional wish for each candle in Ethereum storage and events, UTF-8 <=280 codepoints AND <=1120 bytes; reject malformed UTF-8. Accept an array so each candle may have different text. Text is public forever, immutable, never encrypted or described as private. No admin rewrite. Expose paginated candle/wish data and events for indexing and a later garden renderer. No loop over all historical candles.\n\nFor EACH 1 IMD: 30% restricted real-burn queue; 30% rewards to earlier paid candles; 30% ecosystem; 5% operations; 5% founder. All three non-burn/non-reward buckets are separately accounted and owner-withdrawable, initially to owner, with amount/destination events. Owner cannot withdraw reward liabilities or burn funds. No financial rights in ecosystem investments. There is no lottery or random winner.\n\nReward order follows actual canonical transaction execution and sequential IDs, including within batches: attribute the current candle's 30% equally across all PRIOR paid candles BEFORE adding this new candle. Earlier candles in the same batch DO earn from later candles; current candle earns nothing from itself. If there are no prior candles (first candle only), redirect its 30% to ecosystem. Each candle is one equal weight; accounts aggregate their candles. No automatic transfers to every user. Use an O(1) global reward-per-candle accumulator and per-account debt/settled balance, O(batch<=50) purchases and O(1) claim. Precision/rounding must conserve funds, document dust, never overpay; no newly purchased candle receives previously allocated rewards. Same-wallet purchases can generate a partial self-share; do not misrepresent this as profit. Claims available anytime, only by beneficiary, paid to that beneficiary; no weekly lock, expiry or admin confiscation. Claims remain possible if purchases pause. Nonreentrant, checks-effects-interactions, exact-once accounting.\n\nMandatory economics disclosure in integration docs: rewards come ONLY from later candle purchases, are not yield from an external business; no later purchases means no new rewards, no guaranteed return. Claimable IMD must be backed by held IMD. Separate cumulative earned/claimed/claimable, total paid candles, each fee bucket and confirmed burn. Test balances against liabilities, including partial self-share and first-candle fallback.\n\nREAL BURN: Ethereum IMD has no public burn; Base IMD exposes burn(uint256), reducing caller balance and totalSupply. Implement a restricted Ethereum bridge queue and Base burn-only receiver using the actual official IMD bridge interfaces. No guessed calldata, arbitrary call targets or burn-fund withdrawals. Fixed verified destination, bounded approval, replay protection, dust/in-transit/failed/retried/completed accounting. No double count, no sink transfer presented as supply reduction. Gas funded separately. Deploy Ethereum contracts with purchases DISABLED. Include Base receiver source/tests and reproducible owner-signed deployment package OUTSIDE the Ethereum launch manifest. Base deployment and verified peer/endpoint/fee/destination setup are explicit later owner steps; activation requires completion. Report missing bridge facts as blockers. Do not deploy a new IMD token or claim burn works from mocks. Freeze economic rates and verified bridge configuration on activation; no upgrade proxy or arbitrary admin calls.\n\nDeliver source commit, Ethereum addresses/ABIs/manifest, Base package, integration docs and Foundry tests plus independent adversarial review. Test authorization, batches versus sequential buys, same-wallet rewards, late entrants, claims, dust conservation, Unicode, reentrancy and bridge recovery. Separate mocked/fork/live results; no real-fund test purchases. Disclose all setup blockers; never claim a pending bridge or future website is already working.","parentJobId":null,"planHash":"2ca00b731e2b1c37108060f8dc727b0a02cfc97d23af9e6dbd80d6b0894b4f07","previousHash":"1fa308f1a56cc480c1de211590799681aea7a94361596f424597599ab87fd338","projectId":"82d61211-7552-4dac-9dd0-c34a5780ccec","publication":{"commit":"f3ae2915b2fc99c56079da2fc9addef2e94397e0","deliveredAt":"2026-11-16T12:50:52.776Z","repoUrl":"https://github.com/identity-md-launches/launch-3281-everlightgarden-everlighttreasury-everli"},"receiptIdentity":{"adapter":"0xde152afb7db5373f34876e1499fbd893a82dd336","chainId":1,"collection":"0x0000ec93127baa929e58e97dd0095a2bfb38ec1d","registry":"0x8004a169fb4a3325136eb29fa0ceb6d2e539a432"},"registry":"0xb6d0a187b050fa5bb0b87033a203f37becf4a775","research":[],"schema":"identitymd-work-v1","signals":[],"site":null,"snapshotHash":"0d5f75bf7f5ebd3852dcdb72538b0a2776c17de471ad43d6cc12fcc370647406","state":"completed","submissions":[{"artifacts":[],"attempt":1,"bundleHash":null,"device":"23617eab0c5242d6","findings":[{"citation":"resolved","description":"Seam: access x economics (Trust Gap). The brief says the burn route uses a 'fixed verified destination', that there are 'no burn-fund withdrawals', and that the 'Owner cannot withdraw reward liabilities or burn funds'. But the only destination the Ethereum contract enforces is the `receiver` the owner passes to configureBridge. It blocks only 0 and three named addresses. evidenceHash is an opaque owner-supplied bytes32 that nothing checks. readiness (lzReceive kind 1) proves only that some Base address sent a LayerZero message with the matching configHash (EverlightBridgeQueue.sol:208-223), and on LayerZero V2 any address, including an EOA, can call EndpointV2.send as its own sender. Burn confirmations (kind 2, lines 224-232) are trusted from that same owner-chosen address. So before activation the owner can name a Base wallet they control. Every later dispatchBurn then sends burnReserved IMD through the official adapter to that wallet (_sendParam line 242 `IMDBridge.asBytes32(baseReceiver)`), and the wallet can send kind-2 messages that raise confirmedBurn with no supply reduction. That is a burn-fund withdrawal presented as a burn, which the brief explicitly forbids. Activation then freezes this bad route permanently. Fix (keeps the design): pin the destination in source, not in an owner argument. For example, require receiver == the CREATE2 address of EverlightBurnReceiver deployed through a fixed Base deployer (such as the canonical 0x4e59b44847b379578588920ca78fbf26c0b4956c), using a salt and the keccak256 of its creation code with constructor args (OWNER, address(this)), all fixed in source. Note: docs/validation.md:59 lists 'Pre-activation owner choice/verification of remote receiver code' as a trust boundary. That disclosure contradicts the brief's explicit rule that the owner cannot withdraw burn funds, and the CREATE2 pin above removes the need for it.","line":76,"path":"src/bridge/EverlightBridgeQueue.sol","proof":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.26;\n\nimport {Test} from \"forge-std/Test.sol\";\nimport {WishGarden} from \"src/WishGarden.sol\";\nimport {\n    IMDBridge, SendParam, MessagingFee, MessagingReceipt, OFTReceipt, Origin\n} from \"src/bridge/IMDBridge.sol\";\n\ncontract MockIMDOFT {\n    mapping(address => uint256) public balanceOf;\n    mapping(address => mapping(address => uint256)) public allowance;\n    uint256 public totalSupply;\n    bytes32 public peer;\n    bytes32 public lastTo;\n    uint64 public n;\n\n    function decimals() external pure returns (uint8) { return 18; }\n    function setPeer(bytes32 p) external { peer = p; }\n    function mint(address a, uint256 v) external { balanceOf[a] += v; totalSupply += v; }\n    function approve(address s, uint256 v) external returns (bool) { allowance[msg.sender][s] = v; return true; }\n    function transfer(address to, uint256 v) external returns (bool) { balanceOf[msg.sender] -= v; balanceOf[to] += v; return true; }\n    function transferFrom(address f, address to, uint256 v) external returns (bool) {\n        allowance[f][msg.sender] -= v; balanceOf[f] -= v; balanceOf[to] += v; return true;\n    }\n    function token() external view returns (address) { return address(this); }\n    function endpoint() external pure returns (address) { return IMDBridge.ENDPOINT; }\n    function approvalRequired() external pure returns (bool) { return false; }\n    function peers(uint32) external view returns (bytes32) { return peer; }\n    function decimalConversionRate() external pure returns (uint256) { return 1e12; }\n    function enforcedOptions(uint32, uint16) external pure returns (bytes memory) { return \"\"; }\n    function quoteSend(SendParam calldata, bool) external pure returns (MessagingFee memory) { return MessagingFee(1e14, 0); }\n    function send(SendParam calldata p, MessagingFee calldata f, address)\n        external payable returns (MessagingReceipt memory, OFTReceipt memory)\n    {\n        balanceOf[msg.sender] -= p.amountLD; totalSupply -= p.amountLD; // Ethereum debit\n        lastTo = p.to; // credited to p.to on Base by the official adapter\n        bytes32 guid = keccak256(abi.encode(++n));\n        return (MessagingReceipt(guid, n, f), OFTReceipt(p.amountLD, p.amountLD));\n    }\n}\n\ncontract MockEndpoint {\n    function eid() external pure returns (uint32) { return 30101; }\n}\n\ncontract OwnerChosenReceiverTest is Test {\n    address constant OWNER = 0x48E4E74fE1d0c14404cEB57B9fec5b21329C6ec9;\n    address constant IMD = 0xD34a99Bc0f67aE1bbd63C660e6d0b0dd03E263B7;\n\n    function test_ownerCanRouteBurnFundsToOwnBaseWalletAndFakeConfirmation() public {\n        vm.chainId(1);\n        vm.etch(IMD, address(new MockIMDOFT()).code);\n        vm.etch(IMDBridge.ENDPOINT, address(new MockEndpoint()).code);\n        MockIMDOFT imd = MockIMDOFT(IMD);\n        imd.setPeer(IMDBridge.asBytes32(IMDBridge.BASE_ADAPTER));\n        WishGarden garden = new WishGarden(OWNER);\n\n        // Owner's plain Base wallet (EOA, no burn code) instead of an EverlightBurnReceiver.\n        address ownerBaseWallet = makeAddr(\"ownerBaseWallet\");\n        vm.prank(OWNER);\n        try garden.configureBridge(ownerBaseWallet, keccak256(\"any evidence\")) {}\n        catch {\n            return; // fixed: destination is pinned to the verified receiver\n        }\n        // On Base the wallet calls EndpointV2.send itself (any sender may) with kind=1 + configHash.\n        bytes32 h = garden.bridgeConfigHash();\n        vm.prank(IMDBridge.ENDPOINT);\n        garden.lzReceive(Origin(30184, IMDBridge.asBytes32(ownerBaseWallet), 1), bytes32(uint256(1)),\n            abi.encode(uint8(1), h, uint256(0), bytes32(0), uint256(0)), address(0), \"\");\n        vm.prank(OWNER);\n        garden.activate();\n\n        // Users buy 10 candles -> 3 IMD burn allocation.\n        address alice = makeAddr(\"alice\");\n        imd.mint(alice, 10e18);\n        uint8[] memory styles = new uint8[](10);\n        string[] memory wishes = new string[](10);\n        vm.startPrank(alice);\n        imd.approve(address(garden), 10e18);\n        garden.buyCandles(styles, wishes);\n        vm.stopPrank();\n\n        vm.deal(OWNER, 1 ether);\n        vm.startPrank(OWNER);\n        uint256 job = garden.queueBurn(type(uint256).max);\n        garden.dispatchBurn{value: 1e14}(job);\n        vm.stopPrank();\n        (uint256 amount, bytes32 guid,,) = garden.burnJobs(job);\n        assertEq(imd.lastTo(), IMDBridge.asBytes32(ownerBaseWallet), \"burn funds sent to owner wallet\");\n\n        // Owner wallet then reports a \"burn\" it never performed.\n        vm.prank(IMDBridge.ENDPOINT);\n        garden.lzReceive(Origin(30184, IMDBridge.asBytes32(ownerBaseWallet), 2), bytes32(uint256(2)),\n            abi.encode(uint8(2), h, job, guid, amount), address(0), \"\");\n\n        // Requirement: owner cannot withdraw burn funds; confirmedBurn only for a real supply reduction.\n        assertEq(garden.confirmedBurn(), 0, \"3 IMD of burn funds diverted to owner and reported as burned\");\n    }\n}","reproduction":"Mocked (vm.etch of IMD OFT/endpoint doubles, chainid 1): (1) OWNER calls configureBridge(ownerBaseWallet /*an EOA*/, keccak256('any evidence')) and it succeeds. (2) Endpoint delivers lzReceive(Origin(30184, ownerBaseWallet, 1), guid1, abi.encode(1, bridgeConfigHash, 0, 0, 0)), which sets baseReady=true. (3) OWNER calls activate(). (4) alice buys 10 candles, so burnQueued = 3e18. (5) OWNER calls queueBurn(max) and dispatchBurn{value:1e14}(1). The OFT send's `to` is ownerBaseWallet, so 3 IMD are credited to the owner's wallet on Base. (6) Endpoint delivers lzReceive(Origin(30184, ownerBaseWallet, 2), guid2, abi.encode(2, hash, 1, jobGuid, 3e18)). Expected: configureBridge rejects a destination that is not the pinned burn receiver, so the owner cannot get burn funds and confirmedBurn stays 0. Actual: confirmedBurn == 3e18 while the tokens sit in the owner's wallet. Proof test fails with '3000000000000000000 != 0'.","severity":"high","snippet":"    function configureBridge(address receiver, bytes32 evidenceHash) external nonReentrant onlyOwner {\n        if (activated) revert ConfigurationFrozen();\n        _requireIMD();\n        if (\n            receiver == address(0) || receiver == IMDBridge.BASE_IMD || receiver == IMDBridge.BASE_ADAPTER\n                || receiver == IMDBridge.ENDPOINT || evidenceHash == bytes32(0)\n        ) revert InvalidBridgeConfiguration();","title":"Owner chooses the burn destination: configureBridge accepts any Base address, so the owner can take the 30% burn funds and record a fake confirmedBurn"},{"citation":"resolved","description":"Pair: lzCompose (first record and burn) vs retryBurn (re-burn). retryBurn (line 122-131) was deliberately relaxed: 'A later bridge-peer change must not prevent burning its retained balance' (docs/validation.md:53 claims this was fixed). lzCompose still calls _requireReady() -> _checkRoute(), which requires BASE_ADAPTER.peers(30101) == Ethereum IMD, plus adapter and endpoint codehash and approvalRequired. In LayerZero OFT the adapter's lzReceive (which unlocks Base IMD to the receiver) and the executor's lzCompose are separate transactions. If the adapter owner changes the peer, or anything else that _checkRoute reads changes, between those two steps, every lzCompose for the already-credited GUID reverts. retryBurn cannot help, because it requires deliveries[guid].status == Failed and the delivery was never recorded (status None). The tokens sit in the receiver with no withdrawal path (by design), totalReceived/pendingBurn never count them, and the Ethereum job stays InTransit forever (burnInTransit never moves to confirmedBurn). The authenticity of a queued compose comes from the endpoint's composeQueue hash and `from == BASE_ADAPTER`, not from the current peer value, so the route check is not needed here. Fix: in lzCompose, check only base chain, activated and token codehash (as retryBurn does) plus the endpoint/from/message checks, and keep the full _checkRoute for activate and announceReady.","line":94,"path":"src/base/EverlightBurnReceiver.sol","reproduction":"Mocked with the repository's doubles (GardenTestBase._setupBase): mint 3e18 Base IMD to the receiver (adapter credit for job 1). Then BaseAdapterDouble.setPeer(bytes32(1)) (adapter admin peer change). Then the endpoint calls receiver.lzCompose(BASE_ADAPTER, guid=7, abi.encodePacked(uint64(1), uint32(30101), uint256(3e18), bytes32(garden), uint256(1)), ...). Actual: it reverts InvalidConfiguration, and retryBurn(7) reverts InvalidDelivery. The receiver holds 3e18, totalReceived == 0, and nothing can ever burn it unless the external admin restores the exact peer. Expected (per the retryBurn rationale): the authenticated, funded delivery is recorded and burned, or at least recorded as Failed and retryable. Verified locally with a scratch test that asserts both reverts and the stranded balance (it passes on the current code).","severity":"medium","snippet":"    function lzCompose(address from, bytes32 guid, bytes calldata message, address, bytes calldata)\n        external\n        payable\n        nonReentrant\n    {\n        _requireReady();","title":"Asymmetry lzCompose vs retryBurn: a Base adapter peer change between credit and compose permanently strands delivered burn funds (unburnable, unrecorded, Ethereum job stuck InTransit)"},{"citation":"resolved","description":"WishGarden(owner_) receives every privileged power: configureBridge (chooses the burn destination, see finding 1), activate, queueBurn/dispatchBurn, setPurchasesPaused and withdrawBucket for all three fee buckets. The brief names the owner explicitly: 0x48E4E74fE1d0c14404cEB57B9fec5b21329C6ec9. The launch recipe says 'An owner address the brief itself states for a contract is written as that static address instead of $owner.' $owner resolves to the paying wallet when the request's owner field does not set it. Only the notes say it resolves to 0x48E4..., and notes are not deployment authority.","line":7,"path":"launch.json","reproduction":"If the launch is paid from wallet W != 0x48E4E74fE1d0c14404cEB57B9fec5b21329C6ec9 and the request's owner field is empty, the factory deploys WishGarden(W). W then holds bucket withdrawal and bridge configuration rights instead of the brief's owner. Expected: constructorArgs [\"0x48E4E74fE1d0c14404cEB57B9fec5b21329C6ec9\"].","severity":"low","snippet":"        \"$owner\"","title":"Manifest grants WishGarden ownership to $owner although the brief states a static owner address"}],"hash":"004876ce944f25c3073369bbd89ee3e4bf59f801be0c0abe6c011d7d4bd7a69f","nodeId":"dd688845-ee99-4c01-afce-64bcaabde1f8","outcome":"completed","summary":"I found three problems in the access control, trust gap and asymmetry areas: one high, one medium and one low. They're in `.imd-findings.json` with a coverage row for all 20 entry points plus two extra rows. No repository files were changed, and the scratch tests are deleted.\n\n**1. High: the owner can take the 30% burn funds and record fake burns** (`src/bridge/EverlightBridgeQueue.sol:76`, `configureBridge`)\n- **Cause:** before activation, the owner can name any Base address as the burn receiver. The only addresses refused are zero, the Base token, the adapter and the endpoint. The evidence hash is an owner-supplied value that nothing checks.\n- **How it's exploited:** on LayerZero, any address, including a plain wallet, can send messages. So the owner's own Base wallet can send the \"ready\" message, and the owner can then activate. Every burn after that sends IMD to the owner's wallet. The wallet can also send a \"burn confirmed\" message, which raises the Ethereum contract's `confirmedBurn` counter although nothing was burned.\n- **Conflict with the brief:** the brief says the owner cannot withdraw burn funds and the destination must be fixed. `docs/validation.md:59` calls the owner's choice of receiver a \"trust boundary\", which contradicts that.\n- **Proof:** the attached Foundry test, using mocked IMD and endpoint contracts, fails on the current code with `3000000000000000000 != 0` (3 IMD diverted and counted as burned).\n- **Suggested fix:** fix the receiver address in source. For example, require the address that a fixed Base deployer would give `EverlightBurnReceiver`, computed from its creation code and constructor arguments.\n\n**2. Medium: delivered burn funds can be stranded for good on Base** (`src/base/EverlightBurnReceiver.sol:94`, `lzCompose`)\n- `retryBurn` was relaxed on purpose so that a later bridge peer change can't block burning, and the docs say this was fixed. `lzCompose`, the step that first records and burns a delivery, still re-checks the peer.\n- On LayerZero, the adapter crediting tokens to the receiver and the compose call are separate transactions. If the adapter's peer changes in between, every compose attempt fails with `InvalidConfiguration`. `retryBurn` then fails with `InvalidDelivery`, because the delivery was never recorded.\n- The tokens stay in the receiver unrecorded, and the Ethereum job stays \"in transit\" forever. A local test against the repository's mocks confirmed this. I didn't attach a proof file because it isn't critical or high.\n\n**3. Low: the launch manifest uses `\"$owner\"` instead of the owner address the brief states** (`launch.json:7`)\n- The launch recipe says an owner address stated in the brief must be written as that static address (`0x48E4E74fE1d0c14404cEB57B9fec5b21329C6ec9`).\n- If a different wallet pays and no owner is set on the request, that wallet would get every admin power, including withdrawing the fee buckets and choosing the burn receiver (finding 1).\n\n**Coverage:**\n- **Done in depth:** a full permission map, the guarded functions that write the same storage, ownership transfer and renounce, the self-only send and burn subcalls, LayerZero message and compose authentication and replay checks, the paired functions (compose vs retry, send success vs failure, the two config hashes) and owner-setter effects on funds already in flight.\n- **Checked and not a defect:** the static-analysis reentrancy and divide-before-multiply warnings.\n- **Only skimmed, as they're outside my area:** reward rounding math and the UTF-8 validator.\n- **Not checked:** live LayerZero default settings, which aren't available offline.\n\nAll results come from mocks, with no fork or live testing.","treeHash":null,"usage":{"cachedInputTokens":640004,"cost":{"source":"runtime","usdMicros":976563},"inputTokens":21,"model":"claude-opus-5-5","outputTokens":22940,"runtime":"claude","turns":13,"wallClockMs":240901}},{"artifacts":[],"attempt":1,"bundleHash":null,"device":"f0bfc4c48b701998","findings":[{"citation":"resolved","description":"_checkFrozenRoute() is executed on every buyCandles (src/WishGarden.sol:59), every dispatchBurn (line 135) and activate. It compares the LIVE Ethereum IMD OFT state (peers(30184), enforcedOptions(30184,2), decimalConversionRate, approvalRequired, endpoint eid, codehashes) against hashes snapshotted in configureBridge. After activate() the snapshot can never be updated (configureBridge reverts ConfigurationFrozen) and there is no other recovery path. The Ethereum IMD token is owned by an external party (live owner 0x047F606fD5b2BaA5f5C6c4aB8958E45CB6B054B7, read from a public Ethereum mainnet JSON-RPC on 2026-11-16); setting enforced options for msgType 2 (SEND_AND_CALL) is a routine OFT operation (enforcedOptions(30184,1) is already set live; (30184,2) is currently empty, which is what gets frozen). The moment that external admin sets any type-2 enforced option, or re-peers the Base adapter, (a) buyCandles reverts InvalidBridgeConfiguration forever, (b) dispatchBurn reverts forever so burnQueued+burnReserved IMD is permanently frozen (not burnable, not withdrawable), (c) setPurchasesPaused(false) and configureBridge cannot repair it. The brief asks to freeze the app's economic rates and verified destination; it does not ask that purchases die permanently on a gas-option change by a third party. The enforced-options hash is executor gas data, not a destination or custody parameter. README.md/docs/deployment.md say only that dependency changes 'may strand burn operations'; they do not disclose that the garden's primary function stops permanently. Minimal fix preserving the design: on route drift, fail closed by auto-pausing purchases but let the owner re-snapshot only enforcedOptionsHash (and optionally the peer, with a new evidence hash and fresh authenticated Base readiness) while keeping receiver/destination frozen; or drop the enforced-options hash from the purchase path and keep it in dispatchBurn only, and disclose the halt in the docs.","line":267,"path":"src/bridge/EverlightBridgeQueue.sol","reproduction":"State: activated garden (test/helpers/GardenTestBase.setUp), alice buys 3 candles, owner queueBurn(type(uint256).max) -> job 1 with 0.9e18 reserved. Trigger (external IMD owner): IMDOFTDouble.setOptions(abi.encodePacked(uint16(3),uint8(1),uint16(17),uint8(1),uint128(100000))) i.e. enforcedOptions(30184,2) becomes non-empty. Then: alice buyCandles([0],['']) -> reverts InvalidBridgeConfiguration (expected: purchase accepted or a pause the owner can lift). Owner dispatchBurn{value: quoteBurn(1).nativeFee}(1) -> reverts InvalidBridgeConfiguration (expected: send or retryable failure). Owner configureBridge(receiver, EVIDENCE) -> ConfigurationFrozen. Owner setPurchasesPaused(false) succeeds but buyCandles still reverts. burnReserved()==0.9e18 permanently, ownerWithdrawable()==1.5e18 untouched. Reproduced in test/scratch/Leads.t.sol::test_enforcedOptionsChangePermanentlyHaltsPurchasesAndDispatch (passes = reproduces).","severity":"medium","snippet":"                || keccak256(IIMDOFT(IMD).enforcedOptions(IMDBridge.BASE_EID, 2)) != enforcedOptionsHash","title":"Frozen external-route check in buyCandles/dispatchBurn permanently halts purchases and burn dispatch after a routine third-party OFT config change, with no owner recovery"},{"citation":"resolved","description":"The brief names the owner explicitly (0x48E4E74fE1d0c14404cEB57B9fec5b21329C6ec9) and the launch recipe says an owner address the brief itself states must be written as that static address instead of $owner, because $owner resolves to the wallet that paid for the launch (or the request's owner field), never to text in notes. docs/deployment/manifest-handoff.json already uses the static address, but launch.json (the only file the deployer reads) passes \"$owner\". The notes claim '$owner resolves to 0x48E4..., never the factory', which is an assumption the schema does not enforce. WishGarden(owner_) gives owner_ exclusive rights to configureBridge, activate, queueBurn/dispatchBurn, setPurchasesPaused and withdrawBucket of the 30%/5%/5% ecosystem/operations/founder buckets, with ownership transferable only by that owner (Ownable2Step, renounce disabled). Fix: replace \"$owner\" with \"0x48E4E74fE1d0c14404cEB57B9fec5b21329C6ec9\" in constructorArgs.","line":7,"path":"launch.json","reproduction":"Deploy via the factory with the launch paid by wallet W != 0x48E4E74fE1d0c14404cEB57B9fec5b21329C6ec9 and no owner field in the request: $owner resolves to W, WishGarden.owner()==W. Expected: owner()==0x48E4E74fE1d0c14404cEB57B9fec5b21329C6ec9 as the brief states. Consequence: W alone can call withdrawBucket(Ecosystem, W, ecosystemBalance) after purchases and the named owner has no path to control. Local check: `new WishGarden(W)` then `garden.owner()==W`; constructor has no check against the brief's address (it cannot, so the manifest must carry it).","severity":"medium","snippet":"        \"$owner\"","title":"launch.json uses $owner although the brief states the owner address; a launch paid by another wallet hands all fee buckets and admin powers to that wallet"},{"citation":"resolved","description":"lzCompose authenticates the message by msg.sender==ENDPOINT and from==BASE_ADAPTER (line 101); the adapter already verified the Ethereum peer when it accepted the packet and credited the receiver. _requireReady() additionally calls _checkRoute() (lines 225-234), which requires adapter.peers(30101)==ETHEREUM_IMD, adapter.token()/endpoint()/approvalRequired()/decimalConversionRate() and endpoint.eid() to still match at compose time. The OFT credit (adapter _lzReceive -> token.transfer(receiver)) and the compose are separate transactions, and a compose that fails once (e.g. low executor gas) can sit in the endpoint compose queue indefinitely. If the external IMD team re-peers the adapter in that window (a migration), lzCompose reverts InvalidConfiguration forever: the receiver holds the tokens, deliveries[guid] is None, retryBurn(guid) reverts InvalidDelivery, and the Ethereum job stays InTransit forever (burnInTransit never resolves). retryBurn deliberately drops the peer check for exactly this reason (comment lines 124-125); lzCompose should be equally lenient: authenticate via endpoint/from and token codehash only, or let retryBurn/burn recovery accept the credited amount.","line":99,"path":"src/base/EverlightBurnReceiver.sol","reproduction":"test/scratch/Leads.t.sol::test_adapterPeerChangeStrandsCreditedUncomposedDelivery (passes = reproduces). State: receiver activated on Base (GardenTestBase._setupBase). Simulate the completed OFT credit: mint 0.9e18 Base IMD to the receiver. Before compose: BaseAdapterDouble(BASE_ADAPTER).setPeer(bytes32(uint256(1))). Then endpoint calls receiver.lzCompose(BASE_ADAPTER, guid, encodePacked(uint64(1),uint32(30101),uint256(0.9e18),bytes32(garden),uint256(1)), executor, '') -> reverts InvalidConfiguration (expected: burn 0.9e18 or record a retryable Failed delivery). receiver.retryBurn(guid) -> InvalidDelivery. balanceOf(receiver)==0.9e18, pendingBurn()==0, no record. On Ethereum the job stays InTransit permanently.","severity":"low","snippet":"        _requireReady();","title":"Base lzCompose re-verifies the live adapter peer/route for an already endpoint-authenticated delivery; a peer change between credit and compose strands the credited IMD with no delivery record"}],"hash":"134142a8c0884107cdf2751e8d4e4cc9ce8971ac2ea220ad33980eae478ba727","nodeId":"a6f778c3-9ef2-4569-b517-995d316680fc","outcome":"completed","summary":"The review is complete. The findings file is written at `.imd-findings.json` with three substantiated findings and a coverage row for all 21 listed entry points plus two invariants and the manifest.\n\n**What I did**\n\nI traced every state-changing entry point of `WishGarden` and `EverlightBurnReceiver` through the Execution Trace, Periphery and First Principles checklists, read the LayerZero OFT message and options encodings against the code, ran the full suite (80 tests pass) and the ABI export check, and confirmed the pinned route facts against live Ethereum and Base state over the task's RPC. Two leads were reproduced with scratch tests under `test/scratch/`, which is gitignored.\n\n**Findings**\n\n- **Medium. Frozen route check kills the garden permanently.** Every purchase and burn dispatch re-verifies live Ethereum IMD OFT state against hashes frozen at activation, including the type-2 enforced options that are empty today. A routine enforced-options or peer change by the external IMD owner makes `buyCandles` and `dispatchBurn` revert forever. The owner cannot re-snapshot, and pausing does not help. Queued burn IMD becomes frozen rather than burned. Docs do not disclose this. Cited at `src/bridge/EverlightBridgeQueue.sol:267`.\n- **Medium. Manifest owner argument.** The brief states the owner address, and the launch recipe requires a stated owner to be written as a static address. `launch.json` passes `$owner`, which resolves to whoever paid. A launch paid by another wallet gives that wallet all three fee buckets and every admin power.\n- **Low. Base compose re-checks the live adapter peer.** A delivery already authenticated by the endpoint and credited to the receiver cannot be composed if the adapter is re-peered before compose runs. The tokens sit in the receiver with no delivery record, `retryBurn` cannot reach them, and the Ethereum job stays in transit forever.\n\n**What held**\n\nReward ordering within batches, first-candle fallback, dust conservation, claim and bucket withdrawal custody, UTF-8 validation, exact-transfer checks, send and compose message layouts, option encodings, replay guards and the failed-send retry path all behaved as intended. Slither's reentrancy and divide-before-multiply leads did not reproduce as defects. Live simulation showed Base token burns and above-limit adapter transfers succeed, so no per-transaction cap issue exists.\n\n**Not reached**\n\nI did not inspect the verified source of the Base token's transfer hooks beyond simulation, nor the current LayerZero default library and DVN configuration for the new receipt channel. Both remain the activation blockers the deployment docs already list.","treeHash":null,"usage":{"cachedInputTokens":1018865,"chain":[{"calls":31,"chainId":1,"failed":0,"own":19,"public":0,"refused":12},{"calls":112,"chainId":8453,"failed":0,"own":68,"public":0,"refused":44}],"cost":{"source":"runtime","usdMicros":4908181},"inputTokens":322,"model":"claude-fable-5-1","outputTokens":44222,"runtime":"claude","turns":33,"wallClockMs":753018}},{"artifacts":[],"attempt":1,"bundleHash":"3a0b7a5c36fc4d95a95e32224d41a0e0744f69cff130e2f69f7d9bef20f922af","device":"3516474d8a268bd8","findings":[],"hash":"33356a110bb4ac86f793a7038c2f3fd504f9e4ef9fb9558fd97a31480f0a1c2c","nodeId":"5f85da04-d01a-4440-9b02-c95cc86b0520","outcome":"completed","summary":"The implementation's latest revision broke 7 of my earlier review tests. I've updated them to the new behaviour and added a test file covering what the revision changed. The full suite passes with the assignment seed: **96 passed, 0 failed, 0 skipped** across 16 suites.\n\n**What the revision changed:** the Base burn receiver is now fixed to one address that the code derives itself, and the owner can't choose another. Purchases no longer check the bridge's state. The check that blocks burn dispatch no longer covers enforced options.\n\n**Why the tests failed, and the fixes** (only files under `test/review/` changed):\n- **`ActivationAndRuntime.t.sol` and `BridgeDeltaFailures.t.sol`:** these set up new gardens with a receiver I deployed myself, which the code now rejects. They now use each garden's own fixed receiver.\n- **`BridgeBoundaries.t.sol`:** one fuzz test expected purchases to fail after a bridge setting changed. Its replacement checks the new rules:\n  - Purchases and claims carry on.\n  - A change to the token code, endpoint code, peer or endpoint chain ID stops burn dispatch without using up an attempt or moving any funds.\n  - Dispatch works again once the setting is restored.\n  - An enforced-options change doesn't block dispatch.\n\n**New file, `test/review/PinnedRouteRevision.t.sol`:**\n- **Front-running:** a stranger can run the Base receiver deployment first, but the result still belongs to the owner. The stranger can't activate it, and the same deployment can't be repeated. A receiver the stranger owns gets a different address, which the garden rejects.\n- **Cross-garden:** a receiver tied to another garden with the same owner can't configure this garden or confirm its burns. This garden's own receiver confirms a burn exactly once.\n- **Random peer values:** purchases of 1–50 candles still move exactly the right amount of IMD. Only the official peer allows dispatch.\n- **Early delivery:** a burn delivery that arrives before Base activation fails and stays queued for retry. After activation it goes through exactly once and reduces supply, and the supplied wallet-gas helper confirms it works at a wallet's gas.\n- **Ownership:** the Base receiver stays owned by the garden's original owner. If garden ownership moves to someone else before the Base setup, they can configure the garden, but the original owner keeps the Base receiver until they transfer it on Base. I've written this up as a disclosure in `REVIEW.md`, not as a defect.\n\nI found no defect, so there is no `.imd-findings.json`. All results come from mock contracts: no fork or live tests, no real-fund purchases, and none of this shows the live bridge working. I haven't committed anything.","treeHash":"4ce8596f2ede126214e55bc51f990f32f2da0009","usage":{"cachedInputTokens":1134925,"cost":{"source":"runtime","usdMicros":1205557},"inputTokens":39,"model":"claude-opus-5-5","outputTokens":19484,"runtime":"claude","turns":21,"wallClockMs":238350}},{"artifacts":[],"attempt":1,"bundleHash":"012997ec23f401e005fe28a0abd487451716dbcb3db05dfaf4d40552d4a5d57f","device":"eaa98ad0794d4f76","findings":[],"hash":"6231dfe449dce50a3b07d131e7acebfc730f47c6d94fd91e47918533d20f3b3d","nodeId":"0e405126-148e-429d-8aac-f4420106c3d9","outcome":"completed","summary":"Implemented paid-only candles, exact 30/30/30/5/5 accounting, rewards, public wishes, and the bridge/burn flow.\n\n`forge build` and **49 Foundry tests pass** with the requested seed. ABIs, the separate Base deployment package, integration docs, and `ADAPTATION.md` are included.\n\nPurchases start disabled. Publication, deployment, independent network approval, and documented owner activation steps remain pending; no live burn is claimed.","treeHash":"9eff28751144589831ad5c02718d1f56de034828","usage":{"cachedInputTokens":4579968,"cost":{"source":"estimated","usdMicros":9279358},"inputTokens":126844,"model":"gpt-6-astra","outputTokens":68619,"runtime":"codex","turns":10,"wallClockMs":2007650}},{"artifacts":[],"attempt":1,"bundleHash":"2bbfabcc14c0f6fd2de244a86f5e0f68aa5d1caf71e61e8fa8e152efd1ddff5a","device":"2293d6b19e81ef1a","findings":[],"hash":"7aeb945e8bba3bf0ee11e0918ee62ce0af7d849965cc8ad78d3cebba92c34434","nodeId":"0e405126-148e-429d-8aac-f4420106c3d9","outcome":"completed","summary":"The revision is finished: all five review findings reproduced and are fixed in code or docs, but one of the three held proofs can no longer run and is answered \"disputed\". `forge build` and `forge test` pass with the assignment seed (60 tests, 0 failed), and `.imd-responses.json` answers all 14 finding ids.\n\n**The disputed proof.** `Proof_3a1155f91412` configures an arbitrary receiver (`0xB0B0`) in its own `setUp`, which the fix for `e1e37d73` must reject, so no tree can pass both. Its defect is fixed and the same two scenarios pass in-tree with the pinned receiver. If the verifier does not honour the dispute, this proof fails in `setUp` with `InvalidBridgeConfiguration`.\n\n| Finding | Verdict | What changed |\n| --- | --- | --- |\n| `e1e37d73` owner-chosen Base destination | fixed, proof passes | The garden constructor derives an immutable `pinnedBaseReceiver`: the CREATE2 address of this repo's `EverlightBurnReceiver` for this garden and initial owner, via the canonical deployer and a fixed salt. `configureBridge` rejects any other address. |\n| `3a1155f9` third-party OFT changes disable purchases and dispatch | defect fixed, proof disputed | `buyCandles` checks only the IMD token. Dispatch ignores enforced options but still stops on a peer, endpoint or code change, and resumes when the peer is restored. |\n| `14107f84` credited compose stranded by adapter re-peer | fixed, proof passes | `lzCompose` needs activation, unchanged token code and the authenticated message; `activate` and `announceReady` keep the full route check. |\n| `29960a92` 50 candles × 1120 bytes cannot be mined | documented | No contract cap added. The binding limit is the 16,777,216 gas per transaction (EIP-7825), not the 60M block limit the report names. Docs give a bound and a measured table: 50 candles fit at about 122 wish bytes each, and full-length wishes fit 10 per transaction. |\n| `772340d3` compose gas margin | fixed | `COMPOSE_GAS` raised from 500,000 to 650,000; measured minimum is 466,467 through an endpoint-style forwarder. |\n\nThings you should know:\n\n- **One receiver per garden.** The receiver's `activate` is one-time and the address cannot be replaced, so a mistaken Base activation can only be matched by re-setting the garden's evidence hash before Ethereum activation.\n- **Base package changed.** It now deploys through the deterministic deployer and prints `expectedReceiver`, which the owner must compare with `pinnedBaseReceiver()` before signing.\n- **Residual trust.** The IMD team can still halt burn dispatch (never purchases or claims) by re-peering its OFT; burn IMD then waits in the garden with no withdrawal path.\n- **Evidence level.** All new tests are mocked. The only live evidence is two read-only public-endpoint calls: the deployer has code on Base, and Ethereum IMD's `quoteSend` accepts the final options at about 0.00089 ETH. There is no fork or live burn result, and Slither/Mythril were not run.\n- **Old test rewritten.** The test in `test/Bridge.t.sol` that asserted purchases fail on a peer or options change now asserts the new behaviour.\n\nRegressions are in `test/RevisionFindings.t.sol`; `ADAPTATION.md` has a revision section listing each change and why. Nothing was committed, and no `launch.json` or `.imd-blocked.json` was written.","treeHash":"5e8bac4d56acf49a712b18c00789d5c831beabdb","usage":{"cachedInputTokens":3036128,"chain":[{"calls":18,"chainId":1,"failed":0,"own":13,"public":0,"refused":5},{"calls":3,"chainId":8453,"failed":0,"own":3,"public":0,"refused":0}],"cost":{"source":"runtime","usdMicros":6991212},"inputTokens":47,"model":"claude-fable-5-2","outputTokens":87167,"runtime":"claude","turns":26,"wallClockMs":931181}},{"artifacts":[],"attempt":1,"bundleHash":"94f46fdc9743bfe9f8e8f2aa0cd9dc65aa7b27738553d54a4d8457df27bb8c66","device":"82f7a432aff9f55a","findings":[],"hash":"8c318330564a8286400a011e95fe7313cbbcd315cfa2980b5035b8f44ad0a4cb","nodeId":"cdc43560-07c4-4207-86f1-a6913d09dc9d","outcome":"completed","summary":"The revision is complete. The reviewer's finding reproduced, and launch.json now carries the static owner address.\n\n**What I verified**\n- The WishGarden constructor takes any address as owner and checks nothing. A scratch test in test/scratch/OwnerArgProof.t.sol confirmed that constructing with an arbitrary wallet makes that wallet the owner.\n- The brief names the owner explicitly, so the launch recipe requires the static address rather than the paying-wallet placeholder. The handoff document and README already used the static address, so the manifest was the one inconsistent file.\n\n**What changed**\n- launch.json: the single constructor argument is now the brief's owner address instead of the placeholder. The notes were tightened to stay under the character limit and now state the revision and the static owner.\n- .imd-responses.json answers the finding with verdict \"fixed\" and describes the reproduction.\n- No other tracked file changed. The git diff touches launch.json only.\n\n**Checks**\n- The manifest has exactly the three schema keys, one contract named WishGarden, and notes under the limit.\n- forge build and forge test ran offline with the verifier's fuzz seed. All 98 tests passed, including the two scratch proof tests, which are not submitted.\n\nThe remaining audit items from the imported code were already addressed in earlier accepted work and are listed in the notes as not reproducible against the current source. The Base receiver deployment and bridge activation remain later owner steps, as the notes disclose.","treeHash":"dfa2de75025dfd98139dc41c28178825439cf343","usage":{"cachedInputTokens":212277,"cost":{"source":"runtime","usdMicros":912025},"inputTokens":162,"model":"claude-fable-5-1","outputTokens":4295,"runtime":"claude","turns":6,"wallClockMs":142365}},{"artifacts":[],"attempt":1,"bundleHash":"e923439b4c69f7507ee46695fcef1c04b03557e6ef28d7f90d9e038aa0d963fe","device":"30739b66307c87c9","findings":[],"hash":"9ebcfafa2633685a79b1ba34e36b4e8d86c2bed53de9308fc19578ef944ea53c","nodeId":"cdc43560-07c4-4207-86f1-a6913d09dc9d","outcome":"completed","summary":"Created [launch.json](/root/.identitymd/work/82d61211-7552-4dac-9dd0-c34a5780ccec/cdc43560-07c4-4207-86f1-a6913d09dc9d/launch.json) for `WishGarden($owner)`, with purchases initially disabled, Base excluded, and audit dispositions/setup blockers documented.\n\nManifest checks and `forge build` passed. All 80 tests passed with the supplied seed. The protected owner harness was unavailable because `floor/OwnerChecks.sol` is missing.\n\nOnly `launch.json` changed outside disposable scratch artifacts.","treeHash":"c753817552e9756f1b2400ab8a67ede1f4bff3ee","usage":{"cachedInputTokens":466432,"cost":{"source":"estimated","usdMicros":1474172},"inputTokens":61614,"model":"gpt-6-astra","outputTokens":7832,"runtime":"codex","turns":4,"wallClockMs":260431}},{"artifacts":[],"attempt":1,"bundleHash":null,"device":"e6f356a3f4cb52cb","findings":[{"citation":"resolved","description":"_checkFrozenRoute() (src/bridge/EverlightBridgeQueue.sol:262-271) requires that keccak256(IIMDOFT(IMD).enforcedOptions(30184, 2)) still equals the hash snapshotted in configureBridge, and that oft.peers(30184) still equals the Base adapter. It is called from buyCandles (src/WishGarden.sol:59 `_checkFrozenRoute();`), activate and dispatchBurn. enforcedOptions and peers are storage of the Ethereum IMD OFT, writable only by its owner 0x047F606fD5b2BaA5f5C6c4aB8958E45CB6B054B7 (live read), not by the garden owner. Live enforcedOptions(30184,2) is currently empty (0x); the Base adapter already carries enforced options for its own message type, so the IMD team setting enforced options for the Ethereum side is a routine LayerZero operation that changes neither destination nor security (the OFT merely combines enforced and extra options). After activate(), configureBridge reverts with ConfigurationFrozen and there is no re-verification path, so once the IMD team sets any enforced option for (30184, 2): every buyCandles call reverts with InvalidBridgeConfiguration forever (the product is dead), and dispatchBurn reverts forever, so the 0.3 IMD per candle already in burnQueued/burnReserved can neither be burned nor withdrawn. A purchase is only an IMD transfer from the buyer to the garden; it does not touch the bridge, so coupling it to the bridge route adds no safety. docs/deployment.md tells the owner to 'Pause purchases when a route becomes unavailable' and that 'Claims and fee withdrawals remain available', implying purchases can later be resumed, which they cannot; no document discloses that an external option change ends sales permanently. The in-tree tests (test/Bridge.t.sol:70, test/review/BridgeBoundaries.t.sol:241) assert this revert as intended behaviour, so this is a design defect rather than a slip, but it is a permanent-breakage path controlled by a third party and not disclosed as such. Minimal fix preserving the design: (a) drop `_checkFrozenRoute()` from buyCandles (purchases need only _requireIMD()); (b) in _checkFrozenRoute keep the security-relevant checks (token, endpoint, approvalRequired, decimalConversionRate, peers == BASE_ADAPTER, code hashes) but drop the enforcedOptions hash equality, or restrict it to dispatchBurn only; and (c) document that a peer rotation by the IMD team stops dispatch (not purchases) until the owner pauses. Claims are unaffected either way (claimRewards only calls _requireIMD).","line":267,"path":"src/bridge/EverlightBridgeQueue.sol","proof":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.26;\n\nimport {Test} from \"forge-std/Test.sol\";\nimport {WishGarden} from \"src/WishGarden.sol\";\nimport {IMDBridge, Origin, SendParam, MessagingFee, MessagingReceipt, OFTReceipt} from \"src/bridge/IMDBridge.sol\";\n\n/// @dev Minimal stand-in for the Ethereum IMD OFT at its fixed address. Only the surface the garden reads.\ncontract OFTStub {\n    string public constant name = \"IMD\";\n    string public constant symbol = \"IMD\";\n    uint8 public constant decimals = 18;\n    uint256 public constant decimalConversionRate = 1e12;\n    uint256 public totalSupply;\n    mapping(address => uint256) public balanceOf;\n    mapping(address => mapping(address => uint256)) public allowance;\n    bytes32 public peer;\n    bytes public options; // what enforcedOptions(BASE_EID, 2) returns; the IMD owner may change it any time\n    uint64 public sendNonce;\n\n    function setPeer(bytes32 v) external {\n        peer = v;\n    }\n\n    function setOptions(bytes calldata v) external {\n        options = v;\n    }\n\n    function mint(address to, uint256 amount) external {\n        balanceOf[to] += amount;\n        totalSupply += amount;\n    }\n\n    function approve(address s, uint256 a) external returns (bool) {\n        allowance[msg.sender][s] = a;\n        return true;\n    }\n\n    function transfer(address to, uint256 a) external returns (bool) {\n        balanceOf[msg.sender] -= a;\n        balanceOf[to] += a;\n        return true;\n    }\n\n    function transferFrom(address f, address to, uint256 a) external returns (bool) {\n        allowance[f][msg.sender] -= a;\n        balanceOf[f] -= a;\n        balanceOf[to] += a;\n        return true;\n    }\n\n    function token() external view returns (address) {\n        return address(this);\n    }\n\n    function endpoint() external pure returns (address) {\n        return IMDBridge.ENDPOINT;\n    }\n\n    function approvalRequired() external pure returns (bool) {\n        return false;\n    }\n\n    function peers(uint32) external view returns (bytes32) {\n        return peer;\n    }\n\n    function enforcedOptions(uint32, uint16) external view returns (bytes memory) {\n        return options;\n    }\n\n    function quoteSend(SendParam calldata, bool) external pure returns (MessagingFee memory) {\n        return MessagingFee(1e14, 0);\n    }\n\n    function send(SendParam calldata p, MessagingFee calldata f, address)\n        external\n        payable\n        returns (MessagingReceipt memory, OFTReceipt memory)\n    {\n        balanceOf[msg.sender] -= p.amountLD;\n        totalSupply -= p.amountLD;\n        bytes32 guid = keccak256(abi.encode(++sendNonce));\n        return (MessagingReceipt(guid, sendNonce, f), OFTReceipt(p.amountLD, p.amountLD));\n    }\n}\n\ncontract EndpointStub {\n    function eid() external pure returns (uint32) {\n        return 30101;\n    }\n}\n\ncontract EnforcedOptionsBrickTest is Test {\n    address constant OWNER = 0x48E4E74fE1d0c14404cEB57B9fec5b21329C6ec9;\n    address constant RECEIVER = address(0xB0B0);\n    WishGarden garden;\n    OFTStub imd;\n    address alice = address(0xA11CE);\n\n    function setUp() public {\n        vm.chainId(1);\n        vm.etch(IMDBridge.ENDPOINT, address(new EndpointStub()).code);\n        vm.etch(0xD34a99Bc0f67aE1bbd63C660e6d0b0dd03E263B7, address(new OFTStub()).code);\n        imd = OFTStub(0xD34a99Bc0f67aE1bbd63C660e6d0b0dd03E263B7);\n        imd.setPeer(IMDBridge.asBytes32(IMDBridge.BASE_ADAPTER));\n        garden = new WishGarden(OWNER);\n        bytes32 evidence = keccak256(\"evidence\");\n        vm.prank(OWNER);\n        garden.configureBridge(RECEIVER, evidence);\n        bytes memory ready = abi.encode(uint8(1), garden.bridgeConfigHash(), uint256(0), bytes32(0), uint256(0));\n        vm.prank(IMDBridge.ENDPOINT);\n        garden.lzReceive(Origin(30184, IMDBridge.asBytes32(RECEIVER), 1), bytes32(uint256(1)), ready, address(this), \"\");\n        vm.prank(OWNER);\n        garden.activate();\n        imd.mint(alice, 100e18);\n        vm.deal(OWNER, 1 ether);\n    }\n\n    function _buy(uint256 n) internal {\n        uint8[] memory styles = new uint8[](n);\n        string[] memory wishes = new string[](n);\n        vm.startPrank(alice);\n        imd.approve(address(garden), n * 1e18);\n        garden.buyCandles(styles, wishes);\n        vm.stopPrank();\n    }\n\n    /// Purchases are a pure IMD payment, yet they revert forever once the IMD OFT owner sets enforced options\n    /// for the Base compose message type (a routine LayerZero operation the garden owner cannot undo).\n    function test_purchasesSurviveThirdPartyEnforcedOptionsChange() public {\n        _buy(2);\n        assertEq(garden.totalCandles(), 2);\n        // The IMD team sets enforced options for (dstEid 30184, msgType 2): 60k lzReceive gas, LayerZero type 3.\n        imd.setOptions(hex\"0003010011010000000000000000000000000000ea60\");\n        // Owner cannot reconfigure or re-activate: both are frozen after activation.\n        vm.prank(OWNER);\n        vm.expectRevert(abi.encodeWithSignature(\"ConfigurationFrozen()\"));\n        garden.configureBridge(RECEIVER, keccak256(\"evidence\"));\n        // A later purchase must still be possible: it only moves IMD from the buyer to the garden.\n        _buy(1);\n        assertEq(garden.totalCandles(), 3, \"purchases permanently disabled by third-party OFT option change\");\n    }\n\n    /// The restricted burn queue also becomes unreachable: 0.3 IMD per candle can neither be sent nor withdrawn.\n    function test_burnDispatchSurvivesThirdPartyEnforcedOptionsChange() public {\n        _buy(2);\n        vm.prank(OWNER);\n        uint256 job = garden.queueBurn(type(uint256).max);\n        imd.setOptions(hex\"0003010011010000000000000000000000000000ea60\");\n        vm.prank(OWNER);\n        bool sent = garden.dispatchBurn{value: 1e14}(job);\n        assertTrue(sent, \"burn queue permanently stranded by third-party OFT option change\");\n    }\n}","reproduction":"State: WishGarden deployed, configureBridge(receiver, evidence) done, readiness received, activate() done, alice holds IMD. 1) alice buyCandles([0,0], ['','']) -> totalCandles == 2. 2) Ethereum IMD owner calls setEnforcedOptions for dstEid 30184, msgType 2 (modelled as the OFT returning 0x0003010011010000000000000000000000000000ea60 from enforcedOptions(30184,2)). 3) alice buyCandles([0], ['']) -> expected: succeeds (totalCandles == 3); actual: reverts InvalidBridgeConfiguration() from _checkFrozenRoute. 4) owner configureBridge(receiver, evidence) -> reverts ConfigurationFrozen(); owner queueBurn(max) then dispatchBurn{value: fee}(job) -> expected: true; actual: reverts InvalidBridgeConfiguration(). Run: forge test --match-path test/scratch/EnforcedOptionsBrick.t.sol -> both tests FAIL with InvalidBridgeConfiguration() on the current tree.","severity":"medium","snippet":"                || keccak256(IIMDOFT(IMD).enforcedOptions(IMDBridge.BASE_EID, 2)) != enforcedOptionsHash","title":"Purchases and burn dispatch are coupled to mutable third-party OFT state (enforcedOptions/peers); a routine IMD-team change after activation permanently disables buyCandles and strands the burn queue "},{"citation":"resolved","description":"lzCompose calls _requireReady(), which calls _checkRoute() (src/base/EverlightBurnReceiver.sol:225-234), including `adapter.peers(IMDBridge.ETH_EID) != IMDBridge.asBytes32(ETHEREUM_IMD)`. The adapter's peer is storage controlled by the adapter owner (live: 0x047F606fD5b2BaA5f5C6c4aB8958E45CB6B054B7). The OFT adapter has already transferred the tokens to the receiver in its own lzReceive before the compose is executed (a separate transaction, as docs/abi/README.md states). The compose message is authenticated by msg.sender == ENDPOINT and from == BASE_ADAPTER, so re-checking the adapter's peer adds no security to the compose, but if the peer is rotated between credit and compose, lzCompose reverts InvalidConfiguration() forever: the delivery never reaches Status.Received, retryBurn(guid) reverts InvalidDelivery() (status None), the tokens stay in the receiver with no path to burn, and the Ethereum job remains InTransit (burnInTransit never decreases, confirmedBurn never increases). The author already removed this dependency for retryBurn (comment at lines 124-125: 'A later bridge-peer change must not prevent burning its retained balance'), but the initial compose still has it. Fix: in lzCompose check only the authenticated sender/endpoint plus the fixed token (IMD.codehash == tokenCodeHash and activated), as retryBurn does, instead of the full _requireReady()/_checkRoute().","line":99,"path":"src/base/EverlightBurnReceiver.sol","reproduction":"Using the in-tree test helpers (test/helpers/GardenTestBase.sol): setUp(); _setupBase(); IMDOFTDouble(BASE_IMD).mint(address(receiver), 1e18) (models the adapter credit); BaseAdapterDouble(BASE_ADAPTER).setPeer(bytes32(uint256(1))) (models the IMD team repointing the adapter); then vm.prank(ENDPOINT); receiver.lzCompose(BASE_ADAPTER, guid=0x99, abi.encodePacked(uint64(1), uint32(30101), uint256(1e18), asBytes32(garden), uint256(1)), executor, '') -> expected: BurnReceived + SupplyBurned (1e18 burned, pendingBurn 0); actual: revert 0xc52a9bd3 InvalidConfiguration(). receiver.retryBurn(0x99) -> revert InvalidDelivery(); IERC20(BASE_IMD).balanceOf(receiver) stays 1e18 with no function able to burn it. Measured in test/scratch/Measure.t.sol::test_basePeerChangeBlocksCompose.","severity":"low","snippet":"        _requireReady();","title":"Base lzCompose re-checks the adapter's mutable Ethereum peer; a delivery already credited to the receiver becomes permanently unburnable (and unretryable) if the IMD team repoints the adapter before t"},{"citation":"resolved","description":"The executor forwards COMPOSE_GAS (500,000) to EndpointV2.lzCompose, which spends ~8-9k gas on the composeQueue read/write and then forwards at most 63/64 of the remainder (~484k) to EverlightBurnReceiver.lzCompose. lzCompose then performs ~10 external view calls, writes 5 fresh storage slots and requires gasleft() >= 150_000*64/63 + 120_000 = 272,381 before the burn subcall. In the test-double environment the minimum gas at which a first delivery succeeds is 465,431 (binary search), i.e. ~18k below what reaches the receiver; real token/adapter view calls or a first-time nonzero write cost more than the doubles do. test/review/ActivationAndRuntime.t.sol:200 calls the receiver with gas 500_000 directly, which overstates the available budget by the endpoint overhead and the 63/64 rule. Impact is liveness only: a revert leaves the compose queued on the endpoint and anyone can re-execute endpoint.lzCompose with more gas; no funds are at risk. Raising COMPOSE_GAS (e.g. 650,000) or trimming the pre-check external calls removes the risk of the executor's automatic attempt failing on every first delivery.","line":86,"path":"src/bridge/IMDBridge.sol","reproduction":"test/scratch/Measure.t.sol::test_measureComposeGas: _setupBase(); mint 10e18 to the receiver; binary-search the gas limit of a prank(ENDPOINT) receiver.lzCompose(BASE_ADAPTER, 0x1234, compose(1e18, garden, jobId 1)) -> minimum passing gas 465,431; at 484,000 it passes. Expected: comfortable margin below the executor budget; actual: ~4% margin in the mock environment, untested against real contracts.","severity":"info","snippet":"    uint128 internal constant COMPOSE_GAS = 500_000;","title":"Compose gas option of 500,000 leaves only ~18k gas of margin for a first (cold-storage) lzCompose once the endpoint's 63/64 forwarding is modelled; the in-tree 500k test calls the receiver directly"}],"hash":"a695654968d0c5605ed61504afc5c7cbf063d206c3d5e42a321f4a20c4374e14","nodeId":"ff6ed7ca-64ea-4f03-b577-20c8ab07e955","outcome":"completed","summary":"The review is complete. The findings file is in place and no tracked file was changed.\n\n**Outcome.** The economics core holds. Rewards are allocated before each new weight, the accumulator and per-account settlement conserve funds exactly, dust is never recycled, claims are floor-rounded and backed by held IMD, and owner withdrawals cannot reach reward or burn custody. The live route facts on both chains match the constants in source, and the Base token's `burn` is public and supply-reducing. The in-tree suite passes, and my randomized buy/claim/withdraw/dispatch sequence held the three invariants exactly on every step.\n\n**Findings written to `.imd-findings.json`:**\n\n1. **Medium, with proof.** Purchases and burn dispatch are coupled to mutable third-party OFT state. After activation, if the IMD team sets enforced options for the Base compose message type, or rotates the peer, every purchase reverts forever and the queued burn funds can neither be sent nor withdrawn. The owner has no recovery path because configuration is frozen. The in-tree tests assert this revert as intended, but the docs tell the owner purchases can be paused and resumed, not that an external change ends sales permanently. The proof test at `test/scratch/EnforcedOptionsBrick.t.sol` fails on the current tree in two tests.\n2. **Low.** The Base receiver re-checks the adapter's mutable Ethereum peer inside `lzCompose`. A delivery already credited by the adapter becomes permanently unburnable if the peer is rotated before the compose executes, and `retryBurn` cannot reach it. The author already removed this dependency for retries but not for the first compose.\n3. **Info.** The 500,000 compose gas option leaves roughly 18k gas of margin for a first delivery once the endpoint's 63/64 forwarding is modelled. Recoverable by anyone re-executing the compose, so liveness only.\n\n**Coverage.** All 20 listed entry points have a row, plus three invariant rows. Two are marked as findings, the rest hold after tracing.\n\n**Not reached.** No fork or live bridge execution was run. The gas margin was measured against the test doubles, not the real Base token and adapter. The Owners protected test imports a harness absent from this tree and was not run here.","treeHash":null,"usage":{"cachedInputTokens":976703,"chain":[{"calls":57,"chainId":1,"failed":0,"own":35,"public":0,"refused":22},{"calls":101,"chainId":8453,"failed":0,"own":63,"public":0,"refused":38}],"cost":{"source":"runtime","usdMicros":5144210},"inputTokens":322,"model":"claude-fable-5-1","outputTokens":49469,"runtime":"claude","turns":27,"wallClockMs":862791}},{"artifacts":[],"attempt":1,"bundleHash":null,"device":"aa333626543c4dee","findings":[{"citation":"resolved","description":"The brief requires, per 1 IMD candle: 30% burn queue, 30% rewards to all PRIOR paid candles (O(1) reward-per-candle accumulator, per-account debt/settled balance, claim by beneficiary any time, first candle's share redirected to ecosystem), 30% ecosystem, 5% operations, 5% founder, and 'Owner cannot withdraw reward liabilities'. The imported economy hard-codes 0.3/0.5/0.1/0.1. There is no reward accumulator, no per-account earned/claimed/claimable state, no claim function and no reward events anywhere in src/. WishGardenTreasury.recordPayment (src/WishGardenTreasury.sol:105-120) books the full 70% remainder into ecosystemBalance/operationsBalance/founderBalance, all of which are withdrawable by the owner or the owner-controlled recipients via withdrawEcosystem/claimOperations/claimFounder. The 0.3 IMD per candle that must become a liability to earlier candle holders is therefore paid to the owner, which is funds paid to the wrong party, and the brief's core economic promise cannot be honoured by this code at all.","line":14,"path":"src/GardenEconomy.sol","proof":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.26;\n\nimport {Test} from \"forge-std/Test.sol\";\nimport {WishGarden} from \"src/WishGarden.sol\";\nimport {WishGardenTreasury} from \"src/WishGardenTreasury.sol\";\nimport {WishGardenBurnSink} from \"src/WishGardenBurnSink.sol\";\n\n/// @dev Minimal 18-decimal ERC20 etched at the fixed Ethereum IMD address. Test double only.\ncontract ProofIMD {\n    string public constant name = \"IMD proof double\";\n    string public constant symbol = \"IMD\";\n    uint8 public constant decimals = 18;\n    uint256 public totalSupply;\n    mapping(address => uint256) public balanceOf;\n    mapping(address => mapping(address => uint256)) public allowance;\n\n    function mint(address to, uint256 amount) external {\n        totalSupply += amount;\n        balanceOf[to] += amount;\n    }\n\n    function approve(address spender, uint256 amount) external returns (bool) {\n        allowance[msg.sender][spender] = amount;\n        return true;\n    }\n\n    function transfer(address to, uint256 amount) external returns (bool) {\n        _move(msg.sender, to, amount);\n        return true;\n    }\n\n    function transferFrom(address from, address to, uint256 amount) external returns (bool) {\n        uint256 current = allowance[from][msg.sender];\n        require(current >= amount, \"allowance\");\n        allowance[from][msg.sender] = current - amount;\n        _move(from, to, amount);\n        return true;\n    }\n\n    function _move(address from, address to, uint256 amount) private {\n        require(balanceOf[from] >= amount, \"balance\");\n        balanceOf[from] -= amount;\n        balanceOf[to] += amount;\n    }\n}\n\n/// @notice Brief: for EACH 1 IMD, 30% burn queue, 30% rewards to earlier paid candles, 30% ecosystem,\n///         5% operations, 5% founder; the first candle's reward share falls back to ecosystem; the\n///         owner may never withdraw reward liabilities. The imported code allocates 30/50/10/10 and\n///         has no reward share at all, so the 30% owed to earlier candle holders becomes owner money.\ncontract EconomicsProofTest is Test {\n    address internal constant OWNER = 0x48E4E74fE1d0c14404cEB57B9fec5b21329C6ec9;\n    address internal constant IMD = 0xD34a99Bc0f67aE1bbd63C660e6d0b0dd03E263B7;\n    WishGarden internal garden;\n    WishGardenTreasury internal treasury;\n    address internal alice = makeAddr(\"alice\");\n\n    function setUp() public {\n        vm.chainId(1);\n        vm.etch(IMD, address(new ProofIMD()).code);\n        WishGardenBurnSink sink = new WishGardenBurnSink();\n        treasury = new WishGardenTreasury(OWNER, address(sink), OWNER, OWNER);\n        garden = new WishGarden(OWNER, address(treasury));\n        vm.prank(OWNER);\n        treasury.bindGarden(address(garden));\n        ProofIMD(IMD).mint(alice, 100e18);\n    }\n\n    function test_perCandleRatesMatchTheApprovedSplit() public view {\n        assertEq(treasury.BURN_ALLOCATION_PER_CANDLE(), 0.3e18, \"burn share must be 30%\");\n        assertEq(treasury.ECOSYSTEM_PER_CANDLE(), 0.3e18, \"ecosystem share must be 30%, not 50%\");\n        assertEq(treasury.OPERATIONS_PER_CANDLE(), 0.05e18, \"operations share must be 5%, not 10%\");\n        assertEq(treasury.FOUNDER_PER_CANDLE(), 0.05e18, \"founder share must be 5%, not 10%\");\n        // The remaining 30% of each candle is the reward share owed to earlier paid candles.\n        uint256 rewardShare = treasury.CANDLE_PRICE() - treasury.BURN_ALLOCATION_PER_CANDLE()\n            - treasury.ECOSYSTEM_PER_CANDLE() - treasury.OPERATIONS_PER_CANDLE() - treasury.FOUNDER_PER_CANDLE();\n        assertEq(rewardShare, 0.3e18, \"no 30% reward share is reserved for earlier candles\");\n    }\n\n    /// @dev Two candles in one batch. Candle 1 has no predecessor, so its 0.3 IMD reward share\n    ///      falls back to ecosystem. Candle 2's 0.3 IMD reward share belongs to candle 1's beneficiary\n    ///      and must not be owner-withdrawable. Owner-withdrawable total must therefore be\n    ///      2 * (0.3 + 0.05 + 0.05) + 0.3 = 1.1 IMD. The imported code makes 1.4 IMD owner-withdrawable:\n    ///      the second candle's reward share is paid to the owner's buckets instead of to candle 1.\n    function test_ownerCannotWithdrawTheRewardShareOwedToEarlierCandles() public {\n        vm.startPrank(alice);\n        ProofIMD(IMD).approve(address(garden), 2e18);\n        garden.buyCandles(2, 0);\n        vm.stopPrank();\n\n        assertEq(treasury.totalPayments(), 2e18);\n        assertEq(\n            treasury.accountedBalance(),\n            1.1e18,\n            \"owner-withdrawable buckets include the 0.3 IMD reward share owed to candle 1\"\n        );\n    }\n}","reproduction":"State: chain 1, IMD code at 0xD34a...63B7, sink+treasury+garden deployed, treasury.bindGarden(garden) done. Input: alice approves 2e18 and calls garden.buyCandles(2, 0). Expected (brief): candle 1 has no predecessor so its 0.3e18 reward share falls back to ecosystem; candle 2's 0.3e18 reward share is owed to candle 1's beneficiary and is NOT owner-withdrawable; owner-withdrawable buckets total 2*(0.3+0.05+0.05)+0.3 = 1.1e18; alice has 0.3e18 claimable. Actual: treasury.accountedBalance() == 1.4e18 (ecosystem 1.0e18, operations 0.2e18, founder 0.2e18), nothing is claimable by alice because no claim function exists, and the owner can call withdrawEcosystem(any, 1.0e18) immediately. Constants: ECOSYSTEM_PER_CANDLE()==0.5e18 (expected 0.3e18), OPERATIONS_PER_CANDLE()==0.1e18 (expected 0.05e18), FOUNDER_PER_CANDLE()==0.1e18 (expected 0.05e18). Proof test test/scratch/EconomicsProof.t.sol fails with '1400000000000000000 != 1100000000000000000' and '500000000000000000 != 300000000000000000'.","severity":"high","snippet":"    uint256 public constant ECOSYSTEM_PER_CANDLE = 0.5e18;\n    uint256 public constant OPERATIONS_PER_CANDLE = 0.1e18;\n    uint256 public constant FOUNDER_PER_CANDLE = 0.1e18;","title":"Legacy 30/50/10/10 split: no 30% reward share, no reward ledger; owner withdraws what earlier candles are owed"},{"citation":"resolved","description":"The brief says 'No legacy balance sweep, retrospective rewards or new free claims. NFT ownership grants NOTHING in this project.' The imported garden keeps the whole legacy free-claim subsystem: OFFICIAL_COLLECTION / COLLECTION_CODE_HASH constants (lines 21-23), confirmOfficialCollection (127-141), claimFreeCandle (144-148), claimFreeCandles (151-163), freeClaimsStatus (166-175), nftClaimedCandle mapping (48), freeCandles counter (41), the Candle.freeClaim / nftTokenId fields (33, 35) and the FreeCandleClaimed / OfficialCollectionConfirmed events. _claim (226-238) creates a candle with the same sequential ID space as paid candles and touches no IMD. Once reward accounting is added, any free candle that shares the ID space would also dilute or earn the reward pool without paying, so this path must be removed, not just left unconfirmed. The owner-only gate is a single irreversible bytes32 call with no economic check, i.e. access control weaker than the effect (unpaid issuance) it guards.","line":144,"path":"src/WishGarden.sol","reproduction":"State: chain 1, verified identity.md runtime at 0x0000eC93127BAA929E58E97dd0095A2BFb38ec1D (codehash 0x68d046e0...8c530), garden deployed, holder owns NFT id 7. Steps: owner calls garden.confirmOfficialCollection(bytes32(1)); holder calls garden.claimFreeCandle(7, 0). Expected (brief): no such entry point; totalCandles stays 0; any candle requires 1 IMD. Actual: call succeeds, totalCandles()==1, getCandle(1).freeClaim==true, getCandle(1).nftTokenId==7, treasury.totalPayments()==0, freeCandles()==1. claimFreeCandles([7,8,...], 0) does the same for up to 50 IDs per transaction. Proof test test/scratch/FreeClaimProof.t.sol fails with 'a free NFT claim entry point exists and succeeded'.","severity":"high","snippet":"    function claimFreeCandle(uint256 tokenId, uint8 style) external nonReentrant returns (uint256 candleId) {","title":"Free NFT claims are live: identity.md NFT holders mint candles for zero IMD after a one-time owner confirmation"},{"citation":"resolved","description":"The brief requires a REAL burn: a restricted Ethereum bridge queue that forwards the 30% through the official IMD bridge to a Base burn-only receiver calling IMD.burn(uint256), with fixed verified destination, bounded approval, replay protection and queued/in-transit/failed/retried/completed accounting, and says 'no sink transfer presented as supply reduction'. The imported code instead transfers 0.3e18 per candle into WishGardenBurnSink, a contract with no function that can move tokens, so the amount is stuck forever and can never be bridged or burned. The treasury names this a burn allocation (BURN_ALLOCATION_PER_CANDLE, BurnAllocationLocked event, totalIMDLocked) while totalSupplyBurned() is a pure function returning 0 (src/WishGardenTreasury.sol:170-172). There is no queue, bridge interface, Base receiver, or activation gate: purchases become enabled by bindGarden alone (WishGardenTreasury.sol:81-94) with no bridge configuration frozen, contrary to 'Deploy Ethereum contracts with purchases DISABLED ... activation requires completion'. If deployed as-is, every candle's burn share is permanently lost to a dead address rather than burned, and this cannot be fixed post-deployment because the sink address is immutable and the sink has no code path.","line":9,"path":"src/WishGardenBurnSink.sol","reproduction":"State: chain 1, contracts deployed and bound. Input: alice approves 1e18, calls garden.buyCandles(1, 0). Expected (brief): 0.3e18 is held in an accountable burn queue (queued/in-transit/completed counters) pending an owner-triggered, replay-protected bridge send to the fixed Base receiver, and purchases revert until bridge configuration is verified and frozen. Actual: IMD.balanceOf(sink)==0.3e18, IMD.totalSupply() unchanged, treasury.totalSupplyBurned()==0, treasury.totalIMDLocked()==0.3e18, and the WishGardenBurnSink ABI exposes only IMD(), SUPPLY_REDUCING() and lockedBalance(); no call by anyone can move that balance. buyCandles succeeded with no bridge destination, peer or fee configured anywhere.","severity":"medium","snippet":"contract WishGardenBurnSink {\n    address public constant IMD = 0xD34a99Bc0f67aE1bbd63C660e6d0b0dd03E263B7;\n    bool public constant SUPPLY_REDUCING = false;","title":"'Burn' is a permanent sink lock with no bridge queue or Base burn receiver; 30% per candle becomes irrecoverable without ever reducing supply"},{"citation":"resolved","description":"The brief requires an optional wish per candle, accepted as an array so each candle in a batch may differ, validated as well-formed UTF-8 with <=280 codepoints AND <=1120 bytes (malformed UTF-8 rejected), stored in Ethereum storage, emitted in events and exposed via paginated views for an indexer and later renderer. The imported buyCandles takes only (quantity, style), the Candle struct (lines 29-36) has no wish field, CandleCreated/CandlesPurchased carry no text, and getCandle/getCandles return none. There is no UTF-8 validator anywhere in src/. docs/abi/README.md:25 even instructs 'Private wish text must never be encoded into contract calls', the opposite of the brief's public, immutable on-chain wish.","line":92,"path":"src/WishGarden.sol","reproduction":"Input: a caller wants to buy 2 candles with wishes ['peace', '\\xF0\\x9F\\x95\\xAF health']. Expected: buyCandles(quantity/styles, wishes[]) accepts the array, stores both strings, emits them, and getCandle(1) returns the wish; a 281-codepoint string or the byte 0xFF (malformed UTF-8) reverts. Actual: the ABI has no parameter for wishes (selector buyCandles(uint256,uint8) only); calling with a string array reverts with no matching function; getCandle(1) returns (purchaser, createdAt, style, freeClaim, position, nftTokenId) with no text; CandleCreated has no wish field. No function in the ABI accepts bytes or string input.","severity":"medium","snippet":"    function buyCandles(uint256 quantity, uint8 style) external nonReentrant returns (uint256 firstCandleId) {","title":"No wish text: buyCandles has no per-candle wish array, no UTF-8/length validation, no wish storage, getter or event"},{"citation":"resolved","description":"The launch rules forbid 'proxies, initializers and anything configured after deployment rather than in a constructor'. WishGardenTreasury.garden is a mutable storage address set once by the owner after deployment (lines 27, 81-94); until then recordPayment and therefore every purchase revert (GardenNotConfigured / TreasuryNotConfigured). WishGarden.collectionConfirmed/collectionEvidenceHash (src/WishGarden.sol:42-43, 127-141) are a second post-deployment initializer. bindGarden validates only three view return values (treasury(), owner(), IMD()), not the garden's runtime, so the owner can bind any contract that returns those values. That contract may then call recordPayment with arbitrary purchaser/firstCandleId/quantity, producing PaymentAllocated and BurnAllocationLocked events and allocations that correspond to no WishGarden candle (funds must still be transferred first, so no theft, but the ledger/event stream an indexer relies on is forgeable by the owner). The brief also says the economic rates and verified bridge configuration must be frozen 'on activation', an explicit activation step this code does not have; bindGarden is the de-facto activation and freezes nothing.","line":81,"path":"src/WishGardenTreasury.sol","reproduction":"State: factory deploys WishGardenBurnSink, WishGardenTreasury, WishGarden on an empty chain. Immediately after deployment: treasury.garden()==address(0); alice approves and calls garden.buyCandles(1,0) -> reverts TreasuryNotConfigured. Expected: the application is fully configured by constructors and either active, or gated by an explicit activation that freezes bridge config. Actual: an owner transaction bindGarden(address) is required. Second input: owner deploys contract X with treasury()==treasury, owner()==owner, IMD()==IMD, calls treasury.bindGarden(X); then X transfers 1e18 IMD to the treasury and calls treasury.recordPayment(0xBEEF, 999, 1). Expected: only the real WishGarden can record payments. Actual: succeeds; PaymentAllocated(purchaser=0xBEEF, firstCandleId=999, quantity=1) is emitted and ecosystemBalance grows by 0.5e18 although no candle 999 exists.","severity":"medium","snippet":"    function bindGarden(address garden_) external nonReentrant onlyOwner {","title":"Post-deployment configuration: purchases depend on owner bindGarden and claims on confirmOfficialCollection instead of constructor-only setup; bound garden is not code-verified"},{"citation":"resolved","description":"The brief: 'All three non-burn/non-reward buckets are separately accounted and owner-withdrawable, initially to owner, with amount/destination events.' Here operationsRecipient and founderRecipient are immutables fixed at construction (lines 25-26, 75-77); claimOperations/claimFounder (141-155) can be called only by that exact address and always pay to it. Treasury ownership can be transferred (Ownable2Step) but these entitlements never move. If the owner key is rotated, the operations and founder shares remain payable only to the old key.","line":141,"path":"src/WishGardenTreasury.sol","reproduction":"State: treasury deployed with operationsRecipient_=founderRecipient_=0x48E4...6ec9 and some candles sold (operationsBalance>0). Owner transfers ownership via transferOwnership(newOwner) + acceptOwnership(). Input: newOwner calls claimOperations(1) -> reverts UnauthorizedBeneficiary; newOwner calls withdrawEcosystem(newOwner, 1) -> succeeds. Expected per brief: the current owner can withdraw all three buckets to a chosen destination with amount/destination events. Actual: only the original hard-coded address can ever receive operations/founder funds; there is no destination parameter.","severity":"low","snippet":"    function claimOperations(uint256 amount) external nonReentrant {\n        if (msg.sender != operationsRecipient) revert UnauthorizedBeneficiary();","title":"Operations and founder buckets are claimable only by immutable recipients, not owner-withdrawable to a chosen destination"},{"citation":"resolved","description":"A launch.json committed by the builder is checked as a manifest and rejects the work when incomplete; only the manifest step should write it after acceptance. Beyond that, its notes assert '30% permanently locked in the sink, 50% in the owner-managed ecosystem bucket, 10% operations and 10% founder' and 'Free NFT claims remain disabled until the owner separately confirms the source-pinned official collection', which is the legacy design the brief rejects. Keys and argument shapes are otherwise schema-valid (kind/contracts/notes only, static owner address, backward $contract references, 3 contracts in dependency order).","line":25,"path":"launch.json","reproduction":"Read launch.json notes: contains '50% in the owner-managed ecosystem bucket, 10% operations and 10% founder' and 'Free NFT claims'. Expected: either no launch.json in the builder tree, or a manifest describing the adapted contracts (30/30/30/5/5 with reward ledger, bridge queue, no NFT claims, purchases deployed disabled). Actual: manifest documents and would deploy the legacy contracts WishGardenBurnSink/WishGardenTreasury/WishGarden.","severity":"low","snippet":"  \"notes\": \"The Wish Garden application contracts on Ethereum chain 1, listed in constructor dependency order. The approved brief names the owner/founder address 0x48E4E74fE1d0c14404cEB57B9fec5b21329C6ec9 itself, so it is written as a static word in every privileged slot: WishGardenTreasury owner_, the immutable operationsRecipient_ and founderRecipient_, and WishGarden owner_. Writing all four identically means ownership, operations and founder roles cannot split under any $owner resolution; the approved launch owner is this same address, so the deployment is identical to the $owner form when that resolves correctly. No argument is msg.sender (the factory) or tx.origin. WishGardenBurnSink has no owner or withdrawal path. The accepted implementation uses existing IMD at 0xD34a99Bc0f67aE1bbd63C660e6d0b0dd03E263B7: each paid candle costs 1 IMD (10^18 base units), with 30% permanently locked in the sink, 50% in the owner-managed ecosystem bucket, 10% operations and 10% founder. Sink trans","title":"launch.json already in the tree describes the rejected legacy economics and free NFT claims"},{"citation":"resolved","description":"The brief requires wishes to be public, immutable, on-chain and 'never encrypted or described as private', and requires the integration docs to state that rewards come only from later candle purchases, are not yield from an external business, that no later purchases means no new rewards, and that claimable IMD must be backed by held IMD. docs/abi/README.md, README.md and docs/deployment.md describe the legacy model (free claims, 50/10/10 split, 'permanently locked IMD'), contain no reward disclosure, and tell integrators to keep wish text off-chain.","line":25,"path":"docs/abi/README.md","reproduction":"Open docs/abi/README.md line 25: 'Private wish text must never be encoded into contract calls or public metadata.' Open README.md lines 28-33: allocation table lists 500000000000000000 ecosystem, 100000000000000000 operations, 100000000000000000 founder and no reward row. grep -ri 'reward' README.md docs/ returns no economics disclosure. Expected: public on-chain wish documentation plus the mandatory rewards disclosure.","severity":"info","snippet":"Pan/zoom, sections, lighting, newborn glow, culling and fixtures belong to the frontend. Render flames only for confirmed records. Event reconciliation should handle chain reorganizations by removing orphaned logs and rereading state; RPC failures are unavailable data, not empty gardens or successful transactions. Private wish text must never be encoded into contract calls or public metadata.","title":"Integration docs contradict the brief: wishes described as private and never on-chain; no mandatory rewards-only-from-later-purchases disclosure"},{"citation":"resolved","description":"Read in full: src/WishGarden.sol, src/WishGardenTreasury.sol, src/WishGardenBurnSink.sol, src/GardenEconomy.sol, src/interfaces/IWishGarden.sol, launch.json, README.md, docs/deployment.md, docs/abi/README.md, docs/validation.md (grep), test/helpers/GardenTestBase.sol, test/fixtures (headers), and the pinned protected tests Contracts.protected.t.sol and Owners.protected.t.sol. The full existing suite (82 tests) builds and passes locally with forge 1.8.3 / solc 0.8.26. Code-level checks that found no defect: nonReentrant on every state-changing external function; checks-effects-interactions respected (records written before token pulls, all-or-nothing revert); exact balance-delta checks on every transfer; SafeERC20 used; no DELEGATECALL/CALLCODE/SELFDESTRUCT, no proxy; constructors call no external code; owner is the static brief address, never msg.sender/tx.origin; renounceOwnership disabled; pagination bounded to 100 with no loop over all candles; totalCandles/ID assignment sequential within batches; treasury InsufficientFunding check prevents recording unfunded payments; withdraw destinations exclude sink/garden/IMD/self. Not reached: live Ethereum IMD (0xd34a...) and identity.md NFT bytecode were exercised only through the repository's offline runtime fixtures, no RPC/fork; the official IMD bridge interface and Base IMD burn(uint256) could not be checked because no bridge code exists in this tree; vendored lib/openzeppelin-contracts and lib/forge-std were trusted, not audited; floor/OwnerChecks.sol referenced by Owners.protected.t.sol is not in the tree so that protected test could not be run.","line":16,"path":"src/WishGarden.sol","reproduction":"Not a defect. Coverage statement required by the acceptance criteria. Commands run: forge build; forge test (82 passed); forge test --match-path 'test/scratch/*' (3 failed as intended by the two proofs).","severity":"info","snippet":"contract WishGarden is GardenEconomy, Ownable2Step, ReentrancyGuard {","title":"Review coverage: contracts read and what could not be reached"}],"hash":"b2770aa1d2d0989e3c601850b2e638bde15821ee87af68b78f65b17148ab166c","nodeId":"4972af75-bd29-40dd-89e9-992173d52ade","outcome":"completed","summary":"The review is complete. The findings file at the repository root holds nine entries, two with Foundry proofs that fail on the current code.\n\n**Outcome.** The contracts as they arrived are the imported legacy Wish Garden, not the commissioned Everlight Garden protocol. They are internally consistent and their own 82 tests pass, but they implement economics and features the brief explicitly rejects. No reentrancy, access-control or arithmetic bug was found in the code that exists. The defects are what is missing or obsolete.\n\n**Findings written to .imd-findings.json**\n\n- **High, with proof.** The split is 30/50/10/10 with no reward share, no reward-per-candle accumulator and no claim function. The 0.3 IMD per candle owed to earlier candle holders is booked into owner-withdrawable buckets. Two candles bought in one batch leave 1.4 IMD owner-withdrawable where the brief allows 1.1 IMD.\n- **High, with proof.** Free NFT claims are live. After the owner's one-time collection confirmation, a holder of identity.md NFT 7 calls the free-claim function and receives candle 1 for zero IMD. The proof etches the verified mainnet collection runtime so the pinned codehash check passes.\n- **Medium.** The \"burn\" sends 30% to a sink contract with no outbound path. Supply never falls, the burned-supply getter is a constant zero, and there is no bridge queue, Base receiver or activation gate. Deployed as-is, every burn share is stuck forever.\n- **Medium.** No wish text anywhere: no parameter, storage, UTF-8 validation, getter or event.\n- **Medium.** Purchases depend on an owner post-deployment call to bind the garden, and claims on a second one. Binding checks three view values only, so the owner can bind a stand-in contract and emit payment records for candles that do not exist. Verified locally.\n- **Low.** Operations and founder buckets pay only to immutable recipients, not to an owner-chosen destination, and do not follow ownership transfer.\n- **Low.** A launch.json already in the tree describes the legacy 50/10/10 split and free claims.\n- **Info.** Integration docs tell builders to keep wish text private and off-chain, and contain none of the mandatory rewards disclosure.\n- **Info.** Coverage statement listing what was read and what was out of reach.\n\n**Coverage.** All five source files, the manifest, README, deployment and ABI docs, test helpers and both pinned protected tests were read. Live Ethereum IMD and NFT bytecode were exercised only via the repository's offline fixtures. No bridge code exists to review. The vendored OpenZeppelin and forge-std libraries were trusted, and the owner-checks floor file referenced by one protected test is not in the tree.\n\nProof tests remain under test/scratch/ for the adapter and verifier to run.","treeHash":null,"usage":{"cachedInputTokens":319772,"cost":{"source":"runtime","usdMicros":2754384},"inputTokens":194,"model":"claude-fable-5-1","outputTokens":25817,"runtime":"claude","turns":17,"wallClockMs":868668}},{"artifacts":[],"attempt":1,"bundleHash":null,"device":"7236faf97e42979a","findings":[{"citation":"resolved","description":"Merged from audit_permissions (high). The brief requires a fixed verified destination, no burn-fund withdrawals, and that only authenticated confirmation of a real balance/totalSupply-reducing burn increments confirmedBurn. The only destination enforced on Ethereum is the `receiver` argument the owner passes before activation; the contract rejects just address(0), BASE_IMD, BASE_ADAPTER and ENDPOINT (lines 79-82), and `evidenceHash` is an opaque owner-chosen word nothing verifies. lzReceive (lines 208-232) accepts kind-1 readiness and kind-2 burn confirmations from whatever `baseReceiver` was configured, and on LayerZero V2 any address, including an EOA, can call EndpointV2.send as its own OApp sender. So an owner (malicious, or whose key is compromised before activation) can configure a Base wallet they control: every dispatchBurn then sends burnReserved IMD through the official adapter to that wallet (_sendParam line 242), and the wallet can send kind-2 messages that raise confirmedBurn with no supply reduction. Activation then freezes that route forever. This is a burn-fund withdrawal presented as a burn, which the brief explicitly forbids; docs/validation.md:59 and docs/deployment.md:25 disclose the owner's receiver choice as a trust boundary rather than enforcing the brief's rule. Precondition is owner misconduct, so this is rated medium as a broken explicit guarantee rather than high; it is not a bypass by a third party. Fix that keeps the design: pin the destination in source instead of an owner argument, e.g. require `receiver` to equal the CREATE2 address of EverlightBurnReceiver deployed through a fixed deployer (canonical 0x4e59b44847b379578588920ca78fbf26c0b4956c) with a salt and creation-code hash fixed in source, with the receiver taking the garden address by a one-time owner bind before activate so the init-code hash is constant; alternatively require the readiness message to be composed through the official adapter (compose from the fixed OFT) so an EOA cannot author it.","line":76,"path":"src/bridge/EverlightBridgeQueue.sol","proof":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.26;\n\nimport {Test} from \"forge-std/Test.sol\";\nimport {WishGarden} from \"src/WishGarden.sol\";\nimport {\n    IMDBridge, SendParam, MessagingFee, MessagingReceipt, OFTReceipt, Origin\n} from \"src/bridge/IMDBridge.sol\";\n\ncontract MockIMDOFT {\n    mapping(address => uint256) public balanceOf;\n    mapping(address => mapping(address => uint256)) public allowance;\n    uint256 public totalSupply;\n    bytes32 public peer;\n    bytes32 public lastTo;\n    uint64 public n;\n\n    function decimals() external pure returns (uint8) { return 18; }\n    function setPeer(bytes32 p) external { peer = p; }\n    function mint(address a, uint256 v) external { balanceOf[a] += v; totalSupply += v; }\n    function approve(address s, uint256 v) external returns (bool) { allowance[msg.sender][s] = v; return true; }\n    function transfer(address to, uint256 v) external returns (bool) { balanceOf[msg.sender] -= v; balanceOf[to] += v; return true; }\n    function transferFrom(address f, address to, uint256 v) external returns (bool) {\n        allowance[f][msg.sender] -= v; balanceOf[f] -= v; balanceOf[to] += v; return true;\n    }\n    function token() external view returns (address) { return address(this); }\n    function endpoint() external pure returns (address) { return IMDBridge.ENDPOINT; }\n    function approvalRequired() external pure returns (bool) { return false; }\n    function peers(uint32) external view returns (bytes32) { return peer; }\n    function decimalConversionRate() external pure returns (uint256) { return 1e12; }\n    function enforcedOptions(uint32, uint16) external pure returns (bytes memory) { return \"\"; }\n    function quoteSend(SendParam calldata, bool) external pure returns (MessagingFee memory) { return MessagingFee(1e14, 0); }\n    function send(SendParam calldata p, MessagingFee calldata f, address)\n        external payable returns (MessagingReceipt memory, OFTReceipt memory)\n    {\n        balanceOf[msg.sender] -= p.amountLD; totalSupply -= p.amountLD; // Ethereum debit\n        lastTo = p.to; // credited to p.to on Base by the official adapter\n        bytes32 guid = keccak256(abi.encode(++n));\n        return (MessagingReceipt(guid, n, f), OFTReceipt(p.amountLD, p.amountLD));\n    }\n}\n\ncontract MockEndpoint {\n    function eid() external pure returns (uint32) { return 30101; }\n}\n\ncontract OwnerChosenReceiverTest is Test {\n    address constant OWNER = 0x48E4E74fE1d0c14404cEB57B9fec5b21329C6ec9;\n    address constant IMD = 0xD34a99Bc0f67aE1bbd63C660e6d0b0dd03E263B7;\n\n    function test_ownerCanRouteBurnFundsToOwnBaseWalletAndFakeConfirmation() public {\n        vm.chainId(1);\n        vm.etch(IMD, address(new MockIMDOFT()).code);\n        vm.etch(IMDBridge.ENDPOINT, address(new MockEndpoint()).code);\n        MockIMDOFT imd = MockIMDOFT(IMD);\n        imd.setPeer(IMDBridge.asBytes32(IMDBridge.BASE_ADAPTER));\n        WishGarden garden = new WishGarden(OWNER);\n\n        // Owner's plain Base wallet (EOA, no burn code) instead of an EverlightBurnReceiver.\n        address ownerBaseWallet = makeAddr(\"ownerBaseWallet\");\n        vm.prank(OWNER);\n        try garden.configureBridge(ownerBaseWallet, keccak256(\"any evidence\")) {}\n        catch {\n            return; // fixed: destination is pinned to the verified receiver\n        }\n        // On Base the wallet calls EndpointV2.send itself (any sender may) with kind=1 + configHash.\n        bytes32 h = garden.bridgeConfigHash();\n        vm.prank(IMDBridge.ENDPOINT);\n        garden.lzReceive(Origin(30184, IMDBridge.asBytes32(ownerBaseWallet), 1), bytes32(uint256(1)),\n            abi.encode(uint8(1), h, uint256(0), bytes32(0), uint256(0)), address(0), \"\");\n        vm.prank(OWNER);\n        garden.activate();\n\n        // Users buy 10 candles -> 3 IMD burn allocation.\n        address alice = makeAddr(\"alice\");\n        imd.mint(alice, 10e18);\n        uint8[] memory styles = new uint8[](10);\n        string[] memory wishes = new string[](10);\n        vm.startPrank(alice);\n        imd.approve(address(garden), 10e18);\n        garden.buyCandles(styles, wishes);\n        vm.stopPrank();\n\n        vm.deal(OWNER, 1 ether);\n        vm.startPrank(OWNER);\n        uint256 job = garden.queueBurn(type(uint256).max);\n        garden.dispatchBurn{value: 1e14}(job);\n        vm.stopPrank();\n        (uint256 amount, bytes32 guid,,) = garden.burnJobs(job);\n        assertEq(imd.lastTo(), IMDBridge.asBytes32(ownerBaseWallet), \"burn funds sent to owner wallet\");\n\n        // Owner wallet then reports a \"burn\" it never performed.\n        vm.prank(IMDBridge.ENDPOINT);\n        garden.lzReceive(Origin(30184, IMDBridge.asBytes32(ownerBaseWallet), 2), bytes32(uint256(2)),\n            abi.encode(uint8(2), h, job, guid, amount), address(0), \"\");\n\n        // Requirement: owner cannot withdraw burn funds; confirmedBurn only for a real supply reduction.\n        assertEq(garden.confirmedBurn(), 0, \"3 IMD of burn funds diverted to owner and reported as burned\");\n    }\n}","reproduction":"Mocked Ethereum (chainid 1; IMD OFT and endpoint doubles etched at their fixed addresses): (1) OWNER calls configureBridge(ownerBaseWallet /* an EOA */, keccak256('any evidence')) -> succeeds. (2) ENDPOINT delivers lzReceive(Origin(30184, bytes32(ownerBaseWallet), 1), guid1, abi.encode(uint8(1), bridgeConfigHash, 0, 0, 0)) -> baseReady = true. (3) OWNER activate(). (4) alice buys 10 candles -> burnQueued = 3e18. (5) OWNER queueBurn(max), dispatchBurn{value: 1e14}(1): the OFT send's `to` is ownerBaseWallet. (6) ENDPOINT delivers lzReceive(Origin(30184, bytes32(ownerBaseWallet), 2), guid2, abi.encode(uint8(2), hash, 1, jobGuid, 3e18)). Expected: configureBridge rejects a destination that is not the pinned burn receiver, confirmedBurn stays 0. Actual: confirmedBurn == 3e18 while the 3 IMD sit in the owner's Base wallet. Proof test/scratch/P1.t.sol fails with '3 IMD of burn funds diverted to owner and reported as burned: 3000000000000000000 != 0'.","severity":"medium","snippet":"    function configureBridge(address receiver, bytes32 evidenceHash) external nonReentrant onlyOwner {","title":"configureBridge lets the owner name any Base address as the burn destination; readiness and burn confirmations are trusted from that same address, so the owner can receive the 30% burn funds on Base a"},{"citation":"resolved","description":"Merged from audit_flow (medium) and audit_economics (medium), same root cause. _checkFrozenRoute() (lines 262-271) is called from buyCandles (src/WishGarden.sol:59), activate and dispatchBurn (line 135). It requires keccak256(enforcedOptions(30184, 2)) to equal enforcedOptionsHash snapshotted in configureBridge (line 88) and, via _checkOfficialRoute, peers(30184) == BASE_ADAPTER. Both are storage of the Ethereum IMD OFT, writable only by its owner (docs/evidence/ethereum-dependencies.json names 0x047F606fD5b2BaA5f5C6c4aB8958E45CB6B054B7), not by the garden owner. Setting enforced options for the SEND_AND_CALL message type or rotating a peer is a routine LayerZero operation that changes neither custody nor destination. After activate(), configureBridge reverts ConfigurationFrozen (line 77) and there is no other path to re-snapshot, so once that external change happens: every buyCandles reverts InvalidBridgeConfiguration forever (a purchase is only an IMD transferFrom into the garden and does not touch the bridge), and dispatchBurn reverts forever so burnQueued + burnReserved IMD can neither be burned nor withdrawn. setPurchasesPaused(false) does not help. docs/deployment.md:34 says only that dependency changes 'may strand burn operations' and implies purchases can be paused and resumed. Claims are unaffected (claimRewards only calls _requireIMD). Minimal fix preserving the frozen-destination design: drop _checkFrozenRoute from buyCandles (keep _requireIMD), and in _checkFrozenRoute keep the custody-relevant checks (token, endpoint, approvalRequired, decimalConversionRate, receiver, code hashes) but drop the enforced-options hash equality or let the owner re-snapshot only that hash; disclose in docs that a peer rotation by the IMD team stops dispatch until it is restored.","line":267,"path":"src/bridge/EverlightBridgeQueue.sol","proof":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.26;\n\nimport {Test} from \"forge-std/Test.sol\";\nimport {WishGarden} from \"src/WishGarden.sol\";\nimport {IMDBridge, Origin, SendParam, MessagingFee, MessagingReceipt, OFTReceipt} from \"src/bridge/IMDBridge.sol\";\n\n/// @dev Minimal stand-in for the Ethereum IMD OFT at its fixed address. Only the surface the garden reads.\ncontract OFTStub {\n    string public constant name = \"IMD\";\n    string public constant symbol = \"IMD\";\n    uint8 public constant decimals = 18;\n    uint256 public constant decimalConversionRate = 1e12;\n    uint256 public totalSupply;\n    mapping(address => uint256) public balanceOf;\n    mapping(address => mapping(address => uint256)) public allowance;\n    bytes32 public peer;\n    bytes public options; // what enforcedOptions(BASE_EID, 2) returns; the IMD owner may change it any time\n    uint64 public sendNonce;\n\n    function setPeer(bytes32 v) external {\n        peer = v;\n    }\n\n    function setOptions(bytes calldata v) external {\n        options = v;\n    }\n\n    function mint(address to, uint256 amount) external {\n        balanceOf[to] += amount;\n        totalSupply += amount;\n    }\n\n    function approve(address s, uint256 a) external returns (bool) {\n        allowance[msg.sender][s] = a;\n        return true;\n    }\n\n    function transfer(address to, uint256 a) external returns (bool) {\n        balanceOf[msg.sender] -= a;\n        balanceOf[to] += a;\n        return true;\n    }\n\n    function transferFrom(address f, address to, uint256 a) external returns (bool) {\n        allowance[f][msg.sender] -= a;\n        balanceOf[f] -= a;\n        balanceOf[to] += a;\n        return true;\n    }\n\n    function token() external view returns (address) {\n        return address(this);\n    }\n\n    function endpoint() external pure returns (address) {\n        return IMDBridge.ENDPOINT;\n    }\n\n    function approvalRequired() external pure returns (bool) {\n        return false;\n    }\n\n    function peers(uint32) external view returns (bytes32) {\n        return peer;\n    }\n\n    function enforcedOptions(uint32, uint16) external view returns (bytes memory) {\n        return options;\n    }\n\n    function quoteSend(SendParam calldata, bool) external pure returns (MessagingFee memory) {\n        return MessagingFee(1e14, 0);\n    }\n\n    function send(SendParam calldata p, MessagingFee calldata f, address)\n        external\n        payable\n        returns (MessagingReceipt memory, OFTReceipt memory)\n    {\n        balanceOf[msg.sender] -= p.amountLD;\n        totalSupply -= p.amountLD;\n        bytes32 guid = keccak256(abi.encode(++sendNonce));\n        return (MessagingReceipt(guid, sendNonce, f), OFTReceipt(p.amountLD, p.amountLD));\n    }\n}\n\ncontract EndpointStub {\n    function eid() external pure returns (uint32) {\n        return 30101;\n    }\n}\n\ncontract EnforcedOptionsBrickTest is Test {\n    address constant OWNER = 0x48E4E74fE1d0c14404cEB57B9fec5b21329C6ec9;\n    address constant RECEIVER = address(0xB0B0);\n    WishGarden garden;\n    OFTStub imd;\n    address alice = address(0xA11CE);\n\n    function setUp() public {\n        vm.chainId(1);\n        vm.etch(IMDBridge.ENDPOINT, address(new EndpointStub()).code);\n        vm.etch(0xD34a99Bc0f67aE1bbd63C660e6d0b0dd03E263B7, address(new OFTStub()).code);\n        imd = OFTStub(0xD34a99Bc0f67aE1bbd63C660e6d0b0dd03E263B7);\n        imd.setPeer(IMDBridge.asBytes32(IMDBridge.BASE_ADAPTER));\n        garden = new WishGarden(OWNER);\n        bytes32 evidence = keccak256(\"evidence\");\n        vm.prank(OWNER);\n        garden.configureBridge(RECEIVER, evidence);\n        bytes memory ready = abi.encode(uint8(1), garden.bridgeConfigHash(), uint256(0), bytes32(0), uint256(0));\n        vm.prank(IMDBridge.ENDPOINT);\n        garden.lzReceive(Origin(30184, IMDBridge.asBytes32(RECEIVER), 1), bytes32(uint256(1)), ready, address(this), \"\");\n        vm.prank(OWNER);\n        garden.activate();\n        imd.mint(alice, 100e18);\n        vm.deal(OWNER, 1 ether);\n    }\n\n    function _buy(uint256 n) internal {\n        uint8[] memory styles = new uint8[](n);\n        string[] memory wishes = new string[](n);\n        vm.startPrank(alice);\n        imd.approve(address(garden), n * 1e18);\n        garden.buyCandles(styles, wishes);\n        vm.stopPrank();\n    }\n\n    /// Purchases are a pure IMD payment, yet they revert forever once the IMD OFT owner sets enforced options\n    /// for the Base compose message type (a routine LayerZero operation the garden owner cannot undo).\n    function test_purchasesSurviveThirdPartyEnforcedOptionsChange() public {\n        _buy(2);\n        assertEq(garden.totalCandles(), 2);\n        // The IMD team sets enforced options for (dstEid 30184, msgType 2): 60k lzReceive gas, LayerZero type 3.\n        imd.setOptions(hex\"0003010011010000000000000000000000000000ea60\");\n        // Owner cannot reconfigure or re-activate: both are frozen after activation.\n        vm.prank(OWNER);\n        vm.expectRevert(abi.encodeWithSignature(\"ConfigurationFrozen()\"));\n        garden.configureBridge(RECEIVER, keccak256(\"evidence\"));\n        // A later purchase must still be possible: it only moves IMD from the buyer to the garden.\n        _buy(1);\n        assertEq(garden.totalCandles(), 3, \"purchases permanently disabled by third-party OFT option change\");\n    }\n\n    /// The restricted burn queue also becomes unreachable: 0.3 IMD per candle can neither be sent nor withdrawn.\n    function test_burnDispatchSurvivesThirdPartyEnforcedOptionsChange() public {\n        _buy(2);\n        vm.prank(OWNER);\n        uint256 job = garden.queueBurn(type(uint256).max);\n        imd.setOptions(hex\"0003010011010000000000000000000000000000ea60\");\n        vm.prank(OWNER);\n        bool sent = garden.dispatchBurn{value: 1e14}(job);\n        assertTrue(sent, \"burn queue permanently stranded by third-party OFT option change\");\n    }\n}","reproduction":"Activated garden (configureBridge, authenticated readiness, activate), alice holds IMD. (1) alice buyCandles([0,0], ['','']) -> totalCandles == 2. (2) Ethereum IMD owner sets enforced options for (30184, 2), modelled by the OFT returning 0x0003010011010000000000000000000000000000ea60 from enforcedOptions(30184,2). (3) alice buyCandles([0], ['']) -> expected totalCandles == 3; actual revert InvalidBridgeConfiguration(). (4) OWNER configureBridge(receiver, evidence) -> ConfigurationFrozen(). (5) OWNER queueBurn(max) then dispatchBurn{value: 1e14}(job) -> expected true; actual revert InvalidBridgeConfiguration(); burnReserved stays 0.6e18 with no path out. Proof test/scratch/P2.t.sol: both tests FAIL with InvalidBridgeConfiguration() on the current tree. Also reproduced with the in-tree doubles via IMDOFTDouble.setOptions.","severity":"medium","snippet":"                || keccak256(IIMDOFT(IMD).enforcedOptions(IMDBridge.BASE_EID, 2)) != enforcedOptionsHash","title":"buyCandles and dispatchBurn require live Ethereum OFT state (enforcedOptions(30184,2), peers) to equal a snapshot frozen at activation; a routine change by the third-party IMD owner permanently disabl"},{"citation":"resolved","description":"Merged from audit_math (low), audit_flow (low), audit_economics (low) and audit_permissions (medium): one root cause. The OFT adapter credits Base IMD to the receiver in its own lzReceive; the executor's lzCompose is a separate transaction that can sit in the endpoint's compose queue indefinitely (e.g. after a failed first attempt). lzCompose authenticates the message by msg.sender == ENDPOINT and from == BASE_ADAPTER (line 101), yet first calls _requireReady() -> _checkRoute() (lines 216-234), which requires adapter.peers(30101) == ETHEREUM_IMD, the adapter and endpoint codehashes to be unchanged, approvalRequired, decimalConversionRate and endpoint eid. If the IMD team re-peers or redeploys the adapter in that window, lzCompose reverts InvalidConfiguration before any Delivery is written, so deliveries[guid].status stays None, retryBurn(guid) reverts InvalidDelivery (line 127), and there is by design no withdrawal path: the tokens stay in the receiver, totalReceived/pendingBurn never count them, and on Ethereum burnInTransit never resolves and confirmedBurn never grows for that job. retryBurn was deliberately relaxed for exactly this reason (comment lines 124-125) but the first attempt was not. Fix: in lzCompose check only _requireBase(), activated and IMD.codehash == tokenCodeHash (as retryBurn does) plus the existing endpoint/from/message checks; keep the full _checkRoute for activate and announceReady, which gate outbound messages.","line":99,"path":"src/base/EverlightBurnReceiver.sol","proof":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.26;\n\nimport {Test} from \"forge-std/Test.sol\";\nimport {EverlightBurnReceiver} from \"src/base/EverlightBurnReceiver.sol\";\nimport {IMDBridge} from \"src/bridge/IMDBridge.sol\";\n\n/// @dev Stand-in for the Base IMD token: 18 decimals, public burn(uint256) reducing balance and totalSupply.\ncontract BaseTokenStub {\n    uint8 public constant decimals = 18;\n    uint256 public totalSupply;\n    mapping(address => uint256) public balanceOf;\n\n    function mint(address to, uint256 amount) external {\n        balanceOf[to] += amount;\n        totalSupply += amount;\n    }\n\n    function burn(uint256 amount) external {\n        balanceOf[msg.sender] -= amount;\n        totalSupply -= amount;\n    }\n}\n\n/// @dev Stand-in for the official Base OFT adapter. Its owner (the IMD team, not the garden owner) may re-peer it.\ncontract AdapterStub {\n    bytes32 public peer;\n\n    function setPeer(bytes32 p) external {\n        peer = p;\n    }\n\n    function token() external pure returns (address) {\n        return IMDBridge.BASE_IMD;\n    }\n\n    function endpoint() external pure returns (address) {\n        return IMDBridge.ENDPOINT;\n    }\n\n    function approvalRequired() external pure returns (bool) {\n        return true;\n    }\n\n    function decimalConversionRate() external pure returns (uint256) {\n        return 1e12;\n    }\n\n    function peers(uint32) external view returns (bytes32) {\n        return peer;\n    }\n}\n\ncontract EndpointStub {\n    function eid() external pure returns (uint32) {\n        return 30184;\n    }\n}\n\ncontract StrandedComposeTest is Test {\n    address constant OWNER = 0x48E4E74fE1d0c14404cEB57B9fec5b21329C6ec9;\n    address constant ETH_IMD = 0xD34a99Bc0f67aE1bbd63C660e6d0b0dd03E263B7;\n    address constant GARDEN = address(0x6A4De1);\n    EverlightBurnReceiver receiver;\n    BaseTokenStub tokenStub = BaseTokenStub(IMDBridge.BASE_IMD);\n    AdapterStub adapter = AdapterStub(IMDBridge.BASE_ADAPTER);\n\n    function setUp() public {\n        vm.chainId(8453);\n        vm.etch(IMDBridge.BASE_IMD, address(new BaseTokenStub()).code);\n        vm.etch(IMDBridge.BASE_ADAPTER, address(new AdapterStub()).code);\n        vm.etch(IMDBridge.ENDPOINT, address(new EndpointStub()).code);\n        adapter.setPeer(IMDBridge.asBytes32(ETH_IMD));\n        receiver = new EverlightBurnReceiver(OWNER, GARDEN);\n        vm.prank(OWNER);\n        receiver.activate(keccak256(\"evidence\"));\n    }\n\n    /// The adapter already credited the receiver (its lzReceive ran in an earlier transaction). The compose is\n    /// authenticated by msg.sender == ENDPOINT and from == BASE_ADAPTER. A peer rotation by the adapter owner in\n    /// between must not strand the credited, authenticated delivery with no record and no retry path.\n    function test_creditedDeliveryStillBurnsAfterAdapterPeerChange() public {\n        tokenStub.mint(address(receiver), 3e18); // the adapter's credit for job 1\n        adapter.setPeer(bytes32(uint256(1))); // IMD team re-peers the adapter before the compose executes\n        bytes memory message =\n            abi.encodePacked(uint64(1), uint32(30101), uint256(3e18), IMDBridge.asBytes32(GARDEN), uint256(1));\n        bytes32 guid = keccak256(\"packet\");\n        vm.prank(IMDBridge.ENDPOINT);\n        (bool ok,) = address(receiver).call(\n            abi.encodeCall(receiver.lzCompose, (IMDBridge.BASE_ADAPTER, guid, message, address(0xE), bytes(\"\")))\n        );\n        if (!ok) {\n            // At minimum the delivery must be reachable by retryBurn; today it is not even recorded.\n            (,,, EverlightBurnReceiver.Status status,) = receiver.deliveries(guid);\n            assertTrue(status != EverlightBurnReceiver.Status.None, \"credited delivery stranded: no record, no retry\");\n            receiver.retryBurn(guid);\n        }\n        assertEq(receiver.totalBurned(), 3e18, \"authenticated funded delivery was not burned\");\n        assertEq(tokenStub.balanceOf(address(receiver)), 0);\n    }\n}","reproduction":"Base (chainid 8453), receiver activated with adapter.peers(30101) == Ethereum IMD. (1) Mint 3e18 Base IMD to the receiver, modelling the adapter's credit for Ethereum job 1 (guid G). (2) Adapter owner sets peers(30101) to another value. (3) ENDPOINT calls receiver.lzCompose(BASE_ADAPTER, G, abi.encodePacked(uint64(1), uint32(30101), uint256(3e18), bytes32(garden), uint256(1)), executor, ''). Expected: BurnReceived + SupplyBurned (totalBurned == 3e18), or at least a Failed record that retryBurn can reach. Actual: revert InvalidConfiguration(); receiver.retryBurn(G) reverts InvalidDelivery(); balanceOf(receiver) == 3e18, totalBurned == 0, pendingBurn == 0. Restoring the peer and replaying the identical message succeeds (test/scratch/Judge.t.sol::test_peerChangeStrandsCreditedCompose), showing only the live check blocked it. Proof test/scratch/P3.t.sol fails with 'credited delivery stranded: no record, no retry'.","severity":"medium","snippet":"        _requireReady();","title":"lzCompose re-runs the full live route check for a delivery the adapter already credited; a Base adapter peer/codehash change between credit and compose strands the IMD in the receiver unrecorded, unbu"},{"citation":"resolved","description":"Merged from audit_flow (medium) and audit_permissions (low). The brief names the owner 0x48E4E74fE1d0c14404cEB57B9fec5b21329C6ec9, and the pinned launch recipe says 'An owner address the brief itself states for a contract is written as that static address instead of $owner', because $owner resolves to the paying wallet or the request's owner field, never to text in notes. launch.json is the only file the deployer reads; its notes claim '$owner resolves to 0x48E4..., never the factory', which the schema does not enforce, while docs/deployment/manifest-handoff.json and README.md already name the static address. WishGarden(owner_) gives owner_ exclusive rights to configureBridge (and so the burn destination, see finding 1), activate, queueBurn/dispatchBurn, setPurchasesPaused, withdrawBucket of the 30%/5%/5% buckets, and ownership transfer; the constructor cannot check the address itself. Fix: constructorArgs: [\"0x48E4E74fE1d0c14404cEB57B9fec5b21329C6ec9\"].","line":7,"path":"launch.json","reproduction":"Deploy through the factory with the launch paid by wallet W != 0x48E4E74fE1d0c14404cEB57B9fec5b21329C6ec9 and no owner field in the request: $owner resolves to W and WishGarden.owner() == W. Expected per the brief and recipe: owner() == 0x48E4E74fE1d0c14404cEB57B9fec5b21329C6ec9. Local check: `new WishGarden(W)` then `owner() == W`; nothing in the constructor rejects it. Consequence: W alone can configureBridge, activate and withdrawBucket(Ecosystem, W, ecosystemBalance).","severity":"medium","snippet":"        \"$owner\"","title":"launch.json passes \"$owner\" although the brief states the owner address; the launch recipe requires the static address, and a launch paid from another wallet would hand every privileged power and all "},{"citation":"resolved","description":"From audit_math (low), reproduced. docs/abi/README.md:14 and README.md promise 1-50 candles per transaction and wishes of up to 280 codepoints / 1120 bytes each, but each full wish is written to 35+ storage slots plus event data and a per-byte UTF-8 pass. Measured with the project's foundry.toml settings: 50 x 1120-byte wishes = 70,889,020 gas, which no mainnet block can include (limit ~60M), so the call always runs out of gas. Roughly 42 candles with full-length wishes is the real ceiling. No funds are at risk (atomic revert, buyer can split the batch); the only mention is one sentence in docs/validation.md:63 ('Very large text batches may require smaller transactions'). Fix: document the joint bound in docs/abi/README.md and README.md, or enforce a per-batch total wish-byte cap (about 40,000 bytes) in buyCandles.","line":50,"path":"src/WishGarden.sol","reproduction":"Activated garden (test/helpers/GardenTestBase.sol fixture). wish = 280 repetitions of bytes F0 90 80 80 (U+10000; 1120 bytes; passes Utf8Wish.validate). styles = uint8[50] of 0, wishes = string[50] all equal to wish; approve 50e18 IMD; buyCandles(styles, wishes). Expected per the stated limits: 50 candles created on mainnet. Actual: the call consumes 70,889,020 gas (test/scratch/Judge.t.sol::test_gas_maxBatchMaxWish), above the block gas limit, so it cannot be mined. 50 x 280-byte ASCII wishes cost about 25.2M gas and succeed.","severity":"low","snippet":"    function buyCandles(uint8[] calldata styles, string[] calldata wishes)","title":"The advertised limits cannot be combined: 50 candles with 1120-byte wishes need about 70.9M gas, above Ethereum's 60M block gas limit, and the integration docs do not state the joint bound"},{"citation":"resolved","description":"From audit_economics (info), reproduced and re-measured against the captured Base token and adapter runtimes rather than only the doubles. The executor forwards COMPOSE_GAS to EndpointV2.lzCompose, which clears the compose queue (cold sload + sstore + event, about 8-10k) and forwards at most 63/64 of the remainder, about 484k, to EverlightBurnReceiver.lzCompose. lzCompose then does three EXTCODEHASH reads, about nine external view calls, six fresh storage writes and requires gasleft() >= 150_000*64/63 + 120_000 before the burn subcall (line 169). Binary search with the pinned runtimes gives a minimum passing gas of 466,991 for a first delivery (465,527 with the doubles). test/review/ActivationAndRuntime.t.sol:200 calls the receiver with gas 500_000 directly, which overstates the budget by the endpoint overhead and the 63/64 rule. Impact is liveness only: a revert leaves the compose queued and anyone can re-execute EndpointV2.lzCompose with more gas, but the automatic executor attempt may fail on every first delivery, adding a manual step to each burn. Fix: raise COMPOSE_GAS (e.g. 650,000) and test the compose through an endpoint-like forwarder with the 63/64 rule.","line":86,"path":"src/bridge/IMDBridge.sol","reproduction":"test/scratch/ComposeGas.t.sol::test_minComposeGasPinnedRuntime: chainid 8453, etch BaseIMDRuntime and BaseAdapterRuntime at their fixed addresses, set adapter peer, activate the receiver, deal 0.3e18 to it, then binary-search the gas limit of prank(ENDPOINT) receiver.lzCompose(BASE_ADAPTER, guid, encodePacked(uint64(1), uint32(30101), 0.3e18, bytes32(garden), 1), alice, ''). Result: minimum passing gas 466,991; available after the endpoint's work and 63/64 forwarding is about 484,312. Expected: comfortable margin below the executor budget; actual: about 3.5% margin, and real cold-access costs on Base can exceed the local model.","severity":"low","snippet":"    uint128 internal constant COMPOSE_GAS = 500_000;","title":"COMPOSE_GAS of 500,000 leaves roughly 17k gas of margin for the executor's first lzCompose against the pinned Base runtime once the endpoint's own work and 63/64 forwarding are counted; the in-tree 50"}],"hash":"c0bcccd7bb7ab87f849ac8fa7722d7e4756d198721ee46ca3a770ba6cb059df4","nodeId":"a5bc96f7-e151-4805-83d7-95e40a2510ab","outcome":"completed","summary":"The review is complete. `.imd-findings.json` holds six findings and a 23-row coverage record answering all 21 listed entry points plus two invariants and the static-analysis leads. The project's own 80 tests pass; the three attached proofs fail on the current tree for the stated reasons.\n\n**What I kept, after reproducing each against the code**\n\n- **Medium, owner-chosen burn destination.** `configureBridge` accepts any Base address except four named ones, and `lzReceive` trusts readiness and burn confirmations from that same address. An owner can route the 30% burn funds to a wallet they control on Base and raise `confirmedBurn` with no supply reduction. The brief forbids owner access to burn funds and fake burn reporting, so this is a broken explicit guarantee. I recalibrated it from high to medium because the precondition is owner misconduct and the docs disclose the trust boundary. The specialist's proof fails as described and is attached.\n- **Medium, frozen third-party route check kills purchases and dispatch.** Merged from the flow and economics specialists. `buyCandles` and `dispatchBurn` require the live Ethereum IMD OFT's `enforcedOptions(30184,2)` and peer to equal a snapshot that can never be refreshed after activation. A routine change by the IMD team permanently reverts every purchase and strands the burn queue. Proof attached and failing.\n- **Medium, Base compose stranding.** Merged from all four specialists. `lzCompose` re-runs the full live adapter route check for a delivery the adapter already credited. A peer or codehash change in between leaves the tokens unrecorded, unburnable and unretryable, with the Ethereum job stuck in transit. I wrote a self-contained proof that fails with no delivery record and no retry path.\n- **Medium, manifest uses `$owner`.** Merged from flow and permissions. The brief states the owner address and the launch recipe requires that static address instead of `$owner`.\n- **Low, joint limit is unreachable.** Fifty candles with 1120-byte wishes cost about 70.9M gas, above the block gas limit, and the integration docs do not state the joint bound.\n- **Low, compose gas margin.** Against the pinned Base runtime the first compose needs about 467k gas while roughly 484k reaches the receiver through the endpoint. The executor's automatic attempt may fail, leaving a manual re-execution step. I upgraded this from info to low after re-measuring with the captured bytecode.\n\n**What I dropped or did not raise.** No specialist finding failed to reproduce. The slither reentrancy, divide-before-multiply and uninitialized-local lines are not defects: the self-calls run under the outer guard with effects first, the rounding is intentional, and both locals are assigned on every non-reverting branch. My own pass over the reward accumulator, claims, bucket withdrawals, ownership, message formats, replay protection and the manifest schema found nothing further. Notes are 3,929 characters, under the 4,000 limit.\n\n**Scope notes.** Everything ran against local doubles and captured bytecode, not a fork or live chain. The findings about external admin actions describe liveness dependencies on the IMD team's LayerZero configuration, which the docs acknowledge only partially. No files outside `.imd-findings.json` and `test/scratch/` were written.","treeHash":null,"usage":{"cachedInputTokens":1282327,"cost":{"source":"runtime","usdMicros":4729200},"inputTokens":418,"model":"claude-fable-5-1","outputTokens":39580,"runtime":"claude","turns":30,"wallClockMs":1151460}},{"artifacts":[],"attempt":1,"bundleHash":"218e5b3bbb49dd8425a30f8d0f69f6f359ec36c47934774d10297163777b7cf4","device":"6ee31f3a4c62909d","findings":[],"hash":"e11e2ed17585a9cdc5fc59a872104fe6521852156c9f2df2126063155c9f2960","nodeId":"5f85da04-d01a-4440-9b02-c95cc86b0520","outcome":"completed","summary":"Added 31 tests covering custody invariants, failure recovery, authorization, Unicode, indexing, and wallet gas.\n\n- `forge build` passed.\n- Seeded `forge test`: **80 passed, 0 failed**.\n- Invariants completed **57,344 calls**.\n\nReview notes are in `test/review/REVIEW.md`. No additional defects reproduced; all validation was offline.","treeHash":"a20f6ba7b88f480ae1063a4afa3f83e680020eec","usage":{"cachedInputTokens":2107008,"cost":{"source":"estimated","usdMicros":4984028},"inputTokens":66162,"model":"gpt-6-astra","outputTokens":44308,"runtime":"codex","turns":8,"wallClockMs":1275673}},{"artifacts":[],"attempt":1,"bundleHash":null,"device":"3c9b660ee1938912","findings":[],"hash":"f5e5f94034ec7076b3ef13ff2a13ff5d0431bbf278bb188677d599f409aac366","nodeId":"a5bc96f7-e151-4805-83d7-95e40a2510ab","outcome":"completed","summary":"All four findings that had to be fixed before launch are fixed, and both advisory ones are dealt with. I found no new defects. `.imd-findings.json` has an empty findings list and a coverage row for each of the 20 entry points (all `holds`), plus two extra rows for the manifest owner argument and the contract size limits.\n\n**Checks run:**\n- I copied all five held proofs into `test/scratch/` and ran them against the revised code. All pass.\n- The full suite passes: 103 tests in 21 suites.\n\n**Each finding:**\n- **e1e37d73 (owner could pick the burn destination): fixed.** `configureBridge` now rejects any receiver other than `pinnedBaseReceiver`. That address is fixed when the garden is deployed: it is derived from the canonical CREATE2 deployer (`0x4e59…956C`), a salt set in source, and the receiver's compiled code with (owner, garden) as its constructor arguments. Readiness and burn confirmations are accepted only from that address, so an owner wallet can neither receive burn funds nor report a burn. The receiver code in `docs/base/deployment-package.json` is byte-for-byte the compiled artifact, and the script uses the same owner and salt.\n- **3a1155f9 (a third-party change to the IMD token's bridge settings stopped purchases and burns): fixed; the author's dispute holds.** `buyCandles` now only checks the IMD token, and the route check no longer compares enforced options. The held proof fails in its setup only because it uses an arbitrary receiver (`0xB0B0`), which the e1e37d73 fix now rejects. With `garden.pinnedBaseReceiver()` in its place, both of its tests pass with nothing else changed.\n- **14107f84 (a bridge-side peer change could strand delivered burn funds on Base): fixed.** `lzCompose` now checks only activation, the token's code hash, and the endpoint, adapter and message. `activate` and `announceReady` keep the full route check. The held proof passes.\n- **4a0b1693 (launch.json used `$owner`): fixed.** The constructor argument is now the static address `0x48E4E74fE1d0c14404cEB57B9fec5b21329C6ec9`. This matters more now, because the pinned Base address is derived from that owner.\n- **Advisories:**\n  - The joint limit on batch size and wish length is now documented in `docs/abi/README.md`, including the 16,777,216 per-transaction gas cap from EIP-7825.\n  - The gas allowance for the Base burn step (`COMPOSE_GAS`) is now 650,000, up from 500,000.\n\n**New code (the embedded receiver):** WishGarden's creation code is now 27,794 bytes and its deployed code 18,291 bytes, both within the 49,152 / 24,576 limits. The constructor still makes no external calls.\n\n**Static-analysis leads:** none reproduced. The reentrancy leads are paths that update state before calling the fixed IMD token or isolated self-calls under the reentrancy guard. The divide-before-multiply line in `queueBurn` is deliberate rounding to the bridge's conversion rate. The uninitialized locals in `Utf8Wish` are zero by default.\n\n**Limits of this review:** everything ran against mocks and captured bytecode, with no fork or live bridge test. Whether the burn route actually works on Base still depends on the later owner steps and the bridge facts the project's docs list as blockers.","treeHash":null,"usage":{"cachedInputTokens":780570,"cost":{"source":"runtime","usdMicros":926298},"inputTokens":25,"model":"claude-opus-5-5","outputTokens":8544,"runtime":"claude","turns":14,"wallClockMs":140413}},{"artifacts":[],"attempt":1,"bundleHash":null,"device":"dd2ee4882a1be950","findings":[{"citation":"resolved","description":"Boundary x invariant seam. The brief and docs/abi/README.md promise 1-50 candles per transaction AND a wish of up to 280 codepoints / 1120 bytes each, but the two limits cannot be combined. Each 1120-byte wish is written to 35+ storage slots plus event data and a per-byte UTF-8 pass; measured cost (forge, Cancun, optimizer on, same settings as foundry.toml): 50 x 1120-byte wishes = 70,889,055 gas; 50 x 280-ASCII wishes = 25,230,847; 50 x empty wishes = 5,376,889. Ethereum mainnet's gas limit at block 26,427,429 (read today from the public chain-1 RPC) is 59,999,943, so the first case can never be mined: buyCandles always runs out of gas and reverts. Roughly 42 candles with full-length 4-byte wishes is the real per-transaction ceiling. No funds are at risk (the revert is atomic and the buyer can split the batch), but the only mention is one sentence in docs/validation.md ('Very large text batches may require smaller transactions'); the integration document docs/abi/README.md and README.md state the 50-candle and 1120-byte limits without the joint bound, so an integrator who builds a 50 x long-wish transaction gets an unexplained out-of-gas failure. Fix: document the joint bound (or enforce a per-batch total wish-byte cap, e.g. sum(bytes) <= ~40,000) in Utf8Wish/buyCandles and in docs/abi/README.md.","line":50,"path":"src/WishGarden.sol","reproduction":"Activated garden (same fixture as test/helpers/GardenTestBase.sol). wish = 280 repetitions of bytes F0 90 80 80 (U+10000, 1120 bytes, passes Utf8Wish.validate). styles = uint8[50] of 0, wishes = string[50] all equal to wish; approve 50e18 IMD; call buyCandles(styles, wishes). Expected per the stated limits: 50 candles created. Actual: the call consumes 70,889,055 gas in forge (see test/scratch/MathProbe.t.sol::test_maxBatchMaxWish_gas), which exceeds the mainnet block gas limit of 59,999,943, so on chain the transaction cannot be included and reverts out of gas. Comparison: 50 x 280-byte ASCII wishes cost 25,230,847 gas and succeed.","severity":"low","snippet":"    function buyCandles(uint8[] calldata styles, string[] calldata wishes)","title":"Maximum batch with maximum wishes cannot execute: 50 x 1120-byte wishes need ~70.9M gas, above mainnet's 60M block gas limit"},{"citation":"resolved","description":"Boundary case on the external-state assumption behind lzCompose. By the time the endpoint calls lzCompose the Base adapter has already credited the IMD to the receiver (compose runs after lzReceive, possibly in a later transaction). lzCompose nevertheless starts with _requireReady(), which requires the adapter and endpoint codehashes to be unchanged and _checkRoute() to pass (adapter.peers(ETH_EID) == ETHEREUM_IMD, approvalRequired, decimalConversionRate, endpoint eid). If IMD's administrators change the adapter peer, upgrade/redeploy the adapter or the endpoint code while a job is in transit, the compose reverts with InvalidConfiguration before any Delivery is recorded. Because deliveries[guid].status stays None, retryBurn(guid) reverts InvalidDelivery, and there is (by design) no withdrawal or owner path, so the credited amount sits in the receiver forever: not burned, totalSupply not reduced, totalBurned/pendingBurn unchanged. On Ethereum the job stays InTransit forever (burnInTransit never moves to confirmedBurn) and the 30% burn promise for that job is silently not delivered. The author already recognised that an authenticated, funded delivery only needs the fixed token (retryBurn comment: 'A later bridge-peer change must not prevent burning its retained balance; only the fixed token is involved') but did not apply the same reasoning to the first attempt, so a delivery that fails once and is retried burns fine after a peer change while an identical delivery that arrives after the change is lost (see second test). Trigger is a third-party admin action, not an attacker, and the message itself is still endpoint-authenticated (msg.sender == ENDPOINT, from == BASE_ADAPTER), hence low. Fix: in lzCompose require only _requireBase(), activated and IMD.codehash == tokenCodeHash (as retryBurn does) and keep the endpoint/from/message authentication; the stricter _checkRoute belongs to announceReady/sendBurnReceipt where it still gates outbound messages.","line":99,"path":"src/base/EverlightBurnReceiver.sol","reproduction":"test/scratch/StuckCompose.t.sol (uses test/helpers/GardenTestBase.sol fixtures). 1) Ethereum: alice buys 2 candles; owner queueBurn(0.6e18) -> job 1 (0.6e18); owner dispatchBurn{value: 1e14}(1) -> InTransit, guid G. 2) Base (_setupBase, receiver activated): mint 0.6e18 Base IMD to the receiver to stand for the adapter credit; BaseAdapterDouble.setPeer(bytes32(1)) to stand for an admin peer change. 3) As ENDPOINT call receiver.lzCompose(BASE_ADAPTER, G, abi.encodePacked(uint64(1), uint32(30101), 0.6e18, bytes32(garden), uint256(1)), ...). Expected: the authenticated, funded delivery is recorded and burned (or at least recorded as Failed so retryBurn can reach it). Actual: revert InvalidConfiguration; receiver.retryBurn(G) reverts InvalidDelivery; receiver balance stays 0.6e18, totalBurned == 0, pendingBurn == 0; garden.burnInTransit stays 0.6e18 and job 1 stays InTransit. 4) Restoring the peer and replaying the identical compose succeeds (totalBurned == 0.6e18), showing the message was valid and only the live-route check blocked it.","severity":"low","snippet":"        _requireReady();","title":"lzCompose re-checks the full live route for an already-credited delivery: tokens that arrive after an adapter/endpoint/peer change are stranded unburned with no retry path"}],"hash":"fd69a03412b0efa9b76775e5b3d917629b34d9015da79d4c71c6704047ec7465","nodeId":"429032f9-2466-4a26-84b1-6ac32e6c3e1c","outcome":"completed","summary":"The review is complete and `.imd-findings.json` holds two substantiated findings plus coverage for all 20 listed entry points and three checked invariants.\n\n**What I checked (math area: Math Precision, Boundary, Numerical Gap).** The reward accumulator, dust bookkeeping, claim flooring, bucket split, queue rounding to the OFT's shared-decimal unit, the uint64 shared-decimal bound, gas and fee headroom constants, the UTF-8 codepoint and byte limits, pagination edges, and the compose and receipt message layouts. The existing suite passes with the assignment seed (80 tests). My scratch probe confirmed the exact identity `sum(account earnedScaled) + rewardDustScaled == totalRewardsAllocated * 1e27` over 512 random purchase and claim sequences, held IMD never below accounted liabilities, the first-candle fallback, same-wallet self-share, and strict UTF-8 acceptance and rejection at every boundary I tried. The core math conserves funds and never overpays.\n\n**Findings, both low:**\n\n1. **Joint batch limit is unreachable.** 50 candles with 1120-byte wishes cost about 70.9M gas in forge, while mainnet's gas limit read today is just under 60M. The brief's two per-transaction limits cannot be combined, and the integration docs state them without the joint bound. Roughly 42 full-length wishes fit. No funds at risk.\n\n2. **Credited Base deliveries can be stranded.** `lzCompose` re-runs the full live-route check before recording a delivery. If the adapter peer, adapter code or endpoint code changes while a job is in transit, the compose reverts before any record exists, so `retryBurn` cannot reach it and the tokens sit unburned forever while the Ethereum job stays in transit. The author's own `retryBurn` comment accepts a token-only check for funded deliveries, so the fix is to apply that same relaxation to the first attempt. Trigger requires a third-party admin action, hence low.\n\n**Not covered.** Live LayerZero behaviour, the real IMD token's send path and the Base token's burn were only exercised through the project's doubles and captured bytecode fixtures, as the project itself discloses. Slither leads (reentrancy, divide-before-multiply, uninitialized locals) were traced and do not reproduce: the subcalls are self-only under an outer guard, the division is deliberate unit flooring, and both locals are assigned on every non-reverting branch.","treeHash":null,"usage":{"cachedInputTokens":943794,"chain":[{"calls":1,"chainId":1,"failed":0,"own":1,"public":0,"refused":0}],"cost":{"source":"runtime","usdMicros":4451872},"inputTokens":322,"model":"claude-fable-5-1","outputTokens":38314,"runtime":"claude","turns":30,"wallClockMs":668201}}],"verification":[{"checks":[{"durationMs":13634,"exitCode":0,"name":"build","output":"Compiling 62 files with Solc 0.8.26\nSolc 0.8.26 finished in 13.43s\nCompiler run successful!\n","passed":true},{"durationMs":10619,"exitCode":0,"name":"test","output":"No files changed, compilation skipped\n\nRan 9 tests for test/Bridge.t.sol:BridgeTest\n[PASS] test_ackRetryDoesNotRepeatBurnAndReadyIsARealMessage() (gas: 2964690)\n[PASS] test_burnFailsOrNoopsThenRetryNeverDoubleBurns() (gas: 2950470)\n[PASS] test_composeAuthenticationWrongOriginWrongPeerWrongLengthAndUnfunded() (gas: 2422727)\n[PASS] test_configurationChangeFailsClosedForDispatchOnlyAndClaimsStayAvailable() (gas: 2013072)\n[PASS] test_disabledAtDeploymentAndRequiresAuthenticatedBaseReadiness() (gas: 4862201)\n[PASS] test_feeAuthorizationAndGasGuards() (gas: 878479)\n[PASS] test_fullFlowConfirmedOnlyAfterRealBaseBurnAndAuthenticatedAck() (gas: 4149600)\n[PASS] test_queueDustFailureRetryAndNoDoubleSend() (gas: 2071704)\n[PASS] test_wrongAckAmountsAndUnsentJobsCannotConfirm() (gas: 989522)\nSuite result: ok. 9 passed; 0 failed; 0 skipped; finished in 12.65ms (11.10ms CPU time)\n\nRan 4 tests for test/Unicode.t.sol:UnicodeTest\n[PASS] testFuzz_rejectsAllSurrogates(uint16) (runs: 512, μ: 14157, ~: 14230)\nLogs:\n  Bound result 55296\n\n[PASS] testFuzz_validUnicodeScalars(uint32) (runs: 512, μ: 10976, ~: 11019)\nLogs:\n  Bound result 0\n\n[PASS] test_rejectsOverlongSurrogateOutOfRangeTruncatedAndStrayBytes() (gas: 301700)\n[PASS] test_validEmptyAsciiBoundariesAndFourByteMaximum() (gas: 988910)\nSuite result: ok. 4 passed; 0 failed; 0 skipped; finished in 190.20ms (375.44ms CPU time)\n\nRan 5 tests for test/DeploymentAndDependencies.t.sol:DeploymentAndDependenciesTest\n[PASS] test_constructorEmptyChainExplicitOwnerAndNoInitializationCalls() (gas: 6444896)\n[PASS] test_deploymentCodeSizesAndReachableOpcodes() (gas: 20517213)\n[PASS] test_verifiedAdapterCreditAndComposeMatchReceiverFormat() (gas: 1194894)\n[PASS] test_verifiedBaseRuntimeActuallyReducesSupply() (gas: 935712)\n[PASS] test_verifiedEthereumRuntimePaymentAndOfficialOFTSend() (gas: 6326608)\nSuite result: ok. 5 passed; 0 failed; 0 skipped; finished in 274.05ms (235.65ms CPU time)\n\nRan 5 tests for test/review/PinnedRouteRevision.t.sol:PinnedRouteRevisionTest\n[PASS] testFuzz_anyPeerValuePurchasesConserveAndOnlyOfficialPeerDispatches(bytes32,uint8) (runs: 256, μ: 2659974, ~: 2038031)\nLogs:\n  Bound result 13\n\n[PASS] test_composeQueuedBeforeActivationDeliversOnceAfterIt() (gas: 8366149)\n[PASS] test_gardenOwnershipTransferDoesNotMoveThePinnedDestination() (gas: 4581075)\n[PASS] test_otherGardensPinnedReceiverCannotConfigureOrConfirm() (gas: 9977033)\n[PASS] test_strangerFrontRunningPinnedDeploymentStillYieldsOwnersReceiver() (gas: 13337283)\nSuite result: ok. 5 passed; 0 failed; 0 skipped; finished in 321.79ms (330.30ms CPU time)\n\nRan 5 tests for test/WishGardenClaims.t.sol:WishGardenClaimsTest\n[PASS] test_allBucketsBelongToCurrentOwnerWithoutRewardOrBurnAccess() (gas: 1235026)\n[PASS] test_claimBeneficiaryOnlyAndPauseDoesNotLockClaims() (gas: 1008083)\n[PASS] test_earlierOnlyLateEntrantAndPartialSelfShare() (gas: 1845914)\n[PASS] test_frequentClaimsKeepFractionsAndNoEntrantReceivesOldDust() (gas: 6406795)\n[PASS] test_unauthorizedInvalidWithdrawalsRenounceAndZeroAmounts() (gas: 556722)\nSuite result: ok. 5 passed; 0 failed; 0 skipped; finished in 601.81ms (51.09ms CPU time)\n\nRan 11 tests for test/RevisionFindings.t.sol:RevisionFindingsTest\n[PASS] testFuzz_ownerCannotNameAnyOtherDestination(address,bytes32) (runs: 512, μ: 4393636, ~: 4393855)\n[PASS] test_burnDispatchSurvivesThirdPartyEnforcedOptionsChange() (gas: 1063930)\n[PASS] test_composeStillRequiresActivationFixedTokenAndAuthentication() (gas: 2507683)\n[PASS] test_creditedComposeBurnsAfterAdapterPeerChangeButOutboundStaysGated() (gas: 2522557)\n[PASS] test_documentedBatchGasBoundHoldsAndFullBatchOfFullWishesCannotFit() (gas: 178112023)\nLogs:\n  1 x 0 bytes: 371530\n  50 x 0 bytes: 5503197\n  50 x 1 bytes: 6507124\n  50 x 32 bytes: 8600308\n  50 x 120 bytes: 14792370\n  30 x 280 bytes: 15411197\n  18 x 560 bytes: 14977163\n  10 x 1120 bytes: 14506056\n  1 x 1120 bytes: 1628237\n  50 x 1120 bytes: 71679384\n\n[PASS] test_executorComposeGasCoversEndpointForwardingWithMargin() (gas: 1651729)\n[PASS] test_ownerWalletCannotReceiveBurnFundsOrReportABurn() (gas: 2128927)\n[PASS] test_peerRotationStopsOnlyDispatchAndOnlyUntilRestored() (gas: 1724956)\n[PASS] test_pinnedReceiverIsThisSourceDeployedThroughTheCanonicalDeployer() (gas: 83890)\n[PASS] test_purchasesSurviveThirdPartyEnforcedOptionsChange() (gas: 1102325)\n[PASS] test_receiverBuiltForAnotherOwnerOrGardenIsNotThePinnedOne() (gas: 12490429)\nSuite result: ok. 11 passed; 0 failed; 0 skipped; finished in 790.35ms (1.29s CPU time)\n\nRan 6 tests for test/independent/BridgeAdversarial.t.sol:BridgeAdversarialTest\n[PASS] testFuzz_failedRetriesRemainFunded(uint8) (runs: 512, μ: 2156009, ~: 2189446)\nLogs:\n  Bound result 1\n\n[PASS] test_baseHasNoTokenRescueOrApprovalAndDoesNotBurnDonations() (gas: 2439073)\n[PASS] test_composeAtAdvertisedGasAndMinimumWalletGas() (gas: 7632646)\n[PASS] test_inFlightMessagesOutOfOrderAndReceiptReplay() (gas: 5497951)\n[PASS] test_lowGasComposeRevertsInsteadOfRecordingAnUntriedFailure() (gas: 2405607)\n[PASS] test_previouslyAuthenticatedBurnSurvivesLaterBridgePeerChange() (gas: 2935684)\nSuite result: ok. 6 passed; 0 failed; 0 skipped; finished in 818.45ms (844.15ms CPU time)\n\nRan 6 tests for test/review/ActivationAndRuntime.t.sol:ActivationAndRuntimeTest\n[PASS] test_eachOfficialBaseRouteFactIsRequiredBeforeActivation() (gas: 4681356)\n[PASS] test_eachOfficialSourceRouteFactIsRequiredBeforeConfiguration() (gas: 4824600)\n[PASS] test_malformedReadinessCannotUnlockPurchases() (gas: 4739663)\n[PASS] test_pinnedBaseBurnComposeAtWalletAndAdvertisedGas() (gas: 6198503)\n[PASS] test_pinnedEthereumOFTDispatchAtWalletGas() (gas: 15846230)\n[PASS] test_reconfiguringBeforeActivationInvalidatesOldReadinessAndOldPackets() (gas: 4839814)\nSuite result: ok. 6 passed; 0 failed; 0 skipped; finished in 822.47ms (36.62ms CPU time)\n\nRan 8 tests for test/WishGardenAdversarial.t.sol:WishGardenAdversarialTest\n[PASS] testFuzz_bucketFailureAtomic(uint8,uint8) (runs: 512, μ: 1148329, ~: 1150469)\nLogs:\n  Bound result 1\n  Bound result 0\n\n[PASS] testFuzz_claimFailurePreservesEntitlement(uint8) (runs: 512, μ: 1050066, ~: 1048224)\nLogs:\n  Bound result 1\n\n[PASS] testFuzz_everyPaymentFailureRollsBackAndCanRetry(uint8) (runs: 512, μ: 2043031, ~: 2042340)\nLogs:\n  Bound result 3\n\n[PASS] test_claimReentryAndAuthorizedOwnerCrossBucketReentryRejected() (gas: 1511756)\n[PASS] test_crossFunctionPurchaseReentrancyRejected() (gas: 1053868)\n[PASS] test_dispatchAtMinimumWalletGasCannotSilentlySkip() (gas: 5705754)\n[PASS] test_noReturnTokenExactDeltasWorkForPaymentsClaimsAndBuckets() (gas: 978620)\n[PASS] test_purchaseClaimWithdrawalAtMinimumWalletGas() (gas: 161790109)\nSuite result: ok. 8 passed; 0 failed; 0 skipped; finished in 881.04ms (1.65s CPU time)\n\nRan 5 tests for test/review/BridgeDeltaFailures.t.sol:BridgeDeltaFailuresTest\n[PASS] testFuzz_balanceOrSupplyDeltaAloneNeverConfirmsBurn(uint8) (runs: 512, μ: 5870794, ~: 5870525)\n[PASS] testFuzz_everyMalformedReceiptAndDebitRestoresSourceFunds(uint8) (runs: 512, μ: 9349546, ~: 9350911)\n[PASS] testFuzz_malformedEndpointReceiptRollsBackAcknowledgement(uint8) (runs: 512, μ: 2792562, ~: 2792591)\n[PASS] test_baseBurnCallbacksCannotAcknowledgeOrRetryUnfinishedBurn() (gas: 8705039)\n[PASS] test_sourceRefusesPaymentInLayerZeroTokenBeforeTryingTheSend() (gas: 6298371)\nSuite result: ok. 5 passed; 0 failed; 0 skipped; finished in 914.45ms (1.95s CPU time)\n\nRan 7 tests for test/review/GardenMetadataAndUnicode.t.sol:GardenMetadataAndUnicodeTest\n[PASS] testFuzz_arbitraryBytesAgreeWithStrictUtf8Grammar(bytes) (runs: 512, μ: 20664, ~: 11373)\n[PASS] testFuzz_mixedWidthWishesCountCodepointsAndPersistExactBytes(uint16,uint256) (runs: 512, μ: 1476734, ~: 1363800)\nLogs:\n  Bound result 7\n\n[PASS] testFuzz_paginationReconstructsInterleavedRecordsWithoutDuplicates(uint8,uint8) (runs: 512, μ: 6719448, ~: 4265515)\n[PASS] test_claimAndEveryFeeBucketEmitExactBeneficiaryDestinationAndAmount() (gas: 1499698)\n[PASS] test_emptyTerminalAndOutOfBoundsPages() (gas: 123423)\n[PASS] test_indexingEventsContainEachOriginalWishAndCanonicalOrdering() (gas: 934569)\n[PASS] test_lateInvalidStyleRollsBackExistingRewardsAndEveryRecord() (gas: 6693731)\nSuite result: ok. 7 passed; 0 failed; 0 skipped; finished in 914.76ms (1.68s CPU time)\n\nRan 9 tests for test/review/BridgeBoundaries.t.sol:BridgeBoundariesTest\n[PASS] testFuzz_acknowledgementAuthenticationAndRejectionAreAtomic(uint8) (runs: 512, μ: 1221739, ~: 1215254)\n[PASS] testFuzz_changedFrozenRouteStopsDispatchOnlyAndRecoversWhenRestored(uint8) (runs: 512, μ: 1835034, ~: 1857999)\n[PASS] testFuzz_composeAuthenticationAndRejectionAreAtomic(uint8) (runs: 512, μ: 2474965, ~: 2474581)\n[PASS] test_allSourceAdministrativeEntrypointsRejectStrangers() (gas: 223752)\n[PASS] test_baseOwnershipRequiresAcceptanceAndCannotBeRenounced() (gas: 2386933)\n[PASS] test_queueAndFeeBoundaryValues() (gas: 1428707)\n[PASS] test_refundRejectionRollsBackAttemptAndAuthorizedRefundReentryFails() (gas: 5983454)\n[PASS] test_walletGasBaseComposeFailureAndRetryInEveryOutcome() (gas: 16298875)\n[PASS] test_walletGasSourceFailuresAndSubsequentRetry() (gas: 16841317)\nSuite result: ok. 9 passed; 0 failed; 0 skipped; finished in 921.51ms (1.52s CPU time)\n\nRan 10 tests for test/WishGardenPurchases.t.sol:WishGardenPurchasesTest\n[PASS] testFuzz_batchMatchesSequential(uint8,uint8) (runs: 512, μ: 12245678, ~: 9970268)\nLogs:\n  Bound result 15\n  Bound result 2\n\n[PASS] test_donationsDoNotCreateRights() (gas: 814481)\n[PASS] test_firstCandleFallbackAndTwoCandleRegression() (gas: 1029496)\n[PASS] test_invalidBatchAndPagesAtomic() (gas: 74415)\n[PASS] test_lengthMismatchAndMalformedLateWishRevertWholeBatch() (gas: 466287)\n[PASS] test_noAllowanceOrInsufficientFundsReverts() (gas: 703022)\n[PASS] test_noFreeNFTOrTransferEntrypoints() (gas: 134067)\n[PASS] test_noTenThousandCap() (gas: 3191)\n[PASS] test_oversizeAndStyleRevert() (gas: 255054)\n[PASS] test_stylesWishesPermanentAndPagination() (gas: 1899743)\nSuite result: ok. 10 passed; 0 failed; 0 skipped; finished in 1.78s (2.45s CPU time)\n\nRan 2 tests for test/independent/RewardModelInvariant.t.sol:RewardModelInvariantTest\n[PASS] invariant_rewardsAndCustodyMatchPerCandleModel() (runs: 128, calls: 8192, reverts: 0)\n\n╭--------------------+-------------+-------+---------+----------╮\n| Contract           | Selector    | Calls | Reverts | Discards |\n+===============================================================+\n| RewardModelHandler | buy         | 1622  | 0       | 0        |\n|--------------------+-------------+-------+---------+----------|\n| RewardModelHandler | claim       | 1568  | 0       | 0        |\n|--------------------+-------------+-------+---------+----------|\n| RewardModelHandler | donate      | 1712  | 0       | 0        |\n|--------------------+-------------+-------+---------+----------|\n| RewardModelHandler | pausedClaim | 1628  | 0       | 0        |\n|--------------------+-------------+-------+---------+----------|\n| RewardModelHandler | withdraw    | 1662  | 0       | 0        |\n╰--------------------+-------------+-------+---------+----------╯\n\n[PASS] test_specificationModelMixedSequence() (gas: 3972993)\nSuite result: ok. 2 passed; 0 failed; 0 skipped; finished in 4.29s (4.28s CPU time)\n\nRan 2 tests for test/review/BridgeCustodyInvariant.t.sol:SourceCustodyInvariantTest\n[PASS] invariant_eachIMDRemainsInExactlyOneCustodyBucket() (runs: 256, calls: 24576, reverts: 0)\n\n╭----------------------+-------------+-------+---------+----------╮\n| Contract             | Selector    | Calls | Reverts | Discards |\n+=================================================================+\n| SourceCustodyHandler | acknowledge | 3061  | 0       | 0        |\n|----------------------+-------------+-------+---------+----------|\n| SourceCustodyHandler | buy         | 3046  | 0       | 0        |\n|----------------------+-------------+-------+---------+----------|\n| SourceCustodyHandler | claim       | 3158  | 0       | 0        |\n|----------------------+-------------+-------+---------+----------|\n| SourceCustodyHandler | dispatch    | 3046  | 0       | 0        |\n|----------------------+-------------+-------+---------+----------|\n| SourceCustodyHandler | donate      | 3005  | 0       | 0        |\n|----------------------+-------------+-------+---------+----------|\n| SourceCustodyHandler | pause       | 3105  | 0       | 0        |\n|----------------------+-------------+-------+---------+----------|\n| SourceCustodyHandler | queue       | 3097  | 0       | 0        |\n|----------------------+-------------+-------+---------+----------|\n| SourceCustodyHandler | withdraw    | 3058  | 0       | 0        |\n╰----------------------+-------------+-------+---------+----------╯\n\n[PASS] test_sourceModelExercisesRecoveryWhileClaimsAndWithdrawalsContinue() (gas: 8249824)\nSuite result: ok. 2 passed; 0 failed; 0 skipped; finished in 9.49s (9.49s CPU time)\n\nRan 2 tests for test/review/BridgeCustodyInvariant.t.sol:ReceiverCustodyInvariantTest\n[PASS] invariant_deliveredTokensArePendingOrActuallySupplyBurnedExactlyOnce() (runs: 256, calls: 24576, reverts: 0)\n\n╭------------------------+----------+-------+---------+----------╮\n| Contract               | Selector | Calls | Reverts | Discards |\n+================================================================+\n| ReceiverCustodyHandler | deliver  | 4881  | 0       | 0        |\n|------------------------+----------+-------+---------+----------|\n| ReceiverCustodyHandler | donate   | 4928  | 0       | 0        |\n|------------------------+----------+-------+---------+----------|\n| ReceiverCustodyHandler | receipt  | 4882  | 0       | 0        |\n|------------------------+----------+-------+---------+----------|\n| ReceiverCustodyHandler | replay   | 4919  | 0       | 0        |\n|------------------------+----------+-------+---------+----------|\n| ReceiverCustodyHandler | retry    | 4966  | 0       | 0        |\n╰------------------------+----------+-------+---------+----------╯\n\n[PASS] test_receiverModelInterleavesFailuresOutOfOrderRecoveryAndReceiptRetry() (gas: 2387996)\nSuite result: ok. 2 passed; 0 failed; 0 skipped; finished in 10.39s (10.38s CPU time)\n\nRan 16 test suites in 10.39s (33.41s CPU time): 96 tests passed, 0 failed, 0 skipped (96 total tests)\n","passed":true},{"durationMs":107,"exitCode":0,"name":"source-index","output":"{\"v\":1,\"entryPoints\":[\"EverlightBurnReceiver.acceptOwnership()\",\"EverlightBurnReceiver.activate(bytes32)\",\"EverlightBurnReceiver.announceReady()\",\"EverlightBurnReceiver.lzCompose(address,bytes32,bytes,address,bytes)\",\"EverlightBurnReceiver.performBurn(uint256)\",\"EverlightBurnReceiver.retryBurn(bytes32)\",\"EverlightBurnReceiver.sendBurnReceipt(bytes32)\",\"EverlightBurnReceiver.transferOwnership(address)\",\"WishGarden.acceptOwnership()\",\"WishGarden.activate()\",\"WishGarden.buyCandles(uint8[],string[])\",\"WishGarden.claimRewards()\",\"WishGarden.configureBridge(address,bytes32)\",\"WishGarden.dispatchBurn(uint256)\",\"WishGarden.lzReceive((uint32,bytes32,uint64),bytes32,bytes,address,bytes)\",\"WishGarden.performBridgeSend(uint256,(uint256,uint256))\",\"WishGarden.queueBurn(uint256)\",\"WishGarden.setPurchasesPaused(bool)\",\"WishGarden.transferOwnership(address)\",\"WishGarden.withdrawBucket(uint8,address,uint256)\"],\"files\":{\".gitignore\":4,\"ADAPTATION.md\":64,\"LICENSE\":21,\"README.md\":49,\"docs/THIRD_PARTY.md\":8,\"docs/abi/README.md\":97,\"docs/abi/WishGarden.json\":1952,\"docs/base/EverlightBurnReceiver.json\":708,\"docs/base/README.md\":26,\"docs/base/deployment-package.json\":33,\"docs/deployment.md\":39,\"docs/deployment/manifest-handoff.json\":18,\"docs/evidence/bridge-dependencies.json\":389,\"docs/evidence/ethereum-dependencies.json\":132,\"docs/validation.md\":81,\"docs/verification.md\":36,\"foundry.toml\":22,\"remappings.txt\":2,\"scripts/build-base-transaction.py\":93,\"scripts/export-abis.py\":60,\"src/GardenEconomy.sol\":40,\"src/Utf8Wish.sol\":48,\"src/WishGarden.sol\":127,\"src/WishGardenTreasury.sol\":184,\"src/base/EverlightBurnReceiver.sol\":239,\"src/bridge/EverlightBridgeQueue.sol\":296,\"src/bridge/IMDBridge.sol\":114,\"test/Bridge.t.sol\":300,\"test/DeploymentAndDependencies.t.sol\":169,\"test/RevisionFindings.t.sol\":319,\"test/Unicode.t.sol\":92,\"test/WishGardenAdversarial.t.sol\":143,\"test/WishGardenClaims.t.sol\":116,\"test/WishGardenPurchases.t.sol\":160,\"test/base_package_test.py\":60,\"test/fixtures/BaseAdapterRuntime.sol\":9,\"test/fixtures/BaseIMDRuntime.sol\":9,\"test/fixtures/IMDRuntime.sol\":11,\"test/helpers/AdversarialIMD.sol\":77,\"test/helpers/BridgeDoubles.sol\":193,\"test/helpers/GardenTestBase.sol\":142,\"test/helpers/WalletGas.sol\":76,\"test/independent/BridgeAdversarial.t.sol\":151,\"test/independent/EVIDENCE.md\":13,\"test/independent/RewardModelInvariant.t.sol\":163,\"test/review/ActivationAndRuntime.t.sol\":210,\"test/review/BridgeBoundaries.t.sol\":362,\"test/review/BridgeCustodyInvariant.t.sol\":499,\"test/review/BridgeDeltaFailures.t.sol\":308,\"test/review/GardenMetadataAndUnicode.t.sol\":328,\"test/review/PinnedRouteRevision.t.sol\":198,\"test/review/REVIEW.md\":115},\"excluded\":[\"lib/\",\"node_modules/\"],\"truncated\":false}","passed":true}],"detail":"all checks passed","evaluation":"checks","profile":"foundry","status":"accepted","submissionHash":"33356a110bb4ac86f793a7038c2f3fd504f9e4ef9fb9558fd97a31480f0a1c2c","verifiedTreeHash":"4ce8596f2ede126214e55bc51f990f32f2da0009","verifierVersion":"0.1.0+6340c569"},{"checks":[{"durationMs":6323,"exitCode":0,"name":"build","output":"Compiling 55 files with Solc 0.8.26\nSolc 0.8.26 finished in 6.14s\nCompiler run successful!\n","passed":true},{"durationMs":3796,"exitCode":0,"name":"test","output":"No files changed, compilation skipped\n\nRan 5 tests for test/DeploymentAndDependencies.t.sol:DeploymentAndDependenciesTest\n[PASS] test_constructorEmptyChainExplicitOwnerAndNoInitializationCalls() (gas: 6333995)\n[PASS] test_deploymentCodeSizesAndReachableOpcodes() (gas: 20752184)\n[PASS] test_verifiedAdapterCreditAndComposeMatchReceiverFormat() (gas: 1189728)\n[PASS] test_verifiedBaseRuntimeActuallyReducesSupply() (gas: 953326)\n[PASS] test_verifiedEthereumRuntimePaymentAndOfficialOFTSend() (gas: 6285018)\nSuite result: ok. 5 passed; 0 failed; 0 skipped; finished in 98.05ms (104.96ms CPU time)\n\nRan 6 tests for test/independent/BridgeAdversarial.t.sol:BridgeAdversarialTest\n[PASS] testFuzz_failedRetriesRemainFunded(uint8) (runs: 512, μ: 2199636, ~: 1970343)\nLogs:\n  Bound result 1\n\n[PASS] test_baseHasNoTokenRescueOrApprovalAndDoesNotBurnDonations() (gas: 2455250)\n[PASS] test_composeAtAdvertisedGasAndMinimumWalletGas() (gas: 8047013)\n[PASS] test_inFlightMessagesOutOfOrderAndReceiptReplay() (gas: 5587593)\n[PASS] test_lowGasComposeRevertsInsteadOfRecordingAnUntriedFailure() (gas: 2421784)\n[PASS] test_previouslyAuthenticatedBurnSurvivesLaterBridgePeerChange() (gas: 2951862)\nSuite result: ok. 6 passed; 0 failed; 0 skipped; finished in 361.94ms (376.28ms CPU time)\n\nRan 9 tests for test/Bridge.t.sol:BridgeTest\n[PASS] test_ackRetryDoesNotRepeatBurnAndReadyIsARealMessage() (gas: 2980666)\n[PASS] test_burnFailsOrNoopsThenRetryNeverDoubleBurns() (gas: 2998980)\n[PASS] test_composeAuthenticationWrongOriginWrongPeerWrongLengthAndUnfunded() (gas: 2506046)\n[PASS] test_configurationChangeFailsClosedAndClaimsStayAvailable() (gas: 1019634)\n[PASS] test_disabledAtDeploymentAndRequiresAuthenticatedBaseReadiness() (gas: 4799722)\n[PASS] test_feeAuthorizationAndGasGuards() (gas: 917366)\n[PASS] test_fullFlowConfirmedOnlyAfterRealBaseBurnAndAuthenticatedAck() (gas: 4194162)\n[PASS] test_queueDustFailureRetryAndNoDoubleSend() (gas: 2119074)\n[PASS] test_wrongAckAmountsAndUnsentJobsCannotConfirm() (gas: 1018196)\nSuite result: ok. 9 passed; 0 failed; 0 skipped; finished in 362.18ms (26.15ms CPU time)\n\nRan 4 tests for test/Unicode.t.sol:UnicodeTest\n[PASS] testFuzz_rejectsAllSurrogates(uint16) (runs: 512, μ: 14154, ~: 14230)\nLogs:\n  Bound result 55296\n\n[PASS] testFuzz_validUnicodeScalars(uint32) (runs: 512, μ: 10956, ~: 11019)\nLogs:\n  Bound result 40\n\n[PASS] test_rejectsOverlongSurrogateOutOfRangeTruncatedAndStrayBytes() (gas: 301700)\n[PASS] test_validEmptyAsciiBoundariesAndFourByteMaximum() (gas: 988910)\nSuite result: ok. 4 passed; 0 failed; 0 skipped; finished in 363.11ms (558.92ms CPU time)\n\nRan 5 tests for test/WishGardenClaims.t.sol:WishGardenClaimsTest\n[PASS] test_allBucketsBelongToCurrentOwnerWithoutRewardOrBurnAccess() (gas: 1257106)\n[PASS] test_claimBeneficiaryOnlyAndPauseDoesNotLockClaims() (gas: 1030362)\n[PASS] test_earlierOnlyLateEntrantAndPartialSelfShare() (gas: 1935271)\n[PASS] test_frequentClaimsKeepFractionsAndNoEntrantReceivesOldDust() (gas: 6742233)\n[PASS] test_unauthorizedInvalidWithdrawalsRenounceAndZeroAmounts() (gas: 578979)\nSuite result: ok. 5 passed; 0 failed; 0 skipped; finished in 535.79ms (9.28ms CPU time)\n\nRan 8 tests for test/WishGardenAdversarial.t.sol:WishGardenAdversarialTest\n[PASS] testFuzz_bucketFailureAtomic(uint8,uint8) (runs: 512, μ: 1171247, ~: 1172643)\nLogs:\n  Bound result 4\n  Bound result 1\n\n[PASS] testFuzz_claimFailurePreservesEntitlement(uint8) (runs: 512, μ: 1072320, ~: 1070436)\nLogs:\n  Bound result 1\n\n[PASS] testFuzz_everyPaymentFailureRollsBackAndCanRetry(uint8) (runs: 512, μ: 2110085, ~: 2109331)\nLogs:\n  Bound result 3\n\n[PASS] test_claimReentryAndAuthorizedOwnerCrossBucketReentryRejected() (gas: 1533858)\n[PASS] test_crossFunctionPurchaseReentrancyRejected() (gas: 1076102)\n[PASS] test_dispatchAtMinimumWalletGasCannotSilentlySkip() (gas: 6280178)\n[PASS] test_noReturnTokenExactDeltasWorkForPaymentsClaimsAndBuckets() (gas: 1000810)\n[PASS] test_purchaseClaimWithdrawalAtMinimumWalletGas() (gas: 162284396)\nSuite result: ok. 8 passed; 0 failed; 0 skipped; finished in 535.92ms (1.55s CPU time)\n\nRan 10 tests for test/WishGardenPurchases.t.sol:WishGardenPurchasesTest\n[PASS] testFuzz_batchMatchesSequential(uint8,uint8) (runs: 512, μ: 12509261, ~: 9970962)\nLogs:\n  Bound result 21\n  Bound result 6\n\n[PASS] test_donationsDoNotCreateRights() (gas: 836715)\n[PASS] test_firstCandleFallbackAndTwoCandleRegression() (gas: 1074097)\n[PASS] test_invalidBatchAndPagesAtomic() (gas: 74437)\n[PASS] test_lengthMismatchAndMalformedLateWishRevertWholeBatch() (gas: 488676)\n[PASS] test_noAllowanceOrInsufficientFundsReverts() (gas: 747778)\n[PASS] test_noFreeNFTOrTransferEntrypoints() (gas: 134045)\n[PASS] test_noTenThousandCap() (gas: 3191)\n[PASS] test_oversizeAndStyleRevert() (gas: 277376)\n[PASS] test_stylesWishesPermanentAndPagination() (gas: 1943862)\nSuite result: ok. 10 passed; 0 failed; 0 skipped; finished in 1.50s (2.06s CPU time)\n\nRan 2 tests for test/independent/RewardModelInvariant.t.sol:RewardModelInvariantTest\n[PASS] invariant_rewardsAndCustodyMatchPerCandleModel() (runs: 128, calls: 8192, reverts: 0)\n\n╭--------------------+-------------+-------+---------+----------╮\n| Contract           | Selector    | Calls | Reverts | Discards |\n+===============================================================+\n| RewardModelHandler | buy         | 1622  | 0       | 0        |\n|--------------------+-------------+-------+---------+----------|\n| RewardModelHandler | claim       | 1568  | 0       | 0        |\n|--------------------+-------------+-------+---------+----------|\n| RewardModelHandler | donate      | 1712  | 0       | 0        |\n|--------------------+-------------+-------+---------+----------|\n| RewardModelHandler | pausedClaim | 1628  | 0       | 0        |\n|--------------------+-------------+-------+---------+----------|\n| RewardModelHandler | withdraw    | 1662  | 0       | 0        |\n╰--------------------+-------------+-------+---------+----------╯\n\n[PASS] test_specificationModelMixedSequence() (gas: 4062607)\nSuite result: ok. 2 passed; 0 failed; 0 skipped; finished in 3.59s (3.59s CPU time)\n\nRan 8 test suites in 3.60s (7.35s CPU time): 49 tests passed, 0 failed, 0 skipped (49 total tests)\n","passed":true},{"durationMs":118,"exitCode":0,"name":"source-index","output":"{\"v\":1,\"entryPoints\":[\"EverlightBurnReceiver.acceptOwnership()\",\"EverlightBurnReceiver.activate(bytes32)\",\"EverlightBurnReceiver.announceReady()\",\"EverlightBurnReceiver.lzCompose(address,bytes32,bytes,address,bytes)\",\"EverlightBurnReceiver.performBurn(uint256)\",\"EverlightBurnReceiver.retryBurn(bytes32)\",\"EverlightBurnReceiver.sendBurnReceipt(bytes32)\",\"EverlightBurnReceiver.transferOwnership(address)\",\"WishGarden.acceptOwnership()\",\"WishGarden.activate()\",\"WishGarden.buyCandles(uint8[],string[])\",\"WishGarden.claimRewards()\",\"WishGarden.configureBridge(address,bytes32)\",\"WishGarden.dispatchBurn(uint256)\",\"WishGarden.lzReceive((uint32,bytes32,uint64),bytes32,bytes,address,bytes)\",\"WishGarden.performBridgeSend(uint256,(uint256,uint256))\",\"WishGarden.queueBurn(uint256)\",\"WishGarden.setPurchasesPaused(bool)\",\"WishGarden.transferOwnership(address)\",\"WishGarden.withdrawBucket(uint8,address,uint256)\"],\"files\":{\".gitignore\":4,\"ADAPTATION.md\":46,\"LICENSE\":21,\"README.md\":47,\"docs/THIRD_PARTY.md\":8,\"docs/abi/README.md\":73,\"docs/abi/WishGarden.json\":1926,\"docs/base/EverlightBurnReceiver.json\":708,\"docs/base/README.md\":24,\"docs/base/deployment-package.json\":29,\"docs/deployment.md\":37,\"docs/deployment/manifest-handoff.json\":18,\"docs/evidence/bridge-dependencies.json\":345,\"docs/evidence/ethereum-dependencies.json\":132,\"docs/validation.md\":65,\"docs/verification.md\":36,\"foundry.toml\":22,\"remappings.txt\":2,\"scripts/build-base-transaction.py\":45,\"scripts/export-abis.py\":48,\"src/GardenEconomy.sol\":40,\"src/Utf8Wish.sol\":48,\"src/WishGarden.sol\":126,\"src/WishGardenTreasury.sol\":184,\"src/base/EverlightBurnReceiver.sol\":235,\"src/bridge/EverlightBridgeQueue.sol\":272,\"src/bridge/IMDBridge.sol\":112,\"test/Bridge.t.sol\":297,\"test/DeploymentAndDependencies.t.sol\":169,\"test/Unicode.t.sol\":92,\"test/WishGardenAdversarial.t.sol\":143,\"test/WishGardenClaims.t.sol\":116,\"test/WishGardenPurchases.t.sol\":160,\"test/base_package_test.py\":44,\"test/fixtures/BaseAdapterRuntime.sol\":9,\"test/fixtures/BaseIMDRuntime.sol\":9,\"test/fixtures/IMDRuntime.sol\":11,\"test/helpers/AdversarialIMD.sol\":77,\"test/helpers/BridgeDoubles.sol\":166,\"test/helpers/GardenTestBase.sol\":123,\"test/helpers/WalletGas.sol\":76,\"test/independent/BridgeAdversarial.t.sol\":151,\"test/independent/EVIDENCE.md\":11,\"test/independent/RewardModelInvariant.t.sol\":163},\"excluded\":[\"lib/\",\"node_modules/\"],\"truncated\":false}","passed":true},{"durationMs":2965,"exitCode":0,"name":"slither","output":"[high/medium] reentrancy-balance at src/bridge/EverlightBridgeQueue.sol:174: Reentrancy in EverlightBridgeQueue.performBridgeSend(uint256,MessagingFee) (src/bridge/EverlightBridgeQueue.sol#174-188):\n[high/medium] reentrancy-balance at src/base/EverlightBurnReceiver.sol:133: Reentrancy in EverlightBurnReceiver.performBurn(uint256) (src/base/EverlightBurnReceiver.sol#133-142):\n[high/medium] reentrancy-eth at src/bridge/EverlightBridgeQueue.sol:134: Reentrancy in EverlightBridgeQueue.dispatchBurn(uint256) (src/bridge/EverlightBridgeQueue.sol#134-170):\n[medium/medium] divide-before-multiply at src/bridge/EverlightBridgeQueue.sol:111: EverlightBridgeQueue.queueBurn(uint256) (src/bridge/EverlightBridgeQueue.sol#111-121) performs a multiplication on the result of a division:\n[medium/medium] reentrancy-no-eth at src/base/EverlightBurnReceiver.sol:162: Reentrancy in EverlightBurnReceiver._attemptBurn(bytes32) (src/base/EverlightBurnReceiver.sol#162-180):\n[medium/medium] uninitialized-local at src/Utf8Wish.sol:17: Utf8Wish.validate(string).cp (src/Utf8Wish.sol#17) is a local variable never initialized\n[medium/medium] uninitialized-local at src/Utf8Wish.sol:16: Utf8Wish.validate(string).n (src/Utf8Wish.sol#16) is a local variable never initialized\n[low/medium] reentrancy-benign at src/base/EverlightBurnReceiver.sol:162: Reentrancy in EverlightBurnReceiver._attemptBurn(bytes32) (src/base/EverlightBurnReceiver.sol#162-180):\n[low/medium] reentrancy-benign at src/bridge/EverlightBridgeQueue.sol:134: Reentrancy in EverlightBridgeQueue.dispatchBurn(uint256) (src/bridge/EverlightBridgeQueue.sol#134-170):","passed":true}],"detail":"all checks passed","evaluation":"checks","profile":"foundry","status":"accepted","submissionHash":"6231dfe449dce50a3b07d131e7acebfc730f47c6d94fd91e47918533d20f3b3d","verifiedTreeHash":"9eff28751144589831ad5c02718d1f56de034828","verifierVersion":"0.1.0+6340c569"},{"checks":[{"durationMs":7040,"exitCode":0,"name":"build","output":"Compiling 56 files with Solc 0.8.26\nSolc 0.8.26 finished in 6.87s\nCompiler run successful!\n","passed":true},{"durationMs":3545,"exitCode":0,"name":"test","output":"No files changed, compilation skipped\n\nRan 4 tests for test/Unicode.t.sol:UnicodeTest\n[PASS] testFuzz_rejectsAllSurrogates(uint16) (runs: 512, μ: 14147, ~: 14230)\nLogs:\n  Bound result 55296\n\n[PASS] testFuzz_validUnicodeScalars(uint32) (runs: 512, μ: 10938, ~: 11019)\nLogs:\n  Bound result 999\n\n[PASS] test_rejectsOverlongSurrogateOutOfRangeTruncatedAndStrayBytes() (gas: 301700)\n[PASS] test_validEmptyAsciiBoundariesAndFourByteMaximum() (gas: 988910)\nSuite result: ok. 4 passed; 0 failed; 0 skipped; finished in 142.98ms (280.80ms CPU time)\n\nRan 9 tests for test/Bridge.t.sol:BridgeTest\n[PASS] test_ackRetryDoesNotRepeatBurnAndReadyIsARealMessage() (gas: 2964690)\n[PASS] test_burnFailsOrNoopsThenRetryNeverDoubleBurns() (gas: 2950470)\n[PASS] test_composeAuthenticationWrongOriginWrongPeerWrongLengthAndUnfunded() (gas: 2422727)\n[PASS] test_configurationChangeFailsClosedForDispatchOnlyAndClaimsStayAvailable() (gas: 2013072)\n[PASS] test_disabledAtDeploymentAndRequiresAuthenticatedBaseReadiness() (gas: 4862201)\n[PASS] test_feeAuthorizationAndGasGuards() (gas: 878479)\n[PASS] test_fullFlowConfirmedOnlyAfterRealBaseBurnAndAuthenticatedAck() (gas: 4149600)\n[PASS] test_queueDustFailureRetryAndNoDoubleSend() (gas: 2071704)\n[PASS] test_wrongAckAmountsAndUnsentJobsCannotConfirm() (gas: 989522)\nSuite result: ok. 9 passed; 0 failed; 0 skipped; finished in 235.50ms (8.44ms CPU time)\n\nRan 6 tests for test/independent/BridgeAdversarial.t.sol:BridgeAdversarialTest\n[PASS] testFuzz_failedRetriesRemainFunded(uint8) (runs: 512, μ: 2155486, ~: 2189446)\nLogs:\n  Bound result 6\n\n[PASS] test_baseHasNoTokenRescueOrApprovalAndDoesNotBurnDonations() (gas: 2439073)\n[PASS] test_composeAtAdvertisedGasAndMinimumWalletGas() (gas: 7632646)\n[PASS] test_inFlightMessagesOutOfOrderAndReceiptReplay() (gas: 5497951)\n[PASS] test_lowGasComposeRevertsInsteadOfRecordingAnUntriedFailure() (gas: 2405607)\n[PASS] test_previouslyAuthenticatedBurnSurvivesLaterBridgePeerChange() (gas: 2935684)\nSuite result: ok. 6 passed; 0 failed; 0 skipped; finished in 240.64ms (173.21ms CPU time)\n\nRan 5 tests for test/WishGardenClaims.t.sol:WishGardenClaimsTest\n[PASS] test_allBucketsBelongToCurrentOwnerWithoutRewardOrBurnAccess() (gas: 1235026)\n[PASS] test_claimBeneficiaryOnlyAndPauseDoesNotLockClaims() (gas: 1008083)\n[PASS] test_earlierOnlyLateEntrantAndPartialSelfShare() (gas: 1845914)\n[PASS] test_frequentClaimsKeepFractionsAndNoEntrantReceivesOldDust() (gas: 6406795)\n[PASS] test_unauthorizedInvalidWithdrawalsRenounceAndZeroAmounts() (gas: 556722)\nSuite result: ok. 5 passed; 0 failed; 0 skipped; finished in 360.21ms (6.90ms CPU time)\n\nRan 5 tests for test/DeploymentAndDependencies.t.sol:DeploymentAndDependenciesTest\n[PASS] test_constructorEmptyChainExplicitOwnerAndNoInitializationCalls() (gas: 6444896)\n[PASS] test_deploymentCodeSizesAndReachableOpcodes() (gas: 20517213)\n[PASS] test_verifiedAdapterCreditAndComposeMatchReceiverFormat() (gas: 1194894)\n[PASS] test_verifiedBaseRuntimeActuallyReducesSupply() (gas: 935712)\n[PASS] test_verifiedEthereumRuntimePaymentAndOfficialOFTSend() (gas: 6326608)\nSuite result: ok. 5 passed; 0 failed; 0 skipped; finished in 433.07ms (86.99ms CPU time)\n\nRan 8 tests for test/WishGardenAdversarial.t.sol:WishGardenAdversarialTest\n[PASS] testFuzz_bucketFailureAtomic(uint8,uint8) (runs: 512, μ: 1148831, ~: 1150469)\nLogs:\n  Bound result 1\n  Bound result 1\n\n[PASS] testFuzz_claimFailurePreservesEntitlement(uint8) (runs: 512, μ: 1050059, ~: 1048224)\nLogs:\n  Bound result 4\n\n[PASS] testFuzz_everyPaymentFailureRollsBackAndCanRetry(uint8) (runs: 512, μ: 2043029, ~: 2042340)\nLogs:\n  Bound result 1\n\n[PASS] test_claimReentryAndAuthorizedOwnerCrossBucketReentryRejected() (gas: 1511756)\n[PASS] test_crossFunctionPurchaseReentrancyRejected() (gas: 1053868)\n[PASS] test_dispatchAtMinimumWalletGasCannotSilentlySkip() (gas: 5705754)\n[PASS] test_noReturnTokenExactDeltasWorkForPaymentsClaimsAndBuckets() (gas: 978620)\n[PASS] test_purchaseClaimWithdrawalAtMinimumWalletGas() (gas: 161790109)\nSuite result: ok. 8 passed; 0 failed; 0 skipped; finished in 493.90ms (1.06s CPU time)\n\nRan 11 tests for test/RevisionFindings.t.sol:RevisionFindingsTest\n[PASS] testFuzz_ownerCannotNameAnyOtherDestination(address,bytes32) (runs: 512, μ: 4393640, ~: 4393855)\n[PASS] test_burnDispatchSurvivesThirdPartyEnforcedOptionsChange() (gas: 1063930)\n[PASS] test_composeStillRequiresActivationFixedTokenAndAuthentication() (gas: 2507683)\n[PASS] test_creditedComposeBurnsAfterAdapterPeerChangeButOutboundStaysGated() (gas: 2522557)\n[PASS] test_documentedBatchGasBoundHoldsAndFullBatchOfFullWishesCannotFit() (gas: 178112023)\nLogs:\n  1 x 0 bytes: 371530\n  50 x 0 bytes: 5503197\n  50 x 1 bytes: 6507124\n  50 x 32 bytes: 8600308\n  50 x 120 bytes: 14792370\n  30 x 280 bytes: 15411197\n  18 x 560 bytes: 14977163\n  10 x 1120 bytes: 14506056\n  1 x 1120 bytes: 1628237\n  50 x 1120 bytes: 71679384\n\n[PASS] test_executorComposeGasCoversEndpointForwardingWithMargin() (gas: 1651729)\n[PASS] test_ownerWalletCannotReceiveBurnFundsOrReportABurn() (gas: 2128927)\n[PASS] test_peerRotationStopsOnlyDispatchAndOnlyUntilRestored() (gas: 1724956)\n[PASS] test_pinnedReceiverIsThisSourceDeployedThroughTheCanonicalDeployer() (gas: 83890)\n[PASS] test_purchasesSurviveThirdPartyEnforcedOptionsChange() (gas: 1102325)\n[PASS] test_receiverBuiltForAnotherOwnerOrGardenIsNotThePinnedOne() (gas: 12490429)\nSuite result: ok. 11 passed; 0 failed; 0 skipped; finished in 1.34s (1.58s CPU time)\n\nRan 10 tests for test/WishGardenPurchases.t.sol:WishGardenPurchasesTest\n[PASS] testFuzz_batchMatchesSequential(uint8,uint8) (runs: 512, μ: 12259904, ~: 9969850)\nLogs:\n  Bound result 15\n  Bound result 2\n\n[PASS] test_donationsDoNotCreateRights() (gas: 814481)\n[PASS] test_firstCandleFallbackAndTwoCandleRegression() (gas: 1029496)\n[PASS] test_invalidBatchAndPagesAtomic() (gas: 74415)\n[PASS] test_lengthMismatchAndMalformedLateWishRevertWholeBatch() (gas: 466287)\n[PASS] test_noAllowanceOrInsufficientFundsReverts() (gas: 703022)\n[PASS] test_noFreeNFTOrTransferEntrypoints() (gas: 134067)\n[PASS] test_noTenThousandCap() (gas: 3191)\n[PASS] test_oversizeAndStyleRevert() (gas: 255054)\n[PASS] test_stylesWishesPermanentAndPagination() (gas: 1899743)\nSuite result: ok. 10 passed; 0 failed; 0 skipped; finished in 1.34s (1.78s CPU time)\n\nRan 2 tests for test/independent/RewardModelInvariant.t.sol:RewardModelInvariantTest\n[PASS] invariant_rewardsAndCustodyMatchPerCandleModel() (runs: 128, calls: 8192, reverts: 0)\n\n╭--------------------+-------------+-------+---------+----------╮\n| Contract           | Selector    | Calls | Reverts | Discards |\n+===============================================================+\n| RewardModelHandler | buy         | 1622  | 0       | 0        |\n|--------------------+-------------+-------+---------+----------|\n| RewardModelHandler | claim       | 1568  | 0       | 0        |\n|--------------------+-------------+-------+---------+----------|\n| RewardModelHandler | donate      | 1712  | 0       | 0        |\n|--------------------+-------------+-------+---------+----------|\n| RewardModelHandler | pausedClaim | 1628  | 0       | 0        |\n|--------------------+-------------+-------+---------+----------|\n| RewardModelHandler | withdraw    | 1662  | 0       | 0        |\n╰--------------------+-------------+-------+---------+----------╯\n\n[PASS] test_specificationModelMixedSequence() (gas: 3972993)\nSuite result: ok. 2 passed; 0 failed; 0 skipped; finished in 3.38s (3.38s CPU time)\n\nRan 9 test suites in 3.38s (7.97s CPU time): 60 tests passed, 0 failed, 0 skipped (60 total tests)\n","passed":true},{"durationMs":93,"exitCode":0,"name":"source-index","output":"{\"v\":1,\"entryPoints\":[\"EverlightBurnReceiver.acceptOwnership()\",\"EverlightBurnReceiver.activate(bytes32)\",\"EverlightBurnReceiver.announceReady()\",\"EverlightBurnReceiver.lzCompose(address,bytes32,bytes,address,bytes)\",\"EverlightBurnReceiver.performBurn(uint256)\",\"EverlightBurnReceiver.retryBurn(bytes32)\",\"EverlightBurnReceiver.sendBurnReceipt(bytes32)\",\"EverlightBurnReceiver.transferOwnership(address)\",\"WishGarden.acceptOwnership()\",\"WishGarden.activate()\",\"WishGarden.buyCandles(uint8[],string[])\",\"WishGarden.claimRewards()\",\"WishGarden.configureBridge(address,bytes32)\",\"WishGarden.dispatchBurn(uint256)\",\"WishGarden.lzReceive((uint32,bytes32,uint64),bytes32,bytes,address,bytes)\",\"WishGarden.performBridgeSend(uint256,(uint256,uint256))\",\"WishGarden.queueBurn(uint256)\",\"WishGarden.setPurchasesPaused(bool)\",\"WishGarden.transferOwnership(address)\",\"WishGarden.withdrawBucket(uint8,address,uint256)\"],\"files\":{\".gitignore\":4,\"ADAPTATION.md\":64,\"LICENSE\":21,\"README.md\":49,\"docs/THIRD_PARTY.md\":8,\"docs/abi/README.md\":97,\"docs/abi/WishGarden.json\":1952,\"docs/base/EverlightBurnReceiver.json\":708,\"docs/base/README.md\":26,\"docs/base/deployment-package.json\":33,\"docs/deployment.md\":39,\"docs/deployment/manifest-handoff.json\":18,\"docs/evidence/bridge-dependencies.json\":389,\"docs/evidence/ethereum-dependencies.json\":132,\"docs/validation.md\":81,\"docs/verification.md\":36,\"foundry.toml\":22,\"remappings.txt\":2,\"scripts/build-base-transaction.py\":93,\"scripts/export-abis.py\":60,\"src/GardenEconomy.sol\":40,\"src/Utf8Wish.sol\":48,\"src/WishGarden.sol\":127,\"src/WishGardenTreasury.sol\":184,\"src/base/EverlightBurnReceiver.sol\":239,\"src/bridge/EverlightBridgeQueue.sol\":296,\"src/bridge/IMDBridge.sol\":114,\"test/Bridge.t.sol\":300,\"test/DeploymentAndDependencies.t.sol\":169,\"test/RevisionFindings.t.sol\":319,\"test/Unicode.t.sol\":92,\"test/WishGardenAdversarial.t.sol\":143,\"test/WishGardenClaims.t.sol\":116,\"test/WishGardenPurchases.t.sol\":160,\"test/base_package_test.py\":60,\"test/fixtures/BaseAdapterRuntime.sol\":9,\"test/fixtures/BaseIMDRuntime.sol\":9,\"test/fixtures/IMDRuntime.sol\":11,\"test/helpers/AdversarialIMD.sol\":77,\"test/helpers/BridgeDoubles.sol\":193,\"test/helpers/GardenTestBase.sol\":142,\"test/helpers/WalletGas.sol\":76,\"test/independent/BridgeAdversarial.t.sol\":151,\"test/independent/EVIDENCE.md\":13,\"test/independent/RewardModelInvariant.t.sol\":163},\"excluded\":[\"lib/\",\"node_modules/\"],\"truncated\":false}","passed":true},{"durationMs":2664,"exitCode":0,"name":"slither","output":"[high/medium] reentrancy-balance at src/bridge/EverlightBridgeQueue.sol:197: Reentrancy in EverlightBridgeQueue.performBridgeSend(uint256,MessagingFee) (src/bridge/EverlightBridgeQueue.sol#197-211):\n[high/medium] reentrancy-balance at src/base/EverlightBurnReceiver.sol:137: Reentrancy in EverlightBurnReceiver.performBurn(uint256) (src/base/EverlightBurnReceiver.sol#137-146):\n[high/medium] reentrancy-eth at src/bridge/EverlightBridgeQueue.sol:157: Reentrancy in EverlightBridgeQueue.dispatchBurn(uint256) (src/bridge/EverlightBridgeQueue.sol#157-193):\n[medium/medium] divide-before-multiply at src/bridge/EverlightBridgeQueue.sol:134: EverlightBridgeQueue.queueBurn(uint256) (src/bridge/EverlightBridgeQueue.sol#134-144) performs a multiplication on the result of a division:\n[medium/medium] reentrancy-no-eth at src/base/EverlightBurnReceiver.sol:166: Reentrancy in EverlightBurnReceiver._attemptBurn(bytes32) (src/base/EverlightBurnReceiver.sol#166-184):\n[medium/medium] uninitialized-local at src/Utf8Wish.sol:17: Utf8Wish.validate(string).cp (src/Utf8Wish.sol#17) is a local variable never initialized\n[medium/medium] uninitialized-local at src/Utf8Wish.sol:16: Utf8Wish.validate(string).n (src/Utf8Wish.sol#16) is a local variable never initialized\n[low/medium] reentrancy-benign at src/base/EverlightBurnReceiver.sol:166: Reentrancy in EverlightBurnReceiver._attemptBurn(bytes32) (src/base/EverlightBurnReceiver.sol#166-184):\n[low/medium] reentrancy-benign at src/bridge/EverlightBridgeQueue.sol:157: Reentrancy in EverlightBridgeQueue.dispatchBurn(uint256) (src/bridge/EverlightBridgeQueue.sol#157-193):","passed":true},{"durationMs":2931,"exitCode":0,"name":"proof e1e37d73e6c3","output":"Compiling 48 files with Solc 0.8.26\nSolc 0.8.26 finished in 2.11s\nCompiler run successful!\n\nRan 1 test for test/imd-proof-841b24f1/Proof_e1e37d73e6c3.t.sol:OwnerChosenReceiverTest\n[PASS] test_ownerCanRouteBurnFundsToOwnBaseWalletAndFakeConfirmation() (gas: 5112982)\nSuite result: ok. 1 passed; 0 failed; 0 skipped; finished in 1.12ms (849.14µs CPU time)\n\nRan 1 test suite in 5.11ms (1.12ms CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests)\n","passed":true},{"durationMs":2696,"exitCode":0,"name":"proof 14107f8463a5","output":"Compiling 8 files with Solc 0.8.26\nSolc 0.8.26 finished in 1.99s\nCompiler run successful!\n\nRan 1 test for test/imd-proof-1d80ba02/Proof_14107f8463a5.t.sol:StrandedComposeTest\n[PASS] test_creditedDeliveryStillBurnsAfterAdapterPeerChange() (gas: 314078)\nSuite result: ok. 1 passed; 0 failed; 0 skipped; finished in 909.40µs (148.30µs CPU time)\n\nRan 1 test suite in 5.31ms (909.40µs CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests)\n","passed":true}],"detail":"all checks passed","evaluation":"checks","profile":"foundry","status":"accepted","submissionHash":"7aeb945e8bba3bf0ee11e0918ee62ce0af7d849965cc8ad78d3cebba92c34434","verifiedTreeHash":"5e8bac4d56acf49a712b18c00789d5c831beabdb","verifierVersion":"0.1.0+6340c569"},{"checks":[{"durationMs":11477,"exitCode":0,"name":"build","output":"Compiling 62 files with Solc 0.8.26\nSolc 0.8.26 finished in 11.30s\nCompiler run successful!\n","passed":true},{"durationMs":10238,"exitCode":0,"name":"test","output":"No files changed, compilation skipped\n\nRan 9 tests for test/Bridge.t.sol:BridgeTest\n[PASS] test_ackRetryDoesNotRepeatBurnAndReadyIsARealMessage() (gas: 2964690)\n[PASS] test_burnFailsOrNoopsThenRetryNeverDoubleBurns() (gas: 2950470)\n[PASS] test_composeAuthenticationWrongOriginWrongPeerWrongLengthAndUnfunded() (gas: 2422727)\n[PASS] test_configurationChangeFailsClosedForDispatchOnlyAndClaimsStayAvailable() (gas: 2013072)\n[PASS] test_disabledAtDeploymentAndRequiresAuthenticatedBaseReadiness() (gas: 4862201)\n[PASS] test_feeAuthorizationAndGasGuards() (gas: 878479)\n[PASS] test_fullFlowConfirmedOnlyAfterRealBaseBurnAndAuthenticatedAck() (gas: 4149600)\n[PASS] test_queueDustFailureRetryAndNoDoubleSend() (gas: 2071704)\n[PASS] test_wrongAckAmountsAndUnsentJobsCannotConfirm() (gas: 989522)\nSuite result: ok. 9 passed; 0 failed; 0 skipped; finished in 9.58ms (6.63ms CPU time)\n\nRan 5 tests for test/DeploymentAndDependencies.t.sol:DeploymentAndDependenciesTest\n[PASS] test_constructorEmptyChainExplicitOwnerAndNoInitializationCalls() (gas: 6444896)\n[PASS] test_deploymentCodeSizesAndReachableOpcodes() (gas: 20517213)\n[PASS] test_verifiedAdapterCreditAndComposeMatchReceiverFormat() (gas: 1194894)\n[PASS] test_verifiedBaseRuntimeActuallyReducesSupply() (gas: 935712)\n[PASS] test_verifiedEthereumRuntimePaymentAndOfficialOFTSend() (gas: 6326608)\nSuite result: ok. 5 passed; 0 failed; 0 skipped; finished in 68.06ms (88.94ms CPU time)\n\nRan 6 tests for test/review/ActivationAndRuntime.t.sol:ActivationAndRuntimeTest\n[PASS] test_eachOfficialBaseRouteFactIsRequiredBeforeActivation() (gas: 4681356)\n[PASS] test_eachOfficialSourceRouteFactIsRequiredBeforeConfiguration() (gas: 4824600)\n[PASS] test_malformedReadinessCannotUnlockPurchases() (gas: 4739663)\n[PASS] test_pinnedBaseBurnComposeAtWalletAndAdvertisedGas() (gas: 6198503)\n[PASS] test_pinnedEthereumOFTDispatchAtWalletGas() (gas: 15846230)\n[PASS] test_reconfiguringBeforeActivationInvalidatesOldReadinessAndOldPackets() (gas: 4839814)\nSuite result: ok. 6 passed; 0 failed; 0 skipped; finished in 422.91ms (56.39ms CPU time)\n\nRan 6 tests for test/independent/BridgeAdversarial.t.sol:BridgeAdversarialTest\n[PASS] testFuzz_failedRetriesRemainFunded(uint8) (runs: 512, μ: 2156009, ~: 2189446)\nLogs:\n  Bound result 1\n\n[PASS] test_baseHasNoTokenRescueOrApprovalAndDoesNotBurnDonations() (gas: 2439073)\n[PASS] test_composeAtAdvertisedGasAndMinimumWalletGas() (gas: 7632646)\n[PASS] test_inFlightMessagesOutOfOrderAndReceiptReplay() (gas: 5497951)\n[PASS] test_lowGasComposeRevertsInsteadOfRecordingAnUntriedFailure() (gas: 2405607)\n[PASS] test_previouslyAuthenticatedBurnSurvivesLaterBridgePeerChange() (gas: 2935684)\nSuite result: ok. 6 passed; 0 failed; 0 skipped; finished in 474.69ms (479.27ms CPU time)\n\nRan 5 tests for test/WishGardenClaims.t.sol:WishGardenClaimsTest\n[PASS] test_allBucketsBelongToCurrentOwnerWithoutRewardOrBurnAccess() (gas: 1235026)\n[PASS] test_claimBeneficiaryOnlyAndPauseDoesNotLockClaims() (gas: 1008083)\n[PASS] test_earlierOnlyLateEntrantAndPartialSelfShare() (gas: 1845914)\n[PASS] test_frequentClaimsKeepFractionsAndNoEntrantReceivesOldDust() (gas: 6406795)\n[PASS] test_unauthorizedInvalidWithdrawalsRenounceAndZeroAmounts() (gas: 556722)\nSuite result: ok. 5 passed; 0 failed; 0 skipped; finished in 542.47ms (12.02ms CPU time)\n\nRan 7 tests for test/review/GardenMetadataAndUnicode.t.sol:GardenMetadataAndUnicodeTest\n[PASS] testFuzz_arbitraryBytesAgreeWithStrictUtf8Grammar(bytes) (runs: 512, μ: 20664, ~: 11373)\n[PASS] testFuzz_mixedWidthWishesCountCodepointsAndPersistExactBytes(uint16,uint256) (runs: 512, μ: 1476734, ~: 1363800)\nLogs:\n  Bound result 9\n\n[PASS] testFuzz_paginationReconstructsInterleavedRecordsWithoutDuplicates(uint8,uint8) (runs: 512, μ: 6719448, ~: 4265515)\n[PASS] test_claimAndEveryFeeBucketEmitExactBeneficiaryDestinationAndAmount() (gas: 1499698)\n[PASS] test_emptyTerminalAndOutOfBoundsPages() (gas: 123423)\n[PASS] test_indexingEventsContainEachOriginalWishAndCanonicalOrdering() (gas: 934569)\n[PASS] test_lateInvalidStyleRollsBackExistingRewardsAndEveryRecord() (gas: 6693731)\nSuite result: ok. 7 passed; 0 failed; 0 skipped; finished in 560.34ms (996.61ms CPU time)\n\nRan 9 tests for test/review/BridgeBoundaries.t.sol:BridgeBoundariesTest\n[PASS] testFuzz_acknowledgementAuthenticationAndRejectionAreAtomic(uint8) (runs: 512, μ: 1221739, ~: 1215254)\n[PASS] testFuzz_changedFrozenRouteStopsDispatchOnlyAndRecoversWhenRestored(uint8) (runs: 512, μ: 1835034, ~: 1857999)\n[PASS] testFuzz_composeAuthenticationAndRejectionAreAtomic(uint8) (runs: 512, μ: 2474965, ~: 2474581)\n[PASS] test_allSourceAdministrativeEntrypointsRejectStrangers() (gas: 223752)\n[PASS] test_baseOwnershipRequiresAcceptanceAndCannotBeRenounced() (gas: 2386933)\n[PASS] test_queueAndFeeBoundaryValues() (gas: 1428707)\n[PASS] test_refundRejectionRollsBackAttemptAndAuthorizedRefundReentryFails() (gas: 5983454)\n[PASS] test_walletGasBaseComposeFailureAndRetryInEveryOutcome() (gas: 16298875)\n[PASS] test_walletGasSourceFailuresAndSubsequentRetry() (gas: 16841317)\nSuite result: ok. 9 passed; 0 failed; 0 skipped; finished in 560.90ms (1.56s CPU time)\n\nRan 8 tests for test/WishGardenAdversarial.t.sol:WishGardenAdversarialTest\n[PASS] testFuzz_bucketFailureAtomic(uint8,uint8) (runs: 512, μ: 1148329, ~: 1150469)\nLogs:\n  Bound result 1\n  Bound result 1\n\n[PASS] testFuzz_claimFailurePreservesEntitlement(uint8) (runs: 512, μ: 1050066, ~: 1048224)\nLogs:\n  Bound result 1\n\n[PASS] testFuzz_everyPaymentFailureRollsBackAndCanRetry(uint8) (runs: 512, μ: 2043031, ~: 2042340)\nLogs:\n  Bound result 1\n\n[PASS] test_claimReentryAndAuthorizedOwnerCrossBucketReentryRejected() (gas: 1511756)\n[PASS] test_crossFunctionPurchaseReentrancyRejected() (gas: 1053868)\n[PASS] test_dispatchAtMinimumWalletGasCannotSilentlySkip() (gas: 5705754)\n[PASS] test_noReturnTokenExactDeltasWorkForPaymentsClaimsAndBuckets() (gas: 978620)\n[PASS] test_purchaseClaimWithdrawalAtMinimumWalletGas() (gas: 161790109)\nSuite result: ok. 8 passed; 0 failed; 0 skipped; finished in 716.32ms (1.89s CPU time)\n\nRan 5 tests for test/review/PinnedRouteRevision.t.sol:PinnedRouteRevisionTest\n[PASS] testFuzz_anyPeerValuePurchasesConserveAndOnlyOfficialPeerDispatches(bytes32,uint8) (runs: 256, μ: 2659974, ~: 2038031)\nLogs:\n  Bound result 1\n\n[PASS] test_composeQueuedBeforeActivationDeliversOnceAfterIt() (gas: 8366149)\n[PASS] test_gardenOwnershipTransferDoesNotMoveThePinnedDestination() (gas: 4581075)\n[PASS] test_otherGardensPinnedReceiverCannotConfigureOrConfirm() (gas: 9977033)\n[PASS] test_strangerFrontRunningPinnedDeploymentStillYieldsOwnersReceiver() (gas: 13337283)\nSuite result: ok. 5 passed; 0 failed; 0 skipped; finished in 755.33ms (781.90ms CPU time)\n\nRan 4 tests for test/Unicode.t.sol:UnicodeTest\n[PASS] testFuzz_rejectsAllSurrogates(uint16) (runs: 512, μ: 14157, ~: 14230)\nLogs:\n  Bound result 55296\n\n[PASS] testFuzz_validUnicodeScalars(uint32) (runs: 512, μ: 10976, ~: 11019)\nLogs:\n  Bound result 0\n\n[PASS] test_rejectsOverlongSurrogateOutOfRangeTruncatedAndStrayBytes() (gas: 301700)\n[PASS] test_validEmptyAsciiBoundariesAndFourByteMaximum() (gas: 988910)\nSuite result: ok. 4 passed; 0 failed; 0 skipped; finished in 755.34ms (59.73ms CPU time)\n\nRan 11 tests for test/RevisionFindings.t.sol:RevisionFindingsTest\n[PASS] testFuzz_ownerCannotNameAnyOtherDestination(address,bytes32) (runs: 512, μ: 4393636, ~: 4393855)\n[PASS] test_burnDispatchSurvivesThirdPartyEnforcedOptionsChange() (gas: 1063930)\n[PASS] test_composeStillRequiresActivationFixedTokenAndAuthentication() (gas: 2507683)\n[PASS] test_creditedComposeBurnsAfterAdapterPeerChangeButOutboundStaysGated() (gas: 2522557)\n[PASS] test_documentedBatchGasBoundHoldsAndFullBatchOfFullWishesCannotFit() (gas: 178112023)\nLogs:\n  1 x 0 bytes: 371530\n  50 x 0 bytes: 5503197\n  50 x 1 bytes: 6507124\n  50 x 32 bytes: 8600308\n  50 x 120 bytes: 14792370\n  30 x 280 bytes: 15411197\n  18 x 560 bytes: 14977163\n  10 x 1120 bytes: 14506056\n  1 x 1120 bytes: 1628237\n  50 x 1120 bytes: 71679384\n\n[PASS] test_executorComposeGasCoversEndpointForwardingWithMargin() (gas: 1651729)\n[PASS] test_ownerWalletCannotReceiveBurnFundsOrReportABurn() (gas: 2128927)\n[PASS] test_peerRotationStopsOnlyDispatchAndOnlyUntilRestored() (gas: 1724956)\n[PASS] test_pinnedReceiverIsThisSourceDeployedThroughTheCanonicalDeployer() (gas: 83890)\n[PASS] test_purchasesSurviveThirdPartyEnforcedOptionsChange() (gas: 1102325)\n[PASS] test_receiverBuiltForAnotherOwnerOrGardenIsNotThePinnedOne() (gas: 12490429)\nSuite result: ok. 11 passed; 0 failed; 0 skipped; finished in 755.40ms (824.75ms CPU time)\n\nRan 5 tests for test/review/BridgeDeltaFailures.t.sol:BridgeDeltaFailuresTest\n[PASS] testFuzz_balanceOrSupplyDeltaAloneNeverConfirmsBurn(uint8) (runs: 512, μ: 5870794, ~: 5870525)\n[PASS] testFuzz_everyMalformedReceiptAndDebitRestoresSourceFunds(uint8) (runs: 512, μ: 9349546, ~: 9350911)\n[PASS] testFuzz_malformedEndpointReceiptRollsBackAcknowledgement(uint8) (runs: 512, μ: 2792562, ~: 2792591)\n[PASS] test_baseBurnCallbacksCannotAcknowledgeOrRetryUnfinishedBurn() (gas: 8705039)\n[PASS] test_sourceRefusesPaymentInLayerZeroTokenBeforeTryingTheSend() (gas: 6298371)\nSuite result: ok. 5 passed; 0 failed; 0 skipped; finished in 755.48ms (1.52s CPU time)\n\nRan 10 tests for test/WishGardenPurchases.t.sol:WishGardenPurchasesTest\n[PASS] testFuzz_batchMatchesSequential(uint8,uint8) (runs: 512, μ: 12245678, ~: 9970268)\nLogs:\n  Bound result 3\n  Bound result 2\n\n[PASS] test_donationsDoNotCreateRights() (gas: 814481)\n[PASS] test_firstCandleFallbackAndTwoCandleRegression() (gas: 1029496)\n[PASS] test_invalidBatchAndPagesAtomic() (gas: 74415)\n[PASS] test_lengthMismatchAndMalformedLateWishRevertWholeBatch() (gas: 466287)\n[PASS] test_noAllowanceOrInsufficientFundsReverts() (gas: 703022)\n[PASS] test_noFreeNFTOrTransferEntrypoints() (gas: 134067)\n[PASS] test_noTenThousandCap() (gas: 3191)\n[PASS] test_oversizeAndStyleRevert() (gas: 255054)\n[PASS] test_stylesWishesPermanentAndPagination() (gas: 1899743)\nSuite result: ok. 10 passed; 0 failed; 0 skipped; finished in 1.55s (2.32s CPU time)\n\nRan 2 tests for test/independent/RewardModelInvariant.t.sol:RewardModelInvariantTest\n[PASS] invariant_rewardsAndCustodyMatchPerCandleModel() (runs: 128, calls: 8192, reverts: 0)\n\n╭--------------------+-------------+-------+---------+----------╮\n| Contract           | Selector    | Calls | Reverts | Discards |\n+===============================================================+\n| RewardModelHandler | buy         | 1622  | 0       | 0        |\n|--------------------+-------------+-------+---------+----------|\n| RewardModelHandler | claim       | 1568  | 0       | 0        |\n|--------------------+-------------+-------+---------+----------|\n| RewardModelHandler | donate      | 1712  | 0       | 0        |\n|--------------------+-------------+-------+---------+----------|\n| RewardModelHandler | pausedClaim | 1628  | 0       | 0        |\n|--------------------+-------------+-------+---------+----------|\n| RewardModelHandler | withdraw    | 1662  | 0       | 0        |\n╰--------------------+-------------+-------+---------+----------╯\n\n[PASS] test_specificationModelMixedSequence() (gas: 3972993)\nSuite result: ok. 2 passed; 0 failed; 0 skipped; finished in 3.84s (3.84s CPU time)\n\nRan 2 tests for test/review/BridgeCustodyInvariant.t.sol:ReceiverCustodyInvariantTest\n[PASS] invariant_deliveredTokensArePendingOrActuallySupplyBurnedExactlyOnce() (runs: 256, calls: 24576, reverts: 0)\n\n╭------------------------+----------+-------+---------+----------╮\n| Contract               | Selector | Calls | Reverts | Discards |\n+================================================================+\n| ReceiverCustodyHandler | deliver  | 4881  | 0       | 0        |\n|------------------------+----------+-------+---------+----------|\n| ReceiverCustodyHandler | donate   | 4928  | 0       | 0        |\n|------------------------+----------+-------+---------+----------|\n| ReceiverCustodyHandler | receipt  | 4882  | 0       | 0        |\n|------------------------+----------+-------+---------+----------|\n| ReceiverCustodyHandler | replay   | 4919  | 0       | 0        |\n|------------------------+----------+-------+---------+----------|\n| ReceiverCustodyHandler | retry    | 4966  | 0       | 0        |\n╰------------------------+----------+-------+---------+----------╯\n\n[PASS] test_receiverModelInterleavesFailuresOutOfOrderRecoveryAndReceiptRetry() (gas: 2387996)\nSuite result: ok. 2 passed; 0 failed; 0 skipped; finished in 9.59s (9.58s CPU time)\n\nRan 2 tests for test/review/BridgeCustodyInvariant.t.sol:SourceCustodyInvariantTest\n[PASS] invariant_eachIMDRemainsInExactlyOneCustodyBucket() (runs: 256, calls: 24576, reverts: 0)\n\n╭----------------------+-------------+-------+---------+----------╮\n| Contract             | Selector    | Calls | Reverts | Discards |\n+=================================================================+\n| SourceCustodyHandler | acknowledge | 3061  | 0       | 0        |\n|----------------------+-------------+-------+---------+----------|\n| SourceCustodyHandler | buy         | 3046  | 0       | 0        |\n|----------------------+-------------+-------+---------+----------|\n| SourceCustodyHandler | claim       | 3158  | 0       | 0        |\n|----------------------+-------------+-------+---------+----------|\n| SourceCustodyHandler | dispatch    | 3046  | 0       | 0        |\n|----------------------+-------------+-------+---------+----------|\n| SourceCustodyHandler | donate      | 3005  | 0       | 0        |\n|----------------------+-------------+-------+---------+----------|\n| SourceCustodyHandler | pause       | 3105  | 0       | 0        |\n|----------------------+-------------+-------+---------+----------|\n| SourceCustodyHandler | queue       | 3097  | 0       | 0        |\n|----------------------+-------------+-------+---------+----------|\n| SourceCustodyHandler | withdraw    | 3058  | 0       | 0        |\n╰----------------------+-------------+-------+---------+----------╯\n\n[PASS] test_sourceModelExercisesRecoveryWhileClaimsAndWithdrawalsContinue() (gas: 8249824)\nSuite result: ok. 2 passed; 0 failed; 0 skipped; finished in 10.08s (10.07s CPU time)\n\nRan 16 test suites in 10.08s (31.43s CPU time): 96 tests passed, 0 failed, 0 skipped (96 total tests)\n","passed":true},{"durationMs":125,"exitCode":0,"name":"source-index","output":"{\"v\":1,\"entryPoints\":[\"EverlightBurnReceiver.acceptOwnership()\",\"EverlightBurnReceiver.activate(bytes32)\",\"EverlightBurnReceiver.announceReady()\",\"EverlightBurnReceiver.lzCompose(address,bytes32,bytes,address,bytes)\",\"EverlightBurnReceiver.performBurn(uint256)\",\"EverlightBurnReceiver.retryBurn(bytes32)\",\"EverlightBurnReceiver.sendBurnReceipt(bytes32)\",\"EverlightBurnReceiver.transferOwnership(address)\",\"WishGarden.acceptOwnership()\",\"WishGarden.activate()\",\"WishGarden.buyCandles(uint8[],string[])\",\"WishGarden.claimRewards()\",\"WishGarden.configureBridge(address,bytes32)\",\"WishGarden.dispatchBurn(uint256)\",\"WishGarden.lzReceive((uint32,bytes32,uint64),bytes32,bytes,address,bytes)\",\"WishGarden.performBridgeSend(uint256,(uint256,uint256))\",\"WishGarden.queueBurn(uint256)\",\"WishGarden.setPurchasesPaused(bool)\",\"WishGarden.transferOwnership(address)\",\"WishGarden.withdrawBucket(uint8,address,uint256)\"],\"files\":{\".gitignore\":4,\"ADAPTATION.md\":64,\"LICENSE\":21,\"README.md\":49,\"docs/THIRD_PARTY.md\":8,\"docs/abi/README.md\":97,\"docs/abi/WishGarden.json\":1952,\"docs/base/EverlightBurnReceiver.json\":708,\"docs/base/README.md\":26,\"docs/base/deployment-package.json\":33,\"docs/deployment.md\":39,\"docs/deployment/manifest-handoff.json\":18,\"docs/evidence/bridge-dependencies.json\":389,\"docs/evidence/ethereum-dependencies.json\":132,\"docs/validation.md\":81,\"docs/verification.md\":36,\"foundry.toml\":22,\"launch.json\":12,\"remappings.txt\":2,\"scripts/build-base-transaction.py\":93,\"scripts/export-abis.py\":60,\"src/GardenEconomy.sol\":40,\"src/Utf8Wish.sol\":48,\"src/WishGarden.sol\":127,\"src/WishGardenTreasury.sol\":184,\"src/base/EverlightBurnReceiver.sol\":239,\"src/bridge/EverlightBridgeQueue.sol\":296,\"src/bridge/IMDBridge.sol\":114,\"test/Bridge.t.sol\":300,\"test/DeploymentAndDependencies.t.sol\":169,\"test/RevisionFindings.t.sol\":319,\"test/Unicode.t.sol\":92,\"test/WishGardenAdversarial.t.sol\":143,\"test/WishGardenClaims.t.sol\":116,\"test/WishGardenPurchases.t.sol\":160,\"test/base_package_test.py\":60,\"test/fixtures/BaseAdapterRuntime.sol\":9,\"test/fixtures/BaseIMDRuntime.sol\":9,\"test/fixtures/IMDRuntime.sol\":11,\"test/helpers/AdversarialIMD.sol\":77,\"test/helpers/BridgeDoubles.sol\":193,\"test/helpers/GardenTestBase.sol\":142,\"test/helpers/WalletGas.sol\":76,\"test/independent/BridgeAdversarial.t.sol\":151,\"test/independent/EVIDENCE.md\":13,\"test/independent/RewardModelInvariant.t.sol\":163,\"test/review/ActivationAndRuntime.t.sol\":210,\"test/review/BridgeBoundaries.t.sol\":362,\"test/review/BridgeCustodyInvariant.t.sol\":499,\"test/review/BridgeDeltaFailures.t.sol\":308,\"test/review/GardenMetadataAndUnicode.t.sol\":328,\"test/review/PinnedRouteRevision.t.sol\":198,\"test/review/REVIEW.md\":115},\"excluded\":[\"lib/\",\"node_modules/\"],\"truncated\":false}","passed":true}],"detail":"all checks passed","evaluation":"checks","profile":"foundry","status":"accepted","submissionHash":"8c318330564a8286400a011e95fe7313cbbcd315cfa2980b5035b8f44ad0a4cb","verifiedTreeHash":"dfa2de75025dfd98139dc41c28178825439cf343","verifierVersion":"0.1.0+6340c569"},{"checks":[{"durationMs":10630,"exitCode":0,"name":"build","output":"Compiling 60 files with Solc 0.8.26\nSolc 0.8.26 finished in 10.45s\nCompiler run successful!\n","passed":true},{"durationMs":10245,"exitCode":0,"name":"test","output":"No files changed, compilation skipped\n\nRan 5 tests for test/WishGardenClaims.t.sol:WishGardenClaimsTest\n[PASS] test_allBucketsBelongToCurrentOwnerWithoutRewardOrBurnAccess() (gas: 1257106)\n[PASS] test_claimBeneficiaryOnlyAndPauseDoesNotLockClaims() (gas: 1030362)\n[PASS] test_earlierOnlyLateEntrantAndPartialSelfShare() (gas: 1935271)\n[PASS] test_frequentClaimsKeepFractionsAndNoEntrantReceivesOldDust() (gas: 6742233)\n[PASS] test_unauthorizedInvalidWithdrawalsRenounceAndZeroAmounts() (gas: 578979)\nSuite result: ok. 5 passed; 0 failed; 0 skipped; finished in 20.83ms (12.95ms CPU time)\n\nRan 9 tests for test/Bridge.t.sol:BridgeTest\n[PASS] test_ackRetryDoesNotRepeatBurnAndReadyIsARealMessage() (gas: 2980666)\n[PASS] test_burnFailsOrNoopsThenRetryNeverDoubleBurns() (gas: 2998980)\n[PASS] test_composeAuthenticationWrongOriginWrongPeerWrongLengthAndUnfunded() (gas: 2506046)\n[PASS] test_configurationChangeFailsClosedAndClaimsStayAvailable() (gas: 1019634)\n[PASS] test_disabledAtDeploymentAndRequiresAuthenticatedBaseReadiness() (gas: 4799722)\n[PASS] test_feeAuthorizationAndGasGuards() (gas: 917366)\n[PASS] test_fullFlowConfirmedOnlyAfterRealBaseBurnAndAuthenticatedAck() (gas: 4194162)\n[PASS] test_queueDustFailureRetryAndNoDoubleSend() (gas: 2119074)\n[PASS] test_wrongAckAmountsAndUnsentJobsCannotConfirm() (gas: 1018196)\nSuite result: ok. 9 passed; 0 failed; 0 skipped; finished in 27.83ms (27.75ms CPU time)\n\nRan 5 tests for test/DeploymentAndDependencies.t.sol:DeploymentAndDependenciesTest\n[PASS] test_constructorEmptyChainExplicitOwnerAndNoInitializationCalls() (gas: 6333995)\n[PASS] test_deploymentCodeSizesAndReachableOpcodes() (gas: 20752184)\n[PASS] test_verifiedAdapterCreditAndComposeMatchReceiverFormat() (gas: 1189728)\n[PASS] test_verifiedBaseRuntimeActuallyReducesSupply() (gas: 953326)\n[PASS] test_verifiedEthereumRuntimePaymentAndOfficialOFTSend() (gas: 6285018)\nSuite result: ok. 5 passed; 0 failed; 0 skipped; finished in 80.94ms (80.94ms CPU time)\n\nRan 5 tests for test/review/BridgeDeltaFailures.t.sol:BridgeDeltaFailuresTest\n[PASS] testFuzz_balanceOrSupplyDeltaAloneNeverConfirmsBurn(uint8) (runs: 512, μ: 5871743, ~: 5871492)\n[PASS] testFuzz_everyMalformedReceiptAndDebitRestoresSourceFunds(uint8) (runs: 512, μ: 9301146, ~: 9302406)\n[PASS] testFuzz_malformedEndpointReceiptRollsBackAcknowledgement(uint8) (runs: 512, μ: 2808740, ~: 2808768)\n[PASS] test_baseBurnCallbacksCannotAcknowledgeOrRetryUnfinishedBurn() (gas: 8721929)\n[PASS] test_sourceRefusesPaymentInLayerZeroTokenBeforeTryingTheSend() (gas: 6246905)\nSuite result: ok. 5 passed; 0 failed; 0 skipped; finished in 549.42ms (1.37s CPU time)\n\nRan 6 tests for test/independent/BridgeAdversarial.t.sol:BridgeAdversarialTest\n[PASS] testFuzz_failedRetriesRemainFunded(uint8) (runs: 512, μ: 2206576, ~: 1970343)\nLogs:\n  Bound result 8\n\n[PASS] test_baseHasNoTokenRescueOrApprovalAndDoesNotBurnDonations() (gas: 2455250)\n[PASS] test_composeAtAdvertisedGasAndMinimumWalletGas() (gas: 8047013)\n[PASS] test_inFlightMessagesOutOfOrderAndReceiptReplay() (gas: 5587593)\n[PASS] test_lowGasComposeRevertsInsteadOfRecordingAnUntriedFailure() (gas: 2421784)\n[PASS] test_previouslyAuthenticatedBurnSurvivesLaterBridgePeerChange() (gas: 2951862)\nSuite result: ok. 6 passed; 0 failed; 0 skipped; finished in 550.11ms (558.44ms CPU time)\n\nRan 6 tests for test/review/ActivationAndRuntime.t.sol:ActivationAndRuntimeTest\n[PASS] test_eachOfficialBaseRouteFactIsRequiredBeforeActivation() (gas: 4666012)\n[PASS] test_eachOfficialSourceRouteFactIsRequiredBeforeConfiguration() (gas: 4765072)\n[PASS] test_malformedReadinessCannotUnlockPurchases() (gas: 4672203)\n[PASS] test_pinnedBaseBurnComposeAtWalletAndAdvertisedGas() (gas: 6670335)\n[PASS] test_pinnedEthereumOFTDispatchAtWalletGas() (gas: 15232294)\n[PASS] test_reconfiguringBeforeActivationInvalidatesOldReadinessAndOldPackets() (gas: 4782833)\nSuite result: ok. 6 passed; 0 failed; 0 skipped; finished in 586.47ms (30.17ms CPU time)\n\nRan 8 tests for test/WishGardenAdversarial.t.sol:WishGardenAdversarialTest\n[PASS] testFuzz_bucketFailureAtomic(uint8,uint8) (runs: 512, μ: 1170966, ~: 1172616)\nLogs:\n  Bound result 1\n  Bound result 0\n\n[PASS] testFuzz_claimFailurePreservesEntitlement(uint8) (runs: 512, μ: 1072229, ~: 1070436)\nLogs:\n  Bound result 1\n\n[PASS] testFuzz_everyPaymentFailureRollsBackAndCanRetry(uint8) (runs: 512, μ: 2109939, ~: 2109331)\nLogs:\n  Bound result 4\n\n[PASS] test_claimReentryAndAuthorizedOwnerCrossBucketReentryRejected() (gas: 1533858)\n[PASS] test_crossFunctionPurchaseReentrancyRejected() (gas: 1076102)\n[PASS] test_dispatchAtMinimumWalletGasCannotSilentlySkip() (gas: 6280178)\n[PASS] test_noReturnTokenExactDeltasWorkForPaymentsClaimsAndBuckets() (gas: 1000810)\n[PASS] test_purchaseClaimWithdrawalAtMinimumWalletGas() (gas: 162284396)\nSuite result: ok. 8 passed; 0 failed; 0 skipped; finished in 639.34ms (1.31s CPU time)\n\nRan 7 tests for test/review/GardenMetadataAndUnicode.t.sol:GardenMetadataAndUnicodeTest\n[PASS] testFuzz_arbitraryBytesAgreeWithStrictUtf8Grammar(bytes) (runs: 512, μ: 20400, ~: 11373)\n[PASS] testFuzz_mixedWidthWishesCountCodepointsAndPersistExactBytes(uint16,uint256) (runs: 512, μ: 1526261, ~: 1411313)\nLogs:\n  Bound result 220\n\n[PASS] testFuzz_paginationReconstructsInterleavedRecordsWithoutDuplicates(uint8,uint8) (runs: 512, μ: 6599883, ~: 4491452)\n[PASS] test_claimAndEveryFeeBucketEmitExactBeneficiaryDestinationAndAmount() (gas: 1544211)\n[PASS] test_emptyTerminalAndOutOfBoundsPages() (gas: 123313)\n[PASS] test_indexingEventsContainEachOriginalWishAndCanonicalOrdering() (gas: 957024)\n[PASS] test_lateInvalidStyleRollsBackExistingRewardsAndEveryRecord() (gas: 6738630)\nSuite result: ok. 7 passed; 0 failed; 0 skipped; finished in 639.37ms (1.74s CPU time)\n\nRan 4 tests for test/Unicode.t.sol:UnicodeTest\n[PASS] testFuzz_rejectsAllSurrogates(uint16) (runs: 512, μ: 14153, ~: 14230)\nLogs:\n  Bound result 55296\n\n[PASS] testFuzz_validUnicodeScalars(uint32) (runs: 512, μ: 10973, ~: 11019)\nLogs:\n  Bound result 0\n\n[PASS] test_rejectsOverlongSurrogateOutOfRangeTruncatedAndStrayBytes() (gas: 301700)\n[PASS] test_validEmptyAsciiBoundariesAndFourByteMaximum() (gas: 988910)\nSuite result: ok. 4 passed; 0 failed; 0 skipped; finished in 639.42ms (666.41ms CPU time)\n\nRan 9 tests for test/review/BridgeBoundaries.t.sol:BridgeBoundariesTest\n[PASS] testFuzz_acknowledgementAuthenticationAndRejectionAreAtomic(uint8) (runs: 512, μ: 1250530, ~: 1243662)\n[PASS] testFuzz_changedFrozenRouteRejectsSpendingButClaimsStayPayable(uint8) (runs: 512, μ: 1196604, ~: 1182553)\n[PASS] testFuzz_composeAuthenticationAndRejectionAreAtomic(uint8) (runs: 512, μ: 2507901, ~: 2507746)\n[PASS] test_allSourceAdministrativeEntrypointsRejectStrangers() (gas: 223907)\n[PASS] test_baseOwnershipRequiresAcceptanceAndCannotBeRenounced() (gas: 2386955)\n[PASS] test_queueAndFeeBoundaryValues() (gas: 1463843)\n[PASS] test_refundRejectionRollsBackAttemptAndAuthorizedRefundReentryFails() (gas: 6358511)\n[PASS] test_walletGasBaseComposeFailureAndRetryInEveryOutcome() (gas: 16924837)\n[PASS] test_walletGasSourceFailuresAndSubsequentRetry() (gas: 17153536)\nSuite result: ok. 9 passed; 0 failed; 0 skipped; finished in 829.68ms (1.67s CPU time)\n\nRan 10 tests for test/WishGardenPurchases.t.sol:WishGardenPurchasesTest\n[PASS] testFuzz_batchMatchesSequential(uint8,uint8) (runs: 512, μ: 12924238, ~: 10568204)\nLogs:\n  Bound result 43\n  Bound result 0\n\n[PASS] test_donationsDoNotCreateRights() (gas: 836715)\n[PASS] test_firstCandleFallbackAndTwoCandleRegression() (gas: 1074097)\n[PASS] test_invalidBatchAndPagesAtomic() (gas: 74437)\n[PASS] test_lengthMismatchAndMalformedLateWishRevertWholeBatch() (gas: 488676)\n[PASS] test_noAllowanceOrInsufficientFundsReverts() (gas: 747778)\n[PASS] test_noFreeNFTOrTransferEntrypoints() (gas: 134045)\n[PASS] test_noTenThousandCap() (gas: 3191)\n[PASS] test_oversizeAndStyleRevert() (gas: 277376)\n[PASS] test_stylesWishesPermanentAndPagination() (gas: 1943862)\nSuite result: ok. 10 passed; 0 failed; 0 skipped; finished in 1.87s (2.70s CPU time)\n\nRan 2 tests for test/independent/RewardModelInvariant.t.sol:RewardModelInvariantTest\n[PASS] invariant_rewardsAndCustodyMatchPerCandleModel() (runs: 128, calls: 8192, reverts: 0)\n\n╭--------------------+-------------+-------+---------+----------╮\n| Contract           | Selector    | Calls | Reverts | Discards |\n+===============================================================+\n| RewardModelHandler | buy         | 1622  | 0       | 0        |\n|--------------------+-------------+-------+---------+----------|\n| RewardModelHandler | claim       | 1568  | 0       | 0        |\n|--------------------+-------------+-------+---------+----------|\n| RewardModelHandler | donate      | 1712  | 0       | 0        |\n|--------------------+-------------+-------+---------+----------|\n| RewardModelHandler | pausedClaim | 1628  | 0       | 0        |\n|--------------------+-------------+-------+---------+----------|\n| RewardModelHandler | withdraw    | 1662  | 0       | 0        |\n╰--------------------+-------------+-------+---------+----------╯\n\n[PASS] test_specificationModelMixedSequence() (gas: 4062607)\nSuite result: ok. 2 passed; 0 failed; 0 skipped; finished in 4.20s (4.20s CPU time)\n\nRan 2 tests for test/review/BridgeCustodyInvariant.t.sol:ReceiverCustodyInvariantTest\n[PASS] invariant_deliveredTokensArePendingOrActuallySupplyBurnedExactlyOnce() (runs: 256, calls: 24576, reverts: 0)\n\n╭------------------------+----------+-------+---------+----------╮\n| Contract               | Selector | Calls | Reverts | Discards |\n+================================================================+\n| ReceiverCustodyHandler | deliver  | 4881  | 0       | 0        |\n|------------------------+----------+-------+---------+----------|\n| ReceiverCustodyHandler | donate   | 4928  | 0       | 0        |\n|------------------------+----------+-------+---------+----------|\n| ReceiverCustodyHandler | receipt  | 4882  | 0       | 0        |\n|------------------------+----------+-------+---------+----------|\n| ReceiverCustodyHandler | replay   | 4919  | 0       | 0        |\n|------------------------+----------+-------+---------+----------|\n| ReceiverCustodyHandler | retry    | 4966  | 0       | 0        |\n╰------------------------+----------+-------+---------+----------╯\n\n[PASS] test_receiverModelInterleavesFailuresOutOfOrderRecoveryAndReceiptRetry() (gas: 2467968)\nSuite result: ok. 2 passed; 0 failed; 0 skipped; finished in 9.96s (9.95s CPU time)\n\nRan 2 tests for test/review/BridgeCustodyInvariant.t.sol:SourceCustodyInvariantTest\n[PASS] invariant_eachIMDRemainsInExactlyOneCustodyBucket() (runs: 256, calls: 24576, reverts: 0)\n\n╭----------------------+-------------+-------+---------+----------╮\n| Contract             | Selector    | Calls | Reverts | Discards |\n+=================================================================+\n| SourceCustodyHandler | acknowledge | 3061  | 0       | 0        |\n|----------------------+-------------+-------+---------+----------|\n| SourceCustodyHandler | buy         | 3046  | 0       | 0        |\n|----------------------+-------------+-------+---------+----------|\n| SourceCustodyHandler | claim       | 3158  | 0       | 0        |\n|----------------------+-------------+-------+---------+----------|\n| SourceCustodyHandler | dispatch    | 3046  | 0       | 0        |\n|----------------------+-------------+-------+---------+----------|\n| SourceCustodyHandler | donate      | 3005  | 0       | 0        |\n|----------------------+-------------+-------+---------+----------|\n| SourceCustodyHandler | pause       | 3105  | 0       | 0        |\n|----------------------+-------------+-------+---------+----------|\n| SourceCustodyHandler | queue       | 3097  | 0       | 0        |\n|----------------------+-------------+-------+---------+----------|\n| SourceCustodyHandler | withdraw    | 3058  | 0       | 0        |\n╰----------------------+-------------+-------+---------+----------╯\n\n[PASS] test_sourceModelExercisesRecoveryWhileClaimsAndWithdrawalsContinue() (gas: 8319615)\nSuite result: ok. 2 passed; 0 failed; 0 skipped; finished in 10.07s (10.07s CPU time)\n\nRan 14 test suites in 10.08s (30.66s CPU time): 80 tests passed, 0 failed, 0 skipped (80 total tests)\n","passed":true},{"durationMs":122,"exitCode":0,"name":"source-index","output":"{\"v\":1,\"entryPoints\":[\"EverlightBurnReceiver.acceptOwnership()\",\"EverlightBurnReceiver.activate(bytes32)\",\"EverlightBurnReceiver.announceReady()\",\"EverlightBurnReceiver.lzCompose(address,bytes32,bytes,address,bytes)\",\"EverlightBurnReceiver.performBurn(uint256)\",\"EverlightBurnReceiver.retryBurn(bytes32)\",\"EverlightBurnReceiver.sendBurnReceipt(bytes32)\",\"EverlightBurnReceiver.transferOwnership(address)\",\"WishGarden.acceptOwnership()\",\"WishGarden.activate()\",\"WishGarden.buyCandles(uint8[],string[])\",\"WishGarden.claimRewards()\",\"WishGarden.configureBridge(address,bytes32)\",\"WishGarden.dispatchBurn(uint256)\",\"WishGarden.lzReceive((uint32,bytes32,uint64),bytes32,bytes,address,bytes)\",\"WishGarden.performBridgeSend(uint256,(uint256,uint256))\",\"WishGarden.queueBurn(uint256)\",\"WishGarden.setPurchasesPaused(bool)\",\"WishGarden.transferOwnership(address)\",\"WishGarden.withdrawBucket(uint8,address,uint256)\"],\"files\":{\".gitignore\":4,\"ADAPTATION.md\":46,\"LICENSE\":21,\"README.md\":47,\"docs/THIRD_PARTY.md\":8,\"docs/abi/README.md\":73,\"docs/abi/WishGarden.json\":1926,\"docs/base/EverlightBurnReceiver.json\":708,\"docs/base/README.md\":24,\"docs/base/deployment-package.json\":29,\"docs/deployment.md\":37,\"docs/deployment/manifest-handoff.json\":18,\"docs/evidence/bridge-dependencies.json\":345,\"docs/evidence/ethereum-dependencies.json\":132,\"docs/validation.md\":65,\"docs/verification.md\":36,\"foundry.toml\":22,\"launch.json\":12,\"remappings.txt\":2,\"scripts/build-base-transaction.py\":45,\"scripts/export-abis.py\":48,\"src/GardenEconomy.sol\":40,\"src/Utf8Wish.sol\":48,\"src/WishGarden.sol\":126,\"src/WishGardenTreasury.sol\":184,\"src/base/EverlightBurnReceiver.sol\":235,\"src/bridge/EverlightBridgeQueue.sol\":272,\"src/bridge/IMDBridge.sol\":112,\"test/Bridge.t.sol\":297,\"test/DeploymentAndDependencies.t.sol\":169,\"test/Unicode.t.sol\":92,\"test/WishGardenAdversarial.t.sol\":143,\"test/WishGardenClaims.t.sol\":116,\"test/WishGardenPurchases.t.sol\":160,\"test/base_package_test.py\":44,\"test/fixtures/BaseAdapterRuntime.sol\":9,\"test/fixtures/BaseIMDRuntime.sol\":9,\"test/fixtures/IMDRuntime.sol\":11,\"test/helpers/AdversarialIMD.sol\":77,\"test/helpers/BridgeDoubles.sol\":166,\"test/helpers/GardenTestBase.sol\":123,\"test/helpers/WalletGas.sol\":76,\"test/independent/BridgeAdversarial.t.sol\":151,\"test/independent/EVIDENCE.md\":11,\"test/independent/RewardModelInvariant.t.sol\":163,\"test/review/ActivationAndRuntime.t.sol\":206,\"test/review/BridgeBoundaries.t.sol\":335,\"test/review/BridgeCustodyInvariant.t.sol\":499,\"test/review/BridgeDeltaFailures.t.sol\":308,\"test/review/GardenMetadataAndUnicode.t.sol\":328,\"test/review/REVIEW.md\":80},\"excluded\":[\"lib/\",\"node_modules/\"],\"truncated\":false}","passed":true}],"detail":"all checks passed","evaluation":"checks","profile":"foundry","status":"accepted","submissionHash":"9ebcfafa2633685a79b1ba34e36b4e8d86c2bed53de9308fc19578ef944ea53c","verifiedTreeHash":"c753817552e9756f1b2400ab8a67ede1f4bff3ee","verifierVersion":"0.1.0+6340c569"},{"checks":[{"durationMs":10490,"exitCode":0,"name":"build","output":"Compiling 60 files with Solc 0.8.26\nSolc 0.8.26 finished in 10.31s\nCompiler run successful!\n","passed":true},{"durationMs":10867,"exitCode":0,"name":"test","output":"No files changed, compilation skipped\n\nRan 5 tests for test/WishGardenClaims.t.sol:WishGardenClaimsTest\n[PASS] test_allBucketsBelongToCurrentOwnerWithoutRewardOrBurnAccess() (gas: 1257106)\n[PASS] test_claimBeneficiaryOnlyAndPauseDoesNotLockClaims() (gas: 1030362)\n[PASS] test_earlierOnlyLateEntrantAndPartialSelfShare() (gas: 1935271)\n[PASS] test_frequentClaimsKeepFractionsAndNoEntrantReceivesOldDust() (gas: 6742233)\n[PASS] test_unauthorizedInvalidWithdrawalsRenounceAndZeroAmounts() (gas: 578979)\nSuite result: ok. 5 passed; 0 failed; 0 skipped; finished in 9.92ms (7.42ms CPU time)\n\nRan 6 tests for test/review/ActivationAndRuntime.t.sol:ActivationAndRuntimeTest\n[PASS] test_eachOfficialBaseRouteFactIsRequiredBeforeActivation() (gas: 4666012)\n[PASS] test_eachOfficialSourceRouteFactIsRequiredBeforeConfiguration() (gas: 4765072)\n[PASS] test_malformedReadinessCannotUnlockPurchases() (gas: 4672203)\n[PASS] test_pinnedBaseBurnComposeAtWalletAndAdvertisedGas() (gas: 6670335)\n[PASS] test_pinnedEthereumOFTDispatchAtWalletGas() (gas: 15232294)\n[PASS] test_reconfiguringBeforeActivationInvalidatesOldReadinessAndOldPackets() (gas: 4782833)\nSuite result: ok. 6 passed; 0 failed; 0 skipped; finished in 169.69ms (29.14ms CPU time)\n\nRan 9 tests for test/Bridge.t.sol:BridgeTest\n[PASS] test_ackRetryDoesNotRepeatBurnAndReadyIsARealMessage() (gas: 2980666)\n[PASS] test_burnFailsOrNoopsThenRetryNeverDoubleBurns() (gas: 2998980)\n[PASS] test_composeAuthenticationWrongOriginWrongPeerWrongLengthAndUnfunded() (gas: 2506046)\n[PASS] test_configurationChangeFailsClosedAndClaimsStayAvailable() (gas: 1019634)\n[PASS] test_disabledAtDeploymentAndRequiresAuthenticatedBaseReadiness() (gas: 4799722)\n[PASS] test_feeAuthorizationAndGasGuards() (gas: 917366)\n[PASS] test_fullFlowConfirmedOnlyAfterRealBaseBurnAndAuthenticatedAck() (gas: 4194162)\n[PASS] test_queueDustFailureRetryAndNoDoubleSend() (gas: 2119074)\n[PASS] test_wrongAckAmountsAndUnsentJobsCannotConfirm() (gas: 1018196)\nSuite result: ok. 9 passed; 0 failed; 0 skipped; finished in 519.39ms (10.98ms CPU time)\n\nRan 5 tests for test/DeploymentAndDependencies.t.sol:DeploymentAndDependenciesTest\n[PASS] test_constructorEmptyChainExplicitOwnerAndNoInitializationCalls() (gas: 6333995)\n[PASS] test_deploymentCodeSizesAndReachableOpcodes() (gas: 20752184)\n[PASS] test_verifiedAdapterCreditAndComposeMatchReceiverFormat() (gas: 1189728)\n[PASS] test_verifiedBaseRuntimeActuallyReducesSupply() (gas: 953326)\n[PASS] test_verifiedEthereumRuntimePaymentAndOfficialOFTSend() (gas: 6285018)\nSuite result: ok. 5 passed; 0 failed; 0 skipped; finished in 529.65ms (525.27ms CPU time)\n\nRan 8 tests for test/WishGardenAdversarial.t.sol:WishGardenAdversarialTest\n[PASS] testFuzz_bucketFailureAtomic(uint8,uint8) (runs: 512, μ: 1170966, ~: 1172616)\nLogs:\n  Bound result 1\n  Bound result 1\n\n[PASS] testFuzz_claimFailurePreservesEntitlement(uint8) (runs: 512, μ: 1072229, ~: 1070436)\nLogs:\n  Bound result 4\n\n[PASS] testFuzz_everyPaymentFailureRollsBackAndCanRetry(uint8) (runs: 512, μ: 2109939, ~: 2109331)\nLogs:\n  Bound result 1\n\n[PASS] test_claimReentryAndAuthorizedOwnerCrossBucketReentryRejected() (gas: 1533858)\n[PASS] test_crossFunctionPurchaseReentrancyRejected() (gas: 1076102)\n[PASS] test_dispatchAtMinimumWalletGasCannotSilentlySkip() (gas: 6280178)\n[PASS] test_noReturnTokenExactDeltasWorkForPaymentsClaimsAndBuckets() (gas: 1000810)\n[PASS] test_purchaseClaimWithdrawalAtMinimumWalletGas() (gas: 162284396)\nSuite result: ok. 8 passed; 0 failed; 0 skipped; finished in 596.32ms (1.44s CPU time)\n\nRan 4 tests for test/Unicode.t.sol:UnicodeTest\n[PASS] testFuzz_rejectsAllSurrogates(uint16) (runs: 512, μ: 14153, ~: 14230)\nLogs:\n  Bound result 55296\n\n[PASS] testFuzz_validUnicodeScalars(uint32) (runs: 512, μ: 10973, ~: 11019)\nLogs:\n  Bound result 0\n\n[PASS] test_rejectsOverlongSurrogateOutOfRangeTruncatedAndStrayBytes() (gas: 301700)\n[PASS] test_validEmptyAsciiBoundariesAndFourByteMaximum() (gas: 988910)\nSuite result: ok. 4 passed; 0 failed; 0 skipped; finished in 611.48ms (629.42ms CPU time)\n\nRan 6 tests for test/independent/BridgeAdversarial.t.sol:BridgeAdversarialTest\n[PASS] testFuzz_failedRetriesRemainFunded(uint8) (runs: 512, μ: 2206576, ~: 1970343)\nLogs:\n  Bound result 1\n\n[PASS] test_baseHasNoTokenRescueOrApprovalAndDoesNotBurnDonations() (gas: 2455250)\n[PASS] test_composeAtAdvertisedGasAndMinimumWalletGas() (gas: 8047013)\n[PASS] test_inFlightMessagesOutOfOrderAndReceiptReplay() (gas: 5587593)\n[PASS] test_lowGasComposeRevertsInsteadOfRecordingAnUntriedFailure() (gas: 2421784)\n[PASS] test_previouslyAuthenticatedBurnSurvivesLaterBridgePeerChange() (gas: 2951862)\nSuite result: ok. 6 passed; 0 failed; 0 skipped; finished in 612.44ms (619.75ms CPU time)\n\nRan 5 tests for test/review/BridgeDeltaFailures.t.sol:BridgeDeltaFailuresTest\n[PASS] testFuzz_balanceOrSupplyDeltaAloneNeverConfirmsBurn(uint8) (runs: 512, μ: 5871743, ~: 5871492)\n[PASS] testFuzz_everyMalformedReceiptAndDebitRestoresSourceFunds(uint8) (runs: 512, μ: 9301146, ~: 9302406)\n[PASS] testFuzz_malformedEndpointReceiptRollsBackAcknowledgement(uint8) (runs: 512, μ: 2808740, ~: 2808768)\n[PASS] test_baseBurnCallbacksCannotAcknowledgeOrRetryUnfinishedBurn() (gas: 8721929)\n[PASS] test_sourceRefusesPaymentInLayerZeroTokenBeforeTryingTheSend() (gas: 6246905)\nSuite result: ok. 5 passed; 0 failed; 0 skipped; finished in 673.67ms (1.14s CPU time)\n\nRan 9 tests for test/review/BridgeBoundaries.t.sol:BridgeBoundariesTest\n[PASS] testFuzz_acknowledgementAuthenticationAndRejectionAreAtomic(uint8) (runs: 512, μ: 1250530, ~: 1243662)\n[PASS] testFuzz_changedFrozenRouteRejectsSpendingButClaimsStayPayable(uint8) (runs: 512, μ: 1196604, ~: 1182553)\n[PASS] testFuzz_composeAuthenticationAndRejectionAreAtomic(uint8) (runs: 512, μ: 2507901, ~: 2507746)\n[PASS] test_allSourceAdministrativeEntrypointsRejectStrangers() (gas: 223907)\n[PASS] test_baseOwnershipRequiresAcceptanceAndCannotBeRenounced() (gas: 2386955)\n[PASS] test_queueAndFeeBoundaryValues() (gas: 1463843)\n[PASS] test_refundRejectionRollsBackAttemptAndAuthorizedRefundReentryFails() (gas: 6358511)\n[PASS] test_walletGasBaseComposeFailureAndRetryInEveryOutcome() (gas: 16924837)\n[PASS] test_walletGasSourceFailuresAndSubsequentRetry() (gas: 17153536)\nSuite result: ok. 9 passed; 0 failed; 0 skipped; finished in 740.30ms (1.61s CPU time)\n\nRan 7 tests for test/review/GardenMetadataAndUnicode.t.sol:GardenMetadataAndUnicodeTest\n[PASS] testFuzz_arbitraryBytesAgreeWithStrictUtf8Grammar(bytes) (runs: 512, μ: 20400, ~: 11373)\n[PASS] testFuzz_mixedWidthWishesCountCodepointsAndPersistExactBytes(uint16,uint256) (runs: 512, μ: 1526261, ~: 1411313)\nLogs:\n  Bound result 147\n\n[PASS] testFuzz_paginationReconstructsInterleavedRecordsWithoutDuplicates(uint8,uint8) (runs: 512, μ: 6599883, ~: 4491452)\n[PASS] test_claimAndEveryFeeBucketEmitExactBeneficiaryDestinationAndAmount() (gas: 1544211)\n[PASS] test_emptyTerminalAndOutOfBoundsPages() (gas: 123313)\n[PASS] test_indexingEventsContainEachOriginalWishAndCanonicalOrdering() (gas: 957024)\n[PASS] test_lateInvalidStyleRollsBackExistingRewardsAndEveryRecord() (gas: 6738630)\nSuite result: ok. 7 passed; 0 failed; 0 skipped; finished in 746.69ms (1.42s CPU time)\n\nRan 10 tests for test/WishGardenPurchases.t.sol:WishGardenPurchasesTest\n[PASS] testFuzz_batchMatchesSequential(uint8,uint8) (runs: 512, μ: 12924238, ~: 10568204)\nLogs:\n  Bound result 1\n  Bound result 1\n\n[PASS] test_donationsDoNotCreateRights() (gas: 836715)\n[PASS] test_firstCandleFallbackAndTwoCandleRegression() (gas: 1074097)\n[PASS] test_invalidBatchAndPagesAtomic() (gas: 74437)\n[PASS] test_lengthMismatchAndMalformedLateWishRevertWholeBatch() (gas: 488676)\n[PASS] test_noAllowanceOrInsufficientFundsReverts() (gas: 747778)\n[PASS] test_noFreeNFTOrTransferEntrypoints() (gas: 134045)\n[PASS] test_noTenThousandCap() (gas: 3191)\n[PASS] test_oversizeAndStyleRevert() (gas: 277376)\n[PASS] test_stylesWishesPermanentAndPagination() (gas: 1943862)\nSuite result: ok. 10 passed; 0 failed; 0 skipped; finished in 1.62s (2.47s CPU time)\n\nRan 2 tests for test/independent/RewardModelInvariant.t.sol:RewardModelInvariantTest\n[PASS] invariant_rewardsAndCustodyMatchPerCandleModel() (runs: 128, calls: 8192, reverts: 0)\n\n╭--------------------+-------------+-------+---------+----------╮\n| Contract           | Selector    | Calls | Reverts | Discards |\n+===============================================================+\n| RewardModelHandler | buy         | 1622  | 0       | 0        |\n|--------------------+-------------+-------+---------+----------|\n| RewardModelHandler | claim       | 1568  | 0       | 0        |\n|--------------------+-------------+-------+---------+----------|\n| RewardModelHandler | donate      | 1712  | 0       | 0        |\n|--------------------+-------------+-------+---------+----------|\n| RewardModelHandler | pausedClaim | 1628  | 0       | 0        |\n|--------------------+-------------+-------+---------+----------|\n| RewardModelHandler | withdraw    | 1662  | 0       | 0        |\n╰--------------------+-------------+-------+---------+----------╯\n\n[PASS] test_specificationModelMixedSequence() (gas: 4062607)\nSuite result: ok. 2 passed; 0 failed; 0 skipped; finished in 3.90s (3.90s CPU time)\n\nRan 2 tests for test/review/BridgeCustodyInvariant.t.sol:ReceiverCustodyInvariantTest\n[PASS] invariant_deliveredTokensArePendingOrActuallySupplyBurnedExactlyOnce() (runs: 256, calls: 24576, reverts: 0)\n\n╭------------------------+----------+-------+---------+----------╮\n| Contract               | Selector | Calls | Reverts | Discards |\n+================================================================+\n| ReceiverCustodyHandler | deliver  | 4881  | 0       | 0        |\n|------------------------+----------+-------+---------+----------|\n| ReceiverCustodyHandler | donate   | 4928  | 0       | 0        |\n|------------------------+----------+-------+---------+----------|\n| ReceiverCustodyHandler | receipt  | 4882  | 0       | 0        |\n|------------------------+----------+-------+---------+----------|\n| ReceiverCustodyHandler | replay   | 4919  | 0       | 0        |\n|------------------------+----------+-------+---------+----------|\n| ReceiverCustodyHandler | retry    | 4966  | 0       | 0        |\n╰------------------------+----------+-------+---------+----------╯\n\n[PASS] test_receiverModelInterleavesFailuresOutOfOrderRecoveryAndReceiptRetry() (gas: 2467968)\nSuite result: ok. 2 passed; 0 failed; 0 skipped; finished in 10.34s (10.33s CPU time)\n\nRan 2 tests for test/review/BridgeCustodyInvariant.t.sol:SourceCustodyInvariantTest\n[PASS] invariant_eachIMDRemainsInExactlyOneCustodyBucket() (runs: 256, calls: 24576, reverts: 0)\n\n╭----------------------+-------------+-------+---------+----------╮\n| Contract             | Selector    | Calls | Reverts | Discards |\n+=================================================================+\n| SourceCustodyHandler | acknowledge | 3061  | 0       | 0        |\n|----------------------+-------------+-------+---------+----------|\n| SourceCustodyHandler | buy         | 3046  | 0       | 0        |\n|----------------------+-------------+-------+---------+----------|\n| SourceCustodyHandler | claim       | 3158  | 0       | 0        |\n|----------------------+-------------+-------+---------+----------|\n| SourceCustodyHandler | dispatch    | 3046  | 0       | 0        |\n|----------------------+-------------+-------+---------+----------|\n| SourceCustodyHandler | donate      | 3005  | 0       | 0        |\n|----------------------+-------------+-------+---------+----------|\n| SourceCustodyHandler | pause       | 3105  | 0       | 0        |\n|----------------------+-------------+-------+---------+----------|\n| SourceCustodyHandler | queue       | 3097  | 0       | 0        |\n|----------------------+-------------+-------+---------+----------|\n| SourceCustodyHandler | withdraw    | 3058  | 0       | 0        |\n╰----------------------+-------------+-------+---------+----------╯\n\n[PASS] test_sourceModelExercisesRecoveryWhileClaimsAndWithdrawalsContinue() (gas: 8319615)\nSuite result: ok. 2 passed; 0 failed; 0 skipped; finished in 10.68s (10.68s CPU time)\n\nRan 14 test suites in 10.69s (31.75s CPU time): 80 tests passed, 0 failed, 0 skipped (80 total tests)\n","passed":true},{"durationMs":124,"exitCode":0,"name":"source-index","output":"{\"v\":1,\"entryPoints\":[\"EverlightBurnReceiver.acceptOwnership()\",\"EverlightBurnReceiver.activate(bytes32)\",\"EverlightBurnReceiver.announceReady()\",\"EverlightBurnReceiver.lzCompose(address,bytes32,bytes,address,bytes)\",\"EverlightBurnReceiver.performBurn(uint256)\",\"EverlightBurnReceiver.retryBurn(bytes32)\",\"EverlightBurnReceiver.sendBurnReceipt(bytes32)\",\"EverlightBurnReceiver.transferOwnership(address)\",\"WishGarden.acceptOwnership()\",\"WishGarden.activate()\",\"WishGarden.buyCandles(uint8[],string[])\",\"WishGarden.claimRewards()\",\"WishGarden.configureBridge(address,bytes32)\",\"WishGarden.dispatchBurn(uint256)\",\"WishGarden.lzReceive((uint32,bytes32,uint64),bytes32,bytes,address,bytes)\",\"WishGarden.performBridgeSend(uint256,(uint256,uint256))\",\"WishGarden.queueBurn(uint256)\",\"WishGarden.setPurchasesPaused(bool)\",\"WishGarden.transferOwnership(address)\",\"WishGarden.withdrawBucket(uint8,address,uint256)\"],\"files\":{\".gitignore\":4,\"ADAPTATION.md\":46,\"LICENSE\":21,\"README.md\":47,\"docs/THIRD_PARTY.md\":8,\"docs/abi/README.md\":73,\"docs/abi/WishGarden.json\":1926,\"docs/base/EverlightBurnReceiver.json\":708,\"docs/base/README.md\":24,\"docs/base/deployment-package.json\":29,\"docs/deployment.md\":37,\"docs/deployment/manifest-handoff.json\":18,\"docs/evidence/bridge-dependencies.json\":345,\"docs/evidence/ethereum-dependencies.json\":132,\"docs/validation.md\":65,\"docs/verification.md\":36,\"foundry.toml\":22,\"remappings.txt\":2,\"scripts/build-base-transaction.py\":45,\"scripts/export-abis.py\":48,\"src/GardenEconomy.sol\":40,\"src/Utf8Wish.sol\":48,\"src/WishGarden.sol\":126,\"src/WishGardenTreasury.sol\":184,\"src/base/EverlightBurnReceiver.sol\":235,\"src/bridge/EverlightBridgeQueue.sol\":272,\"src/bridge/IMDBridge.sol\":112,\"test/Bridge.t.sol\":297,\"test/DeploymentAndDependencies.t.sol\":169,\"test/Unicode.t.sol\":92,\"test/WishGardenAdversarial.t.sol\":143,\"test/WishGardenClaims.t.sol\":116,\"test/WishGardenPurchases.t.sol\":160,\"test/base_package_test.py\":44,\"test/fixtures/BaseAdapterRuntime.sol\":9,\"test/fixtures/BaseIMDRuntime.sol\":9,\"test/fixtures/IMDRuntime.sol\":11,\"test/helpers/AdversarialIMD.sol\":77,\"test/helpers/BridgeDoubles.sol\":166,\"test/helpers/GardenTestBase.sol\":123,\"test/helpers/WalletGas.sol\":76,\"test/independent/BridgeAdversarial.t.sol\":151,\"test/independent/EVIDENCE.md\":11,\"test/independent/RewardModelInvariant.t.sol\":163,\"test/review/ActivationAndRuntime.t.sol\":206,\"test/review/BridgeBoundaries.t.sol\":335,\"test/review/BridgeCustodyInvariant.t.sol\":499,\"test/review/BridgeDeltaFailures.t.sol\":308,\"test/review/GardenMetadataAndUnicode.t.sol\":328,\"test/review/REVIEW.md\":80},\"excluded\":[\"lib/\",\"node_modules/\"],\"truncated\":false}","passed":true}],"detail":"all checks passed","evaluation":"checks","profile":"foundry","status":"accepted","submissionHash":"e11e2ed17585a9cdc5fc59a872104fe6521852156c9f2df2126063155c9f2960","verifiedTreeHash":"a20f6ba7b88f480ae1063a4afa3f83e680020eec","verifierVersion":"0.1.0+6340c569"}]}