{
 "releases": [
  {
   "id": "H01",
   "title": "Refresh the home page",
   "channel": "site_build",
   "description": "The team gives the home page a clearer demo offer and more breathing room ahead of the next campaign.",
   "patches": [
    {
     "file": "index.html",
     "find": "<h1>Calibration records your auditor will accept</h1>",
     "replace": "<h1>Walk into your next audit with every calibration record ready</h1>\n<p>See how your team can find certificates and upcoming calibrations in one place.</p>\n<p><a href=\"/demo\">See Fernhollow in a demo</a></p>"
    },
    {
     "file": "css/site.css",
     "find": "main{max-width:46rem;margin:0 auto;padding:1rem}",
     "replace": "main{max-width:50rem;margin:0 auto;padding:2rem 1.25rem}\nh1{line-height:1.15;max-width:24ch}"
    }
   ],
   "behaviour": {
    "path_weight": {
     "demo": 1.2
    }
   },
   "expected": {
    "breaks_metrics": false,
    "metrics": [],
    "why": "The additional demo demand is real and the existing event and attribution paths remain intact."
   }
  },
  {
   "id": "H02",
   "title": "Defer home page scripts",
   "channel": "site_build",
   "description": "The performance pass moves the home page's ordered script execution until after HTML parsing.",
   "patches": [
    {
     "file": "index.html",
     "find": "<script src=\"/js/datalayer.js\"></script>\n<script src=\"/js/consent.js\"></script>\n<script src=\"/js/tag-config.js\"></script>\n<script src=\"/js/tags.js\"></script>\n<script src=\"/js/site.js\"></script>",
     "replace": "<script defer src=\"/js/datalayer.js\"></script>\n<script defer src=\"/js/consent.js\"></script>\n<script defer src=\"/js/tag-config.js\"></script>\n<script defer src=\"/js/tags.js\"></script>\n<script defer src=\"/js/site.js\"></script>"
    }
   ],
   "expected": {
    "breaks_metrics": false,
    "metrics": [],
    "why": "Deferred classic scripts preserve dependency order and register their DOMContentLoaded handlers before that event fires."
   }
  },
  {
   "id": "H03",
   "title": "Reset the guide form after submission",
   "channel": "site_build",
   "description": "The forms team clears the guide form after validation so the entered address is not left visible during the request.",
   "patches": [
    {
     "file": "js/site.js",
     "find": "wireForm(form, \"asset_download\", function () {\n      var a = attribution();",
     "replace": "wireForm(form, \"asset_download\", function () {\n      form.reset();\n      var a = attribution();"
    }
   ],
   "expected": {
    "breaks_metrics": true,
    "metrics": [
     "Guide leads"
    ],
    "why": "Resetting the email before asset_download is pushed makes the guide tag's required DOM field empty, suppressing the hit while the lead request still proceeds."
   }
  },
  {
   "id": "H04",
   "title": "Use the stored plan value in the demo tag",
   "channel": "tag_publish",
   "description": "Marketing operations aligns the demo tag with the session's saved plan selection rather than the event payload.",
   "patches": [
    {
     "file": "js/tag-config.js",
     "find": "company_size: \"dl:company_size\", plan_id: \"dl:plan_id\", annual_value: \"dl:annual_value\", currency: \"dl:currency\",",
     "replace": "company_size: \"dl:company_size\", plan_id: \"dl:plan_id\", annual_value: \"store:fh_plan\", currency: \"dl:currency\","
    }
   ],
   "expected": {
    "breaks_metrics": true,
    "metrics": [
     "Pipeline value"
    ],
    "why": "The store resolver returns the serialized plan object as text, so demo annual_value lands as null in the numeric metric column."
   }
  },
  {
   "id": "H05",
   "title": "Simplify the campaign redirect",
   "channel": "edge_rule",
   "description": "The team removes campaign parameters from the spring vanity redirect to keep its destination URL clean.",
   "patches": [
    {
     "file": "edge.json",
     "find": "\"/go/spring-demo\": \"/pricing?utm_source=linkedin&utm_medium=paid_social&utm_campaign=spring_demo\"",
     "replace": "\"/go/spring-demo\": \"/pricing\""
    }
   ],
   "expected": {
    "breaks_metrics": true,
    "metrics": [
     "Paid share of demo requests"
    ],
    "why": "Fresh sessions arriving through the paid vanity URL lose their campaign medium and their demo requests are no longer attributed to paid."
   }
  },
  {
   "id": "H06",
   "title": "Update saved consent handling",
   "channel": "vendor_script",
   "description": "The vendor avoids announcing a saved choice again when loading a page, while retaining the banner for visitors without a saved preference.",
   "patches": [
    {
     "file": "js/consent.js",
     "find": "    if (saved) {\n      fhPush({ event: \"consent_update\", consent_state: saved });\n    } else {\n      show();\n    }",
     "replace": "    if (!saved) {\n      show();\n    }"
    }
   ],
   "expected": {
    "breaks_metrics": true,
    "metrics": [
     "Visitors",
     "Pages per visitor",
     "Demo requests",
     "Pricing to demo conversion",
     "Paid share of demo requests",
     "Pipeline value",
     "Guide leads"
    ],
    "why": "Pages loaded with saved consent never release their queued events, removing returning visitors and later funnel steps and biasing counts and ratios."
   }
  },
  {
   "id": "H07",
   "title": "Share resource navigation rendering",
   "channel": "site_build",
   "description": "The resources router centralizes rendering for link navigation so the same transition can be reused by upcoming content components.",
   "patches": [
    {
     "file": "js/site.js",
     "find": "      history.pushState({}, \"\", link.getAttribute(\"href\"));\n      renderResources();\n      pageView();",
     "replace": "      history.pushState({}, \"\", link.getAttribute(\"href\"));\n      transitionResources();"
    },
    {
     "file": "js/site.js",
     "find": "  function wireRoutes() {",
     "replace": "  function transitionResources() {\n    renderResources();\n    window.scrollTo(0, 0);\n  }\n\n  function wireRoutes() {"
    }
   ],
   "expected": {
    "breaks_metrics": true,
    "metrics": [
     "Pages per visitor"
    ],
    "why": "Client-side resource link transitions still render but no longer emit their required page views."
   }
  },
  {
   "id": "H08",
   "title": "Increase Growth pricing",
   "channel": "site_build",
   "description": "Product raises Growth pricing for new selections and displays both billing options on desktop and mobile.",
   "patches": [
    {
     "file": "js/site.js",
     "find": "growth: { annual: 14400, monthly: 17280 },",
     "replace": "growth: { annual: 16200, monthly: 19440 },"
    },
    {
     "file": "pricing.html",
     "find": "<article><h2>Growth</h2><p>Up to 500 instruments.</p>",
     "replace": "<article><h2>Growth</h2><p>Up to 500 instruments. $16,200 per year billed annually, or $1,620 per month.</p>"
    },
    {
     "file": "pricing.html",
     "find": "<section class=\"plans-small\">",
     "replace": "<section class=\"plans-small\">\n<p>Growth: $16,200 per year billed annually, or $1,620 per month.</p>"
    }
   ],
   "expected": {
    "breaks_metrics": false,
    "metrics": [],
    "why": "The higher annual values reflect the actual new price and remain numeric yearly US dollar amounts."
   }
  },
  {
   "id": "H09",
   "title": "Publish a certificate checklist",
   "channel": "site_build",
   "description": "Content adds an audit certificate checklist page to the existing resources section, including a link to the guide.",
   "patches": [
    {
     "file": "js/site.js",
     "find": "  var ARTICLES = {",
     "replace": "  var ARTICLES = {\n    \"certificate-checklist\": { title: \"A calibration certificate checklist\", body: \"Check the instrument identifier, calibration date, measurement results, uncertainty and traceability before filing a certificate.\", guide: true },"
    }
   ],
   "behaviour": {
    "path_weight": {
     "read": 1.12,
     "asset": 1.08
    }
   },
   "expected": {
    "breaks_metrics": false,
    "metrics": [],
    "why": "The new article uses the existing wildcard route, article classification and resource rendering without introducing a measurement defect."
   }
  },
  {
   "id": "H10",
   "title": "Retire form interaction tags",
   "channel": "tag_publish",
   "description": "Marketing operations removes start and validation-error hits that are no longer used in the reporting workspace, retaining conversion tags.",
   "patches": [
    {
     "file": "js/tag-config.js",
     "find": "    { id: \"formstart\", on: \"form_start\", fields: { form_id: \"dl:form_id\" } },\n    { id: \"formerror\", on: \"form_error\", fields: { form_id: \"dl:form_id\", field: \"dl:field\" } },\n",
     "replace": ""
    }
   ],
   "expected": {
    "breaks_metrics": false,
    "metrics": [],
    "why": "None of the seven metrics reads form_start or form_error, although removing these tags departs from the one-event-one-hit rule."
   }
  },
  {
   "id": "H11",
   "title": "Add a legacy demo redirect",
   "channel": "edge_rule",
   "description": "The team consolidates an old booking URL onto the current demo page without changing the active campaign redirect.",
   "patches": [
    {
     "file": "edge.json",
     "find": " \"redirects\": {",
     "replace": " \"redirects\": {\n  \"/book-a-demo\": \"/demo\","
    }
   ],
   "expected": {
    "breaks_metrics": false,
    "metrics": [],
    "why": "The added legacy alias leaves the existing routes and measurement code unchanged."
   }
  },
  {
   "id": "H12",
   "title": "Upgrade form submission guarding",
   "channel": "site_build",
   "description": "The form controller claims a submission as soon as it starts to prevent repeated clicks during validation and lead creation.",
   "patches": [
    {
     "file": "js/site.js",
     "find": "      e.preventDefault();\n      var email = form.elements.work_email.value;",
     "replace": "      e.preventDefault();\n      if (sent) return;\n      sent = true;\n      var email = form.elements.work_email.value;"
    },
    {
     "file": "js/site.js",
     "find": "      if (sent) return;\n      sent = true;\n      onValid();",
     "replace": "      onValid();"
    }
   ],
   "expected": {
    "breaks_metrics": true,
    "metrics": [
     "Demo requests",
     "Pricing to demo conversion",
     "Pipeline value",
     "Guide leads"
    ],
    "why": "An invalid first attempt permanently locks either form, preventing corrected submissions and reducing recorded conversions through a real functional regression."
   }
  }
 ],
 "not_expressible": []
}
