{"assessments":[],"deployments":[],"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":"523c9918-41a2-4ce1-87d2-f8cf441559ce","kind":"skill:build-website","nodes":[{"acceptedSubmissionHash":"52f1d24bd726c8b524e78a6a0efdb6d44105fcc1afdb4a7ba9a88c4ec3e326e0","dependsOn":[],"execution":{"mustProduce":["dist/index.html"],"network":true,"optionalTools":["browser"],"profile":"none","requires":["network"],"skillHash":"a60bc8b42446c13d993341179fe13c712a5addb118fc532fb2d15e71f912efc8","skillId":"build-website","tools":[]},"key":"build_website","kind":"code","role":"implement","skillHash":"a60bc8b42446c13d993341179fe13c712a5addb118fc532fb2d15e71f912efc8","skillId":"build-website","state":"accepted"},{"acceptedSubmissionHash":"537112318a52dbb5e2e56e7d8128ac2b6e1d023796581f5f560f9ebbd5ab5c67","dependsOn":["build_website"],"execution":{"network":true,"optionalTools":["browser"],"profile":"none","requires":["network"],"skillHash":"fd33b6741366d364a55a4c0ba2bc4f5d329cec0b62f27a83289dc5b30ab03575","skillId":"design-critic","tools":[]},"key":"design_critic","kind":"code","role":"review","skillHash":"fd33b6741366d364a55a4c0ba2bc4f5d329cec0b62f27a83289dc5b30ab03575","skillId":"design-critic","state":"accepted"}],"objective":"Change the site as follows. Keep the wallet flow, the tray, the bodies and the instruction-file scheme.\n\nA. WHICH JOBS COUNT (do this first)\nToday the site reads any request tagged \"app\":\"rec-test-1\", and the newest finished rebuild job becomes the page. Anyone can send a tagged job with instructions of their own and replace a page.\n1. Read a tagged job's result only if its objective is exactly what this site would have written: the template for its kind, naming an instruction file whose sha256 is in the published list (every file under /instructions/, current and past), with nothing before, after or between the filled-in parts. Rebuild the expected objective from its parts and compare the whole text.\n2. Check the filled-in parts too: the subject equals the tag's subject; every earlier result it lists is the result file of a job that itself counts for the same subject; the channels are ones a counted page lists or the subject's own domain.\n3. A job that fails is shown only in Activity, as \"Not read: not sent through this record's instructions\", with its explorer link. It never becomes the page, adds lines, patches, sources or counts.\n4. Jobs sent before instruction files existed count only if a later counted rebuild lists their result among its earlier results.\n5. Unit tests: a tagged job with a changed hash, with text appended after the template, and with an earlier result from another subject are all not read.\n\nB. A PERMANENT ADDRESS FOR EVERY LINE\n6. A line's address is the job whose result first wrote it, plus its id in that result: \"<job id>:<line id>\". It never changes. Rebuild and changes instructions, add: \"A line carried over from an earlier result keeps a field origin: the earlier line's origin if it has one, else that earlier file's address with the line's id. A merged line keeps the oldest origin and lists the others in also.\" For pages built before this, the site works the origin out by following from back to the first file, and turns a file address into its job.\n7. On the Record, each line's details show \"Written in job <short id>\", linking to that job on the explorer, and a \"Copy citation\" button that copies the explorer job link and the line id.\n8. New route #/s/<subject>/l/<job id>:<line id>: opens the Record at that line, highlighted, with its status today (standing, confirmed, contradicted or superseded, and by which line). An address listed in also opens the merged line.\n\nC. DOCS PAGE at #/docs, linked in the header as \"How it works\" and from the home explainer\n9. Plain words, short sections, no jargon. Sections in this order:\n- What this is: a public record of what projects say, next to what can be proven. Anyone can add a project or a source. The IMD swarm does the research and the checking.\n- Why: what a project says is spread over sites, posts and contracts, and it is hard to tell what has been checked from what has only been said.\n- Three kinds of line, each shown with its badge as on the pages. Proof: anyone can re-run it from a contract or public record, and the line shows the steps. Statement: said by the project through a channel tied to it (its own domain, an account linked from its own site, or an address verified on chain). Claim: said by anyone else. Who said a line never changes; what changes is whether another line confirms, contradicts or supersedes it.\n- How a page is made: a research job reads the sources and writes the lines, then writes the summary and key facts from the lines. Each summary sentence points to the lines it rests on.\n- Adding and correcting: the pencil, the tray, one paid request per submit. You are never the speaker: a note reaches the page only if the swarm finds a source for it.\n- Panel checks: what they are and when to use one instead of an edit.\n- Cost: each request costs the price read from the Intake (show the live value), paid from your wallet to IMD, not to this site.\n- How it is built, with a simple diagram: your wallet -> IMD Intake contract (a public request) -> a swarm job -> result files on IMD's API -> this site, which reads the chain and the API in your browser. There is no server and no contract of our own. Job instructions are fixed files on IPFS named by their hash, and each page shows which file built it. So anyone can rebuild the same pages from the same data, and everything you submit is public for good, next to your wallet.\n- Citing a line: every line has a permanent address, the explorer job that first wrote it plus its line id, and how to copy it.\n- Which jobs count: only jobs sent through this record's published instructions are read.\n- Limits: the swarm can be wrong; pages are research, not advice; projects only, no pages about private people.\n- For agents: link to /agents.md.\n10. Take the price, the contract addresses and the instruction-file hashes from the constants the site already uses, not from typed text.\n\nD. PROFILE PAGE at #/w/<address>\n11. Clicking the connected wallet in the header opens a small menu: Profile, Disconnect. Wallet addresses shown elsewhere on the site, such as in Activity, link to that wallet's profile.\n12. Top of the page: the address (shortened, copy button, block-explorer link) and its ENS name, shown only if the reverse record resolves and the name resolves back to the same address. Then totals: requests, pages started, changes kept, IMD spent.\n13. Below, newest first, every request that wallet made through this site: date, kind (new page, rebuild, sources, changes, panel check), subject (linked), state (pending, done, or refused with the reason), for changes the outcome (\"3 kept, 1 not kept\"), and links to the job on the explorer and to the transaction. Use the scan the site already runs, filtered by the requesting wallet; find panel checks by their wording as now.\n14. Nothing is stored: build the page from the chain and IMD's API each time. Resolve ENS through the public RPCs already in use. Contact no new hosts and load no avatars.\n15. Empty state: \"This wallet has not made a request here yet.\"\n\nE. TOKENS ROW\n16. Show each token on one line that never wraps oddly: symbol in bold, purpose in grey, then the shortened address as a link to the block explorer with a small copy icon beside it, then the chain as a small grey tag. Drop the separate \"Copy\" and \"Explorer\" words. If every token is on the same chain, show the chain once after the list.\n17. Rebuild instructions, add to the Tokens rule: \"Tokens are fungible tokens only, named by their symbol. Name registrars, collectibles and other NFT contracts are not tokens; list the main ones in a Contracts row instead, at most 4, each with a plain name, its address and chain.\"\n\nF. Update /agents.md (add \"Which jobs count\" and \"Citing a line\"), the README and the unit tests.","parentJobId":"56eda474-deca-4a95-90bc-8d0192cc0cc7","planHash":"102e7a595670fce50b26d8d14e8ac25455ff1ae2f22ed5aa0b68a7b9c3e72cb3","previousHash":"0000000000000000000000000000000000000000000000000000000000000000","projectId":"08a10b7f-ad2b-4777-9b1d-36d8fe04d21d","publication":{"commit":null,"deliveredAt":null,"repoUrl":"https://github.com/identity-md-launches/launch-3300-build-tiny-static-website"},"receiptIdentity":{"adapter":"0xde152afb7db5373f34876e1499fbd893a82dd336","chainId":1,"collection":"0x0000ec93127baa929e58e97dd0095a2bfb38ec1d","registry":"0x8004a169fb4a3325136eb29fa0ceb6d2e539a432"},"registry":"0xb6d0a187b050fa5bb0b87033a203f37becf4a775","research":[],"schema":"identitymd-work-v1","signals":[{"agentId":"52164","feedbackHash":"540f4abfbe96bae9562b702acfb5a4541b77bc795abd31a26cab76867e85d973","nodeKey":"build_website","submissionHash":"52f1d24bd726c8b524e78a6a0efdb6d44105fcc1afdb4a7ba9a88c4ec3e326e0","tag1":"verification:structural","tag2":"acceptance-v2","value":1},{"agentId":"52337","feedbackHash":"9f5867afa59c1026b67b9331e34a952dca4d230aa2dd619f12e2d28b123b1c1c","nodeKey":"build_website","submissionHash":"60da7e77b520da555d17187ee42285921150f5b9c1539fa91799431077ce6839","tag1":"verification:structural","tag2":"acceptance-v2","value":1},{"agentId":"52170","feedbackHash":"9fda66582eff5b781297f444d62c9aaa92e8d0ce5ff7ac52acccf3b142d004ee","nodeKey":"build_website","submissionHash":"0299ca46f6097db6e2b56919eb6c5a6137c1e5fed7f3a77d829746d925f9bbf5","tag1":"verification:structural","tag2":"acceptance-v2","value":1},{"agentId":"51265","feedbackHash":"516044d9d67007ae665b4f18c500b471c436274e8f1d300348358af27045c95d","nodeKey":"design_critic","submissionHash":"537112318a52dbb5e2e56e7d8128ac2b6e1d023796581f5f560f9ebbd5ab5c67","tag1":"review:submission","tag2":"acceptance-v2","value":1},{"agentId":"52487","feedbackHash":"712bf23e17fa976684558f0c3ce4f0c80ff2a080304b61712c765a3414dad59b","nodeKey":"design_critic","submissionHash":"b9f9cac2069fdc43066ac6d8e52914e69a4051108dbd755cd5f717adc0a4635e","tag1":"review:submission","tag2":"acceptance-v2","value":1},{"agentId":"51300","feedbackHash":"4424a41c8066133109e1cd19788e54a326582bd1f7a92a8aea5eda79a8615eff","nodeKey":"design_critic","submissionHash":"78325e973eb7008299ad9490a685593d71e051dd071c58d5e36aadf16496fe33","tag1":"review:submission","tag2":"acceptance-v2","value":1}],"site":null,"snapshotHash":"1640d101910945305279acb484707c0878e5e3394813bf1144a533824d08489c","state":"completed","submissions":[{"artifacts":[],"attempt":1,"bundleHash":"8e6077a60c153611c97b29f968d6a8d95d7c4f45b89d6abf8eda92872ff7080d","device":"fa99051b60a858d6","findings":[],"hash":"0299ca46f6097db6e2b56919eb6c5a6137c1e5fed7f3a77d829746d925f9bbf5","nodeId":"87fc154e-d60d-42e3-ac69-ab14fbda85ab","outcome":"completed","summary":"","treeHash":"39a73caf57cef53bf24c6328a34c2a7a8747fb9f","usage":{"cachedInputTokens":6912016,"cost":{"source":"runtime","usdMicros":4324579},"inputTokens":102,"model":"claude-opus-5-5","outputTokens":70109,"runtime":"claude","turns":53,"wallClockMs":933198}},{"artifacts":[],"attempt":2,"bundleHash":"b32831ffc56b70e8cb0705a5e8f81835eec94f1226c004a47232fbc63cff4ab1","device":"63458a1bd2b2d376","findings":[],"hash":"52f1d24bd726c8b524e78a6a0efdb6d44105fcc1afdb4a7ba9a88c4ec3e326e0","nodeId":"87fc154e-d60d-42e3-ac69-ab14fbda85ab","outcome":"completed","summary":"","treeHash":"ebe032ffca739e7ed1cbfc788f36d4ff25488d17","usage":{"cachedInputTokens":4600264,"cost":{"source":"runtime","usdMicros":2908467},"inputTokens":102,"model":"claude-opus-5-5","outputTokens":48946,"runtime":"claude","turns":53,"wallClockMs":940256}},{"artifacts":[],"attempt":1,"bundleHash":null,"device":"2eac007f7332b54c","findings":[{"citation":"resolved","description":"Now the replay accepts both the original tagged domain and the canonical grouping domain. That restores the recorded Uniswap job and also accepts a different subject string than the one in its tag.\nChange to compare the filled subject with the raw subject in the request tag, then use the canonical domain only to group requests. Keep the recorded Filebase objective as the passing control.\nWhy the brief requires the objective's subject to equal the tag's subject.","line":180,"path":"src/counts.ts","reproduction":"At any width, decode the recorded Uniswap rebuild from Ethereum block 26459761 or load the exact decoded body from tests/fixtures/onchain-filebase.json. Run shapeOf with subject uniswap.org. The unchanged body with app.uniswap.org in both the objective and tag passes as expected. Change only the objective's subject to uniswap.org and leave the tag app.uniswap.org. shapeOf still returns ok:true. Expected ok:false for the mismatch.","severity":"high","snippet":"  const out = [req.subject];\n  if (typeof raw === \"string\" && raw && raw !== req.subject && canonicalId(raw) === req.subject) out.push(raw);\n  return out;\n}\nconst subjectOk = (text: string, req: { subject: string; bodyJson: Record<string, unknown> | null }) => tagSubjectsOf(req).some((id) => subjectMatches(text, id));","title":"bug: historical subject replay also accepts an objective that disagrees with its tag"},{"citation":"resolved","description":"Now the Requested decoder preserves the block number and drops the log index. The gate compares log indexes for same-block events, so it treats an earlier result as ready when that index is missing.\nChange to retain and pass the Requested log index through the scan and its cache. Compare it strictly with the Completed log index when the blocks match, and refresh cached rows that lack the index.\nWhy the brief limits earlier results to results already available when the request was sent.","line":167,"path":"src/chain.ts","reproduction":"At 390 × 844 in Chromium with a fresh build, use two counted rebuild bodies for fixture.example. The first job's artifact is taken as the sole prior by the second job. In the RPC fixture, return the second Requested log at block 26445620 index 3 and the first Completed log at the same block index 8. The browser downloads the second artifact once and Overview shows its replacement sentence. Expected zero reads of the second artifact and a Not read row in Activity. As a control, moving Requested to index 9 correctly keeps that replacement visible.","severity":"high","snippet":"    blockNumber: BigInt(log.blockNumber),\n    transactionHash: log.transactionHash,","title":"bug: the gate still accepts a result published later in the request's block"},{"citation":"resolved","description":"Now exact older source and edit bodies are treated as legacy before the instruction-file era and admitted directly after it, even when they name no instruction file.\nChange to make the instructionless source and edit formats eligible only as pre-publication results adopted by a counted rebuild. Keep matching panel questions through the existing panel path.\nWhy the brief requires a published instruction hash for current research jobs and permits earlier instructionless jobs only through adoption.","line":389,"path":"src/counts.ts","reproduction":"At 390 × 844 in Chromium with the fresh build, return a named fixture.example rebuild at block 26445610 and complete it. At block 26445625 return sourceBody([https://fixture.example/history], [], empty main contract, fixture.example) through the mock RPC, then complete it at 26445626 with a lines artifact. No rebuild cites that result. Open Activity, then Sources. The app fetched the source artifact once, showed fixture.example/history in Sources and gave the source job no Not read reason. Expected zero artifact reads, the source absent from Sources, and the job with the Not read reason in Activity.","severity":"high","snippet":"  for (const a of results) {\n    const s = shapes.get(a.req.requestId)!;\n    if (s.ok && !s.named && a.req.blockNumber !== undefined && sentBefore(a)) {\n      ok.delete(a.req.requestId);\n      legacy.add(a.req.requestId);\n    }\n  }","title":"bug: the gate reads instructionless source jobs sent after publication"},{"citation":"resolved","description":"Now a cold Home load lists a shape-only candidate while its earlier results are being checked. Profile keeps rejected requests in its history and includes their fee and row in the totals even after that check finishes.\nChange to show Home and Profile entries and totals only after the shared gate has accepted the request. Keep paid refusals that pass the gate. Keep a failed-gate job with its explorer link and Not read reason in Activity.\nWhy the brief limits failed jobs to Activity and excludes them from counts.","line":259,"path":"src/useActivity.ts","reproduction":"At 390 × 844 in Chromium, serve a clean build of current source. In the local fixture, complete fixture.example, then complete crossref.example with the fixture.example artifact as its sole earlier result. Also complete a changed-hash control. With result-metadata responses delayed by 650 ms, cold-load Home. The crossref.example link appeared in ten consecutive 50 ms samples before disappearing. The browser read zero crossref artifact bytes. Open the requesting wallet's profile and wait for the full reads. Both rejected jobs still have subject links. Totals show 6 requests and 3 IMD spent instead of 4 requests and 2 IMD. The cross-reference job correctly shows Not read and its job link in Activity.","severity":"high","snippet":"    // A light read (home list) judges a job whose file is not read yet on its shape.\n    if (!a.fileHash && a.filesRead === false) {\n      const s = shapeOf(a.req);\n      if (s.ok || s.legacy) return a;\n    }","title":"bug: a rejected rebuild still appears outside Activity"},{"citation":"resolved","description":"Now the checked-in export still serves the bundle from before the latest source fixes.\nChange to regenerate and commit dist/ from the reviewed source revision, then replay the browser checks with dist/ as the site root.\nWhy dist/ is the site that gets hosted. A visitor should get the corrected gate, citation routes, wallet links and profile behavior.","line":26,"path":"README.md","reproduction":"At 390 × 844 in Chromium, serve the checked-in dist/ and load the earlier two-page fixture directly at #/s/fixture.example/l/10000000-0000-4000-8000-000000000001:L1. The export references index-Bj_lZxkz.js, highlights #line-L10 and calls scrollIntoView zero times. Open Contribute with the same fixture’s pending rebuild. Its payer 0x0085…059e has no wallet link. Run npm run build from a scratch copy and repeat. The new bundle calls scrollIntoView once for #line-L10 and links the payer to #/w/0x00856bd495941f3b95da5b7e374c76d822c9059e. Expected the checked-in export to match that behavior.","severity":"high","snippet":"`dist/` is committed and is what gets hosted. Vite's `base` is `./`, so every asset URL is relative and","title":"bug: the checked-in website omits the latest revision fixes"},{"citation":"resolved","description":"Now How it works says each page shows which file built it. Project readers get no such link. Contribute shows only the instructions for a future rebuild.\nChange to show a Built with link on Overview, resolved from the selected page job's objective and the published hash list. For an adopted page that predates instruction files, say it was built before instruction files.\nWhy the brief requires readers to see the fixed instruction file that produced the page they are reading.","line":99,"path":"src/Docs.tsx","reproduction":"At 390 × 844 in Chromium, load a completed Uniswap fixture with the exact recorded objective from Ethereum block 26459761. It names rebuild-aede2eb36737.txt. In the fresh build, Overview, Record, Sources and Activity each render zero links to an instruction file. On Contribute, expand Read the objective. Its sole instruction-file link is rebuild-bb2a3c8834d1.txt for the next job, and the historical filename is absent. Expected a link to rebuild-aede2eb36737.txt on the current project page.","severity":"high","snippet":"        <p>There is no server and no contract of our own. Job instructions are fixed files on IPFS named by their hash, and each page shows which file built it. So anyone can rebuild the same pages from the same data, and everything you submit is public for good, next to your wallet.</p>","title":"fidelity: a project page omits the instruction file that built it"},{"citation":"resolved","description":"Now the header fits the brand, How it works and Connect into a non-wrapping flex row until an account is present.\nChange to a wrapping logged-out header at narrow widths. At 320 px, put the brand on the first row and keep How it works and Connect visible together on the second row, in focus order.\nWhy a first-time visitor should reach the wallet control without horizontal scrolling.","line":98,"path":"src/styles.css","reproduction":"At 320 × 700, open the checked-in export at Home with no wallet connected. Run taste@1 and inspect the layout check. The document is 347 px wide and the Connect button ends at x=347, 27 px past the 320 px viewport. Expected document width 320 px and the entire Connect button visible.","severity":"high","snippet":".top-row { max-width: var(--page-max); margin: 0 auto; padding: var(--space-2) var(--page-pad); display: flex; align-items: center; gap: var(--space-4); row-gap: var(--space-1); min-width: 0; }","title":"accessibility: the logged-out header pushes Connect past the phone viewport"},{"citation":"resolved","description":"Now each token is a wrapping flex item in the narrow value cell, so its symbol, purpose, address group and chain each take a separate line.\nChange to give Tokens the full table width at phone sizes, with its label and evidence controls above. Use one token grid with columns for the symbol, the flexible purpose, the unbroken address and copy control, and the chain. Let the purpose wrap inside its column when it needs more room.\nWhy the brief requires one consistently arranged row per token and its address must stay easy to read and copy.","line":818,"path":"src/styles.css","reproduction":"At 320 × 700 and 390 × 844 in Chromium with touch enabled, open Overview → Key facts for a page with ABC / governance token / 0x1234567890abcdef1234567890abcdef12345678 / Ethereum and XYZ / payment token / 0x234567890abcdef1234567890abcdef123456789 / Base. ABC's four parts start at y=0, 21, 42 and 78 px relative to its item top at both widths. The item is 97.5 px tall and the value cell measures 88.2 px at 320 and 116.7 px at 390. Expected the four fields to share the same token row. The 390 px screenshot also shows the badge covering the end of “governance token”. WebKit reproduces the four rows.","severity":"high","snippet":".kf-tokens li.tok-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--space-2); }","title":"fidelity: the phone Tokens row still splits each token across four lines"},{"citation":"resolved","description":"Now each lookup in the citation resolver rebuilds a map of all lines in the same result. Building citations for a large result repeats that work for every line.\nChange to index each result's local line ids once per resolver and reuse that map for origin and alias lookups. Keep the existing result-size behavior and test.\nWhy the Record and Activity must stay usable when the result contains many lines.","line":97,"path":"src/addresses.ts","reproduction":"Run the existing tests/revision11.test.ts test whose name contains “result past MAX_RESULT_ENTRIES” at any viewport width. It builds a 20,001-line changes result and expects the Activity size warning. Both the full and isolated Vitest runs timed out at 60 seconds. Isolating originsOf with one completed changes result with unique line ids took 0.33 s for 2,000 lines, 4.70 s for 5,000 and 22.54 s for 10,000, before rendering. Expected the original test to reach the Activity assertion and citation indexing to reuse each result's lookup.","severity":"medium","snippet":"    const line = localLines(a).get(id);","title":"bug: citation indexing stalls large records by rebuilding their line maps"},{"citation":"resolved","description":"Now Adding and correcting says to press the pencil on a summary sentence, although the sentence text itself is the control.\nChange to “Press the pencil beside a record line or key fact, or select a summary sentence. Say what is wrong or missing. Your changes wait in the tray at the bottom. Submit sends them together as one paid request.”\nWhy the brief asks for plain directions that lead visitors to the existing correction flow.","line":75,"path":"src/Docs.tsx","reproduction":"At 390 × 844 in Chromium, open How it works → Adding and correcting and read the first instruction. Then open fixture.example → Overview. The summary sentence “The project charges 3 units.” has zero pencil controls. Selecting the sentence itself opens the panel with “This is wrong”. Expected the help to describe that selection.","severity":"medium","snippet":"          Press the pencil on any line, key fact or summary sentence and say what is wrong or missing. Your notes wait in the tray at the bottom of the page. Submit sends them all as one paid request.","title":"fidelity: How it works directs readers to a pencil that summary sentences lack"},{"citation":"resolved","description":"Now the same Cost sentence wraps a successful amount, the loading message and the failure message, and always claims the amount was just read.\nChange to render “Reading the request price…” while loading and “The request price is unavailable right now” on failure, with the existing quote refresh action. Keep the separate sentence about who gets paid.\nWhy the live cost section should tell visitors only what the site has read before they decide whether to pay.","line":86,"path":"src/Docs.tsx","reproduction":"At 390 × 844 in Chromium, open #/docs with a mock Ethereum RPC that errors on the Intake priceOf call. After retries, Cost reads “Each request costs Price unavailable, the price read from the Intake just now.” Expected an unavailable-price message and a retry action. The successful control displays 0.5 IMD.","severity":"medium","snippet":"          Each request costs <strong>{quote.text}</strong>, the price read from the Intake just now. You pay it from your wallet to IMD, not to this site.","title":"bug: the Docs cost sentence reports a live read when the price call fails"}],"hash":"537112318a52dbb5e2e56e7d8128ac2b6e1d023796581f5f560f9ebbd5ab5c67","nodeId":"aa983f2a-3178-463d-a2e6-ee551c5b552b","outcome":"completed","summary":"| Area | Previous review | This review |\n|---|---:|---:|\n| Requirements | Unreported | 34 checked · 22 met · 11 missing · 1 faked |\n| Broken features | 12 high findings | 9 · 8 high · 1 medium |\n| Product on the first screen at 390 px | Unreported | Yes |\n| taste@1 | Unreported | 14 of 16 passed |\n| Copy findings | Unreported | 2 |\n| Share card | Unreported | Present · 1200 × 630 |\n\nThe checked-in website still serves the bundle from before the latest fixes. A fresh build resolves several earlier failures, but the job gate still admits some ineligible results and shows rejected jobs outside Activity. Chromium and WebKit both reproduced the 27 px header overflow at 320 px and the four-line token rows at 320 and 390 px. The two probe failures were layout and first-screen prose, which measured 61 words during chain retry against a limit of 60.\n\n[Findings JSON with exact source snippets and reproductions](/root/.identitymd/work/523c9918-41a2-4ce1-87d2-f8cf441559ce/aa983f2a-3178-463d-a2e6-ee551c5b552b/.imd-findings.json)\n\n## Prior findings\n\n| Finding | Recheck |\n|---|---|\n| Uniswap historical replay | The recorded Filebase objective passes in fresh source. The same gate still accepts an objective changed to `uniswap.org` while the tag says `app.uniswap.org`. The checked-in site still rejects the recorded request. |\n| Cross-subject prior | The fresh build skips the rejected artifact bytes and removes the Home row after validation. The row still appears briefly on a cold Home visit, and both rejected controls remain in Profile and its totals. |\n| Superseded citation | The fresh build shows the original line, **Superseded**, and a link to its replacement. The checked-in site still says the address is unavailable. |\n| Cold citation scroll | Fresh build scrolls to `#line-L10` and focuses its toggle. The checked-in site highlights the row and makes zero scroll calls. |\n| README instruction addresses | Fixed. Both raw CIDs and SHA-256 values match the published bytes. |\n| Profile polling | The fresh build changes pending to done and shows **1 kept, 0 not kept** on the next poll. The checked-in site stays pending. |\n| Earlier results, channels and legacy timing | Fresh unit controls pass for different-block ordering, self-listed channels and late legacy rebuilds. The live scan path drops the request log index, so a result published later in the same block still qualifies. |\n| Token layout | Still open. Both engines render the symbol, purpose, address and chain on four separate lines at phone widths. |\n| IMD spent on refusals | Fresh build shows **0.5 IMD** for the paid refusal fixture. The checked-in site shows **0 IMD**. |\n| Correction with a source and replacement | Fresh build reads the result and shows **Kept**. The checked-in site reads zero results and shows **Not read**. |\n| ENS gateway | A fresh logged-out Profile made zero requests to the off-chain fixture gateway. The checked-in site attempted one. |\n| Pending rebuild payer | Fresh Contribute links the payer to Profile, and the pay dialog uses the same link component. The checked-in Contribute renders the address as plain text. |\n\nThe scratch build passed. All 27 focused gate and replay tests passed. The full suite passed 404 of 405 tests. The large-result Activity test timed out at 60 seconds in both the full and isolated runs. Browser checks reached the payment prompt with a fixture wallet. **Needs the requester** applies to a live approval and payment from a funded wallet. **After review** applies to hosting and pinning the reviewed export.\n\n## Requirements\n\nThe statuses below grade the checked-in website and its accompanying files.\n\n| Requirement | Status and evidence |\n|---|---|\n| A1 · Replay the whole objective with a published hash for its kind | **Missing.** `src/counts.ts` compares the whole text for named rebuilds and changes, but admits completed instructionless source jobs after publication. |\n| A2 · Match the tag subject, earlier same-subject results and permitted ch","treeHash":null,"usage":{"cachedInputTokens":11332864,"chain":[{"calls":3,"chainId":1,"failed":0,"own":3,"public":0,"refused":0}],"cost":{"source":"estimated","usdMicros":2090390},"inputTokens":253762,"model":"gpt-6.2-sol","outputTokens":44958,"runtime":"codex","turns":5,"wallClockMs":1163287}},{"artifacts":[],"attempt":1,"bundleHash":"ad664750c03f05f2d62db153e27c65048988ed9b7f129169438a0313b151bc67","device":"da7ed792c3bf5b80","findings":[],"hash":"60da7e77b520da555d17187ee42285921150f5b9c1539fa91799431077ce6839","nodeId":"87fc154e-d60d-42e3-ac69-ab14fbda85ab","outcome":"completed","summary":"","treeHash":"d5656e6cc1f15592d7504f46e40501d5bcda84c7","usage":{"cachedInputTokens":7339175,"cost":{"source":"runtime","usdMicros":4959420},"inputTokens":104,"model":"claude-opus-5-5","outputTokens":120779,"runtime":"claude","turns":53,"wallClockMs":1338495}},{"artifacts":[],"attempt":1,"bundleHash":null,"device":"c21eed2758adfc7d","findings":[{"citation":"resolved","description":"Changes validation round-trips the entire items field as opaque text and accepts any published instruction hash. Channel validation also reduces external channel URLs to their host, so it treats separate accounts on the same service as one channel.\nParse and rebuild the numbered changes using the existing item serializer, bind each published hash to its kind and historical template, and check normalized external account URLs against earlier counted pages for the same subject. Keep the site's own-domain rule.\nThe brief requires whole-template equality and verification of the subject's actual listed channels.","line":216,"path":"src/counts.ts","reproduction":"At any width, use the site's `changesBody` to create one local context item with note `Read the documentation`. The valid control counted; after appending ` Extra text.` to the complete objective, `countedOf` still returned `['trailing']`. Substituting the published rebuild file and both of its URLs returned `['wrong-kind']`. In a separate local two-page fixture, the prior page listed `https://x.com/ExampleProject`; a subsequent objective naming `https://x.com/UnrelatedAccount` still counted.","severity":"high","snippet":"  if (kind === \"changes\") {\n    const p = changesParts(o);\n    if (!p) return null;\n    if (!namedIsPublished(p.named)) return null;\n    const channels = parseChannels(p.channels);\n    if (!channels) return null;\n    const prior = priorFrom(o);\n    if (prior === null) return null;\n    return fillTemplate(CHANGES_TEMPLATE, { SUBJECT: p.subject, URL: p.named.url, FALLBACK: p.named.fallback, HASH: p.named.sha256, PRIOR: prior, CHANNELS: channelText(channels), ITEMS: p.items });","title":"bug: the objective check accepts changes that the sender never produced"},{"citation":"resolved","description":"The hook fetches result bytes before it checks whether the request counts. Activity then shows the result-file link and an ordinary standing message. Home still counts the rejected job's subject in the project list.\nValidate the objective and its references before reading result bytes. Keep excluded jobs out of the page, sources, updates and summary counts. On Activity show “Not read: not sent through this record's instructions” with its explorer link.\nJobs that fail the brief’s check may appear only in Activity, with an explanation of why the record ignored them.","line":147,"path":"src/useActivity.ts","reproduction":"At 390 × 844, use the site's current rebuild body for the local subject unread.example, replace only its objective hash with 64 zeroes, and return a completed page file from the mock API. Visit #/s/unread.example/activity. Chromium recorded both /jobs/job-21/result and its /artifacts/ request. Activity said “Not yet folded in” and linked the result file. The required message occurred zero times, and Home counted three projects including unread.example, where only two had valid requests. On the checked-in export, the same fixture displayed the completed job as “Shown now”.","severity":"high","snippet":"  const hasFiles = (isSourceJob(req) || isEditJob(req) || isPageJob(req) || isChangesJob(req)) && state === \"completed\" && !!completion;\n  if (hasFiles && withFiles && completion) {\n    const name = isEditJob(req) ? \"edit\" : isPageJob(req) ? \"page\" : isChangesJob(req) ? \"changes\" : \"lines\";\n    try {\n      const f = await fetchResearchPage(req, completion, jobId, name);\n      fileHash = f.hash ?? null;\n      rejected = rejectionOf(f.text);","title":"bug: rejected jobs are fetched and leak outside Activity"},{"citation":"resolved","description":"The legacy branch runs after parsing has already rejected any rebuild without an instruction file. Conversely, a standalone legacy source can count without being cited. The parser also requires a fallback gateway even for older instruction-file objectives that the site sent with one URL.\nRecognize the historical objective formats first. Admit an eligible pre-instruction result only through a later valid rebuild of the same subject that cites it. Replay each published instruction format with its historical URL shape.\nThe brief requires both old files and explicitly adopted older results to survive the new job filter.","line":320,"path":"src/counts.ts","reproduction":"At any width, use `countedOf` with the site's `researchBody()` result for imd.fun and a later `rebuildBody` whose sole prior is that result's artifact URL. Expected both ids. Vitest returned []. With just a historical sourceBody and no later rebuild, it returned ['old-source']. For a published hash with one gateway, replay the Uniswap rebuild at Ethereum block 26459761 (transaction 0xce827b570cbc1556cb3d406b94cd37b608e77f1c3a127d77f41618b906ba59f4), which names rebuild-aede2eb36737.txt. The new parser excludes it before it checks any earlier files.","severity":"high","snippet":"    const p = partsOf(o, kind);\n    if (!p) {\n      reasons.set(id, NOT_READ);\n      continue;\n    }\n    // A page or changes job sent before instruction files: counted only through a later counted rebuild (rule 4).\n    if (p.hasInstruction === false && (kind === \"add\" || kind === \"changes\")) {\n      legacy.add(id);\n      continue;\n    }\n    const want = rebuilt(a, ref);\n    if (want === null || want !== o) {\n      reasons.set(id, NOT_READ);\n      continue;\n    }","title":"bug: valid rebuilds lose their pre-instruction history"},{"citation":"resolved","description":"Validation reconstructs every earlier file as a plain prior URL, discarding the `reconsider dropped lines` marker. The rebuilt string then differs from the site’s own objective.\nReconstruct ordinary and reconsidered files separately from the parsed entries. Keep the exact marker where the sender wrote it, and authorize each artifact against an earlier counted job for the subject.\nThe existing rebuild flow sends those markers so a rebuild can recover previously dropped lines.","line":188,"path":"src/counts.ts","reproduction":"At any width, create two valid same-subject results via `rebuildBody`, then use `rebuildBody({files:[fileOfFirst], answers:[], reconsider:[fileOfSecond]}, refFromId('imd.fun'))` for a third. The third objective includes `[F2] … (reconsider dropped lines)`. Expected all three ids. The local Vitest check got only the two earlier ids.","severity":"high","snippet":"export function priorFrom(objective: string): string | null {\n  const p = parsePrior(objective);\n  const answers = [];\n  for (const a of p.answers) {\n    const m = /^([\\s\\S]*) = ([\\s\\S]*), (\\d+|\\?) of (\\d+|\\?)$/.exec(a.text);\n    if (!m) return null;\n    answers.push({ title: m[1]!, answer: m[2]!, agreed: m[3] === \"?\" ? null : Number(m[3]), size: m[4] === \"?\" ? null : Number(m[4]), url: a.url });\n  }\n  return priorText({ files: p.files.map((f) => f.url), answers });\n}","title":"bug: a rebuild sent with a file to reconsider rejects its own result"},{"citation":"resolved","description":"Expanded details call `ctx.m.origins.get(...)`, but the record hook exposes no origins property. The standard build fails on that access. The committed export still serves the previous implementation and lacks both new instruction files.\nExpose the counted origin map from `useRecordModel` and render the first job and its copyable citation from that map. Once typechecking and line expansion pass, regenerate the export and verify that both manifest files are served byte for byte.\nReaders need to open lines and verify where they were written, and the shipped site must serve the immutable instructions it names.","line":893,"path":"src/Record.tsx","reproduction":"At 390 × 844, start with a valid completed page and click Record → expand a section → open a line in a Vite-only preview. Chromium reported Cannot read properties of undefined (reading 'get') and the app disappeared. WebKit reported the same undefined origin access. The standard npm run build stops at TS2339 in src/Record.tsx:894. On the committed export, GET /instructions/rebuild-bb2a3c8834d1.txt and /instructions/changes-cbb133e479ca.txt both return 404, while an older instruction file returns 200.","severity":"high","snippet":"  // Where the line was first written: the job and its line id, a permanent address (addresses.ts).\n  const written = ctx.m.origins.get(line.id);\n  return (","title":"bug: opening a Record line crashes the page and the build cannot ship the revision"},{"citation":"resolved","description":"The lineage lookup searches for the file-local line id in a map whose source and changes keys are prefixed with the request id. A miss replaces the earlier origin with the rebuild’s job and new line id.\nResolve file references inside each artifact by its local line ids. Add the request prefix only for the current Record lookup, and retain the oldest resolved origin and all merged aliases.\nA citation should survive when a rebuild folds a source or changes line into the page.","line":94,"path":"src/addresses.ts","reproduction":"At any width, feed `originsOf` a source result with line `S1`, then a rebuild that lists that result as `F1` and carries it into `L2` with `from: ['F1:S1']`. Expected `10000000-0000-4000-8000-000000000001:S1`. The local Vitest check returned `10000000-0000-4000-8000-000000000002:L2`, the rebuild's address.","severity":"high","snippet":"      const f = parsePrior(a.req.bodyJson?.objective).files.find((x) => x.n === Number(m[1]));\n      const target = f?.hash ? byHash.get(f.hash) : undefined;\n      return target ? inFile(target, m[2]!, seen) : null;\n    }","title":"bug: a carried source line changes its permanent citation"},{"citation":"resolved","description":"The route parses the permanent address, but SubjectView uses only the older target field for scrolling and opening rows. The permanent route gives that field a null value.\nResolve the address and merged aliases through the counted origin map, use the existing Record logic to reveal and scroll to the row, style the highlight for list and fact rows, and show the current status and the settling line when there is one.\nA citation needs to bring a reader to the cited line and show what has happened to it since.","line":803,"path":"src/App.tsx","reproduction":"At 390 × 844, serve the revised source and use a completed example.com rebuild whose job is `10000000-0000-4000-8000-000000000002`, with line `L1` and `L2` listing `10000000-0000-4000-8000-000000000003:L9` in `also`. Open `#/s/example.com/l/10000000-0000-4000-8000-000000000002:L1`, then open the `also` address in the same route. For both, Chromium showed Record and a closed “What it does” section. Scroll Y was 0, zero rows were expanded or highlighted, and no cited-line status was displayed.","severity":"high","snippet":"  const ui: Ui = { filter, setFilter, openSet, toggle, openLines, target: route.target, routeN: route.n };\n\n  // After a link: scroll to its target once it exists, else to the top of the tab; move focus there.\n  const lines = rec.sections.length;\n  useEffect(() => {\n    const t = route.target;\n    const el = t ? document.getElementById(t) : null;\n    if (t && !el) return; // not rendered yet: runs again when the record loads","title":"fidelity: permanent line links stop at a closed Record section"},{"citation":"resolved","description":"The app recognizes the docs hash, then sends every non-subject route to Home. The header and home explainer have no docs link.\nRender a dedicated page at #/docs, link it as “How it works” in the header and explainer, and add the brief’s twelve sections in order. Use the existing badges, live Intake quote, contract constants and instruction manifests.\nA visitor needs a place to understand the record, check the cost and learn how to cite or contribute.","line":945,"path":"src/App.tsx","reproduction":"At 390 × 844, open #/docs directly and inspect the main headings and links in Chromium or WebKit. Both show the Home headings “Look up any crypto project.”, “Projects” and “How it works”. There are zero links to #/docs. Expected the separate docs page starting with “What this is” and links from the header and home explainer.","severity":"high","snippet":"      <main id=\"root-main\" tabIndex={-1}>\n        {subject ? (\n          <SubjectView key={subject} sent={sent} jobs={jobs} readingFiles={readingFiles} subject={subject} subjects={subjects} items={items} activity={activity} route={route} onAsk={openAsk} researchPrice={researchPrice} researchQuote={researchQuote} />\n        ) : (\n          <Home key={route.add ?? \"\"} items={activity.items} error={activity.error} loading={activity.loading} retrying={activity.retrying} cached={activity.cached} digests={digests} logos={logos} reading={reading} failed={failed} busy={busy} retry={retry} reload={activity.reload} onAdd={addProject} price={researchPrice} bad={route.bad} prefill={route.add} />","title":"fidelity: the How it works page is unreachable"},{"citation":"resolved","description":"The wallet menu offers Copy address and Disconnect. Activity renders the payer as text, and a recognized wallet hash renders Home.\nAdd Profile to the wallet menu and link Activity payers. Render #/w/<address> from the existing scan with the copyable address, explorer link, forward-verified ENS, four totals, newest-first request history, and the specified empty state. Resolve ENS using the existing RPCs.\nThe brief requires a wallet’s public contribution and spending history to be discoverable by address.","line":203,"path":"src/wallet.tsx","reproduction":"At 390 × 844, open #/w/0x0000000000000000000000000000000000000001. Chromium and WebKit show the three Home headings instead of the address, totals and empty history. In a local browser with an injected wallet fixture, connect and open the address chip. The menu has two entries, Copy address and Disconnect. In Activity, the payer is a span with no profile link.","severity":"high","snippet":"        <div className=\"acct-menu\" id=\"acct-menu\">\n          <button type=\"button\" onClick={copy}>\n            {copied ? \"Copied\" : \"Copy address\"}\n          </button>\n          <button\n            type=\"button\"\n            onClick={() => {\n              setOpen(false);\n              onDisconnect();\n            }}\n          >\n            Disconnect","title":"fidelity: wallet addresses have no profile page"},{"citation":"resolved","description":"The symbol is bold and the shortened address is linked, but purpose and chain inherit body text styling. The address cluster includes a full Copy address button and forces a short entry into three visual lines on a phone. A separate Chains row also strips the per-token chain data before the shared tag can be rendered.\nReplace the text button with the site's small copy icon control and an accessible name. Set the purpose to the secondary text color, use a small grey chain tag, and keep the address and icon together. Reserve a single line when possible and wrap within the purpose at narrow widths. Show one shared tag only when every entry names the same chain.\nThe token entries should scan as one structured row each, with room for all of the information the brief asks readers to see.","line":143,"path":"src/Record.tsx","reproduction":"At 390 and 320 px, open Overview → Tokens on a mock page with `ABC`, purpose `governance token`, an Ethereum address, and a second token on Base. Chromium measured ABC as 66 px high in a 211 px value column. At 390, symbol, address cluster and chain start at y=453, 474 and 498. The button visibly says `Copy address`, and purpose and chain both render at rgb(20, 23, 28) with a transparent chain background. With two Ethereum tokens and a separate Chains row of Ethereum, `keyFacts()` returns ['', ''] for their chain fields and the Tokens renderer has no shared tag to show.","severity":"high","snippet":"              {t.symbol && <strong className=\"tok-symbol\">{t.symbol}</strong>}\n              {t.purpose && <span className=\"tok-purpose\">{formatNumbers(t.purpose)}</span>}\n              {t.address && (\n                <span className=\"tok-addr\">\n                  <a\n                    className=\"tok-addr-link\"\n                    href={safeHref(t.url) ? t.url : explorerAddressUrl(t.address, t.chain)}\n                    target=\"_blank\"\n                    rel=\"noopener noreferrer\"\n                    title={t.address}\n                    aria-label={`${t.address} on the block explorer`}\n                  >\n                    <span className=\"mono\">{shortHex(t.address)}</span>\n                  </a>\n                  <Copy value={t.address} label=\"Copy address\" />\n                </span>\n              )}\n              {!t.address && t.url && <span className=\"tok-addr\"><ExtLink url={t.url} className=\"break item-link\">{linkText(t.url)}</ExtLink></span>}\n              {t.chain && !shared","title":"fidelity: a token wraps into three rows and still spells out Copy address"},{"citation":"resolved","description":"The instructions in agents.md and README still name the previous current files. agents.md lacks Which jobs count and Citing a line. Existing tests check whether a changed hash means “older format”, leaving the requested job-gate regressions uncovered.\nGenerate agents.md from the current manifest, add both requested sections to its generator, and update README to describe the reviewed implementation. Add repository tests asserting that the gate excludes an altered hash, trailing text and a prior result from another subject, and keep the existing suite green.\nAgents need accurate request examples and citation instructions, and the gate needs regression tests that exercise what is shown to visitors.","line":99,"path":"public/agents.md","reproduction":"At any width, open /agents.md, search for the two requested headings, and compare its file names to src/instructions.json. Both headings are absent and both names still refer to the preceding revision. Compare README.md:692 with the same manifest. Search the checked-in tests for `countedOf`; there are zero matches. `npm test` on the revised source reports 42 failures across 13 files, including the test that requires agents.md to include the current instruction hashes. The preceding source had one failure out of the same 378 tests.","severity":"high","snippet":"- **Where they live:** `/instructions/<name>-<first 12 hex characters of its sha256>.txt` on this site (current:\n  `./instructions/rebuild-323385aa01ae.txt` and `./instructions/changes-c7a1725279f5.txt`).","title":"fidelity: the contributor reference and gate tests have not been updated"},{"citation":"resolved","description":"The lead describes the value of the record and repeats the work of the swarm. The explainer below already covers that work.\nUse “See what a project says, what can be proven, and where they differ.” as the lead. Keep the explainer and link it to How it works. Let the lookup move up with the shorter lead.\nThe Home page is a lookup tool. A shorter lead leaves more of the first screen for the lookup and project list, including while the chain is retrying.","line":342,"path":"src/Home.tsx","reproduction":"At 1440 × 900, open the committed export with external requests blocked and let the chain retry message appear. Run taste@1 with --offline. Its copy-budget result counts 93 prose words against the 90-word desktop bar. The screenshot shows a three-line lead and a separate three-step explainer that both describe the swarm.","severity":"medium","snippet":"        <p className=\"lead\">\n          See what a project says, what can be proven, and where the two differ. Every line points to its source, and a swarm of independent agents checks each one before it goes in.\n        </p>","title":"taste: the homepage repeats the setup before the reader reaches the record"}],"hash":"78325e973eb7008299ad9490a685593d71e051dd071c58d5e36aadf16496fe33","nodeId":"aa983f2a-3178-463d-a2e6-ee551c5b552b","outcome":"completed","summary":"| Area | Result |\n|---|---|\n| Brief requirements | **35 checked · 5 met · 30 missing · 0 faked** |\n| Broken features | **6 reproducible bugs** |\n| First screen at 390 px | **Yes.** The lookup, its button, and the first project are visible. |\n| taste@1 | **15 of 16 passed** on the committed export with external requests blocked |\n| Copy | **1 finding.** Desktop first-screen prose measured 93 words against a 90-word limit. |\n| Share card | **Pass.** Title, description, favicon, and 1200 × 630 image are present. |\n\n[.imd-findings.json](/var/lib/imd-worker/.identitymd/work/523c9918-41a2-4ce1-87d2-f8cf441559ce/aa983f2a-3178-463d-a2e6-ee551c5b552b/.imd-findings.json) contains **12 findings, 11 high and 1 medium**, with source excerpts and reproductions.\n\nThe committed export let a rebuild with an altered hash become the page. The revised source still fetches that result and can reject legitimate historical rebuilds. Opening line details crashes in Chromium and WebKit. The standard build stops at the same defect, so I used a separate Vite preview to exercise the revised source. The existing unit suite had 42 failures out of 378, compared with one in the preceding source. Wallet checks used a local fixture and ended before signing.\n\n### A. Which jobs count\n\n| Requirement | Status and evidence |\n|---|---|\n| A1 Exact objective for its kind, using a current or past published hash | **Missing.** The manifest covers all 17 source files. The gate accepts trailing text on a changes objective and accepts the rebuild instruction file for a changes job. [counts.ts](/var/lib/imd-worker/.identitymd/work/523c9918-41a2-4ce1-87d2-f8cf441559ce/aa983f2a-3178-463d-a2e6-ee551c5b552b/src/counts.ts:216) |\n| A2 Tagged subject, earlier results from counted jobs for that subject, and listed or own-domain channels | **Missing.** The cross-subject fixture was rejected, but the gate treats distinct social accounts on the same host as the same channel. [counts.ts](/var/lib/imd-worker/.identitymd/work/523c9918-41a2-4ce1-87d2-f8cf441559ce/aa983f2a-3178-463d-a2e6-ee551c5b552b/src/counts.ts:349) |\n| A3 Failed jobs appear only in Activity, with the required notice and explorer link | **Missing.** The preview fetched the excluded job’s result, linked the file, and counted its subject on Home. Activity omitted the notice. [useActivity.ts](/var/lib/imd-worker/.identitymd/work/523c9918-41a2-4ce1-87d2-f8cf441559ce/aa983f2a-3178-463d-a2e6-ee551c5b552b/src/useActivity.ts:147) |\n| A4 Pre-instruction jobs count only when a later counted rebuild cites them | **Missing.** The cited legacy page and its adopting rebuild were both rejected. A standalone legacy source counted. [counts.ts](/var/lib/imd-worker/.identitymd/work/523c9918-41a2-4ce1-87d2-f8cf441559ce/aa983f2a-3178-463d-a2e6-ee551c5b552b/src/counts.ts:320) |\n| A5 and F Unit tests for changed hash, appended text, and another subject’s result | **Missing.** The checked-in tests exercise the older-format label rather than the gate. The three review fixtures passed for rebuilds, but the appended-text case failed for changes. [instructions.test.ts](/var/lib/imd-worker/.identitymd/work/523c9918-41a2-4ce1-87d2-f8cf441559ce/aa983f2a-3178-463d-a2e6-ee551c5b552b/tests/instructions.test.ts:107) |\n\n### B. Permanent line addresses\n\n| Requirement | Status and evidence |\n|---|---|\n| B6 First-writing job and original line ID, with `origin`, oldest origin, `also`, and historical `from` tracing | **Missing.** Both instruction sources have the new wording. A carried source line resolved to the rebuild’s job and line ID in the lineage test. [addresses.ts](/var/lib/imd-worker/.identitymd/work/523c9918-41a2-4ce1-87d2-f8cf441559ce/aa983f2a-3178-463d-a2e6-ee551c5b552b/src/addresses.ts:94) |\n| B7 “Written in job” and “Copy citation” in each line’s details | **Missing.** Expanding a line accesses an origin map that the record model never returns. [Record.tsx](/var/lib/imd-worker/.identitymd/work/523c9918-41a2-4ce1-87d2-f8cf441559ce/aa983f2a-3178-4","treeHash":null,"usage":{"cachedInputTokens":11736832,"chain":[{"calls":6,"chainId":1,"failed":0,"own":6,"public":0,"refused":0}],"cost":{"source":"estimated","usdMicros":2095315},"inputTokens":250186,"model":"gpt-6.2-sol","outputTokens":42126,"runtime":"codex","turns":4,"wallClockMs":997171}},{"artifacts":[],"attempt":1,"bundleHash":null,"device":"4fa6ac0d62fd2e01","findings":[{"citation":"resolved","description":"Now\nThe gate expects this hash at dweb.link and compares the subject text only with the canonical host. The recorded Uniswap request used the same published hash at Filebase, with app.uniswap.org in both its objective and tag. The scan canonicalizes the tag to uniswap.org.\nChange to\nReplay the published hash with each historically emitted gateway form. Compare the objective's domain with the original tagged domain, then group the request under the canonical subject. Add the decoded on-chain objective to the replay test.\nWhy\nValid jobs sent with earlier published instructions must still count, including their result files and the history later rebuilds cite.","line":48,"path":"src/counts.ts","reproduction":"Any width. Read Ethereum mainnet transaction 0xce827b570cbc1556cb3d406b94cd37b608e77f1c3a127d77f41618b906ba59f4 at block 26459761 via https://ethereum-rpc.publicnode.com. Decode Intake.request, parse its body, and call shapeOf with that unmodified body and the scan's canonical subject uniswap.org. The objective names rebuild-aede2eb36737.txt at ipfs.filebase.io and says 'the project at app.uniswap.org'. Expected ok:true. The current replay returns {ok:false, legacy:false}, and countedOf returns zero ids even with a completed result supplied. IMD's API identifies the completed job as 23412ad9-5f49-4b9a-8a29-51493dd16bab. The same Filebase form also fails for the completed imd.fun and zora.co jobs at blocks 26459713 and 26459754. A replay of research requests through Ethereum block 26481085 leaves Uniswap, Zora and IMD without a counted page. Only ENS and imdUSD have counted pages at that block.","severity":"high","snippet":"  \"rebuild-aede2eb36737.txt\": \"dweb\",","title":"bug: the published Uniswap rebuild still fails historical replay"},{"citation":"resolved","description":"Now\nThe result download is gated by objective shape only. A rebuild with an earlier result from another subject is rejected after downloading both its result metadata and artifact. Home uses the provisional decision and still lists that project.\nChange to\nResolve prior artifact ownership and channel ties before requesting a candidate's artifact bytes. Share the fully checked decision with Home, its project total and digests, the Record and Profile. Keep the excluded job and its explorer link in Activity.\nWhy\nThe brief limits failed jobs to Activity and requires that their results not be read or included in counts.","line":158,"path":"src/useActivity.ts","reproduction":"Any width. In a local RPC/API fixture complete a normal rebuild of fixture.example. Complete a current rebuild of crossref.example whose only earlier result is the first job's artifact. Open #/s/crossref.example/activity and log API reads. The checked-in export requests /jobs/10000000-0000-4000-8000-000000000022/result and the candidate /artifacts/ file before showing the required Not read reason. Return Home and wait for reads to settle: both fixture.example and crossref.example appear. Expected zero requests for the excluded file's bytes and no crossref.example row. The changed-hash control makes zero result or artifact requests and is absent from Home. Open the requesting wallet's profile: the rejected requests appear in history and contribute to its totals.","severity":"high","snippet":"  const hasFiles = research && !notRead && state === \"completed\" && !!completion;","title":"bug: a rebuild with another project's prior still gets downloaded and listed on Home"},{"citation":"resolved","description":"Now\nThe route index exposes the latest page's lines and lines from other result types. A line dropped from an earlier page as replaced has no current entry, so its valid permanent address lands on an unavailable message.\nChange to\nIndex citations to counted historical page lines as well. For a line marked replaced in a later rebuild's dropped list, show the original line in the Record as Superseded and link the replacement line. Preserve the older job and local line id in the citation.\nWhy\nA line address is permanent and must show the line's status today, including which line superseded it.","line":121,"path":"src/addresses.ts","reproduction":"Any width. In a local RPC/API fixture, write L3 ('The project charges 2 units.') in counted job 10000000-0000-4000-8000-000000000001. Have a counted rebuild cite that file, write L11 ('The project charges 3 units.'), and list F1:L3 in dropped with reason 'replaced by L11'. Open #/s/fixture.example/l/10000000-0000-4000-8000-000000000001:L3. The export renders 'This address is not on the record shown now. It may belong to a job this record does not read.' with zero highlighted rows and no replacement link. Expected L3, Superseded, and a link to L11.","severity":"high","snippet":"  if (latest) for (const l of latest.page?.lines ?? []) {","title":"fidelity: a citation loses the older line when a rebuild supersedes it"},{"citation":"resolved","description":"Now\nThe parent effect looks for the line while its section is still closed. The Record expands it in a later render, but that state change does not rerun the parent effect.\nChange to\nRun the citation scroll and focus when the opened row is mounted. Cover a direct load of a citation to a line inside an initially closed section.\nWhy\nThe permanent route must open the Record at the cited line.","line":823,"path":"src/App.tsx","reproduction":"Any width. Cold-load #/s/fixture.example/l/10000000-0000-4000-8000-000000000001:L1 against a local counted rebuild that carries F1:L1 into L10. Instrument HTMLElement.prototype.scrollIntoView before the page module runs. After .is-addressed .details appears and updates settle, the exported app has one expanded and highlighted row (#line-L10) and zero calls to scrollIntoView. Then follow an also address for the same, now visible row. It calls scrollIntoView on #line-L10 once. Expected a call on the cold load too.","severity":"high","snippet":"    if (t && !el) return; // not rendered yet: runs again when the record loads","title":"fidelity: a cold citation expands the line without scrolling to it"},{"citation":"resolved","description":"Now\nBoth current filenames appear in the gateway examples, but the raw CIDs and displayed hashes still point to the previous files.\nChange to\nGenerate both README URL and hash pairs from src/instructions.json using the same fetchUrlOf logic as agents.md. The correct SHA-256 prefixes are bb2a3c8834d1 for rebuild and cbb133e479ca for changes.\nWhy\nThe README must describe the current instruction-file scheme accurately. Requests assembled with the mismatched examples cannot use the current instruction files.","line":723,"path":"README.md","reproduction":"Any width. Decode the two Filebase raw CIDs in README.md:723–726 into their SHA-256 digests and compare with shasum -a 256 on dist/instructions/rebuild-bb2a3c8834d1.txt and dist/instructions/changes-cbb133e479ca.txt. The README CIDs decode to digests beginning 323385aa01ae and c7a1725279f5. The actual bytes and manifest begin bb2a3c8834d1 and cbb133e479ca. The agents.md CIDs match the manifest and both files.","severity":"high","snippet":"- rebuild: `https://ipfs.filebase.io/ipfs/bafkreibsgoc2uanom5lemynhuhoevwi3vmosr3lkmr65bilxwckdrbbk2e?filename=rebuild-bb2a3c8834d1.txt`,","title":"fidelity: the README pairs current instruction filenames with old content addresses"},{"citation":"resolved","description":"Now\nThe full-result snapshot refreshes when the set of subjects changes. Its stale pending row wins over the updated scan row for the same request.\nChange to\nRefresh the full result when a wallet request's completion changes. Use the latest scan state for the status and use the detailed file for the changes outcome. Update Changes kept from that combined row.\nWhy\nThe profile is built from chain and API reads and must show the current request state and outcome.","line":77,"path":"src/Profile.tsx","reproduction":"Any width. Open the Profile with a pending changes request for fixture.example. In the local RPC fixture, add its successful completion at the next block and return a changes artifact with one kept item. Allow the normal polling callback to run. The app requests the job result and artifact, but Profile still says pending and Changes kept stays 0. Activity on the same visit says completed and Kept. Reopening the profile changes the same row to done, displays '1 kept, 0 not kept', and increases the total to 1. Expected those values as soon as the poll resolves.","severity":"high","snippet":"  }, [subjects, readSubject]);","title":"bug: Profile keeps showing a pending change after the scan sees its completion"},{"citation":"resolved","description":"Now\nPrior-file matching searches every candidate for the subject. Channel matching searches every candidate page, including the result being checked. A later result can qualify as an earlier result, and a page can authorize an external channel named in its own objective. Adoption also accepts an instructionless rebuild even when it was sent after a published-instruction job.\nChange to\nCheck against results that had completed before the request was sent, ordered by block and log index. Resolve external channels against already-counted earlier pages for the subject. Keep the subject's own-domain rule and limit adoption to jobs sent before instruction files existed.\nWhy\nThe gate must validate the earlier results and channels that were known when the site could have written the request.","line":350,"path":"src/counts.ts","reproduction":"Any width. In a local countedOf fixture for example.com, give a block-20 current rebuild the artifact of the block-30 rebuild as its sole prior. Both jobs have completed when tested. Actual counted ids include the block-20 job. In a second fixture, let the block-10 page list no external accounts, then have the block-20 page name a new external account in its objective and list it only in its own result. Both jobs count. In each case the block-20 job should be excluded, while the normal block-10 control counts. For legacy timing, give countedOf an instruction-file rebuild at block 10, researchBody() for imd.fun at block 20, and a rebuild at block 30 that lists the block-20 artifact. All three count, including the instructionless request sent after publication.","severity":"high","snippet":"      const priorsOk = !anyRead || s.priorHashes.every((h) => holders(h, a.req.subject, (x) => counts(x) || (s.kind === \"add\" && legacy.has(x))).length > 0);","title":"bug: the gate lets a rebuild use later results and certify its own channels"},{"citation":"resolved","description":"Now\nTokens use the small copy icon, grey purpose, and grey chain tag. The item still wraps its four parts independently inside the phone table's narrow value cell.\nChange to\nGive the Tokens list the full table width on phones, with its label and evidence controls above it. Use a single item grid with symbol, a shrinkable purpose, an unbroken address and copy control, and the chain tag. Allow text to wrap inside the purpose when necessary.\nWhy\nEach token needs one consistently aligned row, with the address and its copy control clear of the badge column.","line":818,"path":"src/styles.css","reproduction":"At 320 and 390 px, load the ABC / XYZ fixture in Overview → Key facts, with ABC, 'governance token', 0x1234567890abcdef1234567890abcdef12345678, Ethereum, and XYZ on Base. The export renders four flex children per token. From the checked-in fixed-table rules, the inner value width is 82.2 px at 320 and 110.7 px at 390. On touch, the copy button (36 px), chain padding (16 px) and three gaps (24 px) consume 76 px before any text, leaving 6.2 and 34.7 px for all four text fields. The rule enables wrapping across parts, so the token cannot stay in one line. These are CSS box calculations from the export, not screenshot measurements.","severity":"high","snippet":".kf-tokens li.tok-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--space-2); }","title":"fidelity: the phone token row cannot fit its single-line contents"},{"citation":"resolved","description":"Now\nA refusal appears in request history while its paid amount is removed from IMD spent. The Intake request charges the fee before the outcome is known.\nChange to\nSum the recorded IMD payments for counted requests across pending, done and refused states. Deduct any actual refund from the paid amount if the chain records one.\nWhy\nThe total must show what the wallet paid. A refusal does not reverse the fee.","line":81,"path":"src/Profile.tsx","reproduction":"Any width. In a wallet fixture with a single 0.5 IMD request and an Intake completion with status 1, the profile lists the refused request and reports 0 IMD spent. The mixed fixture drops exactly 0.5 IMD when its paid row is refused. As an on-chain control, the public Tenderly Ethereum RPC shows a 0.5 IMD Transfer in the receipt for request transaction 0xadda56adefd755e63bab2c004de49056100962c5f91dbc461ea65fa4deb9d8df and zero IMD transfers in its refused completion receipt. Expected 0.5 IMD spent for that request.","severity":"high","snippet":"  const spent = rows.filter((a) => a.state !== \"refused\").reduce((n, a) => n + a.req.amount, 0n);","title":"bug: the IMD spent total leaves out paid refusals"},{"citation":"resolved","description":"Now\nThe items parser absorbs the separator semicolon into the last source URL and drops the suggested replacement sentence. Whole-objective equality then excludes the request the site itself emitted.\nChange to\nParse links up to the exact suggested final_text delimiter, retain the replacement sentence, and replay the item with the existing serializer. Cover a summary correction that contains both a source link and replacement wording.\nWhy\nThe gate must accept the complete objective that the site writes when a visitor backs a correction with a source.","line":309,"path":"src/changes.ts","reproduction":"Any width. Use changesBody for example.com with a valid F1, type wrong, a summary sentence target, one link https://example.com/fees, and suggest 'The project now charges 3 units.' The parsed link ends in ';', suggest is empty, and shapeOf returns ok:false. Removing only the link or only suggest makes the objective pass. The same failure occurs in the exact completed Zora objective from Ethereum block 26466492, transaction 0x368b845368e5580cd6bb397c06319ec4d27007a05f6a93fb3ebe1d3b352b243a.","severity":"high","snippet":"  String.raw`\\((\\d+)\\) type: (wrong|context|backing|reword|new_line|links); target: (none|summary sentence (${JSTR})|(?:(F\\d+:\\S+) )?(key fact |line )?(${JSTR})); note: (none|${JSTR}); links: (none|https:\\/\\/\\S+(?: https:\\/\\/\\S+)*)(?:; suggested final_text: (${JSTR}))?`,","title":"bug: the gate rejects a site-generated correction that has a source link"},{"citation":"resolved","description":"Now\nThe reverse and forward ENS reads use a client whose default CCIP Read handler follows off-chain resolver URLs. An eth_call can therefore trigger a fetch to a host absent from the site's existing RPC list.\nChange to\nUse the same RPC transport with off-chain gateway requests disabled for the Profile's ENS reads. Keep the address as the heading when the name cannot be verified through the permitted RPCs.\nWhy\nThe profile may resolve ENS through the existing public RPCs and may contact no new hosts.","line":45,"path":"src/Profile.tsx","reproduction":"Any width. Open #/w/0x0000000000000000000000000000000000000001 with mocked RPCs. Return an ENS OffchainLookup response for the reverse resolver with a gateway on ens-fixture.example. Capture fetch destinations. With zero requests in the wallet history, the checked-in export attempts one request to ens-fixture.example through viem. Expected only the existing RPC and IMD API destinations. The fixture intercepts all requests locally.","severity":"high","snippet":"        const n = await publicClient.getEnsName({ address });","title":"bug: Profile ENS resolution follows an off-chain URL to a new host"},{"citation":"resolved","description":"Now\nThe Contribute tab prints the pending rebuild's shortened payer as plain text. Activity links the same wallet, so the ability to open its profile depends on where the visitor sees it.\nChange to\nUse the same walletHref link as Activity for the pending rebuild's payer, in Contribute and in the duplicate pay-dialog message. Apply it wherever the site renders a requesting wallet.\nWhy\nThe brief makes wallet addresses elsewhere on the site links to that wallet's profile.","line":209,"path":"src/App.tsx","reproduction":"Any width. In a local fixture with one counted page for fixture.example and a pending rebuild from 0x00856bd495941f3b95da5b7e374c76d822c9059e, open #/s/fixture.example/contribute. The pending message shows 0x0085…059e in a SPAN with no anchor. Open Activity. The same 0x0085…059e is an anchor to #/w/0x00856bd495941f3b95da5b7e374c76d822c9059e. Expected the same profile link in Contribute.","severity":"high","snippet":"          A rebuild is running, started {startedAt(running)} by <span className=\"mono\">{payerName(running)}</span>.{\" \"}","title":"fidelity: the pending rebuild payer has no wallet profile link"}],"hash":"b9f9cac2069fdc43066ac6d8e52914e69a4051108dbd755cd5f717adc0a4635e","nodeId":"aa983f2a-3178-463d-a2e6-ee551c5b552b","outcome":"completed","summary":"| Area | Prior review | This review |\n|---|---|---|\n| Requirements | Counts unavailable | 33 checked · 22 met · 11 missing · 0 faked |\n| Broken features | 11 high findings | 12 high findings |\n| First screen at 390 px | No recorded verdict | Lookup and main action present by DOM and CSS inspection |\n| taste@1 checks passed | Full count unavailable | Unmeasured. The sandbox blocked the local server and both browser launches. |\n| Copy findings | 1 | 0. The Home lead is now 13 words. |\n| Share card | 5 of 5 elements present | 5 of 5 present, including the 1200 × 630 image |\n\n**The job gate still blocks release.** Replaying the public Ethereum requests through block 26,481,085 and reading their IMD result files left only two of five projects with a counted page. Uniswap, Zora, and IMD had none. The checked-in export also downloaded a result it later rejected for citing another project. [Public Ethereum RPC](https://gateway.tenderly.co/public/mainnet) · [IMD API](https://api.imd.fun/) · [12 findings with reproductions](/Users/timhsia/.identitymd-3/work/523c9918-41a2-4ce1-87d2-f8cf441559ce/aa983f2a-3178-463d-a2e6-ee551c5b552b/.imd-findings.json)\n\nThe three required gate tests pass. The standard build and one test hit a pre-existing filename collision between `Instructions.tsx` and `instructions.ts` on this case-insensitive checkout. Renaming the component in a disposable copy yielded **390 passing tests** and a byte-identical export. Route, clipboard, wallet, and network checks exercised the checked-in export with local fixtures. Pixel layout and live signing remain unverified. Hosting comes after review.\n\n### Requirements and prior rechecks\n\n| Requirement | Status | Evidence |\n|---|---|---|\n| Keep the wallet flow, tray, bodies, and instruction-file scheme | Met | The injected-wallet connect and disconnect flow worked. The tray and body serializers remain in place. All 19 published instruction files match the export byte for byte. |\n| A1 · Compare the whole objective against its kind and published instruction file | Missing | `counts.ts` now rejects appended text and a wrong-kind instruction file. It still rejects the exact historical Uniswap objective and a valid correction containing both a source link and replacement wording. |\n| A2 · Check the subject, earlier results, and channels | Missing | The cross-subject test passes, reconsideration markers survive replay, and distinct accounts on the same service compare separately. The gate still accepts later artifacts as priors and lets a page authorize its own external channel. |\n| A3 · Show failed jobs only in Activity with the reason and explorer link | Missing | The changed-hash fixture now stays in Activity and triggers zero result fetches. The cross-subject fixture downloads its result and appears on Home and Profile. |\n| A4 · Count pre-instruction jobs only through later counted rebuilds | Missing | Ordinary adoption and standalone exclusion pass. `countedOf` also adopts an instructionless job sent **after** a published-instruction job. |\n| A5 · Test altered hash, appended text, and a prior from another subject | Met | All three cases pass in `tests/counts.test.ts`. |\n| B6 · Keep the first job and line ID, including `origin`, `also`, and historical `from` | Met | Both instructions carry the rule. The historical `F1:S1` regression now resolves to the source job and its local ID. |\n| B7 · Show “Written in job” and copy the explorer link plus line ID | Met | Expanded Record details rendered without error. The clipboard fixture received the original job URL and line ID. |\n| B8 · Open and highlight the cited line, including aliases, with its status today | Missing | Current and merged addresses resolve and highlight. A cold load makes no scroll call. A replaced line loses its address and replacement link. |\n| C9 · Link `#/docs` from the header and Home explainer | Met | Both links reach the dedicated page, which renders the 12 sections in order. |\n| C9 · “What this is” | Met | `Docs","treeHash":null,"usage":{"cachedInputTokens":9869312,"cost":{"source":"estimated","usdMicros":1856153},"inputTokens":241076,"model":"gpt-6.2-sol","outputTokens":38707,"runtime":"codex","turns":5,"wallClockMs":920072}},{"artifacts":[],"attempt":1,"bundleHash":null,"device":"0ef0dfae5a05e4be","findings":[],"hash":"e8a137db265aca3fe1390784f7d6884ef344d4d858c333e9952bc231edc98064","nodeId":"87fc154e-d60d-42e3-ac69-ab14fbda85ab","outcome":"failed","summary":"clone failed: Cloning into '/home/seat/.identitymd/work/523c9918-41a2-4ce1-87d2-f8cf441559ce/87fc154e-d60d-42e3-ac69-ab14fbda85ab'...\nfatal: unable to create thread: Resource temporarily unavailable\nfatal: fetch-pack: invalid index-pack output\n","treeHash":null,"usage":{"cachedInputTokens":0,"inputTokens":0,"model":null,"outputTokens":0,"runtime":"claude","turns":0,"wallClockMs":894}}],"verification":[{"checks":[],"detail":"paths and tree verified; no suite was run for this kind of work","evaluation":"structural","profile":"none","status":"accepted","submissionHash":"0299ca46f6097db6e2b56919eb6c5a6137c1e5fed7f3a77d829746d925f9bbf5","verifiedTreeHash":"39a73caf57cef53bf24c6328a34c2a7a8747fb9f","verifierVersion":"0.1.0+c253a67b"},{"checks":[],"detail":"paths and tree verified; no suite was run for this kind of work","evaluation":"structural","profile":"none","status":"accepted","submissionHash":"52f1d24bd726c8b524e78a6a0efdb6d44105fcc1afdb4a7ba9a88c4ec3e326e0","verifiedTreeHash":"ebe032ffca739e7ed1cbfc788f36d4ff25488d17","verifierVersion":"0.1.0+c253a67b"},{"checks":[],"detail":"paths and tree verified; no suite was run for this kind of work","evaluation":"structural","profile":"none","status":"accepted","submissionHash":"60da7e77b520da555d17187ee42285921150f5b9c1539fa91799431077ce6839","verifiedTreeHash":"d5656e6cc1f15592d7504f46e40501d5bcda84c7","verifierVersion":"0.1.0+c253a67b"}]}