# page-meta result The bounded metadata repair is implemented and checked offline against checkout `28ff85f`. This does **not** certify the overall payment-to-report workflow. No live payment was made. ## Defects and changes | File and line | Before | Now | | --- | --- | --- | | `web/index.html:7`, `:15`, `:21` | Search, Open Graph and Twitter descriptions advertised the old 1 / 1.5 / 2 IMD escrow tiers and said paid research was paused until authorization. | All three describe selecting games, paying IMD through IMD.fun at the Intake quote plus Ethereum gas, Swarm research, and receiving probability estimates with cited sources. No fixed price or release availability claim; analysis is qualified as not a guarantee. | | `web/index.html:10` | Canonical pointed to the old `imd.site` deployment. | Canonical is `https://imdpicks.com/`. | | `web/index.html:13` | Open Graph URL pointed to the old deployment. | Open Graph URL is `https://imdpicks.com/`. | Only those five HTML lines changed. Existing sports coverage text, age notice, profit disclaimer, image URLs and all other bytes remain unchanged. Runtime confirmation requirements were not modified. Files changed/created: - `web/index.html`: five metadata lines. - `web/tests/page-meta.test.mjs`: eight dependency-free Node tests reading the actual HTML relative to the test file. They check each description for obsolete amounts, event tiers and availability wording, require the intended workflow and qualifications, and assert both production URLs. Each tag must occur exactly once. - `artifacts/goal/batches/native-repair/items/page-meta/result.md`: this untracked deliverable. No existing test assertion was changed. Searches found no outside test asserting the obsolete metadata wording or canonical URL. ## New customer-visible English sentences Each appears in all three descriptions (lines 7, 15 and 21): > Select games and pay in IMD through IMD.fun at the Intake's quoted price, plus Ethereum gas. > The Swarm researches your selected games so you can receive a report with probability estimates and cited sources. > Analysis, not a guarantee. These are static HTML metadata, not React UI strings; no translation source or `t()` call was changed. ## Commands and results Commands ran from repository root unless marked `web/`. Inspection and editing commands have no test count. Shell batches returned 0 unless noted below. | Command | Exit | Result / counts | | --- | --- | --- | | `git status --short`; `nl -ba web/index.html`; `cat web/package.json`; `rg -n '1 IMD for\|1\.5 IMD\|Paid research is paused\|imd-picks-you-select-the-ga-e617\|og:description\|twitter:description' web/tests web/index.html` | 0 | Initially clean; inspected original metadata and package requirements. | | `rg -n 'index\.html\|paused\|1–4\|5–9\|10–14\|1-4\|5-9\|10-14\|canonical' web/tests`; `rg --files web/tests`; `rg -n 'quote\|gas\|Intake' web/src/checkout.tsx web/src/native/client.ts`; `sed -n '1,100p' web/tests/native-client.test.mjs`; `git rev-parse --short HEAD` | 0 | Inspected existing tests and checkout quote/gas behavior; HEAD `28ff85f`. The checkout paused assertion at `web/tests/native-checkout.test.mjs:186` checks an actual closed payment gate, not the obsolete metadata. | | `node --test web/tests/page-meta.test.mjs` before HTML edit | 1 | 8 tests, 0 pass, 8 fail, 0 TODO. Three obsolete-copy failures at test line 26; three missing-workflow failures at line 41; URL failures at lines 46 and 50. Demonstrates regression coverage. | | Python inline edit of `web/index.html` | 0 | Replaced only the requested descriptions and URL attributes. | | `node --test web/tests/page-meta.test.mjs` after HTML edit | 0 | 8 tests, 8 pass, 0 fail, 0 TODO. | | `git diff --check` (after edit and subsequent inspection) | 0 | No whitespace errors. | | `test -d web/node_modules` | 1 | Dependencies absent initially; no tests. | | `mkdir -p test/scratch/page-meta/tmp test/scratch/page-meta/npm-cache` | 0 | Prepared checkout-local temporary/cache directories. | | `npm ci --cache ../test/scratch/page-meta/npm-cache --ignore-scripts` (`web/`) | 0 | Installed 80 packages; audited 81. Reported 2 dependency vulnerabilities (1 moderate, 1 high); no dependency files changed. | | `git diff -- web/index.html`; `nl -ba web/tests/page-meta.test.mjs` | 0 | Reviewed five-line HTML change and new tests. | | `TMPDIR="$PWD/../test/scratch/page-meta/tmp" node --test tests/*.test.mjs > ../test/scratch/page-meta/full-tests.log 2>&1` (`web/`) | 0 | 224 tests: 222 pass, 0 fail, 2 TODO, 0 skipped/cancelled; approximately 38.6 seconds. TODO assertion failures described below. | | `npx tsc --noEmit` (`web/`) | 0 | Type check passed; no test count. | | `node scripts/i18n-check.mjs` (`web/`, initial attempt) | 1 | Environment failure: ENOENT creating `/tmp/i18n-check-XXXXXX`, at `web/scripts/i18n-check.mjs:45:16`; no translation checks completed. | | `TMPDIR="$PWD/../test/scratch/page-meta/tmp" node scripts/i18n-check.mjs` (`web/`) | 0 | All 605 source strings checked in 9 non-English languages; entries and placeholders passed. | | `tail -n 24 test/scratch/page-meta/full-tests.log`; `git status --short` | 0 | Inspected progress and source scope. | | Python inline comparison of `git show HEAD:web/index.html` with the working file | 0 | Asserted same line count and that changed line numbers are exactly `[7, 10, 13, 15, 21]`; one scope assertion check passed. | | `tail -n 12 test/scratch/page-meta/full-tests.log`; `rg -n 'TODO\|todo' test/scratch/page-meta/full-tests.log web/tests/*.test.mjs` | 0 | Located existing TODO failures. | | `sed -n '224,275p' test/scratch/page-meta/full-tests.log`; `nl -ba web/tests/native-merged.test.mjs` filtered to lines 232–257; `nl -ba web/src/native/client.ts` filtered to lines 205–238 | 0 | Verified suite totals and failure locations below. | | `mkdir -p artifacts/goal/batches/native-repair/items/page-meta`; write this result with a shell heredoc | 0 | Created required Markdown output without staging it. | ## Defects observed outside assigned source files Both pre-existing TODO tests still fail their assertions while the suite exits successfully: - `web/tests/native-merged.test.mjs:235`, assertion at `:243`: admitted job ID is undefined when `/result` remains 404. `web/src/native/client.ts:227` awaits both requests before assigning `snapshot.jobId` at `:232`, preventing persistence while results are unindexed. - `web/tests/native-merged.test.mjs:246`, assertion at `:254`: confirmed refusal after admission remains `pending` instead of `refused`. `web/src/native/client.ts:212` rejects the admitted job kind in the refusal branch. Those files were left unchanged for the other repair items. The installation audit reported two dependency vulnerabilities, but no advisory detail was investigated; no file/line attribution is established. The translation check's initial ENOENT was a local temporary-directory issue, resolved by rerunning with the allowed TMPDIR. ## Unproven / external requirements No production deployment, wallet transaction, live Intake quote, job creation, report retrieval, social crawler refresh, hosting configuration or external authorization was tested. The entire live payment-to-report workflow remains unproven. The existing offline suite uses fixtures/mocks and retains the two tracking TODO defects above. This item needs no new signing key or hosting configuration; broader deployment authorization remains outside scope. The existing social image URLs at `web/index.html:16` and `:22` still use the old host, intentionally preserved by the five-line scope. Their availability was not checked and is not asserted as defective. No network check of production was needed for this local metadata repair. The i18n checker does not establish translated metadata. No build was run; TypeScript and offline tests were run as recorded above. Final checks: `git diff --check`, `git status --short`, `wc -c artifacts/goal/batches/native-repair/items/page-meta/result.md`, and `git ls-files -- artifacts/goal/batches/native-repair/items/page-meta/result.md` all exited 0 (no tests). Source status contained only the allowed HTML modification and new test; the result was 7,911 bytes before this note and is below 24,000 bytes. `git ls-files` returned nothing for the result, confirming it is not tracked/staged. This note was appended with `cat >> .../result.md` (exit 0).