{"revision":"29c4264743a89978beb3af53dc78fcded3ffe804","repository":"https://github.com/identity-md-launches/launch-3460-workflow-contract-stage-context/tree/29c4264743a89978beb3af53dc78fcded3ffe804","checks":[{"requirement":"ERC-721 identity","status":"pass","expected":"The ERC-721 collection is named fivewords with symbol FIVE.","observed":"The test instance returned both exact strings and reported ERC-721 metadata support.","evidence":[{"type":"local test","url":"https://github.com/identity-md-launches/launch-3460-workflow-contract-stage-context/blob/29c4264743a89978beb3af53dc78fcded3ffe804/test/FiveWords.t.sol#L15-L24"},{"type":"source inspection","path":"src/FiveWords.sol#L132-L143"},{"type":"local test","path":"test/FiveWordsMetadata.t.sol#L146-L159"}]},
{"requirement":"Immutable and no owner or admin functions","status":"pass","expected":"A direct contract with fixed protocol parameters and no owner, proxy, upgrade, pause or privileged withdrawal.","observed":"Intake, IMD and action are constructor-set immutables. The compiled ABI has game actions, Intake-only callbacks and ERC-721 approvals and transfers. Admin calls reverted and the runtime scan passed its checks for reachable DELEGATECALL, CALLCODE and SELFDESTRUCT.","evidence":[{"type":"local test","url":"https://github.com/identity-md-launches/launch-3460-workflow-contract-stage-context/blob/29c4264743a89978beb3af53dc78fcded3ffe804/test/FiveWordsMetadata.t.sol#L186-L203"},{"type":"source inspection","path":"src/FiveWords.sol#L113-L143"},{"type":"local test","path":"test/FiveWordsMetadata.t.sol#L207-L222"}]},
{"requirement":"Five rounds of five NFTs","status":"pass","expected":"There are five images, with five contribution slots and five NFTs per image.","observed":"The fifth successful contribution advances imagesOrdered. Token IDs follow (image - 1) * 5 + slot, giving five consecutive IDs per image. The full local game checked all 25 holders and slot mappings.","evidence":[{"type":"local test","url":"https://github.com/identity-md-launches/launch-3460-workflow-contract-stage-context/blob/29c4264743a89978beb3af53dc78fcded3ffe804/test/FiveWords.t.sol#L199-L232"},{"type":"source inspection","path":"src/FiveWords.sol#L151-L185"}]},
{"requirement":"First round opens at deployment","status":"pass","expected":"The first round accepts contributions from the deployment timestamp.","observed":"Image 1 opens at the constructor’s block timestamp. The first-word mint test contributes at that simulated time.","evidence":[{"type":"local test","url":"https://github.com/identity-md-launches/launch-3460-workflow-contract-stage-context/blob/29c4264743a89978beb3af53dc78fcded3ffe804/test/FiveWords.t.sol#L26-L53"},{"type":"source inspection","path":"src/FiveWords.sol#L136-L157"}]},
{"requirement":"Five-hour delay from the previous initial order","status":"pass","expected":"Each later round opens five hours after the previous image's first successful order.","observed":"The successful fifth word starts an 18,000-second clock. A word one second early reverted and one at the boundary succeeded. Delivery, failure and retry leave the clock intact.","evidence":[{"type":"local test","url":"https://github.com/identity-md-launches/launch-3460-workflow-contract-stage-context/blob/29c4264743a89978beb3af53dc78fcded3ffe804/test/FiveWordsEdges.t.sol#L51-L79"},{"type":"source inspection","path":"src/FiveWords.sol#L151-L185"},{"type":"local test","path":"test/FiveWords.t.sol#L247-L266"},{"type":"local test","path":"test/FiveWordsCallbacks.t.sol#L271-L288"}]},
{"requirement":"Contribution closure at 25","status":"pass","expected":"There is no sixth round or twenty-sixth mint.","observed":"After 25 mints, currentImage and amountDue return zero. An attempt one simulated year later reverted GameOver without a debit and token 26 did not exist. Reorders can still occur.","evidence":[{"type":"local test","url":"https://github.com/identity-md-launches/launch-3460-workflow-contract-stage-context/blob/29c4264743a89978beb3af53dc78fcded3ffe804/test/FiveWords.t.sol#L199-L245"},{"type":"source inspection","path":"src/FiveWords.sol#L258-L269"},{"type":"local test","path":"test/FiveWordsCallbacks.t.sol#L394-L407"}]},
{"requirement":"Word length and lowercase ASCII","status":"pass","expected":"Accept 1 to 20 ASCII letters a through z and reject all other inputs.","observed":"Length is 1–20 bytes and each byte must be 0x61–0x7a. Boundary and fuzz tests cover valid words and rejection of other bytes and lengths.","evidence":[{"type":"local test","url":"https://github.com/identity-md-launches/launch-3460-workflow-contract-stage-context/blob/29c4264743a89978beb3af53dc78fcded3ffe804/test/FiveWords.t.sol#L55-L85"},{"type":"source inspection","path":"src/FiveWords.sol#L411-L421"}]},
{"requirement":"One word per wallet per image, including after a transfer","status":"pass","expected":"A wallet gets one contribution per image even if it transfers the NFT. Eligibility resets by image.","observed":"An image-and-sender flag survives NFT transfers. The recipient can write if eligible and the original contributor can write in the next round. A supplemental test got AlreadyAdded on a repeat attempt after transfer.","evidence":[{"type":"local test","url":"https://github.com/identity-md-launches/launch-3460-workflow-contract-stage-context/blob/29c4264743a89978beb3af53dc78fcded3ffe804/test/FiveWords.t.sol#L128-L139"},{"type":"source inspection","path":"src/FiveWords.sol#L151-L167"},{"type":"source inspection","path":"lib/openzeppelin-contracts/contracts/token/ERC721/ERC721.sol#L113-L124"},{"type":"local test","path":"test/FiveWords.t.sol#L110-L126"}]},
{"requirement":"Mint the slot to the contributor in the payment transaction","status":"pass","expected":"A successful addWord mints the corresponding slot NFT to the wallet contributing and paying.","observed":"addWord mints to msg.sender and pulls the amount due from that same address in one call. For zero due the mint still occurs and the token pull is skipped. The first- and fifth-slot tests check ownerOf and the contributor's resulting mock IMD balance.","evidence":[{"type":"local test","url":"https://github.com/identity-md-launches/launch-3460-workflow-contract-stage-context/blob/29c4264743a89978beb3af53dc78fcded3ffe804/test/FiveWords.t.sol#L143-L187"},{"type":"source inspection","path":"src/FiveWords.sol#L165-L185"}]},
{"requirement":"Price source and first four charges","status":"pass","expected":"For slots one through four, use one fifth of the transaction's Intake.priceOf(action, IMD), rounded down to whole token base units.","observed":"Each of the first four pays floor(price/5) from a fresh quote for the configured action and IMD. A zero quote reverts NotSold. The manifest uses the requested Intake v2, IMD and job.open@job-1. Fuzzing checked actual wallet debits.","evidence":[{"type":"local test","url":"https://github.com/identity-md-launches/launch-3460-workflow-contract-stage-context/blob/29c4264743a89978beb3af53dc78fcded3ffe804/test/FiveWordsEdges.t.sol#L297-L318"},{"type":"source inspection","path":"launch.json#L4-L10"},{"type":"source inspection","path":"src/FiveWords.sol#L396-L404"}],"examples":[{"kind":"measured","detail":"At a mock price of 0.5 IMD the first contribution debits 0.1 IMD."}]},
{"requirement":"One-fifth charge for the fifth slot","status":"fail","expected":"The fifth slot also pays one fifth of the live price, subject to whole-base-unit rounding.","observed":"Slot five pays max(live price minus pot, 0), which can exceed or fall below a fifth. With steady price P and an empty starting pot it pays floor(P/5) + (P mod 5), up to four base units above the rounded-down fifth.","evidence":[{"type":"local test","url":"https://github.com/identity-md-launches/launch-3460-workflow-contract-stage-context/blob/29c4264743a89978beb3af53dc78fcded3ffe804/test/FiveWords.t.sol#L463-L473"},{"type":"source inspection","path":"src/FiveWords.sol#L401-L404"},{"type":"local test","path":"test/FiveWordsEdges.t.sol#L255-L276"}],"examples":[{"kind":"measured","detail":"At a fixed mock price of 0.5 IMD plus 3 base units, slots 1–4 each pay 0.1 IMD and slot 5 pays 0.1 IMD plus 3 base units. The treasury receives the full price."},{"kind":"measured","detail":"With an empty pot and a fixed 4-base-unit mock price, slots 1–4 are free and slot 5 pays all 4 base units."}]},
{"requirement":"Changing prices and already-paid shares","status":"fail","expected":"Each slot pays its own live one-fifth share when it contributes, even when earlier slots faced a different price.","observed":"Prices are live per call. Earlier payments stand without refunds or top-ups. Slot five covers any shortfall. Surplus carries forward against later fifth-slot payments and stays in the pot if play ends or stalls. A stale exact allowance reverts if the new charge exceeds it.","evidence":[{"type":"local test","url":"https://github.com/identity-md-launches/launch-3460-workflow-contract-stage-context/blob/29c4264743a89978beb3af53dc78fcded3ffe804/test/FiveWords.t.sol#L441-L461"},{"type":"source inspection","path":"src/FiveWords.sol#L159-L185"},{"type":"local test","path":"test/FiveWords.t.sol#L411-L425"},{"type":"local test","path":"test/FiveWords.t.sol#L427-L439"}],"examples":[{"kind":"measured","detail":"Mock price rises from 0.5 to 1 IMD after slot 2. Charges are 0.1, 0.1, 0.2, 0.2 and 0.4 IMD. The fifth contributor pays 0.4 IMD versus a live one-fifth share of 0.2 IMD."},{"kind":"measured","detail":"After four 0.1 IMD contributions, mock price falls to 0.3 IMD. Slot 5 pays 0 versus a 0.06 IMD live fifth, the order costs 0.3, and 0.1 IMD carries over. At the unchanged 0.3 IMD in the next round, slots 1–4 each pay 0.06, slot 5 again pays 0, and 0.04 remains."},{"kind":"measured","detail":"In a supplemental mock run the same late decrease in round 5 left 0.1 IMD in the contract at closure with 25 NFTs minted."}]},
{"requirement":"Fifth word orders at the live price","status":"pass","expected":"The fifth contribution orders the image in the same successful call, approving exactly the live price and calling requestWithFailure.","observed":"FiveWords approves exactly the live price and calls requestWithFailure. It checks for zero remaining allowance and a new request ID. The test confirms the exact price debited, the fifth mint and both callback selectors.","evidence":[{"type":"local test","url":"https://github.com/identity-md-launches/launch-3460-workflow-contract-stage-context/blob/29c4264743a89978beb3af53dc78fcded3ffe804/test/FiveWords.t.sol#L143-L187"},{"type":"source inspection","path":"src/FiveWords.sol#L198-L220"}]},
{"requirement":"Atomicity when contributor payment fails","status":"pass","expected":"A failed payment leaves no new contribution, mint or order from that call.","observed":"Insufficient allowance or balance reverts the call. With the fifth allowance one base unit short, a supplemental test confirmed the four earlier words and payments stayed. The fifth word, mint, debit, order and next-round opening were absent. The fifth word succeeded once funded and approved.","evidence":[{"type":"local test","url":"https://github.com/identity-md-launches/launch-3460-workflow-contract-stage-context/blob/29c4264743a89978beb3af53dc78fcded3ffe804/test/FiveWords.t.sol#L385-L409"},{"type":"source inspection","path":"src/FiveWords.sol#L165-L185"},{"type":"source inspection","path":"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol#L37-L43"}]},
{"requirement":"Atomicity when the fifth-word order fails","status":"pass","expected":"A failing initial order leaves the fifth contribution and payment unapplied while preserving the four previous contributions.","observed":"Refusal, unspent Intake allowance or a reused request ID revert the fifth addWord. Prior shares remain and the fifth word, mint, debit, allowance changes and next opening roll back. A later failure callback leaves the successful order paid and enables retry.","evidence":[{"type":"local test","url":"https://github.com/identity-md-launches/launch-3460-workflow-contract-stage-context/blob/29c4264743a89978beb3af53dc78fcded3ffe804/test/FiveWords.t.sol#L275-L323"},{"type":"source inspection","path":"src/FiveWords.sol#L165-L219"},{"type":"local test","path":"test/FiveWordsEdges.t.sol#L322-L338"},{"type":"local test","path":"test/FiveWordsCallbacks.t.sol#L34-L55"}]}],"local_tests":{"command":"forge test --offline","compiler":"Solc 0.8.26, Cancun, optimizer enabled at 200 runs","compiler_config":"https://github.com/identity-md-launches/launch-3460-workflow-contract-stage-context/blob/29c4264743a89978beb3af53dc78fcded3ffe804/foundry.toml#L1-L17","artifact":"The locally compiled FiveWords ABI exactly matched the parsed published ABI. The compiled runtime was 16,509 bytes.","abi":"https://github.com/identity-md-launches/launch-3460-workflow-contract-stage-context/blob/29c4264743a89978beb3af53dc78fcded3ffe804/docs/abi/FiveWords.json","simulation":"Local MockIntake and MockERC20, a normally behaving ERC-20, with Foundry timestamp warps.","fixture_sources":["test/FiveWordsBase.sol#L25-L55","test/mocks/MockIntake.sol#L66-L99","test/mocks/MockERC20.sol#L4-L12"],"published_suite":{"passed":86,"failed":0,"skipped":0,"suite_counts":{"game":23,"edges":17,"callbacks":23,"metadata":12,"wallet_gas":10,"invariants":1},"suite_sources":["test/FiveWords.t.sol","test/FiveWordsEdges.t.sol","test/FiveWordsCallbacks.t.sol","test/FiveWordsMetadata.t.sol","test/FiveWordsWalletGas.t.sol","test/FiveWordsInvariant.t.sol"],"detail":"Foundry reported one passing invariant group covering all six assertions, 256 runs and 30,720 handler calls. The price-debit fuzz test ran 1,000 cases."},"supplemental_scratch_suite":{"passed":3,"failed":0,"skipped":0,"tests":[{"name":"test_originalContributorStillRejectedAfterTransfer","published_baseline":"test/FiveWords.t.sol#L110-L139"},{"name":"test_failedFifthPaymentPreservesEarlierSharesAndClock","published_baseline":"test/FiveWords.t.sol#L303-L323"},{"name":"test_surplusRemainsAfterClosingFifthRound","published_baseline":"test/FiveWords.t.sol#L441-L461"}]}},"limitations":[{"detail":"Mainnet bytecode equivalence, live price and live dependency behavior are unverified. The README reports a historical fork test, which was not reproduced.","evidence":[{"type":"source inspection","url":"https://github.com/identity-md-launches/launch-3460-workflow-contract-stage-context/blob/29c4264743a89978beb3af53dc78fcded3ffe804/launch.json#L3-L10"},{"type":"published test record","url":"https://github.com/identity-md-launches/launch-3460-workflow-contract-stage-context/blob/29c4264743a89978beb3af53dc78fcded3ffe804/README.md#L135-L140"}]},{"detail":"The README reports a passing suite. No GitHub checks, commit statuses or workflow runs were returned for this SHA. Reported outcomes are from local runs.","evidence":[{"type":"published test record","url":"https://github.com/identity-md-launches/launch-3460-workflow-contract-stage-context/blob/29c4264743a89978beb3af53dc78fcded3ffe804/README.md#L185"}]},{"detail":"The wallet rule is address-based. It does not establish whether wallets belong to distinct people.","evidence":[{"type":"source inspection","url":"https://github.com/identity-md-launches/launch-3460-workflow-contract-stage-context/blob/29c4264743a89978beb3af53dc78fcded3ffe804/src/FiveWords.sol#L128-L129"},{"type":"source inspection","url":"https://github.com/identity-md-launches/launch-3460-workflow-contract-stage-context/blob/29c4264743a89978beb3af53dc78fcded3ffe804/src/FiveWords.sol#L151-L166"}]}],"pinned_file_url_prefix":"https://github.com/identity-md-launches/launch-3460-workflow-contract-stage-context/blob/29c4264743a89978beb3af53dc78fcded3ffe804/"}
