[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CJ6NG83MVB2VK3ED5GFPXZ":3,"skill-same:01M6CJ6NG83MVB2VK3ED5GFPXZ":91},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":25,"publishedAt":49,"linkOnly":50,"markdownContent":51,"markdownBody":52,"frontMatter":53,"refName":54,"commitSha":55,"skillDirectory":56,"forksCount":57,"repositoryHtmlUrl":58,"repositoryHomepageUrl":59,"ownerHtmlUrl":60,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":61,"install":62,"resources":75},"01M6CJ6NG83MVB2VK3ED5GFPXZ","deploy-hosted-gateway",null,"The ONLY way to deploy the hosted Gateway, the Cockpit and the mobile app - all three ship in one image, so this one skill covers all three. Starts the GitHub deploy, watches it, and reports the measured outage. This is the CLOUD Gateway, not the downloadable desktop app. Triggers on \"release the gateway\", \"deploy the gateway\", \"push the gateway live\", \"update the hosted gateway\", \"redeploy the gateway\", \"deploy the cockpit\", \"update the cockpit\", \"ship the cockpit\", \"deploy mobile\", \"deploy the mobile app\", \"deploy to production\".","thefrederiksen\u002Fdevthrottle","thefrederiksen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F220024918?v=4","01M6CJ5XSV9624762E0FDS49BZ","01M6CJ5XY3WWF9943901Y87DEX",110,"MIT","https:\u002F\u002Fgithub.com\u002Fthefrederiksen\u002Fdevthrottle\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdeploy-hosted-gateway\u002FSKILL.md",[17,22],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000011","运维与部署","SCENARIO","使用场景",{"categoryNo":23,"categoryName":24,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000023","Skill与智能体开发",[26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48],"deploy","gateway","deploy hosted gateway","only","deploy to production","Redeploy","app","triggers","live","three","desktop app","mobile","reports","mobile app","image","ship","Production","cloud","push","release","desktop","update","github","2026-11-10 10:12:30",false,"---\nname: deploy-hosted-gateway\ndescription: The ONLY way to deploy the hosted Gateway, the Cockpit and the mobile app - all three ship in one image, so this one skill covers all three. Starts the GitHub deploy, watches it, and reports the measured outage. This is the CLOUD Gateway, not the downloadable desktop app. Triggers on \"release the gateway\", \"deploy the gateway\", \"push the gateway live\", \"update the hosted gateway\", \"redeploy the gateway\", \"deploy the cockpit\", \"update the cockpit\", \"ship the cockpit\", \"deploy mobile\", \"deploy the mobile app\", \"deploy to production\".\n---\n\n# Deploy the hosted Gateway\n\nUpdates the live cloud Gateway that DevThrottle clients talk to. It rebuilds the\nGateway container and pushes it live to Azure, then confirms the service is\nhealthy again.\n\n**It covers the Cockpit and the mobile app too.** They are built INTO the Gateway\ncontainer image (`wwwroot\u002Fc` and `wwwroot\u002Fmobile` - see the repo-root `Dockerfile`).\nThere is no separate Cockpit deploy and no separate mobile deploy. If someone asks\nyou to \"deploy the Cockpit\", this is the skill.\n\nThis is NOT the desktop-app release. Cutting a version and building the\ndownloadable `cc-director.exe` is a different job - use the `release-manager`\nskill for that. This skill only redeploys the cloud service; it never touches\nversion numbers, release notes, tags, or the mailing list.\n\n## What you must know first\n\n- **This workflow is the ONLY way to update the live Gateway.** Do not pin an\n  image, restart the site, or change app settings by hand with `az`, and do not do\n  it in the Azure Portal. Those paths skip the outage measurement and the refusals\n  below, and a hand-driven change is how you get an unmeasured outage on live\n  sessions. If this workflow cannot do what is needed, that is a gap to fix in the\n  workflow, not to work around. Rolling back is also a workflow\n  (`rollback-hosted-gateway.yml`) - use it rather than pinning an old image by hand.\n- **A person authorizes the go-live.** Starting this deploy pushes new code to\n  the live service. Get an explicit go from the human before you start it. Do not\n  start it on your own initiative.\n- **It ships main, and never a commit whose checks have FAILED.** The run refuses, in\n  seconds and before it touches anything, if it was started against any ref other than\n  `refs\u002Fheads\u002Fmain`, or if a check on the commit being shipped has COMPLETED and did\n  not pass. Both refusals sit ahead of the Azure login and the build, so a refused\n  deploy costs seconds and touches nothing.\n- **A check that has not finished is NOT a refusal, and this deploy does not wait for\n  one.** The run lists the pending checks and carries straight on, because a pending\n  check is an absence of information rather than evidence of a fault. A commit with no\n  checks at all is not refused either - and since 2026-09-30 that is the usual case, because CI\n  no longer starts on a merge; it runs nightly and when asked. Local verification is the gate;\n  continuous integration is the backstop that reports afterwards. CLAUDE.md 5a says that about\n  MERGES; the workflow reaches the same conclusion on its own account for deploys.\n\n  This bullet said the opposite for twenty-five days, and the cost was real. The\n  wait-for-CI wording was written on 2 August 2026 at 17:06 (#2389); the gate stopped\n  behaving that way at 22:12 the SAME DAY (#2406, \"stop the gate waiting for CI -\n  refuse a FAILED check, never a pending one\"). The step is even named \"Refuse to\n  deploy a commit whose checks have FAILED\". Anyone who trusted this page instead of\n  reading the workflow parked a deploy behind an hour of .NET CI that nothing asked\n  for. If this page and\n  `.github\u002Fworkflows\u002Fdeploy-hosted-gateway.yml` ever disagree again, the workflow is\n  the truth and this page is the defect.\n- **It does not set up any infrastructure.** The Azure resource group, container\n  registry, database connection, and storage are already provisioned and persist\n  across deploys. This deploy only: rebuild the image, point the live service at\n  the new image, restart, verify health. It needs no stored secrets - it signs in\n  to Azure through a trust that is already configured.\n- **A deploy takes production off the air for about a minute, and that is expected.**\n  Since 20 September 2026 the plan is Basic B2, which has no deployment slots, so the\n  deploy is an in-place restart: the old container stops, the new one starts, and the\n  gap is the new container's start-up. Tell the human that before you start, and tell\n  them the measured number afterwards. The budget the run is held to is 120 seconds.\n\n## Steps\n\n### 1. Confirm the human's go\n\nDo not proceed without an explicit \"yes, deploy\" from the human for this specific\nrelease.\n\n### 2. Start the release\n\nOne command starts it. It runs against `main` unless told otherwise:\n\n```\ngh workflow run deploy-hosted-gateway.yml --repo thefrederiksen\u002Fdevthrottle --ref main\n```\n\nA human can do the same thing by hand: GitHub -> Actions -> \"Deploy hosted\nGateway\" -> \"Run workflow\". Both are the same trigger.\n\n#### Turning Teams on or off (the Teams switch)\n\nThe deploy is also the ONLY way to change the two Teams app settings on the live\nGateway: `CC_GATEWAY_TEAMS` (releases the team routes) and `CC_GATEWAY_TEAM_MENTOR`\n(the Mentor's weekly writer, which does nothing unless Teams is also on). Never set\nthem with `az` by hand and never in the Azure Portal.\n\nThe run takes two inputs, `teams` and `team_mentor`, each `on`, `off` or\n`unchanged`. The default is `unchanged`, which writes nothing, so a plain deploy\nleaves both settings exactly as they are. `on` writes `1` (the only value the\nGateway reads as on), `off` writes `0`.\n\n```\ngh workflow run deploy-hosted-gateway.yml --repo thefrederiksen\u002Fdevthrottle --ref main -f teams=on\ngh workflow run deploy-hosted-gateway.yml --repo thefrederiksen\u002Fdevthrottle --ref main -f teams=on -f team_mentor=on\ngh workflow run deploy-hosted-gateway.yml --repo thefrederiksen\u002Fdevthrottle --ref main -f teams=off -f team_mentor=off\n```\n\n**Changing a switch costs a second restart, and the run says so.** Writing an app\nsetting restarts the site by itself. So when a switch actually changes, the deploy step\nmakes two clean hand-overs, never stacked: write the settings, wait until production has\nrestarted and is back on the OLD commit (with the requested `\u002Fhealthz` `teams` value),\nthen pin the new image as usual. Both gaps are measured and printed; the budget still\napplies to the longest single stretch, and the watch job's \"total unavailable\" counts\nboth. A requested value production already holds is not written, so it costs nothing.\nWith both inputs `unchanged` the deploy is exactly the ordinary single-restart deploy.\nIf the settings write fails, or production does not come back after it, the run stops\nand the image is NOT changed.\n\nThe run summary has a \"Teams switches\" table: each setting's value before, what was\nrequested, the setting after, and what the serving Gateway reports - only these two\nsettings, never any other. A requested `teams` value must hold in the setting AND be\nserved: `\u002Fhealthz` must answer `\"teams\":true` (or `false`) on the new commit, or the\nrun fails. The Mentor switch is checked as a setting only, because `\u002Fhealthz` does not\nreport it; the running evidence is the Gateway log line `[TeamMentorSwitch] IsOn`.\nChanging a switch is the owner's decision; get the go for it as part of the go for the\ndeploy.\n\n### 3. Watch it run to the end\n\nFind the run that just started and watch it. The whole thing takes roughly five\nminutes, because it builds the container in Azure.\n\n```\ngh run list --repo thefrederiksen\u002Fdevthrottle --workflow deploy-hosted-gateway.yml -L 1\ngh run watch \u003Crun-id> --repo thefrederiksen\u002Fdevthrottle --interval 30 --exit-status\n```\n\nThe run itself finishes with its own health check, so a green run already means it\ncame back up. If the run fails at \"Azure login\", the deploy trust is broken - see\nTroubleshooting.\n\n### 4. Confirm the live service is healthy\n\n```\ncurl -s -m 20 -o \u002Fdev\u002Fnull -w \"HTTP %{http_code}\\n\" https:\u002F\u002Fdevthrottle-gw.azurewebsites.net\u002Fhealthz\n```\n\nA `200` means the live Gateway is up.\n\n**A gap here IS expected now, and it is about a minute.** This section used to say\nthe deploy was a warmed slot swap with no cold start on the user path. That was true\nuntil 20 September 2026 and is not true any more.\n\nThe plan was S1 Standard, whose single worker had 1.75 GB of memory and spent most of\nits life swapping to disk. Deploys on it measured 87s, 122.8s, 172.0s and 360.7s of\noutage - the warmed swap stopped saving anything, because both slots shared that one\nstarved worker. The owner moved the plan to Basic B2: twice the memory and twice the\nprocessor for $25 a month instead of $69. Basic has no deployment slots, so the staging\nslot was deleted and the deploy became an in-place restart.\n\n**What normal looks like now:** the plan change itself, measured with a one-second\nprobe, took production down for **about 60 seconds**. A deploy should be in that\nregion. The run fails if it exceeds **120 seconds**, which is the owner's ruling of\n20 September 2026: \"It is completely okay to have two minutes out of this if we just\nknow we have it.\"\n\n**What is still NOT normal:** minutes of `502`\u002F`000` beyond that, or a site that never\ncomes back. Two deploys in August took the service down for 38.5s and 46.7s against a\nfive-second budget, both because a container failed its own startup and the platform\nreverted by stopping the SITE - which tore down the healthy container beside it. The\nsame failure is available to an in-place restart. If `\u002Fhealthz` does not answer `200`\nwithin a couple of minutes of the run going green, say so; do not wait it out.\n\n**A failed run is a report, not a protection.** The watch job fails when the outage\nexceeds the budget, and it did fail on 12 August - users were dark for 46.7 seconds\nregardless. Never present a green run as proof that deploying is free.\n\n**If a deploy ships bad code**, roll back by putting a previous image back. The registry\nkeeps the **three newest** images, plus whatever production is running and the last one\nthat passed a whole deploy (`last-known-good`). The deploy run's summary lists what is\navailable, and prints the commit it replaced (\"Outgoing live commit\"):\n\n```\ngh workflow run rollback-hosted-gateway.yml --repo thefrederiksen\u002Fdevthrottle --ref main -f commit=last-known-good\n```\n\n`commit=\u003Cshort commit>` works too. That is a pin and a restart, not a rebuild - a minute\nor two, and an outage of its own. It puts back CODE, not data: an older image does not\nundo a database change that shipped with the bad deploy.\n\n**The way back to zero-outage deploys** is a slot-capable plan (Premium v3 P0v3: 4 GB,\nabout $57 a month, cheaper than the old S1) plus the warmed-swap deploy and swap-back\nrollback, which are in git history before 20 September 2026. That is the owner's call,\nbecause it costs money every month.\n\n### 5. Report plainly\n\nTell the human, in plain language, that the live Gateway was updated and is\nhealthy. Describe what changed, not run numbers.\n\n## Troubleshooting\n\n- **Run fails in about 20 seconds at \"Azure login (OIDC)\".** The Azure trust that\n  lets GitHub deploy is missing or wrong. The deploy signs in as an Azure app\n  registration that must carry a federated credential whose subject is\n  `repo:thefrederiksen\u002Fdevthrottle:environment:hosted-gateway-production`. Fixing\n  this needs Azure access in the tenant that owns that app registration; bring the\n  human in. Full context: the deploy workflow's own header comments in\n  `.github\u002Fworkflows\u002Fdeploy-hosted-gateway.yml`, and the provisioning runbook at\n  `docs\u002Farchitecture\u002Fstep3-azure-deploy` in the `devthrottle_internal` repository.\n- **Health check never reaches 200 after several minutes.** The container is\n  failing to start. Read the App Service logs in Azure (the human, or an agent\n  authenticated to the Gateway subscription, can pull them). A failed database\n  migration on startup is the usual cause.\n\n## What this skill does not do\n\n- It does not release the desktop app (`release-manager`).\n- It does not provision or change Azure infrastructure, and it changes no app setting\n  except the two Teams switches, and those only when asked (see \"Turning Teams on or off\").\n- It does not auto-deploy on a commit. The live Gateway updates only when a person\n  deliberately runs this. Committing to main never touches the live service.\n","# Deploy the hosted Gateway\n\nUpdates the live cloud Gateway that DevThrottle clients talk to. It rebuilds the\nGateway container and pushes it live to Azure, then confirms the service is\nhealthy again.\n\n**It covers the Cockpit and the mobile app too.** They are built INTO the Gateway\ncontainer image (`wwwroot\u002Fc` and `wwwroot\u002Fmobile` - see the repo-root `Dockerfile`).\nThere is no separate Cockpit deploy and no separate mobile deploy. If someone asks\nyou to \"deploy the Cockpit\", this is the skill.\n\nThis is NOT the desktop-app release. Cutting a version and building the\ndownloadable `cc-director.exe` is a different job - use the `release-manager`\nskill for that. This skill only redeploys the cloud service; it never touches\nversion numbers, release notes, tags, or the mailing list.\n\n## What you must know first\n\n- **This workflow is the ONLY way to update the live Gateway.** Do not pin an\n  image, restart the site, or change app settings by hand with `az`, and do not do\n  it in the Azure Portal. Those paths skip the outage measurement and the refusals\n  below, and a hand-driven change is how you get an unmeasured outage on live\n  sessions. If this workflow cannot do what is needed, that is a gap to fix in the\n  workflow, not to work around. Rolling back is also a workflow\n  (`rollback-hosted-gateway.yml`) - use it rather than pinning an old image by hand.\n- **A person authorizes the go-live.** Starting this deploy pushes new code to\n  the live service. Get an explicit go from the human before you start it. Do not\n  start it on your own initiative.\n- **It ships main, and never a commit whose checks have FAILED.** The run refuses, in\n  seconds and before it touches anything, if it was started against any ref other than\n  `refs\u002Fheads\u002Fmain`, or if a check on the commit being shipped has COMPLETED and did\n  not pass. Both refusals sit ahead of the Azure login and the build, so a refused\n  deploy costs seconds and touches nothing.\n- **A check that has not finished is NOT a refusal, and this deploy does not wait for\n  one.** The run lists the pending checks and carries straight on, because a pending\n  check is an absence of information rather than evidence of a fault. A commit with no\n  checks at all is not refused either - and since 2026-09-30 that is the usual case, because CI\n  no longer starts on a merge; it runs nightly and when asked. Local verification is the gate;\n  continuous integration is the backstop that reports afterwards. CLAUDE.md 5a says that about\n  MERGES; the workflow reaches the same conclusion on its own account for deploys.\n\n  This bullet said the opposite for twenty-five days, and the cost was real. The\n  wait-for-CI wording was written on 2 August 2026 at 17:06 (#2389); the gate stopped\n  behaving that way at 22:12 the SAME DAY (#2406, \"stop the gate waiting for CI -\n  refuse a FAILED check, never a pending one\"). The step is even named \"Refuse to\n  deploy a commit whose checks have FAILED\". Anyone who trusted this page instead of\n  reading the workflow parked a deploy behind an hour of .NET CI that nothing asked\n  for. If this page and\n  `.github\u002Fworkflows\u002Fdeploy-hosted-gateway.yml` ever disagree again, the workflow is\n  the truth and this page is the defect.\n- **It does not set up any infrastructure.** The Azure resource group, container\n  registry, database connection, and storage are already provisioned and persist\n  across deploys. This deploy only: rebuild the image, point the live service at\n  the new image, restart, verify health. It needs no stored secrets - it signs in\n  to Azure through a trust that is already configured.\n- **A deploy takes production off the air for about a minute, and that is expected.**\n  Since 20 September 2026 the plan is Basic B2, which has no deployment slots, so the\n  deploy is an in-place restart: the old container stops, the new one starts, and the\n  gap is the new container's start-up. Tell the human that before you start, and tell\n  them the measured number afterwards. The budget the run is held to is 120 seconds.\n\n## Steps\n\n### 1. Confirm the human's go\n\nDo not proceed without an explicit \"yes, deploy\" from the human for this specific\nrelease.\n\n### 2. Start the release\n\nOne command starts it. It runs against `main` unless told otherwise:\n\n```\ngh workflow run deploy-hosted-gateway.yml --repo thefrederiksen\u002Fdevthrottle --ref main\n```\n\nA human can do the same thing by hand: GitHub -> Actions -> \"Deploy hosted\nGateway\" -> \"Run workflow\". Both are the same trigger.\n\n#### Turning Teams on or off (the Teams switch)\n\nThe deploy is also the ONLY way to change the two Teams app settings on the live\nGateway: `CC_GATEWAY_TEAMS` (releases the team routes) and `CC_GATEWAY_TEAM_MENTOR`\n(the Mentor's weekly writer, which does nothing unless Teams is also on). Never set\nthem with `az` by hand and never in the Azure Portal.\n\nThe run takes two inputs, `teams` and `team_mentor`, each `on`, `off` or\n`unchanged`. The default is `unchanged`, which writes nothing, so a plain deploy\nleaves both settings exactly as they are. `on` writes `1` (the only value the\nGateway reads as on), `off` writes `0`.\n\n```\ngh workflow run deploy-hosted-gateway.yml --repo thefrederiksen\u002Fdevthrottle --ref main -f teams=on\ngh workflow run deploy-hosted-gateway.yml --repo thefrederiksen\u002Fdevthrottle --ref main -f teams=on -f team_mentor=on\ngh workflow run deploy-hosted-gateway.yml --repo thefrederiksen\u002Fdevthrottle --ref main -f teams=off -f team_mentor=off\n```\n\n**Changing a switch costs a second restart, and the run says so.** Writing an app\nsetting restarts the site by itself. So when a switch actually changes, the deploy step\nmakes two clean hand-overs, never stacked: write the settings, wait until production has\nrestarted and is back on the OLD commit (with the requested `\u002Fhealthz` `teams` value),\nthen pin the new image as usual. Both gaps are measured and printed; the budget still\napplies to the longest single stretch, and the watch job's \"total unavailable\" counts\nboth. A requested value production already holds is not written, so it costs nothing.\nWith both inputs `unchanged` the deploy is exactly the ordinary single-restart deploy.\nIf the settings write fails, or production does not come back after it, the run stops\nand the image is NOT changed.\n\nThe run summary has a \"Teams switches\" table: each setting's value before, what was\nrequested, the setting after, and what the serving Gateway reports - only these two\nsettings, never any other. A requested `teams` value must hold in the setting AND be\nserved: `\u002Fhealthz` must answer `\"teams\":true` (or `false`) on the new commit, or the\nrun fails. The Mentor switch is checked as a setting only, because `\u002Fhealthz` does not\nreport it; the running evidence is the Gateway log line `[TeamMentorSwitch] IsOn`.\nChanging a switch is the owner's decision; get the go for it as part of the go for the\ndeploy.\n\n### 3. Watch it run to the end\n\nFind the run that just started and watch it. The whole thing takes roughly five\nminutes, because it builds the container in Azure.\n\n```\ngh run list --repo thefrederiksen\u002Fdevthrottle --workflow deploy-hosted-gateway.yml -L 1\ngh run watch \u003Crun-id> --repo thefrederiksen\u002Fdevthrottle --interval 30 --exit-status\n```\n\nThe run itself finishes with its own health check, so a green run already means it\ncame back up. If the run fails at \"Azure login\", the deploy trust is broken - see\nTroubleshooting.\n\n### 4. Confirm the live service is healthy\n\n```\ncurl -s -m 20 -o \u002Fdev\u002Fnull -w \"HTTP %{http_code}\\n\" https:\u002F\u002Fdevthrottle-gw.azurewebsites.net\u002Fhealthz\n```\n\nA `200` means the live Gateway is up.\n\n**A gap here IS expected now, and it is about a minute.** This section used to say\nthe deploy was a warmed slot swap with no cold start on the user path. That was true\nuntil 20 September 2026 and is not true any more.\n\nThe plan was S1 Standard, whose single worker had 1.75 GB of memory and spent most of\nits life swapping to disk. Deploys on it measured 87s, 122.8s, 172.0s and 360.7s of\noutage - the warmed swap stopped saving anything, because both slots shared that one\nstarved worker. The owner moved the plan to Basic B2: twice the memory and twice the\nprocessor for $25 a month instead of $69. Basic has no deployment slots, so the staging\nslot was deleted and the deploy became an in-place restart.\n\n**What normal looks like now:** the plan change itself, measured with a one-second\nprobe, took production down for **about 60 seconds**. A deploy should be in that\nregion. The run fails if it exceeds **120 seconds**, which is the owner's ruling of\n20 September 2026: \"It is completely okay to have two minutes out of this if we just\nknow we have it.\"\n\n**What is still NOT normal:** minutes of `502`\u002F`000` beyond that, or a site that never\ncomes back. Two deploys in August took the service down for 38.5s and 46.7s against a\nfive-second budget, both because a container failed its own startup and the platform\nreverted by stopping the SITE - which tore down the healthy container beside it. The\nsame failure is available to an in-place restart. If `\u002Fhealthz` does not answer `200`\nwithin a couple of minutes of the run going green, say so; do not wait it out.\n\n**A failed run is a report, not a protection.** The watch job fails when the outage\nexceeds the budget, and it did fail on 12 August - users were dark for 46.7 seconds\nregardless. Never present a green run as proof that deploying is free.\n\n**If a deploy ships bad code**, roll back by putting a previous image back. The registry\nkeeps the **three newest** images, plus whatever production is running and the last one\nthat passed a whole deploy (`last-known-good`). The deploy run's summary lists what is\navailable, and prints the commit it replaced (\"Outgoing live commit\"):\n\n```\ngh workflow run rollback-hosted-gateway.yml --repo thefrederiksen\u002Fdevthrottle --ref main -f commit=last-known-good\n```\n\n`commit=\u003Cshort commit>` works too. That is a pin and a restart, not a rebuild - a minute\nor two, and an outage of its own. It puts back CODE, not data: an older image does not\nundo a database change that shipped with the bad deploy.\n\n**The way back to zero-outage deploys** is a slot-capable plan (Premium v3 P0v3: 4 GB,\nabout $57 a month, cheaper than the old S1) plus the warmed-swap deploy and swap-back\nrollback, which are in git history before 20 September 2026. That is the owner's call,\nbecause it costs money every month.\n\n### 5. Report plainly\n\nTell the human, in plain language, that the live Gateway was updated and is\nhealthy. Describe what changed, not run numbers.\n\n## Troubleshooting\n\n- **Run fails in about 20 seconds at \"Azure login (OIDC)\".** The Azure trust that\n  lets GitHub deploy is missing or wrong. The deploy signs in as an Azure app\n  registration that must carry a federated credential whose subject is\n  `repo:thefrederiksen\u002Fdevthrottle:environment:hosted-gateway-production`. Fixing\n  this needs Azure access in the tenant that owns that app registration; bring the\n  human in. Full context: the deploy workflow's own header comments in\n  `.github\u002Fworkflows\u002Fdeploy-hosted-gateway.yml`, and the provisioning runbook at\n  `docs\u002Farchitecture\u002Fstep3-azure-deploy` in the `devthrottle_internal` repository.\n- **Health check never reaches 200 after several minutes.** The container is\n  failing to start. Read the App Service logs in Azure (the human, or an agent\n  authenticated to the Gateway subscription, can pull them). A failed database\n  migration on startup is the usual cause.\n\n## What this skill does not do\n\n- It does not release the desktop app (`release-manager`).\n- It does not provision or change Azure infrastructure, and it changes no app setting\n  except the two Teams switches, and those only when asked (see \"Turning Teams on or off\").\n- It does not auto-deploy on a commit. The live Gateway updates only when a person\n  deliberately runs this. Committing to main never touches the live service.\n",{"name":5,"description":7},"main","12032d2a3437cdccc46ff85a50252c60258f2e2e",".claude\u002Fskills\u002Fdeploy-hosted-gateway",12,"https:\u002F\u002Fgithub.com\u002Fthefrederiksen\u002Fdevthrottle","https:\u002F\u002Fdevthrottle.com\u002F?ref=gh-about","https:\u002F\u002Fgithub.com\u002Fthefrederiksen","2026-11-11 12:28:38",{"source":8,"skillName":5,"commands":63,"prompt":73,"zipAvailable":74},[64,67,70],{"tool":65,"command":66},"npx","npx skills add thefrederiksen\u002Fdevthrottle --skill deploy-hosted-gateway",{"tool":68,"command":69},"bunx","bunx skills add thefrederiksen\u002Fdevthrottle --skill deploy-hosted-gateway",{"tool":71,"command":72},"pnpm","pnpm dlx skills add thefrederiksen\u002Fdevthrottle --skill deploy-hosted-gateway","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fthefrederiksen\u002Fdevthrottle\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdeploy-hosted-gateway\u002FSKILL.md",true,[76,81,87],{"path":77,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":79,"sourceHtmlUrl":80},"LICENSE","许可证",1068,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fgentech-labs-x402-payments\u002FLICENSE",{"path":82,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":85,"sourceHtmlUrl":86},"SOURCE.md","REFERENCE","参考文档",365,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fgentech-labs-x402-payments\u002FSOURCE.md",{"path":88,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":89,"sourceHtmlUrl":90},"TRUST.auto.yaml",2217,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fgentech-labs-x402-payments\u002FTRUST.auto.yaml",[92,122,139,167,193,215],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":49},"01M6CJ9FZRKCB1Y8AY6WAK3JJM","devthrottle-sessions","Talk to the other DevThrottle sessions running across your machines - list them, rename this one, send one of the rare queued messages, read the inbox, reply, open a new session, and close one down. Use when the task involves: message another session, ask another session, list sessions, what sessions are running, spawn a session, rename this session, close this session.","https:\u002F\u002Fgithub.com\u002Fthefrederiksen\u002Fdevthrottle\u002Fblob\u002Fmain\u002Fplugins\u002Fdevthrottle\u002Fskills\u002Fdevthrottle-sessions\u002FSKILL.md",[],[99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121],"sessions","devthrottle sessions","inbox","messages","new session","open","ask","read","list","spawn","session","use","reply","task","rename","message","across","close","down","send","when","running","new",{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":49},"01M6CJ9CYRKE8TSBX67XPTT65R","devthrottle-install","Hand the user the documented steps to install or update DevThrottle, and to connect a gateway afterwards. Use when the task involves: install DevThrottle, set up DevThrottle, update DevThrottle, connect a gateway, cc-devthrottle not found, where do the cc tools come from.","https:\u002F\u002Fgithub.com\u002Fthefrederiksen\u002Fdevthrottle\u002Fblob\u002Fmain\u002Fplugins\u002Fdevthrottle\u002Fskills\u002Fdevthrottle-install\u002FSKILL.md",[],[129,130,131,47,27,132,133,134,110,135,136,137,112,138,119],"install","devthrottle install","connect","SET","Tools","user","up","cc","do","hand",{"skillNo":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":49},"01M6CJ99Q2QJSXDYAKRBWPGKN2","proof-covers-the-wrong-thing","A proof can be valid and still say nothing about what you changed - wrong surface, wrong reader, wrong caller, or an untested premise. Name what your evidence does NOT cover. Use when the task involves: prove it, by construction, root cause, reproduced it, repro, guard-local, skipped test, suite is green, premise, assumption, self review, it is settled.","https:\u002F\u002Fgithub.com\u002Fthefrederiksen\u002Fdevthrottle\u002Fblob\u002Fmain\u002Fplugins\u002Fagent-discipline\u002Fskills\u002Fproof-covers-the-wrong-thing\u002FSKILL.md",[],[146,147,148,149,150,151,152,153,154,110,155,156,157,112,158,159,160,161,162,163,164,165,166,119],"proof covers the wrong thing","proof","Wrong","review","valid","test","self review","guard","reader","evidence","repro","say","green","self","local","you","can","cover","suite","prove","root cause",{"skillNo":168,"name":169,"nameZh":6,"description":170,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":171,"categories":172,"keywords":173,"publishedAt":49},"01M6CJ96VERHA4PKRHMF9ZXTBF","destructive-sweeps-lean-to-keep","A destructive operation acts only on what it can positively prove is disposable. Enumerate what to DELETE, never what to skip - and refresh the safety signal on every real use. Use when the task involves: sweep, purge, cleanup, delete old, prune, reclaim space, stale files, retention, aged out, rm -rf, git clean, drop the table.","https:\u002F\u002Fgithub.com\u002Fthefrederiksen\u002Fdevthrottle\u002Fblob\u002Fmain\u002Fplugins\u002Fagent-discipline\u002Fskills\u002Fdestructive-sweeps-lean-to-keep\u002FSKILL.md",[],[174,175,176,177,178,179,180,181,182,183,184,110,185,29,186,187,188,112,189,190,191,192,165,119],"lean","destructive sweeps lean to keep","keep","cleanup","delete","git","Safety","prune","table","sweep","refresh","never","stale","files","clean","drop","retention","reclaim space","signal",{"skillNo":194,"name":195,"nameZh":6,"description":196,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":197,"categories":198,"keywords":199,"publishedAt":49},"01M6CJ93GRYMHCZZS657RBHPW6","checks-that-fail-open","A check whose pass condition is an ABSENCE certifies a run that never happened. Restate it as a specific PRESENCE - and an empty result is a broken instrument, never a clean run. Use when the task involves: verify, prove it, sweep, grep returned nothing, zero hits, clean run, it passed, no defects, reviewed, delivered, double check, how do we know.","https:\u002F\u002Fgithub.com\u002Fthefrederiksen\u002Fdevthrottle\u002Fblob\u002Fmain\u002Fplugins\u002Fagent-discipline\u002Fskills\u002Fchecks-that-fail-open\u002FSKILL.md",[],[104,200,201,202,203,204,183,205,206,207,110,185,208,188,137,112,209,210,211,212,213,214,165,119],"checks that fail open","run","ZeRO","verify","how","grep","check","broken","double check","as","condition","restate","presence","defects","result",{"skillNo":216,"name":217,"nameZh":6,"description":218,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":219,"categories":220,"keywords":221,"publishedAt":49},"01M6CJ906AQPKFA2CCKKHAZC13","wingman-brief-reviewer","RETIRED 2026-09-16 - do not run it. It reviewed saved wingman turn BRIEFS, whose writer was retired in issue","https:\u002F\u002Fgithub.com\u002Fthefrederiksen\u002Fdevthrottle\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwingman-brief-reviewer\u002Fskill.md",[],[222,223,224,201,225,137,226,227,228,229,230],"brief","reviewer","wingman brief reviewer","issue","writer","it","briefs","saved","2026"]