{
 "subject": "fivewords website acceptance (workflow 7c1baf52-c412-4eff-9dc7-612016bac5d8, frontend job 444671dd-51c6-41b1-922b-3a5ac3ffd8b3)",
 "verdict": "pass",
 "verdictNote": "The named site https://fivewords.imd.site is live and serves the released build byte-for-byte, and every interactive requirement passed in a mocked-wallet Chromium run. One part is unconfirmed: this machine could not load the immutable CID through any public IPFS gateway (429/403/timeout). That is reported under missing; it does not block the named site.",
 "sourceCommit": "3d4e05169dee83b54928b965fcc064a02fba6444",
 "namedUrl": "https://fivewords.imd.site/",
 "immutableUrl": "https://ipfs.io/ipfs/bafybeiauxhanxs4v6ddboh2rlf2xzmiddmjmo5fhrrxleiaz6txlmgdrxq/",
 "observedCid": "bafybeiauxhanxs4v6ddboh2rlf2xzmiddmjmo5fhrrxleiaz6txlmgdrxq",
 "observedCidNote": "CID taken from the workflow site record; content under it not fetched (gateways refused). Named-site bytes match the repo dist and the served manifest's digests, but the CID itself was not recomputed.",
 "contractAddress": "0x241cc9f4525d6184b29e0bbc9f8af015dcaa4ea2",
 "checkedAt": "2026-11-26T07:05:35Z",
 "checks": [
  {
   "requirement": "Named imd.site URL answers",
   "status": "pass",
   "kind": "live",
   "location": "https://fivewords.imd.site/",
   "evidence": "HTTP 200 at 2026-11-26T06:56:48Z (1191 bytes, <title>fivewords</title>). URL derived from the workflow site record label 'fivewords' (status 'named', ENS fivewords.identitymd.eth) plus the brief's imd.site host; no record states the full https URL. The service validation's 'named website did not answer yet' no longer holds."
  },
  {
   "requirement": "Named site serves the released build byte-for-byte",
   "status": "pass",
   "kind": "live",
   "location": "https://fivewords.imd.site/{index.html,imd-deployment.json,abi/FiveWords.json,assets/*,favicon.svg,og.png}",
   "evidence": "All 11 files of dist/ at 3d4e051 fetched from the named site 06:56-06:57Z with HTTP 200; every sha256 equals the repo file (e.g. index.html 7f2d1543..., assets/index-DL4Zx0WQ.js 1fa360b3...). These match the asset digests listed in the served imd-deployment.json."
  },
  {
   "requirement": "Immutable CID entrypoint answers",
   "status": "incomplete",
   "kind": "live",
   "location": "https://ipfs.io/ipfs/bafybeiauxhanxs4v6ddboh2rlf2xzmiddmjmo5fhrrxleiaz6txlmgdrxq/ and others",
   "evidence": "Not confirmed from this machine: ipfs.io and dweb.link/subdomain gateways answered 429 (06:56:50Z, 07:05:02Z, 07:05:35Z), w3s.link redirected to dweb.link 429, gateway.pinata.cloud 403, 4everland timed out after 30 s, fivewords.identitymd.eth.limo failed TLS (curl 35). The service validation reports static-assets passed against the CID; not independently reproduced."
  },
  {
   "requirement": "Served deployment config matches workflow handoff",
   "status": "pass",
   "kind": "live+source",
   "location": "https://fivewords.imd.site/imd-deployment.json; web/deployment/handoff.json",
   "evidence": "Served manifest: chainId 1, launchId a9881956-..., sourceCommit 29c42647..., attestationHash 86aa712e..., contract FiveWords address 0x241cc9f4525d6184b29e0bbc9f8af015dcaa4ea2, abiHash 39546ba2fddb8a2970d587fa0d2162165ea432d32b32c5a14da3478e834e6cda: identical to the workflow handoff. Served abi/FiveWords.json equals docs/abi/FiveWords.json. Canonical-keccak recomputation of abiHash not repeated here (service check 'contract-abis' passed)."
  },
  {
   "requirement": "App actually uses served config and ABI",
   "status": "pass",
   "kind": "source+mock",
   "location": "web/src/config.ts:61-96, dist/assets/index-DL4Zx0WQ.js",
   "evidence": "config.ts fetches ./imd-deployment.json and its abiPath at runtime, checks version/chainId, uses getAddress(entry.address); the address is not hardcoded in the bundle. In the browser harness every eth_call was decoded with the served ABI against 0x241cc9f4525d6184b29e0bbc9f8af015dcaa4ea2 and the wallet transactions targeted that address."
  },
  {
   "requirement": "Live contract matches and price is 0.1 IMD",
   "status": "pass",
   "kind": "live",
   "location": "eth_call via https://ethereum-rpc.publicnode.com at block 26497758 (2026-11-26T07:04:47Z)",
   "evidence": "Code present (16509 bytes); name 'fivewords', symbol 'FIVE', currentImage 1, totalSupply 0, amountDue 100000000000000000 (0.1 IMD), retryPrice 500000000000000000."
  },
  {
   "requirement": "One white frame, sentence builds inside, five numbered slots",
   "status": "pass",
   "kind": "mock",
   "location": "web/src/Frame.tsx, web/src/App.tsx:93-152",
   "evidence": "Chromium: play page has 1 .frame (background rgb(255,255,255), 2px solid black), slots numbered 1,2,3,4,5; with 2 words the frame sentence shows them followed by blanks."
  },
  {
   "requirement": "Button 'add · 0.1 IMD' at the live price",
   "status": "pass",
   "kind": "mock",
   "location": "web/src/Actions.tsx:215",
   "evidence": "Button text 'add · 0.1 IMD' with amountDue 1e17; label is built from live amountDue and the token's symbol/decimals."
  },
  {
   "requirement": "Approve exactly the amount due to the NFT, then addWord",
   "status": "pass",
   "kind": "mock",
   "location": "web/src/Actions.tsx:66-103,156-204",
   "evidence": "Mock wallet received exactly two txs: approve(0x241Cc9...a4ea2, 100000000000000000) on IMD 0xd34a...63b7, then addWord('lantern') on the NFT. Price and allowance are re-read before addWord."
  },
  {
   "requirement": "Live price change",
   "status": "pass",
   "kind": "mock",
   "location": "web/src/game.ts:73-78 (12 s refetch), Actions.tsx:166-172",
   "evidence": "Changing mock amountDue to 2e17 relabelled the button to 'add · 0.2 IMD' on refetch; the next approval was exactly 200000000000000000. Repo scenarios 'price', 'clickprice', 'longprice' also passed."
  },
  {
   "requirement": "Rejection / error states",
   "status": "pass",
   "kind": "mock",
   "location": "web/src/Actions.tsx:81,184; App.tsx:65-69",
   "evidence": "Rejected approve (code 4001) shows 'the wallet declined the approval. nothing was sent.' and keeps the draft word. A receipt without WordAdded shows 'the transaction succeeded but the receipt shows no word added. your 0.1 IMD approval is onchain. your word was not added.' Repo scenarios 'decline','allowance','retry','holders' passed."
  },
  {
   "requirement": "Wrong-network handling",
   "status": "pass",
   "kind": "mock",
   "location": "web/src/Actions.tsx:36-51,209,215",
   "evidence": "Wallet on 0x89: button reads 'switch to Ethereum'; click sends wallet_switchEthereumChain, wallet becomes 0x1, button returns to 'add · 0.1 IMD'; no transaction sent."
  },
  {
   "requirement": "Pending-to-image flip from result.json to sibling artifacts/print.png",
   "status": "pass",
   "kind": "mock+source",
   "location": "web/src/Frame.tsx:12-31; src/FiveWords.sol:304-308 (imageURI -> _beside(uri))",
   "evidence": "Image 1 moved ordered -> delivered with uri ipfs://CID/result.json and imageURI ipfs://CID/artifacts/print.png; frame swapped sentence for <img>, and the browser requested https://ipfs.io/ipfs/bafkreiexamplecid/artifacts/print.png. Image page lists result ipfs://.../result.json. If both gateways fail the caption says 'image unavailable'. The result->print.png derivation is the contract's imageURI(); the site trusts it. src/FiveWords.sol here is the frontend repo's copy, not compared with deployed source commit 29c4264."
  },
  {
   "requirement": "Five-hour countdown between rounds",
   "status": "pass",
   "kind": "mock",
   "location": "web/src/App.tsx:127-131; Frame.tsx:85-98",
   "evidence": "Image 1 ordered 30 s ago, image 2 opensAt +5h-30s: 'image 2 opens in 04:59:29', input disabled, frame keeps image 1 ('ordered, the swarm is drawing it'). The 5 h itself is the contract's opensAt; the site renders it."
  },
  {
   "requirement": "Final-round closure",
   "status": "pass",
   "kind": "mock",
   "location": "web/src/App.tsx:132; Actions.tsx:135",
   "evidence": "currentImage 0 with 5 images ordered: 'all five images are ordered. the game is over.', input disabled."
  },
  {
   "requirement": "Gallery of five frames and five image pages",
   "status": "pass",
   "kind": "mock",
   "location": "web/src/App.tsx:154-287",
   "evidence": "#/gallery has 5 frames linking #/image/1..5; each #/image/N has 1 frame and 5 slots. Repo 'frames' scenario passed at 390/320/1440 px widths."
  },
  {
   "requirement": "Holders current after simulated transfer; Ethereum OpenSea links",
   "status": "pass",
   "kind": "mock",
   "location": "web/src/App.tsx:185-236; game.ts:160-180",
   "evidence": "Item links https://opensea.io/assets/ethereum/0x241Cc9F4525D6184b29E0BBC9F8af015dcaa4ea2/{1..5}; holder links https://opensea.io/<address>. After ownerOf(3) changed to 0x3C44...93BC and the page re-mounted, the holder link updated (ownerOf also refetched every 30 s)."
  },
  {
   "requirement": "Words as plain text, never HTML",
   "status": "pass",
   "kind": "mock+source",
   "location": "web/src/Frame.tsx:33-37 (React text nodes); no dangerouslySetInnerHTML in web/src",
   "evidence": "Words '<img src=x onerror=window.__xss=1>' and '<b>bold</b>' rendered literally; 0 injected img/b elements, window.__xss undefined."
  },
  {
   "requirement": "Look: light grey, black monospace, black outlines",
   "status": "pass",
   "kind": "mock",
   "location": "web/src/styles.css",
   "evidence": "Computed: body background rgb(228,228,228), color rgb(0,0,0), font 'ui-monospace, SFMono-Regular, Menlo, Consolas, \"Liberation Mono\", monospace'; frame and buttons 2px solid rgb(0,0,0)."
  },
  {
   "requirement": "About text, lowercase, linked to explorer.imd.fun/launch",
   "status": "pass",
   "kind": "mock+source",
   "location": "web/src/App.tsx:289-333 (#/about)",
   "evidence": "Exact paragraphs 'a mini experiment in multiplayer ai.' and link text 'this is just a tiny five word example. what will you build?' href https://explorer.imd.fun/launch; about text has no capitals."
  },
  {
   "requirement": "Disclosures",
   "status": "pass",
   "kind": "mock",
   "location": "#/about",
   "evidence": "'the nfts aren't worth anything.'; 'the contract is immutable: no owner, no admin, no upgrades.'; 'no fees are taken. the 0.1 imd a word costs pays for the image.'; 'no refunds. words are public and permanent.'; 'where to get imd' with a Uniswap link for 0xd34a...63b7. IMD is written lowercase here, consistent with the lowercase brief."
  },
  {
   "requirement": "Footer on every page",
   "status": "pass",
   "kind": "mock",
   "location": "web/src/App.tsx:72-74",
   "evidence": "Footer text exactly 'experimental, unaudited software. use at your own risk.' on #/, #/gallery, #/about, #/image/1..5."
  },
  {
   "requirement": "'onchain' as one word",
   "status": "pass",
   "kind": "mock+source",
   "location": "#/about",
   "evidence": "About says 'metadata and the word pictures are onchain.'; no 'on-chain' or 'on chain' in the visible text of any of the 8 routes."
  }
 ],
 "testRuns": [
  {
   "method": "live HTTP (curl) to named site and IPFS gateways",
   "when": "2026-11-26T06:56:48Z-07:05:35Z",
   "outcome": "named site: 200 for / and all 11 dist files, all sha256 equal; hash routes are client-side (#/...). IPFS: ipfs.io/dweb.link 429, pinata 403, 4everland timeout, eth.limo TLS error."
  },
  {
   "method": "live JSON-RPC eth_call (viem, publicnode) at block 26497758",
   "when": "2026-11-26T07:04:47Z",
   "outcome": "name fivewords, symbol FIVE, currentImage 1, totalSupply 0, amountDue 0.1 IMD, retryPrice 0.5 IMD, code present. Read-only."
  },
  {
   "method": "own Playwright 1.49 headless Chromium scenarios on the released dist (same bytes as served), with mocked RPC (manifest RPC URLs answered from in-memory state using the served ABI), EIP-6963 mock wallet, IPFS gateways mocked (502, or a PNG for print.png)",
   "outcome": "First run of mine_pages, mine_add, mine_network, mine_rounds: 48 of 49 checks passed. The one failure was my own check: it compared the OpenSea links case-sensitively against a checksummed address, and the links were correct. After fixing that, with print.png served by the mocked gateway, mine_rounds passed 9 of 9."
  },
  {
   "method": "the repo's own web/tests/mock-rpc.mjs scenarios (frames, delivered, price, allowance, decline, retry, clickprice, longprice, sheet, holders, escape) run on the same dist with screenshots disabled",
   "outcome": "75 passed, 0 failed."
  },
  {
   "method": "source inspection at 3d4e051",
   "outcome": "web/src/App.tsx, Actions.tsx, Frame.tsx, game.ts, config.ts read; findings in checks."
  }
 ],
 "findings": [
  {
   "id": "F1",
   "severity": "info",
   "title": "Service validation is out of date on the named site",
   "reproduction": "curl -I https://fivewords.imd.site/ -> 200 at 06:56:48Z; the workflow validation (checkedAt 06:52:22Z) says 'The named website did not answer yet'.",
   "impact": "None now; the named site answers."
  },
  {
   "id": "F2",
   "severity": "low",
   "title": "Delivered images depend on two public gateways",
   "reproduction": "config.ts IPFS_GATEWAYS = ipfs.io, dweb.link; both returned 429 to this machine.",
   "impact": "When both gateways refuse, the frame shows the words with 'image unavailable' instead of the picture (handled, not broken)."
  },
  {
   "id": "F3",
   "severity": "info",
   "title": "Address and ABI loaded at runtime",
   "reproduction": "config.ts:61-71 fetches ./imd-deployment.json and abi/FiveWords.json with cache no-cache.",
   "impact": "The site depends on the served manifest; the served copy matches the handoff."
  }
 ],
 "missing": [
  "Immutable CID entrypoint: no public gateway served it to this machine (429/403/timeout); CID content and served-CID equality not independently confirmed.",
  "ENS resolution of fivewords.identitymd.eth not checked onchain; eth.limo failed TLS.",
  "No real wallet or real browser extension tested (by design); mobile deep-link wallets not exercised beyond the repo 'sheet' scenario.",
  "abiHash canonical keccak not recomputed; deployed source at contract commit 29c4264 not compared with the imageURI logic in this repo's src/FiveWords.sol.",
  "No real image has been delivered yet (totalSupply 0), so the flip was only exercised with mocks."
 ],
 "sources": [
  "https://api.imd.fun/workflows/7c1baf52-c412-4eff-9dc7-612016bac5d8",
  "https://api.imd.fun/jobs/444671dd-51c6-41b1-922b-3a5ac3ffd8b3/result",
  "https://fivewords.imd.site/",
  "https://fivewords.imd.site/imd-deployment.json",
  "https://github.com/identity-md-launches/launch-3461-workflow-frontend-stage-context/blob/3d4e05169dee83b54928b965fcc064a02fba6444/web/src/App.tsx",
  "https://github.com/identity-md-launches/launch-3461-workflow-frontend-stage-context/blob/3d4e05169dee83b54928b965fcc064a02fba6444/web/src/Actions.tsx",
  "https://github.com/identity-md-launches/launch-3461-workflow-frontend-stage-context/blob/3d4e05169dee83b54928b965fcc064a02fba6444/web/src/Frame.tsx",
  "https://github.com/identity-md-launches/launch-3461-workflow-frontend-stage-context/blob/3d4e05169dee83b54928b965fcc064a02fba6444/web/src/config.ts"
 ]
}