[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CAS6PJ9R7315ZY45K4A1KT":3,"skill-same:01M6CAS6PJ9R7315ZY45K4A1KT":106},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":17,"categories":18,"keywords":29,"publishedAt":61,"linkOnly":62,"markdownContent":63,"markdownBody":64,"frontMatter":65,"refName":37,"commitSha":80,"skillDirectory":81,"forksCount":82,"repositoryHtmlUrl":83,"repositoryHomepageUrl":13,"ownerHtmlUrl":84,"ownerBlogUrl":13,"ownerDescription":13,"updatedAt":85,"install":86,"resources":99},"01M6CAS6PJ9R7315ZY45K4A1KT","verify-deployed-frontend-fix","前端修复上线验证","Verify that a claimed frontend-fix (CSS, JS behavior, layout, scroll, click handler, asset, computed style) is actually live on a deployed URL. Produces a yes\u002Fno verdict with three layers of proof — (1) merged code on origin\u002Fmain, (2) fix-markers present in the deployed hashed bundle, (3) headless runtime computed-style \u002F DOM behavior on the live URL. Trigger when the user asks \"is X fixed now?\", \"is X live?\", \"is X in production?\", \"verify X shipped\", \"did X actually deploy?\", or shares a deployed URL alongside a bug-fix PR\u002Fnumber and asks for proof of fix.","验证声称的前端修复（CSS、JS 行为、布局、滚动、点击处理器、资源、计算样式）是否确实已在部署 URL 上生效。通过三层证据给出是\u002F否结论 —— (1) origin\u002Fmain 上已合并代码，(2) 部署的哈希化 bundle 中存在修复标记，(3) 在线上 URL 上进行无头运行时的计算样式\u002FDOM 行为检查。当用户询问\"X 现在修复了吗？\"、\"X 上线了吗？\"、\"X 进入生产环境了吗？\"、\"验证 X 已发布\"、\"X 真的部署了吗？\"，或随同 bug 修复 PR\u002F编号分享部署 URL 并要求修复证明时触发。","jleechanorg\u002Fjleechan-skills","jleechanorg","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F221404966?v=4","01M6C1VJ99XG950X1DWPEBCBGX",null,"01M6C1VJDK5YVDNT3362RT5WSB",6,"MIT","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002Fhermes\u002Fskills\u002Fsoftware-development\u002Fverify-deployed-frontend-fix\u002FSKILL.md",[19,24],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BQGD5WG86P4AQ5GPSSKBFR","测试工程师","PROFESSION","适用职业",{"categoryNo":25,"categoryName":26,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8CB4BZD3VTQB2NVP9R77FKR","网站质量审计与优化","SCENARIO","使用场景",[30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60],"frontend","fix","verify deployed frontend fix","verify","next","bug","attach","main","claim","evidence","click","markers","now","URL","number","headless","when","repro","alert","behavior","page","Production","verification","code","pr","telemetry","deploy","web","triage","slack","css","2026-11-10 10:12:30",false,"---\nname: verify-deployed-frontend-fix\ndescription: Verify that a claimed frontend-fix (CSS, JS behavior, layout, scroll, click handler, asset, computed style) is actually live on a deployed URL. Produces a yes\u002Fno verdict with three layers of proof — (1) merged code on origin\u002Fmain, (2) fix-markers present in the deployed hashed bundle, (3) headless runtime computed-style \u002F DOM behavior on the live URL. Trigger when the user asks \"is X fixed now?\", \"is X live?\", \"is X in production?\", \"verify X shipped\", \"did X actually deploy?\", or shares a deployed URL alongside a bug-fix PR\u002Fnumber and asks for proof of fix.\nversion: 1.0.0\nmetadata:\n  hermes:\n    tags: [verification, frontend, deploy, evidence, proof, ui, css, computed-style, bundle-hash, fix-claim]\n    related_skills: [verify-telemetry-alert, repro, web-page-screenshots, evidence-attach-to-slack, pr-triage-and-next-steps]\n---\n\n# Verify a Claimed Frontend Fix on a Deployed URL\n\n## Why this skill exists\n\nWhen a user reports a UI bug, the bug fix lands in a PR, the PR merges, and the user comes back days or weeks later asking \"is X actually fixed?\" The naive answer is \"yes, we merged PR #N.\" That answer is **incomplete**: there's a large gap between \"code merged on origin\u002Fmain\" and \"the live deployed bundle on the URL the user pasted contains the fix.\" Real failure modes:\n\n- **Wrong bundle hash served.** Cloud Run \u002F Vercel \u002F Netlify may serve a stale hashed bundle if a CDN edge cached the previous one.\n- **Old CSS still applied.** A separate stylesheet (loaded by `\u003Clink>`, not the bundle) was missed in the fix and still applies `position: sticky` etc.\n- **Fix rolled back or never fully landed.** A subsequent revert PR or a follow-up fix that contradicts the original landed between merge and now.\n- **Auth gate blocks full load.** Without the user's signed-in session, the SPA never initializes and `getComputedStyle` can't run — but you can still do layers 1, 2, and a partial layer 3.\n\nThe 3-layer protocol below closes all four gaps with one toolset (curl + headless Chromium via Playwright).\n\n## When to invoke\n\nTrigger phrases (any):\n- \"is X proven fixed now?\" \u002F \"is X actually fixed?\" \u002F \"is X live?\"\n- \"verify X shipped\" \u002F \"did X deploy?\" \u002F \"is X in production?\"\n- User pastes a deployed URL + bug-fix PR number\u002Fbranch and asks for proof\n- Bugbot \u002F CodeRabbit reports a regression on a fix that \"should be merged\"\n- mcp_agent_mail, dropped-thread cron, or verifier cron posts \"X should be fixed\" with a PR number\n\nDo NOT invoke:\n- For backend \u002F API claims (`verify-telemetry-alert` covers those)\n- For \"\u002Frepro\" requests where the user is **reporting** a new bug, not verifying an existing fix\n- For local-only changes that haven't deployed\n\n## The 3-layer protocol\n\nProduce a yes\u002Fno verdict. Each layer is independent — pass all three to claim \"fixed and live.\" If any layer fails, name which one and what it showed.\n\n### Layer 1 — Code shipped (origin\u002Fmain)\n\nConfirm the fix landed on the default branch. This is the *necessary* layer; nothing else matters if the code isn't in.\n\n```bash\ngh pr view \u003CN> --repo \u003COWNER>\u002F\u003CREPO> --json state,mergedAt,headRefName,title,closingIssuesReferences,body\n```\n\nPass criteria: `state == \"MERGED\"`, `mergedAt` is a real timestamp, `closingIssuesReferences` includes the issue (if there is one).\n\nBelt-and-suspenders — confirm the file actually contains the fix on `origin\u002Fmain`, not just on the PR's branch:\n\n```bash\ncd \u003Crepo>\ngit fetch origin\ngit show origin\u002Fmain:\u003Cpath\u002Fto\u002Ffile> | grep -n \"\u003Cfix_marker>\" || echo \"MISSING\"\n```\n\nReplace `\u003Cpath\u002Fto\u002Ffile>` and `\u003Cfix_marker>` with the file + identifier from the PR diff (function name, constant, comment, CSS rule).\n\n### Layer 2 — Deployed bundle carries the fix\n\n**Find the current bundle hash.** Cloud Run \u002F Vercel-style deploys use content-hashed filenames (`app.58c74e97.js`). The hash changes per deploy — never trust the hash from the PR or a stale Slack message.\n\n```bash\n# 1. Fetch the live HTML\ncurl -fsSL \"\u003Cdeployed_url>\" -o \u002Ftmp\u002Fprobe_page.html\n\n# 2. Find every \u003Cscript src=\"...\"> and \u003Clink href=\"...css\">\ngrep -oE 'src=\"[^\"]*\"' \u002Ftmp\u002Fprobe_page.html | grep -E '\\.(js|css)'\ngrep -oE 'href=\"[^\"]*\\.css\"' \u002Ftmp\u002Fprobe_page.html\n```\n\nFor each script with a content-hash filename (`app.\u003Chash>.js`) and each CSS file:\n```bash\ncurl -fsSL \"\u003Cdeployed_origin>\u003Cscript_path>\" -o \u002Ftmp\u002Fprobe_bundle.js\n# Then grep:\ngrep -n \"\u003Cfix_marker_1>\\|\u003Cfix_marker_2>\\|\u003Cfix_marker_3>\" \u002Ftmp\u002Fprobe_bundle.js\n```\n\nPick markers that are **unique to the fix** and absent in the previous version — function names introduced by the fix, new constant values, new CSS class selectors, new `addEventListener` strings, new comment blocks referencing the bug.\n\n**Pass criteria:** all 5-10 markers present in the served bytes.\n\n**Pitfall:** the fix may live in a chunk file (`chunk.\u003Chash>.js`) loaded from the main bundle, not in the main bundle itself. Walk the import graph.\n\n### Layer 3 — Runtime behavior verified headless\n\nThis is the **load-bearing** layer. Layer 1+2 only prove the deployed bytes contain the fix; layer 3 proves the fix actually affects the DOM as expected.\n\n```python\nfrom playwright.sync_api import sync_playwright\n\nCHROME = \"$HOME\u002FLibrary\u002FCaches\u002Fms-playwright\u002Fchromium-1223\u002Fchrome-mac-arm64\u002FGoogle Chrome for Testing.app\u002FContents\u002FMacOS\u002FGoogle Chrome for Testing\"\n\nwith sync_playwright() as p:\n    browser = p.chromium.launch(headless=True, executable_path=CHROME, args=[\"--no-sandbox\"])\n    ctx = browser.new_context(viewport={\"width\": 390, \"height\": 844})  # match user's viewport\n    page = ctx.new_page()\n    page.goto(\"\u003Cdeployed_url>\", wait_until=\"domcontentloaded\", timeout=45000)\n    \n    # A) Confirm the right bundle is attached to the document\n    attached = page.evaluate(\"\"\"() => {\n      const scripts = Array.from(document.scripts).map(s => s.src);\n      const css = Array.from(document.styleSheets).map(s => s.href);\n      return { scripts: scripts.filter(s => s.includes('app.')), css };\n    }\"\"\")\n    \n    # B) Walk live stylesheets for any BAD rule applying to the fixed element\n    bad_rules = page.evaluate(\"\"\"(selector) => {\n      const out = [];\n      for (const sheet of document.styleSheets) {\n        try {\n          for (const rule of sheet.cssRules) {\n            if (rule.selectorText && rule.selectorText.includes(selector)) {\n              out.push({ href: sheet.href || '(inline)', cssText: rule.cssText });\n            }\n          }\n        } catch (e) { \u002F* cross-origin sheets throw SecurityError *\u002F }\n      }\n      return out;\n    }\"\"\", \"\u003Cfixed-element-selector>\")\n    \n    # C) Computed-style probe — inject the element in an isolated iframe so\n    #    no other CSS affects it, OR query it from the live DOM if it exists.\n    style_probe = page.evaluate(\"\"\"() => {\n      const iframe = document.createElement('iframe');\n      iframe.style.display = 'none';\n      document.body.appendChild(iframe);\n      const doc = iframe.contentDocument;\n      const el = doc.createElement('button');\n      el.id = '\u003Cfixed-element-id>';\n      doc.body.appendChild(el);\n      const cs = getComputedStyle(el);\n      const result = { position: cs.position, display: cs.display, top: cs.top, zIndex: cs.zIndex };\n      iframe.remove();\n      return result;\n    }\"\"\")\n    \n    browser.close()\n```\n\n**Pass criteria depend on the bug class:**\n- *Visibility \u002F layout fix:* `position === 'static'`, not `sticky`. `display === 'block'` (or correct value). `top === 'auto'`.\n- *Scroll-fix (button hides when scrolled):* inject the button + container in a styled iframe, programmatically `scrollTop=0`, check `display`, then `scrollTop=N>threshold`, check `display === 'none'`. Run the actual scroll listener if reachable.\n- *Click handler fix:* bind the handler to a stub element, click, verify the side effect.\n- *Network call fix:* route the relevant `\u002Fapi\u002F...` URL, verify `page.route()` saw the call.\n\n**Auth gate pitfall:** Layer 3-C (live DOM) may fail if the SPA is auth-gated and redirected. Workarounds in priority order:\n1. Inject the element into a hidden iframe (independent document, no SPA code). You can still verify CSS rules from step B apply \u002F computed-style resolution without the SPA running. The iframe inherits the page's loaded CSS via cascade but doesn't need the SPA's JS.\n2. Walk `document.styleSheets` (step B) — sheets load before the SPA gates the body. If a stale bad rule is in there, you'll catch it.\n3. Skip layer 3 if both workarounds fail and say so explicitly in the verdict — \"Layers 1+2 pass; layer 3 skipped because deployed URL is auth-gated; recommend the user manually confirm by visiting `\u003Curl>`.\"\n\n## Output template\n\nAfter running the 3 layers, post the verdict in this shape:\n\n```\n:white_check_mark: *Yes — \u003Cfeature> is proven fixed and live.*\n\n:white_check_mark: *Code shipped*\n- [PR #N](url) merged \u003Cdate> — \u003Cone-line behavioral change>.\n- Issue [#N](url) closed.\n\n:white_check_mark: *Deployed bundle carries the fix*\n- Bundle served today: `\u003Cfilename.\u003Chash>.js>` (HTTP 200, \u003Csize> bytes).\n- All N fix markers present in the served JS:\n  - \u003Cmarker 1>\n  - \u003Cmarker 2>\n  - \u003Cmarker N>\n\n:white_check_mark: *Runtime behavior verified headless*\n- Headless Chromium navigated the live URL; bundle attached = true.\n- `document.styleSheets` walk: \u003CN> rules apply to `\u003Cselector>` — \u003Cpass\u002Ffail breakdown>.\n- `getComputedStyle` on injected element: `\u003Ckey properties>` — \u003Cverdict>.\n\nEnd state: \u003Cone-sentence behavioral summary>.\n```\n\nIf any layer fails, mark that layer :red_circle: instead and name what it showed. Don't claim overall \"fixed and live\" if any layer is red.\n\nAlways include `? Memories used:` at the end per the always-on guardrail.\n\n## Pitfalls observed\n\n- **Hash drift.** The bundle hash from a PR description or older Slack message will be wrong after a subsequent deploy. Always re-derive the current hash from the live HTML each verification.\n- **CSS lives outside the bundle.** `position: sticky` (or the bad CSS the fix removed) may live in a `\u003Clink rel=\"stylesheet\">` file, not in the hashed JS chunk. Walk both. The pattern from #8250: 22 separate `\u003Clink rel=\"stylesheet\">` CSS files were loaded, none in the bundle. Layer 2 alone would have missed the fix.\n- **Same-name-different-file selector.** `getComputedStyle` on a freshly-injected `\u003Cbutton id=\"load-older-btn\">` returns `position: static`, but a *real* instance in the DOM may carry inline styles overriding the cascade. When probing a real instance, check `style.cssText` before `getComputedStyle`. When probing in an iframe, you get pure cascade resolution — usually what you want.\n- **Cross-origin stylesheets throw.** `sheet.cssRules` on a `\u003Clink>` from a different origin throws `SecurityError`. Wrap in try\u002Fexcept; you'll skip those, but the in-page \u002F same-origin sheets give the answer.\n- **Playwright browsers need install.** `playwright install` may fail in restricted envs. Fall back to the cached `chromium-1223` at `~\u002FLibrary\u002FCaches\u002Fms-playwright\u002Fchromium-1223\u002Fchrome-mac-arm64\u002FGoogle Chrome for Testing.app\u002FContents\u002FMacOS\u002FGoogle Chrome for Testing` and pass `executable_path=` explicitly. This path was verified 2026-07-14.\n- **Defer `document.styleSheets` walk too early.** Some SPAs inject stylesheets after `domcontentloaded`. Add `page.wait_for_timeout(2000)` before walking if you're seeing empty results.\n- **Don't confuse \"merged\" with \"deployed.\"** A merged PR may not be in production — Cloud Run revisions, Vercel deployments, and Fly machines all have their own lag. Layer 1 is necessary, not sufficient.\n\n## Pair-with skills\n\n- `repro` (`~\u002F.hermes\u002Fskills\u002Frepro\u002FSKILL.md`) — thin pointer to canonical WA workflow; load when reporting *new* bugs.\n- `repro\u002Freferences\u002Fauth-gate-fallback-repro.md` — fallback to local Flask + `X-Test-Bypass-Auth` when deployed URL auth-gates block live probing and the bug is API-shape or server-side. Different from layer 3 here, which is frontend-side.\n- `verify-telemetry-alert` — for automated alerts (cron \u002F BQ \u002F billing), not user-asked \"is X fixed now?\" questions.\n- `web-page-screenshots` — for capturing BEFORE\u002FAFTER visual evidence for PRs (different use case; that skill is about *producing* screenshots, this one is about *consuming* a deployed state).\n- `evidence-attach-to-slack` — for getting the verdict PNG\u002FJSON attached to the Slack thread (not just path-mentioned).\n\n## Reference\n\n- `references\u002Fpagination-load-older-2026-07-14.md` — verified worked example. WA \"Load older entries\" pagination fix (issue #8250, PRs #8251 closed → #8256 merged → #8269 merged top-only rewrite). Demonstrates the iframe-injected `getComputedStyle` workaround for Firebase-auth-gated URLs and the \"hash drift\" pitfall (a comment in the served bundle still mentions \"sticky\" even though the implementation is top-only).\n\n## Verification checklist\n\nBefore posting the verdict:\n- [ ] PR view confirmed MERGED, with mergedAt timestamp\n- [ ] `git show origin\u002Fmain:\u003Cfile>` confirms the fix is on main, not just the PR branch\n- [ ] Live HTML re-derived the bundle hash; did not trust a stale hash\n- [ ] All fix markers grepped from served JS bytes — not from local checkout\n- [ ] `document.styleSheets` walk done against the live document\n- [ ] `getComputedStyle` probe done in an isolated iframe (or live DOM with style override check)\n- [ ] Result matches the expected pass criteria for the bug class (visibility \u002F scroll \u002F click \u002F network)\n- [ ] If any layer skipped, name the layer and the reason in the verdict\n- [ ] `? Memories used:` line included\n","# Verify a Claimed Frontend Fix on a Deployed URL\n\n## Why this skill exists\n\nWhen a user reports a UI bug, the bug fix lands in a PR, the PR merges, and the user comes back days or weeks later asking \"is X actually fixed?\" The naive answer is \"yes, we merged PR #N.\" That answer is **incomplete**: there's a large gap between \"code merged on origin\u002Fmain\" and \"the live deployed bundle on the URL the user pasted contains the fix.\" Real failure modes:\n\n- **Wrong bundle hash served.** Cloud Run \u002F Vercel \u002F Netlify may serve a stale hashed bundle if a CDN edge cached the previous one.\n- **Old CSS still applied.** A separate stylesheet (loaded by `\u003Clink>`, not the bundle) was missed in the fix and still applies `position: sticky` etc.\n- **Fix rolled back or never fully landed.** A subsequent revert PR or a follow-up fix that contradicts the original landed between merge and now.\n- **Auth gate blocks full load.** Without the user's signed-in session, the SPA never initializes and `getComputedStyle` can't run — but you can still do layers 1, 2, and a partial layer 3.\n\nThe 3-layer protocol below closes all four gaps with one toolset (curl + headless Chromium via Playwright).\n\n## When to invoke\n\nTrigger phrases (any):\n- \"is X proven fixed now?\" \u002F \"is X actually fixed?\" \u002F \"is X live?\"\n- \"verify X shipped\" \u002F \"did X deploy?\" \u002F \"is X in production?\"\n- User pastes a deployed URL + bug-fix PR number\u002Fbranch and asks for proof\n- Bugbot \u002F CodeRabbit reports a regression on a fix that \"should be merged\"\n- mcp_agent_mail, dropped-thread cron, or verifier cron posts \"X should be fixed\" with a PR number\n\nDo NOT invoke:\n- For backend \u002F API claims (`verify-telemetry-alert` covers those)\n- For \"\u002Frepro\" requests where the user is **reporting** a new bug, not verifying an existing fix\n- For local-only changes that haven't deployed\n\n## The 3-layer protocol\n\nProduce a yes\u002Fno verdict. Each layer is independent — pass all three to claim \"fixed and live.\" If any layer fails, name which one and what it showed.\n\n### Layer 1 — Code shipped (origin\u002Fmain)\n\nConfirm the fix landed on the default branch. This is the *necessary* layer; nothing else matters if the code isn't in.\n\n```bash\ngh pr view \u003CN> --repo \u003COWNER>\u002F\u003CREPO> --json state,mergedAt,headRefName,title,closingIssuesReferences,body\n```\n\nPass criteria: `state == \"MERGED\"`, `mergedAt` is a real timestamp, `closingIssuesReferences` includes the issue (if there is one).\n\nBelt-and-suspenders — confirm the file actually contains the fix on `origin\u002Fmain`, not just on the PR's branch:\n\n```bash\ncd \u003Crepo>\ngit fetch origin\ngit show origin\u002Fmain:\u003Cpath\u002Fto\u002Ffile> | grep -n \"\u003Cfix_marker>\" || echo \"MISSING\"\n```\n\nReplace `\u003Cpath\u002Fto\u002Ffile>` and `\u003Cfix_marker>` with the file + identifier from the PR diff (function name, constant, comment, CSS rule).\n\n### Layer 2 — Deployed bundle carries the fix\n\n**Find the current bundle hash.** Cloud Run \u002F Vercel-style deploys use content-hashed filenames (`app.58c74e97.js`). The hash changes per deploy — never trust the hash from the PR or a stale Slack message.\n\n```bash\n# 1. Fetch the live HTML\ncurl -fsSL \"\u003Cdeployed_url>\" -o \u002Ftmp\u002Fprobe_page.html\n\n# 2. Find every \u003Cscript src=\"...\"> and \u003Clink href=\"...css\">\ngrep -oE 'src=\"[^\"]*\"' \u002Ftmp\u002Fprobe_page.html | grep -E '\\.(js|css)'\ngrep -oE 'href=\"[^\"]*\\.css\"' \u002Ftmp\u002Fprobe_page.html\n```\n\nFor each script with a content-hash filename (`app.\u003Chash>.js`) and each CSS file:\n```bash\ncurl -fsSL \"\u003Cdeployed_origin>\u003Cscript_path>\" -o \u002Ftmp\u002Fprobe_bundle.js\n# Then grep:\ngrep -n \"\u003Cfix_marker_1>\\|\u003Cfix_marker_2>\\|\u003Cfix_marker_3>\" \u002Ftmp\u002Fprobe_bundle.js\n```\n\nPick markers that are **unique to the fix** and absent in the previous version — function names introduced by the fix, new constant values, new CSS class selectors, new `addEventListener` strings, new comment blocks referencing the bug.\n\n**Pass criteria:** all 5-10 markers present in the served bytes.\n\n**Pitfall:** the fix may live in a chunk file (`chunk.\u003Chash>.js`) loaded from the main bundle, not in the main bundle itself. Walk the import graph.\n\n### Layer 3 — Runtime behavior verified headless\n\nThis is the **load-bearing** layer. Layer 1+2 only prove the deployed bytes contain the fix; layer 3 proves the fix actually affects the DOM as expected.\n\n```python\nfrom playwright.sync_api import sync_playwright\n\nCHROME = \"$HOME\u002FLibrary\u002FCaches\u002Fms-playwright\u002Fchromium-1223\u002Fchrome-mac-arm64\u002FGoogle Chrome for Testing.app\u002FContents\u002FMacOS\u002FGoogle Chrome for Testing\"\n\nwith sync_playwright() as p:\n    browser = p.chromium.launch(headless=True, executable_path=CHROME, args=[\"--no-sandbox\"])\n    ctx = browser.new_context(viewport={\"width\": 390, \"height\": 844})  # match user's viewport\n    page = ctx.new_page()\n    page.goto(\"\u003Cdeployed_url>\", wait_until=\"domcontentloaded\", timeout=45000)\n    \n    # A) Confirm the right bundle is attached to the document\n    attached = page.evaluate(\"\"\"() => {\n      const scripts = Array.from(document.scripts).map(s => s.src);\n      const css = Array.from(document.styleSheets).map(s => s.href);\n      return { scripts: scripts.filter(s => s.includes('app.')), css };\n    }\"\"\")\n    \n    # B) Walk live stylesheets for any BAD rule applying to the fixed element\n    bad_rules = page.evaluate(\"\"\"(selector) => {\n      const out = [];\n      for (const sheet of document.styleSheets) {\n        try {\n          for (const rule of sheet.cssRules) {\n            if (rule.selectorText && rule.selectorText.includes(selector)) {\n              out.push({ href: sheet.href || '(inline)', cssText: rule.cssText });\n            }\n          }\n        } catch (e) { \u002F* cross-origin sheets throw SecurityError *\u002F }\n      }\n      return out;\n    }\"\"\", \"\u003Cfixed-element-selector>\")\n    \n    # C) Computed-style probe — inject the element in an isolated iframe so\n    #    no other CSS affects it, OR query it from the live DOM if it exists.\n    style_probe = page.evaluate(\"\"\"() => {\n      const iframe = document.createElement('iframe');\n      iframe.style.display = 'none';\n      document.body.appendChild(iframe);\n      const doc = iframe.contentDocument;\n      const el = doc.createElement('button');\n      el.id = '\u003Cfixed-element-id>';\n      doc.body.appendChild(el);\n      const cs = getComputedStyle(el);\n      const result = { position: cs.position, display: cs.display, top: cs.top, zIndex: cs.zIndex };\n      iframe.remove();\n      return result;\n    }\"\"\")\n    \n    browser.close()\n```\n\n**Pass criteria depend on the bug class:**\n- *Visibility \u002F layout fix:* `position === 'static'`, not `sticky`. `display === 'block'` (or correct value). `top === 'auto'`.\n- *Scroll-fix (button hides when scrolled):* inject the button + container in a styled iframe, programmatically `scrollTop=0`, check `display`, then `scrollTop=N>threshold`, check `display === 'none'`. Run the actual scroll listener if reachable.\n- *Click handler fix:* bind the handler to a stub element, click, verify the side effect.\n- *Network call fix:* route the relevant `\u002Fapi\u002F...` URL, verify `page.route()` saw the call.\n\n**Auth gate pitfall:** Layer 3-C (live DOM) may fail if the SPA is auth-gated and redirected. Workarounds in priority order:\n1. Inject the element into a hidden iframe (independent document, no SPA code). You can still verify CSS rules from step B apply \u002F computed-style resolution without the SPA running. The iframe inherits the page's loaded CSS via cascade but doesn't need the SPA's JS.\n2. Walk `document.styleSheets` (step B) — sheets load before the SPA gates the body. If a stale bad rule is in there, you'll catch it.\n3. Skip layer 3 if both workarounds fail and say so explicitly in the verdict — \"Layers 1+2 pass; layer 3 skipped because deployed URL is auth-gated; recommend the user manually confirm by visiting `\u003Curl>`.\"\n\n## Output template\n\nAfter running the 3 layers, post the verdict in this shape:\n\n```\n:white_check_mark: *Yes — \u003Cfeature> is proven fixed and live.*\n\n:white_check_mark: *Code shipped*\n- [PR #N](url) merged \u003Cdate> — \u003Cone-line behavioral change>.\n- Issue [#N](url) closed.\n\n:white_check_mark: *Deployed bundle carries the fix*\n- Bundle served today: `\u003Cfilename.\u003Chash>.js>` (HTTP 200, \u003Csize> bytes).\n- All N fix markers present in the served JS:\n  - \u003Cmarker 1>\n  - \u003Cmarker 2>\n  - \u003Cmarker N>\n\n:white_check_mark: *Runtime behavior verified headless*\n- Headless Chromium navigated the live URL; bundle attached = true.\n- `document.styleSheets` walk: \u003CN> rules apply to `\u003Cselector>` — \u003Cpass\u002Ffail breakdown>.\n- `getComputedStyle` on injected element: `\u003Ckey properties>` — \u003Cverdict>.\n\nEnd state: \u003Cone-sentence behavioral summary>.\n```\n\nIf any layer fails, mark that layer :red_circle: instead and name what it showed. Don't claim overall \"fixed and live\" if any layer is red.\n\nAlways include `? Memories used:` at the end per the always-on guardrail.\n\n## Pitfalls observed\n\n- **Hash drift.** The bundle hash from a PR description or older Slack message will be wrong after a subsequent deploy. Always re-derive the current hash from the live HTML each verification.\n- **CSS lives outside the bundle.** `position: sticky` (or the bad CSS the fix removed) may live in a `\u003Clink rel=\"stylesheet\">` file, not in the hashed JS chunk. Walk both. The pattern from #8250: 22 separate `\u003Clink rel=\"stylesheet\">` CSS files were loaded, none in the bundle. Layer 2 alone would have missed the fix.\n- **Same-name-different-file selector.** `getComputedStyle` on a freshly-injected `\u003Cbutton id=\"load-older-btn\">` returns `position: static`, but a *real* instance in the DOM may carry inline styles overriding the cascade. When probing a real instance, check `style.cssText` before `getComputedStyle`. When probing in an iframe, you get pure cascade resolution — usually what you want.\n- **Cross-origin stylesheets throw.** `sheet.cssRules` on a `\u003Clink>` from a different origin throws `SecurityError`. Wrap in try\u002Fexcept; you'll skip those, but the in-page \u002F same-origin sheets give the answer.\n- **Playwright browsers need install.** `playwright install` may fail in restricted envs. Fall back to the cached `chromium-1223` at `~\u002FLibrary\u002FCaches\u002Fms-playwright\u002Fchromium-1223\u002Fchrome-mac-arm64\u002FGoogle Chrome for Testing.app\u002FContents\u002FMacOS\u002FGoogle Chrome for Testing` and pass `executable_path=` explicitly. This path was verified 2026-07-14.\n- **Defer `document.styleSheets` walk too early.** Some SPAs inject stylesheets after `domcontentloaded`. Add `page.wait_for_timeout(2000)` before walking if you're seeing empty results.\n- **Don't confuse \"merged\" with \"deployed.\"** A merged PR may not be in production — Cloud Run revisions, Vercel deployments, and Fly machines all have their own lag. Layer 1 is necessary, not sufficient.\n\n## Pair-with skills\n\n- `repro` (`~\u002F.hermes\u002Fskills\u002Frepro\u002FSKILL.md`) — thin pointer to canonical WA workflow; load when reporting *new* bugs.\n- `repro\u002Freferences\u002Fauth-gate-fallback-repro.md` — fallback to local Flask + `X-Test-Bypass-Auth` when deployed URL auth-gates block live probing and the bug is API-shape or server-side. Different from layer 3 here, which is frontend-side.\n- `verify-telemetry-alert` — for automated alerts (cron \u002F BQ \u002F billing), not user-asked \"is X fixed now?\" questions.\n- `web-page-screenshots` — for capturing BEFORE\u002FAFTER visual evidence for PRs (different use case; that skill is about *producing* screenshots, this one is about *consuming* a deployed state).\n- `evidence-attach-to-slack` — for getting the verdict PNG\u002FJSON attached to the Slack thread (not just path-mentioned).\n\n## Reference\n\n- `references\u002Fpagination-load-older-2026-07-14.md` — verified worked example. WA \"Load older entries\" pagination fix (issue #8250, PRs #8251 closed → #8256 merged → #8269 merged top-only rewrite). Demonstrates the iframe-injected `getComputedStyle` workaround for Firebase-auth-gated URLs and the \"hash drift\" pitfall (a comment in the served bundle still mentions \"sticky\" even though the implementation is top-only).\n\n## Verification checklist\n\nBefore posting the verdict:\n- [ ] PR view confirmed MERGED, with mergedAt timestamp\n- [ ] `git show origin\u002Fmain:\u003Cfile>` confirms the fix is on main, not just the PR branch\n- [ ] Live HTML re-derived the bundle hash; did not trust a stale hash\n- [ ] All fix markers grepped from served JS bytes — not from local checkout\n- [ ] `document.styleSheets` walk done against the live document\n- [ ] `getComputedStyle` probe done in an isolated iframe (or live DOM with style override check)\n- [ ] Result matches the expected pass criteria for the bug class (visibility \u002F scroll \u002F click \u002F network)\n- [ ] If any layer skipped, name the layer and the reason in the verdict\n- [ ] `? Memories used:` line included\n",{"name":5,"version":66,"metadata":67,"description":7},"1.0.0",{"hermes":68},{"tags":69,"related_skills":75},[52,30,56,39,70,71,60,72,73,74],"proof","ui","computed-style","bundle-hash","fix-claim",[76,47,77,78,79],"verify-telemetry-alert","web-page-screenshots","evidence-attach-to-slack","pr-triage-and-next-steps","05df7380981a2c4af868ce0fa57962ae0eea62a9","hermes\u002Fskills\u002Fsoftware-development\u002Fverify-deployed-frontend-fix",0,"https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills","https:\u002F\u002Fgithub.com\u002Fjleechanorg","2026-11-14 14:55:35",{"source":9,"skillName":5,"commands":87,"prompt":97,"zipAvailable":98},[88,91,94],{"tool":89,"command":90},"npx","npx skills add jleechanorg\u002Fjleechan-skills --skill verify-deployed-frontend-fix",{"tool":92,"command":93},"bunx","bunx skills add jleechanorg\u002Fjleechan-skills --skill verify-deployed-frontend-fix",{"tool":95,"command":96},"pnpm","pnpm dlx skills add jleechanorg\u002Fjleechan-skills --skill verify-deployed-frontend-fix","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002Fhermes\u002Fskills\u002Fsoftware-development\u002Fverify-deployed-frontend-fix\u002FSKILL.md",true,[100],{"path":101,"resourceType":102,"resourceTypeDesc":103,"sizeBytes":104,"sourceHtmlUrl":105},"references\u002Fpagination-load-older-2026-07-14.md","REFERENCE","参考文档",5328,"https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002Fhermes\u002Fskills\u002Fsoftware-development\u002Fverify-deployed-frontend-fix\u002Freferences\u002Fpagination-load-older-2026-07-14.md",[107,115,122,129,137,146],{"skillNo":108,"name":109,"nameZh":13,"description":110,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":114},"01M7DRVZXXMGY4G81K5GVF4V20","disk-reclaim-playbook","Use Disk Magician to diagnose disk growth or qualify cleanup on macOS or Linux.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdisk-reclaim-playbook\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":116,"name":117,"nameZh":13,"description":118,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":114},"01M7B63PNTT2TY78RFKHD8SP3X","claudea-bench","Compare `claudea` and normal `claude` on a fair split of comparable work by default; use `--strict` for duplicate runs of the exact same task.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fclaudea-bench\u002FSKILL.md",[],[],{"skillNo":123,"name":54,"nameZh":13,"description":124,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":128},"01M7622KQJ32AV4K5BXEMVSSEB","Alias for the canonical pr-lifecycle PR workflow skill (\u002Fpr-workflow, \u002Fprw).","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fpr\u002FSKILL.md",[],[],"2026-11-12 13:55:43",{"skillNo":130,"name":131,"nameZh":13,"description":132,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":136},"01M7432W92AKC4D1TKJ00VCMMT","whisper","OpenAI's general-purpose speech recognition model. Supports 99 languages, transcription, translation to English, and language identification. Six model sizes from tiny (39M params) to large (1550M params). Use for speech-to-text, podcast transcription, or multilingual audio processing. Best for robust, multilingual ASR.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002F2026-11-09-no-usage-evidence\u002Fwhisper\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":138,"name":139,"nameZh":13,"description":140,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":141,"licenseFileUrl":142,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":136},"01M7432T6BN1A9SHB8RBQR5EMP","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002F2026-11-09-no-usage-evidence\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002F2026-11-09-no-usage-evidence\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":147,"name":148,"nameZh":13,"description":149,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":150,"categories":151,"keywords":152,"publishedAt":136},"01M7432NDC7S6C6MX7M6RW8CTT","pr-report","This skill should be used when the user asks for a PR report, PR audit, PR delta analysis, \u002Fpr-report, or wants per-PR summary with delta files\u002Flines. Generates a structured report for one or more open PRs covering purpose, files changed, +\u002F− line counts, \u002Fcode-standards + \u002Fthermo review findings, \u002Fponytail simplification opportunities, file-overlap combination candidates, and \u002Fgreen status per pr-green-definition. Output: machine-readable JSONL + human-readable markdown. Read-only by default; can apply simplifications if user opts in.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002F2026-11-09-no-usage-evidence\u002Fpr-report\u002FSKILL.md",[],[]]