[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CEGDB4H5V7PJNS89W9JTR3":3,"skill-same:01M7CEGDB4H5V7PJNS89W9JTR3":57},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M7CEGDB4H5V7PJNS89W9JTR3","alchemy-provider",null,"Bring up a new Alchemy cloud provider (its own `@alchemy.run\u002F\u003Cprovider>` package under packages\u002F\u003Cprovider>) end to end — credentials, a distilled SDK, resources, bindings, live tests, and the patch loop that feeds live-test failures back into distilled — or extend an existing provider with a new service, or bring an existing provider up to the bar (gap audit, then waves). Use for \"add a \u003CX> provider\", \"create an alchemy provider for \u003CX>\", \"port \u003CX> to alchemy\", \"add \u003Cservice> to the \u003CX> provider\", \"bring the \u003CX> provider up to par\", or any work that needs a distilled SDK plus Alchemy resources tested against a live API.","systemfsoftware\u002Fomp-claude-compat","systemfsoftware","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F172220390?v=4","01M77N4P2T87WAH2KS0GYARYP3","System F Software","01M7CE0NBB6F9ERJWXRMT8CJ27",2,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fsystemfsoftware\u002Fomp-claude-compat\u002Fblob\u002Fmain\u002Frepos\u002Falchemy\u002F.agents\u002Fskills\u002Falchemy-provider\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: alchemy-provider\ndescription: Bring up a new Alchemy cloud provider (its own `@alchemy.run\u002F\u003Cprovider>` package under packages\u002F\u003Cprovider>) end to end — credentials, a distilled SDK, resources, bindings, live tests, and the patch loop that feeds live-test failures back into distilled — or extend an existing provider with a new service, or bring an existing provider up to the bar (gap audit, then waves). Use for \"add a \u003CX> provider\", \"create an alchemy provider for \u003CX>\", \"port \u003CX> to alchemy\", \"add \u003Cservice> to the \u003CX> provider\", \"bring the \u003CX> provider up to par\", or any work that needs a distilled SDK plus Alchemy resources tested against a live API.\n---\n\n# Building an Alchemy provider\n\nA provider is built on a flywheel. Each turn of it makes both the SDK and\nthe provider more correct:\n\n```\n 1. distilled SDK ──> 2. alchemy resources ──> 3. live tests\n        ^                                          │\n        └──── 4. distilled patches \u003C── wrong error \u002F wrong schema\n```\n\nThe live API is the only authority. A resource is done when its test\npasses against the real provider, and every mismatch that test surfaced is\nfixed in distilled rather than worked around in alchemy.\n\n**The target is the whole provider.** \"Create a provider for X\" means every\nresource in every service the distilled SDK covers is either implemented\nand live-tested, or listed as out of scope with a reason from step 2. A\nhandful of foundation resources is the first wave, never the deliverable.\nCost is not a scoping reason: expensive resources are implemented like any\nother (see step 6 for running their tests). The user narrows scope; the\nagent does not.\n\n**Coverage is 1:1 with the API, operation by operation.** Every\noperation in every in-scope service ends up as exactly one of: part of a\nresource's lifecycle, a binding, an event source, or an `internal` row\nwith a reason. A service with resources but no bindings is half done.\nAWS is the bar: 2,846 binding services across 205 of its 212 services.\nGCP reached 57 of 161 services and Azure 4 of 160; both were reported as\ndone. Every call goes through distilled. When distilled is missing an\noperation, patch distilled (step 1); never work around it in alchemy.\n\nThe whole provider also means its non-resource deliverables: a binding\nfor every data-plane operation (step 5), every runtime in both forms, event\nsources, and a workflow engine when the cloud runs code, framework websites on the cloud's CDN and functions (step 7, when the\ncloud hosts websites), examples, the docs hub, and generated docs\n(step 10). They are rows in the same index as resources, with the same\nstatuses. Never write \"a later phase\" into an agent contract without\nadding those rows: on Azure, the contract said \"bindings are a later\nphase — do not build them\", the phase never came, and 1,193 resources\nshipped with zero bindings, no runtime, no examples, and docs for 4\nservices.\n\n`AGENTS.md` owns the doctrines this skill relies on; read these sections\nbefore writing code and follow them as written:\n\n- **Package boundaries** — every provider is its own workspace package;\n  core never imports it, and it reaches core only through `alchemy\u002F*`.\n- **Reconciler doctrine** — the observe → ensure → sync shape of `reconcile`.\n- **Typed Error Doctrine (distilled)** — every error alchemy handles is a\n  typed tag in the SDK.\n- **Speed doctrine: never wait on a hang** — bounded retries, `timeout` on\n  every test run, the three-iteration budget.\n- **Read\u002FWrite\u002FReadWrite binding convention**, **Runtime-only methods**,\n  and **Isolate scope vs request scope** — bindings and runtimes.\n- **Documentation Generation** — JSDoc is the only docs source.\n- **The Resource Factory Process** — how to fan the work out to agents.\n\nThose rules existed while the GCP provider was built, and its first review\nstill found the same violations in hundreds of files. Reading the rules is\nnot enough: [review.md](review.md) turns each of them into a check with a\ncommand and an expected result. Run that review at every wave boundary and\nbefore step 10; a provider with unexplained hits is not done.\n\n## Bringing an existing provider up to the bar\n\nWhen the provider already exists (a PR in progress, or a package on\n`main`), start with a gap audit instead of step 0:\n\n1. Merge `origin\u002Fmain` into the branch and type-check the package (see\n   **Branch, checkpoints, and PRs**).\n2. Run every check in [review.md](review.md) against the code as it is,\n   and port `scripts\u002Faudit-service.ts` (step 2) to get per-service\n   operation coverage.\n3. Rebuild `INDEX.md` from the results: one row per missing resource,\n   binding, runtime form, event source, workflow engine, website\n   rework, example, docs page, and JSDoc gap, plus one per review hit\n   that needs a fix (hand-written HTTP, `host.bind`, a container\n   website). Existing rows keep their status only when review.md passes\n   them.\n4. Do the distilled work first. Missing data-plane modules, credentials\n   providers, and manual specs block the bindings that depend on them.\n5. Then run the waves from step 4 onward, with the same contracts as a\n   new provider.\n\nReport the audit to the user before the first wave: counts per category\nand the planned waves.\n\n## Orchestration\n\nFan-out work (the gap audit, the catalog in step 2, implementation waves,\nfix rounds in step 8, the review gate in step 9) runs as a **workflow**\nwhen the harness has one: Claude Code's `Workflow` tool (load its\n`workflow-authoring` skill before writing the script), Grok's `workflow`\ntool (its `create-workflow` skill), or the equivalent elsewhere. Run a\nworkflow only when the user asked for one, since it spends many agents. A workflow runs the whole wave as one\nscript with bounded parallelism, enforces an agent budget, and journals\nevery finished agent's result, so a crash costs only the agents still\nrunning. When no workflow tool exists, launch each agent as a detached\ntop-level thread (`t3_thread_launch` with `workspaceStrategy: \"worktree\"`\nin T3 Code), never a `delegate_task` subagent thread; the coordinator reads\neach thread's result with `t3_thread_read`. Either way,\neach agent gets the task contract from **What every agent task prompt must\ninclude** in `AGENTS.md`, owns one distilled service, and returns the\nstructured result the coordinator turns into index statuses.\n\nCoordinator duties during a long run:\n\n- **Size agents to finish within an hour.** A service with more than about\n  25 resources runs as a chain of agents over resource batches. Agents that\n  run for hours hit the model's idle timeout and lose their context.\n- **Read the workflow state, not only file activity.** Each status check\n  counts agents by state and reads the error of every failed or cancelled\n  one. A model-API outage (`auth_unavailable`, idle timeouts) looks like a\n  quiet period from the file system; on Azure it went unnoticed for three\n  hours. Relaunch only the rows still `missing`, with an assess-first\n  contract, once the cause is gone.\n- **Offer periodic status updates** when the run will take more than an\n  hour, and include the index counts in each.\n\n## Branch, checkpoints, and PRs\n\n- Work in a fresh worktree on a branch from `origin\u002Fmain`, with\n  `submodules\u002Fdistilled` at the commit alchemy pins plus your distilled\n  branch. Never start from whatever branch the worktree happens to be on.\n- Open **draft** PRs in alchemy and distilled after the first wave that\n  passes live, and push a checkpoint at every wave boundary. The\n  description carries the current index counts.\n- Each checkpoint: rebase onto `origin\u002Fmain` (distilled onto the pin\n  `main` uses), type-check, push, and confirm the PR's checks actually ran.\n  A PR with merge conflicts runs no `pull_request` workflows, so a stale\n  green check means nothing. Dependency bumps on `main` (Effect, Node\n  types) break new code; catch them at the checkpoint.\n- When a rebase or pull brings in a newer version of this skill, re-read\n  the whole skill and review.md before the next wave. Add an index row for\n  every new deliverable, then build those rows and run review.md with a\n  fresh reviewer.\n- `pnpm exec tsrs -b` reads distilled's built declarations (`lib\u002F`), while\n  the test runner reads its `src\u002F`. After distilled patches or a pin bump,\n  rebuild that package before the type check, or new error types show up\n  as false type errors.\n- After merging `main`, type-check the provider package on its own first\n  (`cd packages\u002F\u003Cprovider> && pnpm exec tsrs -b`), then the workspace. A\n  newer distilled pin is the usual break: a shape that became open\n  (`[key: string]: unknown`) or a renamed error tag.\n- Commit with the repo's hooks. If signing or a hook hangs, ask the user;\n  if they approve skipping it, run `pnpm exec oxfmt` yourself and say the\n  commits are unsigned.\n\n## Step 0 — get credentials first\n\n**Always ask the user for credentials for the upstream provider before\nanything else**, even when the request does not mention testing. Live tests\nare the whole point of the loop, and a provider built without them is\nunverified. Ask in one message, and name exactly what is needed:\n\n- the auth method the provider supports (API token, service account key,\n  OAuth app, access key pair) and the minimum scopes or roles the test\n  resources need. If the provider supports OIDC or workload identity\n  federation for deploys (GitHub Actions, a cloud's identity pool), ask for\n  that setup and wire it through `alchemy\u002FAuth\u002FOidcToken`; a long-lived API\n  key is the fallback, not the default;\n- a dedicated test account, project, or organization — never a production\n  one, because tests create and nuke resources;\n- account identifiers the API needs (org id, project id, default region);\n- known limits of that account (plan tier, quotas, features that need an\n  upgrade), so gated tests can be planned up front.\n\nStore what the user gives you in an Alchemy profile, never in the repo:\n`alchemy profile edit --profile testing --add \u003CProvider>` (use the profile\nname the user asks for). Tests select it with `--profile \u003Cname>`. Never\nprint a secret, write it to a tracked file, or put it in a PR, commit, or\nlog. If the user has no credentials, give them the exact steps to create\nthem (console path or CLI commands, roles to grant), offer to do it in the\nbrowser if they allow it, and keep working on the catalog and code\nmeanwhile. Until credentials arrive, mark every live test as blocked in\nyour report; do not claim anything is tested.\n\n## Step 1 — the distilled SDK\n\nEvery provider talks to its API through a distilled SDK\n(`@distilled.cloud\u002F\u003Cpkg>` in `submodules\u002Fdistilled\u002Fpackages\u002F\u003Cpkg>`). Alchemy\nnever calls the API with a hand-written HTTP client.\n\n- **No SDK yet:** follow the `distilled-sdk` skill in the submodule\n  (`submodules\u002Fdistilled\u002F.agents\u002Fskills\u002Fdistilled-sdk\u002FSKILL.md`). It covers\n  sourcing the spec, the mirror, convert\u002Fgenerate, the README, and the\n  distilled PR.\n- **SDK exists but is wrong** (missing typed error, nullable field, wrong\n  response schema, unmarked secret): follow the `distilled-sdk-patch`\n  skill (`submodules\u002Fdistilled\u002F.agents\u002Fskills\u002Fdistilled-sdk-patch\u002FSKILL.md`).\n- **SDK is behind its spec:** follow `distilled-sdk-update`.\n\n**That includes the data plane.** Bindings call the cloud's data APIs\n(put a blob, send a message, read a secret), and those go through\ndistilled exactly like the management API that creates the resources.\nAWS is the model: `sqs.sendMessage`, `s3.putObject` and\n`dynamodb.getItem` are distilled operations, and AWS bindings hold no\nHTTP code. Check data-plane coverage when you check the SDK. If the SDK\ncovers only the management API, extend it before writing a binding:\n\n- **The spec has a data-plane model** (Azure's\n  `specification\u002F\u003Cservice>\u002Fdata-plane\u002F`, GCP's data APIs in discovery\n  docs): extend the converter to include it, as its own service module\n  (`storage-queue`, `keyvault-secrets`).\n- **The API has no published spec** (Kudu zip deploy, a CLI-only\n  endpoint): write the model by hand in the package's `manual-specs\u002F`.\n- **The protocol isn't HTTP-shaped** (XML bodies, SAS signing, a token\n  audience per data plane): add it to the distilled protocol, not to\n  alchemy.\n- **Credentials from the runtime's identity endpoint** (managed identity,\n  metadata server, container credentials) are a distilled credentials\n  provider, like AWS's `fromContainerMetadata`. A binding never fetches\n  its own token.\n\nOn Azure, the converter skips `data-plane\u002F` (`scripts\u002Fconvert.ts`), so\nthe agent hand-wrote XML request builders for Storage queues and blobs,\nKey Vault secrets, Service Bus, Event Hubs, a static-website uploader, and\na managed-identity token cache: 22 raw request sites, with no typed\nerrors and no tests against a spec. Don't repeat it. Stop and extend\ndistilled.\n\nRaw `HttpClient` calls are allowed only for:\n\n- URLs the API hands back to you to use as-is (a presigned or SAS upload\n  URL, a signed download URL);\n- the user's own deployed endpoints (calling a Worker, Function, or\n  service the stack deployed).\n\nEach one carries a comment saying which case it is.\n\nIf a skill file is missing at the pinned submodule commit, read it from\ndistilled `main`: `git -C submodules\u002Fdistilled fetch origin main && git -C\nsubmodules\u002Fdistilled show origin\u002Fmain:.agents\u002Fskills\u002F\u003Cskill>\u002FSKILL.md`.\n\nDistilled changes land as their own PR in `alchemy-run\u002Fdistilled`. After\nit merges, move the submodule pin in alchemy to the merged commit\n(`git -C submodules\u002Fdistilled checkout \u003Csha>` then commit the gitlink) and\nrun `pnpm install` so the workspace links the package.\n\n## Step 2 — catalog and scope\n\nCatalog **every** service module in the SDK\n(`ls submodules\u002Fdistilled\u002Fpackages\u002F\u003Cpkg>\u002Fsrc\u002Fservices`) before writing\nresources; for a large SDK, fan the catalog out as a workflow (see Orchestration). Each service gets\n`processes\u002F\u003CProvider>\u002Fcatalog\u002F\u003Cservice>.md` in that section's format:\nresources, props with replacement rules, attributes,\nlifecycle-to-operation mapping, bindings, testability, and priority.\n`processes\u002F` is gitignored, so the catalog is the local order book; the\ncommitted record of scope is the overview page below.\n\nEach catalog file also lists **every operation** in the service module,\nclassified the way `scripts\u002Faudit-service.ts` classifies AWS:\n\n| Category | Meaning | Becomes |\n| --- | --- | --- |\n| `resource-lifecycle` | create\u002Fget\u002Fupdate\u002Fdelete\u002Flist of the resource itself | a resource's `reconcile`\u002F`read`\u002F`delete`\u002F`list` |\n| `binding` | data-plane work on or inside a resource (put an object, send a message, query a table, read a secret, invoke a function) | a `Binding.Service` + `\u003COp>Http.ts` |\n| `event-source` | the resource triggers runtimes (notifications, streams, subscriptions) | an event source |\n| `internal` | not useful from user code (long-running-operation polling, deprecated aliases) | nothing, with a reason |\n\nRead operations a user calls at runtime (get an item, list objects,\ndescribe a queue's depth) are bindings even when a lifecycle uses them\ntoo. Port `scripts\u002Faudit-service.ts` to the provider before the first\nwave (it reads the distilled module and the package and prints the gaps),\nand run it per service at every wave boundary.\n\n`processes\u002F\u003CProvider>\u002Fcatalog\u002FINDEX.md` has one row per resource and one per binding with a\nstatus of `missing`, `implemented`, `tested`, `blocked` (with the exact\nerror), or `out-of-scope` (with the reason). Build waves from it and repeat\nuntil no row is `missing` or `implemented`. Every progress report and the\nfinal report quote its counts per status; \"done\" while any in-scope row is\n`missing` is a false claim.\n\nThe first line of `INDEX.md` records the skill version it was built\nagainst: `Skill: \u003Csha>`, from `git log -1 --format=%H --\n.agents\u002Fskills\u002Falchemy-provider`. Update it after re-reading a newer skill.\n\nDecide scope per resource and record the out-of-scope list in the\nprovider's website overview under an \"Out of scope\" section:\n\n- **In scope:** infrastructure the user configures and owns (databases,\n  buckets, queues, networks, keys, functions, DNS).\n- **Out of scope** (the only valid reasons): end-user data APIs (mail, calendar, documents, videos),\n  APIs that need end-user OAuth scopes, deprecated or retired APIs,\n  billing\u002Fsubscription objects, closed-beta endpoints, and duplicates of\n  another service.\n\nFix public names now; renaming after release is a breaking change.\nService namespaces are PascalCase (`AccessContextManager`), and resource\nnames are correct English singulars (`Index`, not `Indexe`; `Process`, not\n`Processe`). Audit generated names by eye before the first PR.\n\n## Step 3 — the provider package\n\nA provider is its own workspace package, `@alchemy.run\u002F\u003Cprovider>` in\n`packages\u002F\u003Cprovider>`, following **Package boundaries** in `AGENTS.md`.\nCopy the closest small package: `packages\u002Faxiom` (token auth, flat\nresources) or `packages\u002Fhetzner` (labels, `list`, nuke ordering, bindings,\na hosted runtime, websites). A package holds:\n\n| File | Purpose |\n| --- | --- |\n| `package.json` | name, shared alchemy version, publish metadata, `exports`\u002F`publishConfig` (generated, below), `alchemy.contributes`, dependencies |\n| `tsconfig.json` | composite project; references the distilled package, `distilled\u002Fcore`, and `..\u002Falchemy` |\n| `scripts\u002Fbuild.ts` | copied verbatim from a sibling package |\n| `src\u002FContributions.ts` | `Contributions.make({ name, auth, … })` — what the CLI, the Alchemist API, and the test harness load without the user's stack |\n| `src\u002FAuthProvider.ts` | `makeStoredAuthProvider` fields, CI env vars, `\u003CProvider>Auth` layer |\n| `src\u002FCredentials.ts` | `fromAuthProvider()` = `lazyCredentials\u003CResolved, ConfigError>()(...)` → the distilled `Credentials` layer |\n| `src\u002FProviders.ts` | `ProviderCollection` + `providers()` layer (provider layers, credentials, `FetchHttpClient`, auth, profile and credential stores) |\n| `src\u002F\u003CProvider>Bindings.ts` | how bindings reach the cloud from any host (step 5) |\n| `src\u002Fglobals.d.ts` | `import type {} from \"alchemy\u002FPhase\";` so `globalThis.__ALCHEMY_RUNTIME__` type-checks |\n| `src\u002Findex.ts` | re-exports every resource, binding, and layer; `export * as \u003CService> from \".\u002F\u003CService>\u002Findex.ts\"` |\n| `src\u002FLabels.ts` \u002F tags helper | ownership labels, if the API supports labels or tags |\n| `src\u002FBootstrap.ts` | process entry for a hosted runtime, if the cloud runs code (source-only export) |\n| `README.md` | npm readme: short intro, install line, one complete type-checked example, absolute `https:\u002F\u002Falchemy.run` links |\n\n`Contributions.ts` is imported on every CLI start, so it holds metadata and\n`Contributions.lazy(() => import(...), pick)` fields only. Contribute `auth`\nalways; add `stateStores`, `cli`, `testServices`, and `devEnv` when the\nprovider has them (`packages\u002Faws\u002Fsrc\u002FContributions.ts` uses all of them).\nDeclare it in `package.json`:\n\n```json\n\"alchemy\": { \"contributes\": [\"@alchemy.run\u002F\u003Cprovider>\u002FContributions\"] }\n```\n\nNever hand-edit `exports`. Run `pnpm exports:sync` after adding or\nremoving a service directory; CI runs `pnpm exports:check`. Modules other\npackages must not import are named `internal.ts` or live under\n`internal\u002F`. Dependencies: `@distilled.cloud\u002F\u003Cpkg>` and\n`@distilled.cloud\u002Fcore` are `dependencies`; `alchemy` and `effect` are\npeer + dev dependencies; another `@alchemy.run\u002F*` package is a dependency\nonly when every user needs it, otherwise an optional peer.\n\nRegister the package everywhere the repo enumerates providers. Find the\nfull list by grepping for an existing package (`git grep -il hetzner --\n':!packages\u002Fhetzner' ':!submodules' ':!examples'`); at the time of\nwriting it is:\n\n- `package.json` — the `build:pkg` filter list and a root\n  `@alchemy.run\u002F\u003Cprovider>` devDependency (the CLI finds `Contributions`\n  through the project's dependencies);\n- `tsconfig.json` — project references to the package and its distilled\n  package;\n- `packages\u002Fintegration-tests\u002Fpackage.json` and `tsconfig.json` — the\n  package, its distilled package, and the project reference;\n- `.github\u002Fworkflows\u002Fpkg.yml` — the `@alchemy.run[Collapsed]` group;\n- `.gitignore` — `!packages\u002F\u003Cprovider>\u002Fsrc\u002Fglobals.d.ts`;\n- `stacks\u002Fnuke.ts` — `\u003CProvider>.providers()`;\n- `scripts\u002Fwith-fake-profiles.sh` — fake CI credentials;\n- `scripts\u002Fgenerate-api-reference.ts` and `scripts\u002Ffix-api-jsdocs.ts` —\n  the package's `src` root and provider prefix;\n- `packages\u002Fintegration-tests\u002Ftest\u002FBundle\u002FProviderBootstraps.test.ts` —\n  every `Bootstrap` the package ships;\n- `website\u002Fastro.config.ts`, `website\u002Fsrc\u002Fcomponents\u002FProviderDirectory.astro`,\n  `website\u002Fscripts\u002Fgenerate-llms-txt.ts`, and\n  `website\u002Fsrc\u002Fcontent\u002Fdocs\u002F\u003Cprovider>\u002F` (`index.mdx`, `setup.mdx`) —\n  sidebar, directory card, llms.txt, overview, and setup page.\n\nCore (`packages\u002Falchemy`) never changes to add a provider. If a provider\nseems to need a core change (a new auth registry entry, a CLI command, a\nstate store), it is a `Contributions` field instead.\n\nConfiguration such as region, project, or account comes from the\ncredential\u002Fprofile or from a layer the user provides (the AWS\n`AWS.Region(...)` pattern). Do not invent environment variables for it;\nenv vars exist only for CI credentials and for values the runtime platform\nitself sets.\n\nIf `providers()` wires hundreds of resources, memoize it\n(`let cached; export const providers = () => (cached ??= make())`) and keep\nnested `Layer.mergeAll` groups of about 90; an unmemoized collection\nrebuilds every layer per call and runs the test process out of memory.\n`pnpm lint:providers` fails when a `providers()` layer leaks an `unknown`\nrequirement.\n\n## Step 4 — resources\n\nImplement each resource per **Reconciler doctrine**, co-locating the\ncontract and provider in `packages\u002F\u003Cprovider>\u002Fsrc\u002F\u003CService>\u002F\u003CResource>.ts`. These\nare the mistakes that most often slip through review (each has a check in\n[review.md](review.md)):\n\n- **Block until ready.** `reconcile` returns only after the API reports the\n  resource usable: poll the long-running operation to completion and then\n  read the ready state. Use one shared operation waiter per provider with a\n  per-resource time budget that matches reality (minutes for databases and\n  clusters). Post-ready propagation delay is acceptable; returning early is\n  not.\n- **Identity changes replace.** If a user-chosen name or id is part of the\n  resource's identity, `diff` returns `replace` when it changes; otherwise\n  the old resource leaks.\n- **Missing is not forbidden.** Only a typed not-found tag means \"gone\".\n  A permission error treated as not-found drops the row from state and\n  leaks the resource. If the API returns 403 for missing resources, patch\n  distilled with a specific tag for that case.\n- **Lists fail loudly and paginate.** A `list` that swallows errors reports\n  \"nothing here\" to nuke and hides leaks. Use the SDK's paginated\n  `.items(...)` stream.\n- **Ownership markers go in labels or tags.** When the API has neither,\n  document the fallback marker in the resource JSDoc; never put markers in\n  fields users see or that change behaviour.\n- **Shared helpers live once per provider** (operation waiter, not-found\n  helper, label diffing). Copies per service drift apart.\n- **Enable what the account needs.** Clouds that require a service to be\n  switched on per account (Azure resource provider registration, GCP API\n  enablement) get an idempotent enable step inside `reconcile`, so a fresh\n  account deploys without manual setup.\n- **Clean up after a failed create.** `read` and `delete` work when `olds`\n  or parts of `output` are missing, so the next run's opening `destroy`\n  removes whatever a crashed run left behind. Prove it once by interrupting\n  a create.\n- **SQL databases take `migrations`.** Every resource that hosts a SQL\n  schema applies migrations on deploy through `@alchemy.run\u002Fsql\u002FMigrations`;\n  the provider only writes the cloud-specific call, built on its executor\n  helpers (`withPgExecutor`, `makeStatementExecutor`, `splitSqlScript`). Prefer the\n  cloud's HTTPS data API, then a direct or connector connection, then an\n  in-network runner, and take credentials from the platform before asking\n  for `migrationsUser` \u002F `migrationsPassword`. Follow **SQL database\n  migrations** in `AGENTS.md`; a SQL database shipped without migrations is\n  incomplete.\n- **Implement `list`** filtered to Alchemy-owned resources, and declare\n  `nuke: { dependsOn: [...] }` where delete order matters, so\n  `alchemy unsafe nuke` can clean the test account.\n\n## Step 5 — bindings and runtimes\n\nFollow the binding sections of `AGENTS.md`, then copy the AWS and GCP\npackages: they are the reference for how bindings reach their host, and\nmost questions are answered by reading the closest existing binding. The\npattern was set by these PRs; read their descriptions when a case isn't\nobvious from the code:\n\n| PR | What it settled |\n| --- | --- |\n| #2260 | bindings state what they need; a `\u003CP>Bindings` module decides how the host gets it (`packages\u002Faws\u002Fsrc\u002FAWSBindings.ts`) |\n| #2347 | `Bind` \u002F `withCredentials` effectful constructors, identity from real resources, `__ALCHEMY_HOST_IDENTITY__` bundle fold (`packages\u002Fgcp\u002Fsrc\u002FGCPBindings.ts`) |\n| #2267 | deploy-only services read behind the runtime guard; `*Http` bindings on local resources fail with a typed error (`packages\u002Fcloudflare\u002Fsrc\u002FHttpBindingDev.ts`) |\n| #2244, #2315 | no branching on another provider's host type; reach the host through `RuntimeContext` and core host services (`alchemy\u002FWebhookHost`) |\n\n**Cover every `binding` operation** in the catalog. Follow the AWS\nshape: one `Binding.Service` per operation (`SQS.SendMessage`,\n`DynamoDB.GetItem`), each with an `\u003COp>Http.ts` layer built on the\ndistilled operation, which injects the bound resource's identifier and\ngrants only that operation on that resource. Where the API has clear\naccess levels (object storage, key-value stores), also ship the\nRead\u002FWrite\u002FReadWrite services from `AGENTS.md` on top of the per-operation ones.\n\nLeast privilege depends on the cloud's permission model:\n\n- **Per-action permissions** (AWS IAM): grant the operation's actions on\n  the resource ARN, as `scripts\u002Faudit-service.ts` checks.\n- **Role-based** (GCP IAM, Azure RBAC): grant the smallest predefined\n  role that covers the operation, on the resource, never the project or\n  subscription. If the smallest predefined role covers much more than the\n  operation, create a custom role with exactly the permissions or data\n  actions it needs, and reuse it across hosts.\n\nEvery binding is a distilled call: the `\u003COp>Http.ts` layer wraps\n`\u003Cservice>.\u003Coperation>` from `@distilled.cloud\u002F\u003Cpkg>`. If the operation\nisn't in distilled (the data plane is missing, or the operation isn't\nmodelled), patch distilled first (step 1).\n\n**Declare** each capability as an interface plus factory:\n\n```ts\nexport interface SendMessage extends Binding.Service\u003C\n  SendMessage,\n  \"AWS.SQS.SendMessage\",\n  (queue: Queue) => Effect.Effect\u003C(request: SendMessageRequest) => Effect.Effect\u003C…>>\n> {}\nexport const SendMessage = Binding.Service\u003CSendMessage>(\"AWS.SQS.SendMessage\");\n```\n\n**Reach any host.** A binding works on the provider's own compute and on\nevery other cloud's: a Lambda can bind a GCP topic, a Cloudflare Worker\nan SQS queue. `src\u002F\u003CProvider>Bindings.ts` owns the decision and exports:\n\n- `HostBinding` — what a binding attaches: grants (IAM statements, role\n  bindings, role assignments) plus `env`.\n- `Bind` — yields a tagged-template `bind`. It picks the host's identity\n  in the order of \"Federated identity over keys\" in `AGENTS.md`:\n  - On a host that runs as the cloud's own identity (`runsAsRole`,\n    `runsAsServiceAccount`; an Azure managed identity) the grants go on\n    that identity.\n  - On a host whose platform signs identity tokens (`runsAsGoogleServiceAccount`\n    and `runsOnFlyMachines` in `AWSBindings`; `runsAsAwsRole` and\n    `runsOnFlyMachines` in `GCPBindings`) it creates a trust scoped to that\n    one workload (a Role that trusts the token's subject, a workload\n    identity pool member for one role or App), and the grants go on it. No\n    key exists.\n  - Only a host with no platform identity (a Cloudflare Worker) gets an\n    identity built from the provider's own resources (IAM `User` +\n    `AccessKey` + a Role that user alone may assume on AWS,\n    `ServiceAccount` + `ServiceAccountKey` on GCP), and its key goes into\n    the host's env through `CurrentRuntimeContext`.\n\n  With no host (a script, plan-time `execute`) it does nothing. In a host\n  bundle it is a no-op, so the identity resources drop out.\n\n  When you add a provider, or a new kind of runtime, check whether its\n  platform issues OIDC tokens or signs requests before reaching for the key\n  path, and add a federated branch to every cloud's `\u003CP>Bindings` that can\n  trust it. A runtime that has tokens implements\n  `BaseRuntimeContext.oidcToken(audience)` and sets\n  `__ALCHEMY_HOST_IDENTITY__` in its bundler.\n- `withCredentials(operation)` — resolves a distilled operation once when\n  the layer is built: the host's ambient identity, a token exchange\n  (`AssumeRoleWithWebIdentity`, Google STS) for a federated host, the\n  bound key read back from `RuntimeContext`, or the deployer's credentials.\n- `\u003Cidentity>HostBundle` — the rolldown option the provider's own host\n  bundlers apply (`Lambda\u002FFunctionBundle.ts`, `CloudFunctions\u002FFunctionSource.ts`,\n  the `ImageSource.ts` files). It sets `__ALCHEMY_HOST_IDENTITY__` (declared\n  in core's `Phase.ts`) so the created-key path drops out of native bundles.\n\nA binding layer then reads:\n\n```ts\nEffect.gen(function* () {\n  const publish = yield* GCPBindings.withCredentials(pubsub.publishProjectsTopics);\n  const bind = yield* GCPBindings.Bind;\n  return Effect.fn(function* (topic: Topic) {\n    if (!globalThis.__ALCHEMY_RUNTIME__) {\n      yield* bind`GCP.PubSub.WriteTopic(${topic})`({ iam: [\u002F* scoped to topic *\u002F] });\n    }\n    return (message) => publish({ topic: …, body: … });\n  });\n});\n```\n\nRules the reference code follows:\n\n- Never call `host.bind(...)` from a binding, and never allowlist the\n  provider's own host types; both lose foreign hosts. The exceptions are\n  host-only attachments that make no sense elsewhere, and they get their\n  own helper (`AWSBindings.bindVpc`, the Cloud SQL socket mount in\n  `GCP.SQL.Connect`).\n- Never name another provider's resource type (`host.Type ===\n  \"Cloudflare.Worker\"`). Write env through `RuntimeContext` (`runtime.set`\n  at deploy, `runtime.get` at runtime; secrets stay `Redacted`), and use\n  core host services such as `WebhookHost` for anything else a host must\n  provide.\n- Services that only exist at deploy (`\u003CP>Environment.current`, the\n  account or project id for a grant) are read inside the\n  `!globalThis.__ALCHEMY_RUNTIME__` block. Read at layer build, they crash\n  a foreign host at init.\n- Per-service grant helpers are constructors too (`GrantOnQueue` in\n  `packages\u002Faws\u002Fsrc\u002FSQS\u002FBindingHttp.ts`), and shared scaffolding lives in\n  an unexported `BindingHttp.ts` so each `\u003COp>Http.ts` is a one-line\n  `Layer.effect(Cap, make…({ … }))`.\n- A provider with local emulation fails an HTTP binding to a locally\n  emulated resource with a typed error naming the native binding and\n  `Alchemy.remote()` (`HttpBindingUnsupportedInDev`).\n\nDocument any grant broader than the bound resource (a condition on a\nproject-level grant, say) in the binding's JSDoc, with the reason.\n\n### Runtimes\n\nFind every **runtime** in the catalog: a resource that runs the user's\ncode (functions, containers, services, workers, jobs, VMs that run a\nprogram). Mark each one `runtime` in `INDEX.md`. Each ships in two\nforms from the same resource:\n\n**Effectful** — a class built with core's `Platform` (`alchemy\u002FPlatform`).\n`main: import.meta.url` makes the file both the bundle entry and the\nprogram. Construction binds resources, and the returned handlers run per\nrequest:\n\n```ts\nexport default class Api extends GCP.Function\u003CApi>()(\n  \"Api\",\n  { main: import.meta.url },\n  Effect.gen(function* () {\n    const db = yield* GCP.Firestore.ReadWriteDatabase(Links);\n    return {\n      fetch: Effect.gen(function* () {\n        const doc = yield* db.get(\"links\u002Fhome\");\n        return yield* HttpServerResponse.json(doc?.fields ?? {});\n      }).pipe(Effect.orDie),\n    };\n  }).pipe(Effect.provide(GCP.Firestore.ReadWriteDatabaseHttp)),\n) {}\n```\n\n**Async** — the same resource called as a plain function, with `main`\npointing at an ordinary handler file and no Effect. Alchemy bundles that\nfile as-is, with no Effect runtime in it. The `env` prop takes resources,\n`Config` values, and literals, and `\u003CProvider>.InferEnv\u003Ctypeof Fn>`\ntypes the handler's `env` argument:\n\n```ts\n\u002F\u002F alchemy.run.ts\nexport const Ping = Railway.Function(\"Ping\", {\n  project: Site,\n  main: \".\u002Fsrc\u002Fping.ts\",\n  env: { DATABASE_URL: db.connectionUri },\n});\nexport type PingEnv = Railway.InferEnv\u003Ctypeof Ping>;\n```\n\n```ts\n\u002F\u002F src\u002Fping.ts\nimport type { PingEnv } from \"..\u002Falchemy.run.ts\";\n\nexport default {\n  async fetch(_request: Request, env: PingEnv) {\n    return new Response(env.DATABASE_URL ? \"ok\" : \"missing\");\n  },\n};\n```\n\nCopy both forms from the runtime closest to yours:\n\n| Runtime | File | Notes |\n| --- | --- | --- |\n| Cloudflare Worker | `packages\u002Fcloudflare\u002Fsrc\u002FWorkers\u002FWorker.ts`, `InferEnv.ts` | the full reference: `env` entries become native bindings |\n| Railway Function | `packages\u002Frailway\u002Fsrc\u002FFunction.ts`, `InferEnv.ts` | bindings are env vars, so `InferEnv` maps to `string` |\n| GCP Cloud Run, Hetzner Service | `packages\u002Fgcp\u002Fsrc\u002FRun\u002FService.ts`, `packages\u002Fhetzner\u002Fsrc\u002FService.ts` | `Platform` over a container or process |\n| AWS Lambda | `packages\u002Faws\u002Fsrc\u002FLambda\u002FFunction.ts` | async form exists but has no `InferEnv`; don't copy that gap |\n\nEvery runtime needs:\n\n- **Both forms**, each with its own JSDoc section (`### Effect …` and\n  `### Async …`) showing the stack declaration and the handler file.\n- **`InferEnv`** exported from the package, so async users get a typed\n  `env` without writing the type by hand.\n- **The `HostBinding` contract** on the resource, so effectful bindings\n  from this and other providers can attach grants and env.\n- **The host bundle option** (`\u003Cidentity>HostBundle`) on the effectful\n  bundle, and a source-only `Bootstrap` export for the process entry\n  (`packages\u002Fhetzner\u002Fsrc\u002FBootstrap.ts`, `packages\u002Faws\u002Fsrc\u002FBootstrap\u002F`).\n- **Event sources** for what the cloud triggers it with (queues, topics,\n  storage events, schedules), shaped like AWS `SQS.QueueEventSource` and\n  Cloudflare cron. Their contract lives in the source service and each\n  runtime provides an implementation layer.\n- **A Website target** when the runtime is how the cloud serves\n  server-rendered pages (step 7).\n- **Tests for both forms**: a fixture per form under\n  `test\u002F\u003CProvider>\u002F\u003CService>\u002Ffixtures\u002F` (`effect-worker.ts` and\n  `async-worker.ts` in `test\u002FCloudflare\u002FImages\u002F` are the pattern), each\n  deployed and called over HTTP.\n\n### Workflow engine\n\nIf the cloud has a durable execution engine, the provider ships an Effect\nworkflow engine on it, so `alchemy\u002FWorkflows` code runs there unchanged.\nFollow **Effect workflow engines** in `AGENTS.md`: it covers the DX to\nkeep, the two engine shapes, the shared encoding module, and the eight\nconformance cases.\n\n| Cloud | Engine | Status |\n| --- | --- | --- |\n| Cloudflare | `Cloudflare.Workflows.NativeEngine` (Cloudflare Workflows), `DurableObjectEngine` | done, in-process |\n| AWS | `AWS.Lambda.WorkflowFunction` + `DurableFunctionEngine` (Lambda durable functions) | done, host + remote |\n| Azure | Durable Functions on the Durable Task Scheduler (`Azure.DurableTask.Scheduler` exists) | missing |\n| GCP | no code-first durable runtime; Cloud Workflows is a YAML orchestrator | decide and record in the catalog before building |\n\nResearch the cloud's engine in step 2 and record it in the catalog: its\ndurable step, durable sleep, external-event or callback primitive, how a\nrun is interrupted, and its limits. Then decide the shape:\n\n- **In-process** when the runtime that starts runs can also host the\n  durable construct (Cloudflare). The engine is a Layer provided next to\n  the workflow Layers.\n- **Host + remote** when runs need a dedicated durable runtime (Lambda\n  durable functions, and most likely Azure Durable Functions). Ship a\n  `\u003CRuntime>.WorkflowFunction`-style host that lists its workflows, and a\n  `\u003CRuntime>Engine(...hosts)` Layer that routes to it and grants access.\n\nIf the cloud has no durable engine, or only one that can't run code\nsteps, write `out-of-scope` with the reason on the engine's index row.\nDon't build a database-backed engine of your own.\n\nThe engine counts as a runtime: it gets its own index row, the\nconformance suite, an `examples\u002F\u003Cprovider>-effect-workflows` example, and\na `compute\u002Feffect-workflows.mdx` page in the docs hub.\n\n## Step 6 — live tests\n\nTests live in `packages\u002Fintegration-tests\u002Ftest\u002F\u003CProvider>\u002F` (paths below\nare relative to `packages\u002Fintegration-tests`). Write them per the test\nsections of `AGENTS.md` (`test.provider`,\n`stack.destroy()` at start and end, deterministic names, out-of-band\nverification through distilled, typed wait-until-gone). Run with the\nprofile from step 0:\n\n```sh\npnpm test:integration test\u002F\u003CProvider>\u002F\u003CService>\u002F\u003CResource>.test.ts --profile testing --retry 0\n```\n\nWhat a test must prove:\n\n- **Every resource has its own test file**\n  (`test\u002F\u003CProvider>\u002F\u003CService>\u002F\u003CResource>.test.ts`). Deploying a resource\n  as a dependency inside another resource's test does not count, because\n  its own update, replace, and delete paths never run.\n- **Lifecycle runs by default.** Create, update, and (where applicable)\n  replace against the real API. Slow lifecycles are gated behind one\n  provider-wide flag with a realistic timeout; entitlement-bound ones keep\n  an ungated probe that asserts the one specific typed tag the account\n  returns.\n- **Bindings run inside a deployed host** (a fixture Worker, Function, or\n  container calling the binding over HTTP) so the IAM grant or native\n  binding is exercised with the host's identity, not the deployer's. Test\n  both paths of `Bind`: the provider's own host, and a foreign host using\n  the created key in `test\u002F\u003CProvider>\u002FExternalHost\u002FCloudflareWorker.test.ts`\n  (copy `test\u002FGCP\u002FExternalHost\u002F`). If the provider hosts code, also add\n  its host to the other providers' external-host suites\n  (`test\u002FCloudflare\u002FExternalHost\u002FLambda.test.ts` is the pattern).\n- **Every binding has a test.** One `describe(\"\u003CBindingName>\")` per\n  binding, all driving the same deployed fixture host\n  (`test\u002FAWS\u002FDynamoDB\u002FBindings.test.ts` + `handler.ts` is the pattern).\n  A binding no test calls from a host is not done.\n- **Assertions can fail.** No always-true checks, no lists of acceptable\n  tags, no early `return` that skips the assertions.\n\n**Expensive resources** (dedicated clusters, large VMs or databases,\nreserved capacity, anything billed per hour at a noticeable rate) are\nimplemented and get full tests, but you do not run those tests on your own.\nGate them behind the provider-wide slow flag, mark them `blocked: cost` in\nthe index, and list them for the user with an estimate of what one run\ncosts. Run them only after the user says so.\n\nScarce account quotas (networks, clusters, IP addresses) are shared with a\nsemaphore in a test helper, or moved to less-used regions. The suite still\nruns in one process: `pnpm test:integration test\u002F\u003CProvider> --profile testing`.\n\nUnblock account prerequisites in the dedicated test account yourself as\nsoon as a test hits them. Request quota increases and register preview\nfeatures through the provider's API (anything that raises spend needs the\nuser's go-ahead from step 0 or step 6's cost rule),\nand put any setup a fresh account would need again into the test helper.\nDo one-time console work (free trials, free organizations, sign-ups) in the\nbrowser with whatever browser-automation skill the harness has, and ask the user only to sign in.\nA row stays `blocked` only when it needs payment, a vendor's approval,\nhardware, or is skipped under the long-tail rule below; report each one\nwith the exact request that would unblock it.\n\nFailure-path tests assert the typed error and finish in minutes. Give them\na short timeout and never let them wait out a slow provisioning or delete;\na single test case that runs for an hour is a bug in the test.\n\nStop chasing the long tail after the three-iteration budget from the\n**Speed doctrine** in `AGENTS.md`, or as soon as the user says so. When the\nremaining failures are slow provisioning, platform behavior, or test\ninfrastructure the cloud needs (a reachable endpoint, a custom image),\nlet the current run finish, then skip-gate each failing case with its\nexact error, mark the row `blocked: skipped` in the index, and list those\nrows in the next report so the user can reopen any. When the user sets a\ndeadline, cap test fixing at half of it and spend the rest on the other\ndeliverables (bindings, runtime, websites, examples, docs, PR). On Azure,\nfix rounds on one-hour tests kept running after the user asked to skip\nthem, until the user set a one-hour deadline to wrap up.\n\n## Step 7 — framework websites\n\n**Skip this step when the provider can't host a website.** Most\nproviders can't: observability, payments, databases, and auth (Axiom,\nStripe, Turso, PlanetScale) have no web hosting, so they ship no\n`Website` namespace and get no \"N\u002FA\" rows in the index. This step is\nfor providers that serve HTTP or static files.\n\nThose providers ship `\u003CProvider>.Website.\u003CFramework>` composites, so a\nuser deploys an Astro or Next.js app with one call:\n\n```ts\nconst site = yield* AWS.Website.Astro(\"Site\", { rootDir: \".\u002Fweb\" });\n```\n\n### Use the cloud's web hosting, not a container\n\nA website deploys onto the infrastructure the cloud built for websites:\nstatic assets on a CDN, and server rendering on the cloud's serverless\nfunctions behind that same CDN. Putting the whole build in a container\nor an always-on VM, with no CDN, is the lazy default. It is not done,\neven though it works for every framework on the first try.\n\nAzure's first pass did exactly that. All 14 frameworks, the static-only\nones included, became a Docker image on Container Apps. A follow-up moved\nstatic builds to a Storage static website and server builds to an\nalways-on App Service plan, with Front Door optional. That is still a\nVM instead of functions, and no CDN by default. GCP's composites still\ndeploy a Node image to Cloud Run for every framework, `StaticSite`\nincluded. Copy neither.\n\nPick the hosting per cloud before writing code, and record the choice\nand its reason in the catalog:\n\n| Kind of provider | Static assets | Server rendering | Reference |\n| --- | --- | --- | --- |\n| Hyperscaler with a CDN and functions | object storage behind the CDN | serverless functions as the CDN's dynamic origin | `packages\u002Faws\u002Fsrc\u002FWebsite\u002F` (S3 + CloudFront + Lambda, `SsrSite.ts`) |\n| Edge platform | the platform's asset hosting | the platform's functions | `packages\u002Fcloudflare\u002Fsrc\u002FWebsite\u002F` (Workers + static assets) |\n| Platform with its own function runtime | the platform's asset hosting | its functions, through a framework target | `packages\u002Fneon\u002Fsrc\u002FWebsite\u002F` (`frontend-frameworks\u002F\u003Cframework>\u002Fneon.ts`) |\n| Containers or VMs only | served by the same Node server, behind the platform's CDN when it has one | the Node server | `packages\u002Ffly\u002Fsrc\u002FWebsite\u002F`, `packages\u002Fhetzner\u002Fsrc\u002FWebsite\u002F`, `packages\u002Frailway\u002Fsrc\u002FWebsite\u002F` (`Cdn.ts`) |\n\nWhat that means for the clouds still to be built:\n\n- **Azure:** Static Web Apps, or Blob static website behind Front Door,\n  with server rendering on Azure Functions (Flex Consumption). Not\n  Container Apps, not an App Service plan.\n- **GCP:** a Cloud Storage bucket behind Cloud CDN on an external\n  HTTPS load balancer, with Cloud Run or Cloud Functions as the\n  serverless origin for server rendering. Assets-only sites\n  never run a container.\n\nRules:\n\n- An assets-only build (Vite, StaticSite, SPA output) never runs compute.\n- The CDN is on by default, not behind a `cdn: true` flag. Assets are\n  uploaded with content hashes and cache headers, and a deploy\n  invalidates or purges what changed (`AssetDeployment.ts` +\n  `CloudFront.Invalidation` on AWS).\n- Server rendering runs on functions that scale to zero. A container or\n  VM is acceptable only when the cloud has no function runtime, or when a\n  framework needs a long-lived process. Document that framework's reason\n  in its JSDoc.\n- Functions need a framework target: a new\n  `packages\u002Ffrontend-frameworks\u002Fsrc\u002F\u003Cframework>\u002F\u003Cprovider>.ts` next to\n  `aws.ts`, `cloudflare.ts`, and `neon.ts`, producing a handler for the\n  cloud's function runtime. Only container\u002FVM providers use the Node\n  target (`@alchemy.run\u002Ffrontend-frameworks\u002F\u003Cframework>\u002Fnode`) through\n  core's `alchemy\u002FWebsite\u002FServer`.\n- Before choosing a container, check whether the cloud's docs have a\n  hosting page for the framework (Azure Static Web Apps has one for\n  Next.js, Nuxt, Astro, and SvelteKit). If they do, use what it uses.\n\n### Layout\n\nShip the same framework set as the existing providers (`ls\npackages\u002Faws\u002Fsrc\u002FWebsite` and `packages\u002Fhetzner\u002Fsrc\u002FWebsite`: Astro,\nFoldkit, Nextjs, Nuxt, Octane, ReactRouter, SolidStart, StaticSite,\nSvelteKit, TanStackStart, Vinext, Vite, Vocs, Waku):\n\n- `FrameworkSite.ts` owns `makeFrameworkSite`, which builds through the\n  framework integration (`@alchemy.run\u002Ffrontend-frameworks\u002F\u003Cframework>`)\n  and deploys the output onto the hosting above. Its shared props\n  (`rootDir`, `memo`, `dev`, `env`, `assets`, `domain`, `tags`) keep the\n  names and meaning the sibling providers use.\n- One small file per framework that only sets the framework specifier, the\n  deploy target, and the framework's own option block.\n- `StaticSite.ts` for assets-only sites, and `index.ts` exported from the\n  provider barrel as `export * as Website from \".\u002FWebsite\u002Findex.ts\"`.\n\nEach framework gets a live\n`packages\u002Fintegration-tests\u002Ftest\u002F\u003CProvider>\u002FWebsite\u002F\u003CFramework>.test.ts`\nthat asserts the response comes through the CDN (a cache header, or the\nCDN hostname) and that a server-rendered route hits the function; a\n`\u003CFramework>.local.test.ts` for `alchemy dev`; and a shared\n`PropSurface.test.ts`. It also gets an `examples\u002F\u003Cprovider>-website-\u003Cframework>`\nexample listed in `scripts\u002Ftest-examples.ts`, and a page under\n`website\u002Fsrc\u002Fcontent\u002Fdocs\u002F\u003Cprovider>\u002Ffrontend\u002F`.\n\n## Step 8 — close the loop\n\nEvery failure the live run exposes is classified before it is fixed, in\nthis order: **provider bug > distilled patch > test fix**.\n\n| Symptom | Fix |\n| --- | --- |\n| `Unknown\u003CPkg>Error`, or a status\u002Fmessage you want to branch on | typed error patch (`distilled-sdk-patch`) |\n| decode failure, field null or missing on the wire | nullable\u002Foptional patch |\n| secret returned as a plain string | sensitive patch |\n| resource leaks, returns before ready, wrong replace | provider fix in alchemy |\n| test asserts something the API does not promise | test fix |\n\nAfter a patch, regenerate only that package (`pnpm generate \u003Cpkg>` in the\nsubmodule) and rerun the test immediately — the test runner reads distilled\nfrom `src\u002F`, so there is nothing to build. Collect the patches, prove each\nwith `pnpm patches:audit`, and ship them as a distilled PR, then bump the\npin (step 1).\n\nAfter a full run, list what is still alive in the test account\n(`pnpm nuke --dry-run --profile testing --include \u003CProvider>.*` or the\nprovider's list calls). A green test that\nleaves resources behind is a provider bug.\n\n## Step 9 — review gate\n\nRun every check in [review.md](review.md) with a fresh reviewer subagent\nand fix what it finds. Report the result table to the user with the\ncounts, so they can see what was checked without re-reviewing by hand.\n\n## Step 10 — docs, examples, and the PR\n\n- JSDoc on every resource, prop, attribute, and binding, to the bar in\n  [docs.md](docs.md#api-reference-jsdoc): runtimes as complete as\n  `AWS.Lambda.Function`, fat-head resources as complete as S3 Bucket or\n  R2 Bucket, and a creation example plus replacement cautions for the\n  long tail. Then run `pnpm docs:check-jsdoc` and `pnpm docs:gen`.\n- The hand-written hub at `website\u002Fsrc\u002Fcontent\u002Fdocs\u002F\u003Cprovider>\u002F`, built\n  to [docs.md](docs.md): the AWS hub's structure (Overview, Setup, a\n  five-part tutorial, sections by concern), code taken from tested\n  examples, and the voice rules there. A hub of loose \"guides\" that walk\n  the examples is not done; GCP's had to be rebuilt.\n- The example set described under **Examples** below.\n- Type-check with `pnpm exec tsrs -b`, run `pnpm exports:check` and\n  `pnpm lint:providers`, and format with `pnpm exec oxfmt`.\n- Open the alchemy PR per **Pull Request Conventions**, linking the\n  distilled PRs it depends on. The description shows the provider's DX,\n  not a list of what was built:\n  - One or two lines on what the package is, then a few bullets of\n    counts (services, resources, live test files, gated tests).\n  - A `###` section for every runtime (each form), the event sources,\n    and the websites.\n  - A `###` section for each **fat-head** resource: the 10–20 that most\n    apps on this cloud use (resource groups or projects, identity and\n    roles, object storage, the main SQL and document databases, queues\n    and topics, secrets, the container registry, networking and DNS,\n    logs). Pick them from the cloud's own quickstarts, not from the\n    catalog's order. Group a resource with the ones it's always used\n    with (a namespace and its queue) and its bindings.\n  - Each section is one or two sentences, then one snippet copied from\n    that resource's JSDoc example, so the code is already checked.\n  - One closing line names the long tail and points to the generated\n    reference. Don't list it.\n\n  Don't show a binding running in a host unless a test deploys it that\n  way. On Azure, the description was going to show bindings inside\n  `Azure.Functions.Function`, which isn't a registered binding host, so\n  those bindings did nothing.\n\n### Examples\n\nExamples are how users learn the provider, and the docs hub copies its\ncode from them. Ship a comprehensive set, not one or two. Azure's first\npass shipped `azure-storage` (a Stack with no runtime) and one website;\nAWS, Cloudflare, Fly, and Hetzner ship one example per framework plus one\nper workload.\n\n**Every web framework gets its own example**, for every provider that\nhosts websites: `examples\u002F\u003Cprovider>-website-\u003Cframework>`, one per\n`\u003CProvider>.Website.\u003CFramework>` composite (Astro, Foldkit, Nextjs, Nuxt,\nOctane, ReactRouter, SolidStart, SvelteKit, TanStackStart, Vinext, Vite,\nVocs, Waku, plus `\u003Cprovider>-static-site`). `ls examples | grep\nhetzner-website-` is the complete set to match.\n\n**Then one example per workload the cloud supports.** Go down this list\nand add an example for every row the provider has, and skip the rest:\n\n| Workload | Shows | AWS \u002F GCP \u002F Cloudflare reference |\n| --- | --- | --- |\n| Serverless function, effectful | an HTTP handler with a binding to storage or a database | `aws-lambda`, `gcp-cloud-function`, `cloudflare-worker` |\n| Serverless function, async | the same with a plain handler and `InferEnv` | `cloudflare-worker-async` |\n| HTTP API | Effect HTTP API or RPC on the default runtime | `aws-lambda-httpapi`, `aws-lambda-rpc`, `gcp-cloud-run-api` |\n| Queue | a producer and a consumer through an event source | `gcp-pubsub-worker`, `gcp-pubsub-fanout` |\n| Scheduled job | a cron trigger | `gcp-cron`, `gcp-scheduled-job` |\n| Storage events | a function triggered by an upload | `gcp-storage-uploads`, `gcp-eventarc-firestore` |\n| Durable workflows | `alchemy\u002FWorkflows` on the provider's engine (Step 5): start, signal, read a run | no example yet; copy the conformance fixtures in `packages\u002Fintegration-tests\u002Ftest\u002FCloudflare\u002FWorkers\u002Ffixtures\u002Fdurable-workflow\u002F` |\n| Containers | a container service | `aws-ecs`, `fly-service` |\n| Kubernetes | a Deployment on the cloud's managed cluster | `aws-eks`, `gcp-gke` |\n| VMs | a VM running a program | `aws-ec2`, `hetzner-server` |\n| SQL database | a database with migrations, from a runtime | `aws-rds`, `gcp-cloud-sql-drizzle` |\n| Cache | Redis from a runtime | `gcp-memorystore-redis`, `fly-redis` |\n| Secrets | a secret read by a runtime | `gcp-secrets-kms` |\n| AI | the cloud's model service | `aws-bedrock-ai`, `gcp-vertex-ai` |\n| Service to service | two runtimes calling each other | `gcp-service-to-service` |\n| Local dev | the same app under `alchemy dev` | `aws-dev`, `cloudflare-dev` |\n\nName examples `\u003Cprovider>-\u003Cworkload>` in kebab case. Each one is a\nworkspace project with the layout of `examples\u002Fgcp-pubsub-worker`:\n\n- `package.json` (private, `deploy` \u002F `dev` \u002F `destroy` \u002F `test` scripts,\n  `workspace:*` dependencies), `tsconfig.json` referencing\n  `packages\u002Falchemy` and the provider package, and a `README.md`.\n- `alchemy.run.ts`, with the runtime and resources in `src\u002F`.\n- `test\u002Finteg.test.ts` with `@alchemy.run\u002Ftest\u002FBun`: deploy in `beforeAll`,\n  call the deployed app over HTTP, verify cloud state through distilled,\n  destroy in `afterAll`. Websites and `dev`-capable apps also get\n  `test\u002Fdev.test.ts`.\n\nRegister every example in the root `tsconfig.json` references and in\n`scripts\u002Ftest-examples.ts`, and run its test against the testing profile\nbefore you call it done. Track examples as rows in `INDEX.md` like any\nother deliverable.\n\nA draft PR for an early wave is fine; its description states the index\ncounts and that the provider is incomplete.\n\nA provider is done when:\n\n- every SDK service is cataloged and every operation is classified;\n- every in-scope resource has its own passing live test (or is\n  `blocked: cost` \u002F `blocked: skipped` and the user has the list);\n- every `binding` operation is a least-privilege binding over distilled,\n  goes through `\u003CProvider>Bindings.Bind`, reaches foreign hosts, and is\n  called from a deployed host in a test;\n- no alchemy code makes a hand-written API call (review.md's\n  \"Hand-written HTTP\" check is clean);\n- every runtime ships both forms with `InferEnv`, its event sources, and\n  tests for each form;\n- the cloud's durable engine has an Effect workflow engine that passes\n  the conformance cases, or is out of scope with a reason;\n- the framework websites (if the cloud hosts websites) deploy to its CDN\n  and functions;\n- the example set (one per framework, one per workload) deploys and\n  passes;\n- JSDoc meets the bar in [docs.md](docs.md), the reference docs are\n  generated, and the hub matches [docs.md](docs.md);\n- the PR description shows the runtimes and the fat head;\n- the review gate is clean, the test account is clean after a full run,\n  and every SDK mismatch found along the way is a merged distilled patch.\n","# Building an Alchemy provider\n\nA provider is built on a flywheel. Each turn of it makes both the SDK and\nthe provider more correct:\n\n```\n 1. distilled SDK ──> 2. alchemy resources ──> 3. live tests\n        ^                                          │\n        └──── 4. distilled patches \u003C── wrong error \u002F wrong schema\n```\n\nThe live API is the only authority. A resource is done when its test\npasses against the real provider, and every mismatch that test surfaced is\nfixed in distilled rather than worked around in alchemy.\n\n**The target is the whole provider.** \"Create a provider for X\" means every\nresource in every service the distilled SDK covers is either implemented\nand live-tested, or listed as out of scope with a reason from step 2. A\nhandful of foundation resources is the first wave, never the deliverable.\nCost is not a scoping reason: expensive resources are implemented like any\nother (see step 6 for running their tests). The user narrows scope; the\nagent does not.\n\n**Coverage is 1:1 with the API, operation by operation.** Every\noperation in every in-scope service ends up as exactly one of: part of a\nresource's lifecycle, a binding, an event source, or an `internal` row\nwith a reason. A service with resources but no bindings is half done.\nAWS is the bar: 2,846 binding services across 205 of its 212 services.\nGCP reached 57 of 161 services and Azure 4 of 160; both were reported as\ndone. Every call goes through distilled. When distilled is missing an\noperation, patch distilled (step 1); never work around it in alchemy.\n\nThe whole provider also means its non-resource deliverables: a binding\nfor every data-plane operation (step 5), every runtime in both forms, event\nsources, and a workflow engine when the cloud runs code, framework websites on the cloud's CDN and functions (step 7, when the\ncloud hosts websites), examples, the docs hub, and generated docs\n(step 10). They are rows in the same index as resources, with the same\nstatuses. Never write \"a later phase\" into an agent contract without\nadding those rows: on Azure, the contract said \"bindings are a later\nphase — do not build them\", the phase never came, and 1,193 resources\nshipped with zero bindings, no runtime, no examples, and docs for 4\nservices.\n\n`AGENTS.md` owns the doctrines this skill relies on; read these sections\nbefore writing code and follow them as written:\n\n- **Package boundaries** — every provider is its own workspace package;\n  core never imports it, and it reaches core only through `alchemy\u002F*`.\n- **Reconciler doctrine** — the observe → ensure → sync shape of `reconcile`.\n- **Typed Error Doctrine (distilled)** — every error alchemy handles is a\n  typed tag in the SDK.\n- **Speed doctrine: never wait on a hang** — bounded retries, `timeout` on\n  every test run, the three-iteration budget.\n- **Read\u002FWrite\u002FReadWrite binding convention**, **Runtime-only methods**,\n  and **Isolate scope vs request scope** — bindings and runtimes.\n- **Documentation Generation** — JSDoc is the only docs source.\n- **The Resource Factory Process** — how to fan the work out to agents.\n\nThose rules existed while the GCP provider was built, and its first review\nstill found the same violations in hundreds of files. Reading the rules is\nnot enough: [review.md](review.md) turns each of them into a check with a\ncommand and an expected result. Run that review at every wave boundary and\nbefore step 10; a provider with unexplained hits is not done.\n\n## Bringing an existing provider up to the bar\n\nWhen the provider already exists (a PR in progress, or a package on\n`main`), start with a gap audit instead of step 0:\n\n1. Merge `origin\u002Fmain` into the branch and type-check the package (see\n   **Branch, checkpoints, and PRs**).\n2. Run every check in [review.md](review.md) against the code as it is,\n   and port `scripts\u002Faudit-service.ts` (step 2) to get per-service\n   operation coverage.\n3. Rebuild `INDEX.md` from the results: one row per missing resource,\n   binding, runtime form, event source, workflow engine, website\n   rework, example, docs page, and JSDoc gap, plus one per review hit\n   that needs a fix (hand-written HTTP, `host.bind`, a container\n   website). Existing rows keep their status only when review.md passes\n   them.\n4. Do the distilled work first. Missing data-plane modules, credentials\n   providers, and manual specs block the bindings that depend on them.\n5. Then run the waves from step 4 onward, with the same contracts as a\n   new provider.\n\nReport the audit to the user before the first wave: counts per category\nand the planned waves.\n\n## Orchestration\n\nFan-out work (the gap audit, the catalog in step 2, implementation waves,\nfix rounds in step 8, the review gate in step 9) runs as a **workflow**\nwhen the harness has one: Claude Code's `Workflow` tool (load its\n`workflow-authoring` skill before writing the script), Grok's `workflow`\ntool (its `create-workflow` skill), or the equivalent elsewhere. Run a\nworkflow only when the user asked for one, since it spends many agents. A workflow runs the whole wave as one\nscript with bounded parallelism, enforces an agent budget, and journals\nevery finished agent's result, so a crash costs only the agents still\nrunning. When no workflow tool exists, launch each agent as a detached\ntop-level thread (`t3_thread_launch` with `workspaceStrategy: \"worktree\"`\nin T3 Code), never a `delegate_task` subagent thread; the coordinator reads\neach thread's result with `t3_thread_read`. Either way,\neach agent gets the task contract from **What every agent task prompt must\ninclude** in `AGENTS.md`, owns one distilled service, and returns the\nstructured result the coordinator turns into index statuses.\n\nCoordinator duties during a long run:\n\n- **Size agents to finish within an hour.** A service with more than about\n  25 resources runs as a chain of agents over resource batches. Agents that\n  run for hours hit the model's idle timeout and lose their context.\n- **Read the workflow state, not only file activity.** Each status check\n  counts agents by state and reads the error of every failed or cancelled\n  one. A model-API outage (`auth_unavailable`, idle timeouts) looks like a\n  quiet period from the file system; on Azure it went unnoticed for three\n  hours. Relaunch only the rows still `missing`, with an assess-first\n  contract, once the cause is gone.\n- **Offer periodic status updates** when the run will take more than an\n  hour, and include the index counts in each.\n\n## Branch, checkpoints, and PRs\n\n- Work in a fresh worktree on a branch from `origin\u002Fmain`, with\n  `submodules\u002Fdistilled` at the commit alchemy pins plus your distilled\n  branch. Never start from whatever branch the worktree happens to be on.\n- Open **draft** PRs in alchemy and distilled after the first wave that\n  passes live, and push a checkpoint at every wave boundary. The\n  description carries the current index counts.\n- Each checkpoint: rebase onto `origin\u002Fmain` (distilled onto the pin\n  `main` uses), type-check, push, and confirm the PR's checks actually ran.\n  A PR with merge conflicts runs no `pull_request` workflows, so a stale\n  green check means nothing. Dependency bumps on `main` (Effect, Node\n  types) break new code; catch them at the checkpoint.\n- When a rebase or pull brings in a newer version of this skill, re-read\n  the whole skill and review.md before the next wave. Add an index row for\n  every new deliverable, then build those rows and run review.md with a\n  fresh reviewer.\n- `pnpm exec tsrs -b` reads distilled's built declarations (`lib\u002F`), while\n  the test runner reads its `src\u002F`. After distilled patches or a pin bump,\n  rebuild that package before the type check, or new error types show up\n  as false type errors.\n- After merging `main`, type-check the provider package on its own first\n  (`cd packages\u002F\u003Cprovider> && pnpm exec tsrs -b`), then the workspace. A\n  newer distilled pin is the usual break: a shape that became open\n  (`[key: string]: unknown`) or a renamed error tag.\n- Commit with the repo's hooks. If signing or a hook hangs, ask the user;\n  if they approve skipping it, run `pnpm exec oxfmt` yourself and say the\n  commits are unsigned.\n\n## Step 0 — get credentials first\n\n**Always ask the user for credentials for the upstream provider before\nanything else**, even when the request does not mention testing. Live tests\nare the whole point of the loop, and a provider built without them is\nunverified. Ask in one message, and name exactly what is needed:\n\n- the auth method the provider supports (API token, service account key,\n  OAuth app, access key pair) and the minimum scopes or roles the test\n  resources need. If the provider supports OIDC or workload identity\n  federation for deploys (GitHub Actions, a cloud's identity pool), ask for\n  that setup and wire it through `alchemy\u002FAuth\u002FOidcToken`; a long-lived API\n  key is the fallback, not the default;\n- a dedicated test account, project, or organization — never a production\n  one, because tests create and nuke resources;\n- account identifiers the API needs (org id, project id, default region);\n- known limits of that account (plan tier, quotas, features that need an\n  upgrade), so gated tests can be planned up front.\n\nStore what the user gives you in an Alchemy profile, never in the repo:\n`alchemy profile edit --profile testing --add \u003CProvider>` (use the profile\nname the user asks for). Tests select it with `--profile \u003Cname>`. Never\nprint a secret, write it to a tracked file, or put it in a PR, commit, or\nlog. If the user has no credentials, give them the exact steps to create\nthem (console path or CLI commands, roles to grant), offer to do it in the\nbrowser if they allow it, and keep working on the catalog and code\nmeanwhile. Until credentials arrive, mark every live test as blocked in\nyour report; do not claim anything is tested.\n\n## Step 1 — the distilled SDK\n\nEvery provider talks to its API through a distilled SDK\n(`@distilled.cloud\u002F\u003Cpkg>` in `submodules\u002Fdistilled\u002Fpackages\u002F\u003Cpkg>`). Alchemy\nnever calls the API with a hand-written HTTP client.\n\n- **No SDK yet:** follow the `distilled-sdk` skill in the submodule\n  (`submodules\u002Fdistilled\u002F.agents\u002Fskills\u002Fdistilled-sdk\u002FSKILL.md`). It covers\n  sourcing the spec, the mirror, convert\u002Fgenerate, the README, and the\n  distilled PR.\n- **SDK exists but is wrong** (missing typed error, nullable field, wrong\n  response schema, unmarked secret): follow the `distilled-sdk-patch`\n  skill (`submodules\u002Fdistilled\u002F.agents\u002Fskills\u002Fdistilled-sdk-patch\u002FSKILL.md`).\n- **SDK is behind its spec:** follow `distilled-sdk-update`.\n\n**That includes the data plane.** Bindings call the cloud's data APIs\n(put a blob, send a message, read a secret), and those go through\ndistilled exactly like the management API that creates the resources.\nAWS is the model: `sqs.sendMessage`, `s3.putObject` and\n`dynamodb.getItem` are distilled operations, and AWS bindings hold no\nHTTP code. Check data-plane coverage when you check the SDK. If the SDK\ncovers only the management API, extend it before writing a binding:\n\n- **The spec has a data-plane model** (Azure's\n  `specification\u002F\u003Cservice>\u002Fdata-plane\u002F`, GCP's data APIs in discovery\n  docs): extend the converter to include it, as its own service module\n  (`storage-queue`, `keyvault-secrets`).\n- **The API has no published spec** (Kudu zip deploy, a CLI-only\n  endpoint): write the model by hand in the package's `manual-specs\u002F`.\n- **The protocol isn't HTTP-shaped** (XML bodies, SAS signing, a token\n  audience per data plane): add it to the distilled protocol, not to\n  alchemy.\n- **Credentials from the runtime's identity endpoint** (managed identity,\n  metadata server, container credentials) are a distilled credentials\n  provider, like AWS's `fromContainerMetadata`. A binding never fetches\n  its own token.\n\nOn Azure, the converter skips `data-plane\u002F` (`scripts\u002Fconvert.ts`), so\nthe agent hand-wrote XML request builders for Storage queues and blobs,\nKey Vault secrets, Service Bus, Event Hubs, a static-website uploader, and\na managed-identity token cache: 22 raw request sites, with no typed\nerrors and no tests against a spec. Don't repeat it. Stop and extend\ndistilled.\n\nRaw `HttpClient` calls are allowed only for:\n\n- URLs the API hands back to you to use as-is (a presigned or SAS upload\n  URL, a signed download URL);\n- the user's own deployed endpoints (calling a Worker, Function, or\n  service the stack deployed).\n\nEach one carries a comment saying which case it is.\n\nIf a skill file is missing at the pinned submodule commit, read it from\ndistilled `main`: `git -C submodules\u002Fdistilled fetch origin main && git -C\nsubmodules\u002Fdistilled show origin\u002Fmain:.agents\u002Fskills\u002F\u003Cskill>\u002FSKILL.md`.\n\nDistilled changes land as their own PR in `alchemy-run\u002Fdistilled`. After\nit merges, move the submodule pin in alchemy to the merged commit\n(`git -C submodules\u002Fdistilled checkout \u003Csha>` then commit the gitlink) and\nrun `pnpm install` so the workspace links the package.\n\n## Step 2 — catalog and scope\n\nCatalog **every** service module in the SDK\n(`ls submodules\u002Fdistilled\u002Fpackages\u002F\u003Cpkg>\u002Fsrc\u002Fservices`) before writing\nresources; for a large SDK, fan the catalog out as a workflow (see Orchestration). Each service gets\n`processes\u002F\u003CProvider>\u002Fcatalog\u002F\u003Cservice>.md` in that section's format:\nresources, props with replacement rules, attributes,\nlifecycle-to-operation mapping, bindings, testability, and priority.\n`processes\u002F` is gitignored, so the catalog is the local order book; the\ncommitted record of scope is the overview page below.\n\nEach catalog file also lists **every operation** in the service module,\nclassified the way `scripts\u002Faudit-service.ts` classifies AWS:\n\n| Category | Meaning | Becomes |\n| --- | --- | --- |\n| `resource-lifecycle` | create\u002Fget\u002Fupdate\u002Fdelete\u002Flist of the resource itself | a resource's `reconcile`\u002F`read`\u002F`delete`\u002F`list` |\n| `binding` | data-plane work on or inside a resource (put an object, send a message, query a table, read a secret, invoke a function) | a `Binding.Service` + `\u003COp>Http.ts` |\n| `event-source` | the resource triggers runtimes (notifications, streams, subscriptions) | an event source |\n| `internal` | not useful from user code (long-running-operation polling, deprecated aliases) | nothing, with a reason |\n\nRead operations a user calls at runtime (get an item, list objects,\ndescribe a queue's depth) are bindings even when a lifecycle uses them\ntoo. Port `scripts\u002Faudit-service.ts` to the provider before the first\nwave (it reads the distilled module and the package and prints the gaps),\nand run it per service at every wave boundary.\n\n`processes\u002F\u003CProvider>\u002Fcatalog\u002FINDEX.md` has one row per resource and one per binding with a\nstatus of `missing`, `implemented`, `tested`, `blocked` (with the exact\nerror), or `out-of-scope` (with the reason). Build waves from it and repeat\nuntil no row is `missing` or `implemented`. Every progress report and the\nfinal report quote its counts per status; \"done\" while any in-scope row is\n`missing` is a false claim.\n\nThe first line of `INDEX.md` records the skill version it was built\nagainst: `Skill: \u003Csha>`, from `git log -1 --format=%H --\n.agents\u002Fskills\u002Falchemy-provider`. Update it after re-reading a newer skill.\n\nDecide scope per resource and record the out-of-scope list in the\nprovider's website overview under an \"Out of scope\" section:\n\n- **In scope:** infrastructure the user configures and owns (databases,\n  buckets, queues, networks, keys, functions, DNS).\n- **Out of scope** (the only valid reasons): end-user data APIs (mail, calendar, documents, videos),\n  APIs that need end-user OAuth scopes, deprecated or retired APIs,\n  billing\u002Fsubscription objects, closed-beta endpoints, and duplicates of\n  another service.\n\nFix public names now; renaming after release is a breaking change.\nService namespaces are PascalCase (`AccessContextManager`), and resource\nnames are correct English singulars (`Index`, not `Indexe`; `Process`, not\n`Processe`). Audit generated names by eye before the first PR.\n\n## Step 3 — the provider package\n\nA provider is its own workspace package, `@alchemy.run\u002F\u003Cprovider>` in\n`packages\u002F\u003Cprovider>`, following **Package boundaries** in `AGENTS.md`.\nCopy the closest small package: `packages\u002Faxiom` (token auth, flat\nresources) or `packages\u002Fhetzner` (labels, `list`, nuke ordering, bindings,\na hosted runtime, websites). A package holds:\n\n| File | Purpose |\n| --- | --- |\n| `package.json` | name, shared alchemy version, publish metadata, `exports`\u002F`publishConfig` (generated, below), `alchemy.contributes`, dependencies |\n| `tsconfig.json` | composite project; references the distilled package, `distilled\u002Fcore`, and `..\u002Falchemy` |\n| `scripts\u002Fbuild.ts` | copied verbatim from a sibling package |\n| `src\u002FContributions.ts` | `Contributions.make({ name, auth, … })` — what the CLI, the Alchemist API, and the test harness load without the user's stack |\n| `src\u002FAuthProvider.ts` | `makeStoredAuthProvider` fields, CI env vars, `\u003CProvider>Auth` layer |\n| `src\u002FCredentials.ts` | `fromAuthProvider()` = `lazyCredentials\u003CResolved, ConfigError>()(...)` → the distilled `Credentials` layer |\n| `src\u002FProviders.ts` | `ProviderCollection` + `providers()` layer (provider layers, credentials, `FetchHttpClient`, auth, profile and credential stores) |\n| `src\u002F\u003CProvider>Bindings.ts` | how bindings reach the cloud from any host (step 5) |\n| `src\u002Fglobals.d.ts` | `import type {} from \"alchemy\u002FPhase\";` so `globalThis.__ALCHEMY_RUNTIME__` type-checks |\n| `src\u002Findex.ts` | re-exports every resource, binding, and layer; `export * as \u003CService> from \".\u002F\u003CService>\u002Findex.ts\"` |\n| `src\u002FLabels.ts` \u002F tags helper | ownership labels, if the API supports labels or tags |\n| `src\u002FBootstrap.ts` | process entry for a hosted runtime, if the cloud runs code (source-only export) |\n| `README.md` | npm readme: short intro, install line, one complete type-checked example, absolute `https:\u002F\u002Falchemy.run` links |\n\n`Contributions.ts` is imported on every CLI start, so it holds metadata and\n`Contributions.lazy(() => import(...), pick)` fields only. Contribute `auth`\nalways; add `stateStores`, `cli`, `testServices`, and `devEnv` when the\nprovider has them (`packages\u002Faws\u002Fsrc\u002FContributions.ts` uses all of them).\nDeclare it in `package.json`:\n\n```json\n\"alchemy\": { \"contributes\": [\"@alchemy.run\u002F\u003Cprovider>\u002FContributions\"] }\n```\n\nNever hand-edit `exports`. Run `pnpm exports:sync` after adding or\nremoving a service directory; CI runs `pnpm exports:check`. Modules other\npackages must not import are named `internal.ts` or live under\n`internal\u002F`. Dependencies: `@distilled.cloud\u002F\u003Cpkg>` and\n`@distilled.cloud\u002Fcore` are `dependencies`; `alchemy` and `effect` are\npeer + dev dependencies; another `@alchemy.run\u002F*` package is a dependency\nonly when every user needs it, otherwise an optional peer.\n\nRegister the package everywhere the repo enumerates providers. Find the\nfull list by grepping for an existing package (`git grep -il hetzner --\n':!packages\u002Fhetzner' ':!submodules' ':!examples'`); at the time of\nwriting it is:\n\n- `package.json` — the `build:pkg` filter list and a root\n  `@alchemy.run\u002F\u003Cprovider>` devDependency (the CLI finds `Contributions`\n  through the project's dependencies);\n- `tsconfig.json` — project references to the package and its distilled\n  package;\n- `packages\u002Fintegration-tests\u002Fpackage.json` and `tsconfig.json` — the\n  package, its distilled package, and the project reference;\n- `.github\u002Fworkflows\u002Fpkg.yml` — the `@alchemy.run[Collapsed]` group;\n- `.gitignore` — `!packages\u002F\u003Cprovider>\u002Fsrc\u002Fglobals.d.ts`;\n- `stacks\u002Fnuke.ts` — `\u003CProvider>.providers()`;\n- `scripts\u002Fwith-fake-profiles.sh` — fake CI credentials;\n- `scripts\u002Fgenerate-api-reference.ts` and `scripts\u002Ffix-api-jsdocs.ts` —\n  the package's `src` root and provider prefix;\n- `packages\u002Fintegration-tests\u002Ftest\u002FBundle\u002FProviderBootstraps.test.ts` —\n  every `Bootstrap` the package ships;\n- `website\u002Fastro.config.ts`, `website\u002Fsrc\u002Fcomponents\u002FProviderDirectory.astro`,\n  `website\u002Fscripts\u002Fgenerate-llms-txt.ts`, and\n  `website\u002Fsrc\u002Fcontent\u002Fdocs\u002F\u003Cprovider>\u002F` (`index.mdx`, `setup.mdx`) —\n  sidebar, directory card, llms.txt, overview, and setup page.\n\nCore (`packages\u002Falchemy`) never changes to add a provider. If a provider\nseems to need a core change (a new auth registry entry, a CLI command, a\nstate store), it is a `Contributions` field instead.\n\nConfiguration such as region, project, or account comes from the\ncredential\u002Fprofile or from a layer the user provides (the AWS\n`AWS.Region(...)` pattern). Do not invent environment variables for it;\nenv vars exist only for CI credentials and for values the runtime platform\nitself sets.\n\nIf `providers()` wires hundreds of resources, memoize it\n(`let cached; export const providers = () => (cached ??= make())`) and keep\nnested `Layer.mergeAll` groups of about 90; an unmemoized collection\nrebuilds every layer per call and runs the test process out of memory.\n`pnpm lint:providers` fails when a `providers()` layer leaks an `unknown`\nrequirement.\n\n## Step 4 — resources\n\nImplement each resource per **Reconciler doctrine**, co-locating the\ncontract and provider in `packages\u002F\u003Cprovider>\u002Fsrc\u002F\u003CService>\u002F\u003CResource>.ts`. These\nare the mistakes that most often slip through review (each has a check in\n[review.md](review.md)):\n\n- **Block until ready.** `reconcile` returns only after the API reports the\n  resource usable: poll the long-running operation to completion and then\n  read the ready state. Use one shared operation waiter per provider with a\n  per-resource time budget that matches reality (minutes for databases and\n  clusters). Post-ready propagation delay is acceptable; returning early is\n  not.\n- **Identity changes replace.** If a user-chosen name or id is part of the\n  resource's identity, `diff` returns `replace` when it changes; otherwise\n  the old resource leaks.\n- **Missing is not forbidden.** Only a typed not-found tag means \"gone\".\n  A permission error treated as not-found drops the row from state and\n  leaks the resource. If the API returns 403 for missing resources, patch\n  distilled with a specific tag for that case.\n- **Lists fail loudly and paginate.** A `list` that swallows errors reports\n  \"nothing here\" to nuke and hides leaks. Use the SDK's paginated\n  `.items(...)` stream.\n- **Ownership markers go in labels or tags.** When the API has neither,\n  document the fallback marker in the resource JSDoc; never put markers in\n  fields users see or that change behaviour.\n- **Shared helpers live once per provider** (operation waiter, not-found\n  helper, label diffing). Copies per service drift apart.\n- **Enable what the account needs.** Clouds that require a service to be\n  switched on per account (Azure resource provider registration, GCP API\n  enablement) get an idempotent enable step inside `reconcile`, so a fresh\n  account deploys without manual setup.\n- **Clean up after a failed create.** `read` and `delete` work when `olds`\n  or parts of `output` are missing, so the next run's opening `destroy`\n  removes whatever a crashed run left behind. Prove it once by interrupting\n  a create.\n- **SQL databases take `migrations`.** Every resource that hosts a SQL\n  schema applies migrations on deploy through `@alchemy.run\u002Fsql\u002FMigrations`;\n  the provider only writes the cloud-specific call, built on its executor\n  helpers (`withPgExecutor`, `makeStatementExecutor`, `splitSqlScript`). Prefer the\n  cloud's HTTPS data API, then a direct or connector connection, then an\n  in-network runner, and take credentials from the platform before asking\n  for `migrationsUser` \u002F `migrationsPassword`. Follow **SQL database\n  migrations** in `AGENTS.md`; a SQL database shipped without migrations is\n  incomplete.\n- **Implement `list`** filtered to Alchemy-owned resources, and declare\n  `nuke: { dependsOn: [...] }` where delete order matters, so\n  `alchemy unsafe nuke` can clean the test account.\n\n## Step 5 — bindings and runtimes\n\nFollow the binding sections of `AGENTS.md`, then copy the AWS and GCP\npackages: they are the reference for how bindings reach their host, and\nmost questions are answered by reading the closest existing binding. The\npattern was set by these PRs; read their descriptions when a case isn't\nobvious from the code:\n\n| PR | What it settled |\n| --- | --- |\n| #2260 | bindings state what they need; a `\u003CP>Bindings` module decides how the host gets it (`packages\u002Faws\u002Fsrc\u002FAWSBindings.ts`) |\n| #2347 | `Bind` \u002F `withCredentials` effectful constructors, identity from real resources, `__ALCHEMY_HOST_IDENTITY__` bundle fold (`packages\u002Fgcp\u002Fsrc\u002FGCPBindings.ts`) |\n| #2267 | deploy-only services read behind the runtime guard; `*Http` bindings on local resources fail with a typed error (`packages\u002Fcloudflare\u002Fsrc\u002FHttpBindingDev.ts`) |\n| #2244, #2315 | no branching on another provider's host type; reach the host through `RuntimeContext` and core host services (`alchemy\u002FWebhookHost`) |\n\n**Cover every `binding` operation** in the catalog. Follow the AWS\nshape: one `Binding.Service` per operation (`SQS.SendMessage`,\n`DynamoDB.GetItem`), each with an `\u003COp>Http.ts` layer built on the\ndistilled operation, which injects the bound resource's identifier and\ngrants only that operation on that resource. Where the API has clear\naccess levels (object storage, key-value stores), also ship the\nRead\u002FWrite\u002FReadWrite services from `AGENTS.md` on top of the per-operation ones.\n\nLeast privilege depends on the cloud's permission model:\n\n- **Per-action permissions** (AWS IAM): grant the operation's actions on\n  the resource ARN, as `scripts\u002Faudit-service.ts` checks.\n- **Role-based** (GCP IAM, Azure RBAC): grant the smallest predefined\n  role that covers the operation, on the resource, never the project or\n  subscription. If the smallest predefined role covers much more than the\n  operation, create a custom role with exactly the permissions or data\n  actions it needs, and reuse it across hosts.\n\nEvery binding is a distilled call: the `\u003COp>Http.ts` layer wraps\n`\u003Cservice>.\u003Coperation>` from `@distilled.cloud\u002F\u003Cpkg>`. If the operation\nisn't in distilled (the data plane is missing, or the operation isn't\nmodelled), patch distilled first (step 1).\n\n**Declare** each capability as an interface plus factory:\n\n```ts\nexport interface SendMessage extends Binding.Service\u003C\n  SendMessage,\n  \"AWS.SQS.SendMessage\",\n  (queue: Queue) => Effect.Effect\u003C(request: SendMessageRequest) => Effect.Effect\u003C…>>\n> {}\nexport const SendMessage = Binding.Service\u003CSendMessage>(\"AWS.SQS.SendMessage\");\n```\n\n**Reach any host.** A binding works on the provider's own compute and on\nevery other cloud's: a Lambda can bind a GCP topic, a Cloudflare Worker\nan SQS queue. `src\u002F\u003CProvider>Bindings.ts` owns the decision and exports:\n\n- `HostBinding` — what a binding attaches: grants (IAM statements, role\n  bindings, role assignments) plus `env`.\n- `Bind` — yields a tagged-template `bind`. It picks the host's identity\n  in the order of \"Federated identity over keys\" in `AGENTS.md`:\n  - On a host that runs as the cloud's own identity (`runsAsRole`,\n    `runsAsServiceAccount`; an Azure managed identity) the grants go on\n    that identity.\n  - On a host whose platform signs identity tokens (`runsAsGoogleServiceAccount`\n    and `runsOnFlyMachines` in `AWSBindings`; `runsAsAwsRole` and\n    `runsOnFlyMachines` in `GCPBindings`) it creates a trust scoped to that\n    one workload (a Role that trusts the token's subject, a workload\n    identity pool member for one role or App), and the grants go on it. No\n    key exists.\n  - Only a host with no platform identity (a Cloudflare Worker) gets an\n    identity built from the provider's own resources (IAM `User` +\n    `AccessKey` + a Role that user alone may assume on AWS,\n    `ServiceAccount` + `ServiceAccountKey` on GCP), and its key goes into\n    the host's env through `CurrentRuntimeContext`.\n\n  With no host (a script, plan-time `execute`) it does nothing. In a host\n  bundle it is a no-op, so the identity resources drop out.\n\n  When you add a provider, or a new kind of runtime, check whether its\n  platform issues OIDC tokens or signs requests before reaching for the key\n  path, and add a federated branch to every cloud's `\u003CP>Bindings` that can\n  trust it. A runtime that has tokens implements\n  `BaseRuntimeContext.oidcToken(audience)` and sets\n  `__ALCHEMY_HOST_IDENTITY__` in its bundler.\n- `withCredentials(operation)` — resolves a distilled operation once when\n  the layer is built: the host's ambient identity, a token exchange\n  (`AssumeRoleWithWebIdentity`, Google STS) for a federated host, the\n  bound key read back from `RuntimeContext`, or the deployer's credentials.\n- `\u003Cidentity>HostBundle` — the rolldown option the provider's own host\n  bundlers apply (`Lambda\u002FFunctionBundle.ts`, `CloudFunctions\u002FFunctionSource.ts`,\n  the `ImageSource.ts` files). It sets `__ALCHEMY_HOST_IDENTITY__` (declared\n  in core's `Phase.ts`) so the created-key path drops out of native bundles.\n\nA binding layer then reads:\n\n```ts\nEffect.gen(function* () {\n  const publish = yield* GCPBindings.withCredentials(pubsub.publishProjectsTopics);\n  const bind = yield* GCPBindings.Bind;\n  return Effect.fn(function* (topic: Topic) {\n    if (!globalThis.__ALCHEMY_RUNTIME__) {\n      yield* bind`GCP.PubSub.WriteTopic(${topic})`({ iam: [\u002F* scoped to topic *\u002F] });\n    }\n    return (message) => publish({ topic: …, body: … });\n  });\n});\n```\n\nRules the reference code follows:\n\n- Never call `host.bind(...)` from a binding, and never allowlist the\n  provider's own host types; both lose foreign hosts. The exceptions are\n  host-only attachments that make no sense elsewhere, and they get their\n  own helper (`AWSBindings.bindVpc`, the Cloud SQL socket mount in\n  `GCP.SQL.Connect`).\n- Never name another provider's resource type (`host.Type ===\n  \"Cloudflare.Worker\"`). Write env through `RuntimeContext` (`runtime.set`\n  at deploy, `runtime.get` at runtime; secrets stay `Redacted`), and use\n  core host services such as `WebhookHost` for anything else a host must\n  provide.\n- Services that only exist at deploy (`\u003CP>Environment.current`, the\n  account or project id for a grant) are read inside the\n  `!globalThis.__ALCHEMY_RUNTIME__` block. Read at layer build, they crash\n  a foreign host at init.\n- Per-service grant helpers are constructors too (`GrantOnQueue` in\n  `packages\u002Faws\u002Fsrc\u002FSQS\u002FBindingHttp.ts`), and shared scaffolding lives in\n  an unexported `BindingHttp.ts` so each `\u003COp>Http.ts` is a one-line\n  `Layer.effect(Cap, make…({ … }))`.\n- A provider with local emulation fails an HTTP binding to a locally\n  emulated resource with a typed error naming the native binding and\n  `Alchemy.remote()` (`HttpBindingUnsupportedInDev`).\n\nDocument any grant broader than the bound resource (a condition on a\nproject-level grant, say) in the binding's JSDoc, with the reason.\n\n### Runtimes\n\nFind every **runtime** in the catalog: a resource that runs the user's\ncode (functions, containers, services, workers, jobs, VMs that run a\nprogram). Mark each one `runtime` in `INDEX.md`. Each ships in two\nforms from the same resource:\n\n**Effectful** — a class built with core's `Platform` (`alchemy\u002FPlatform`).\n`main: import.meta.url` makes the file both the bundle entry and the\nprogram. Construction binds resources, and the returned handlers run per\nrequest:\n\n```ts\nexport default class Api extends GCP.Function\u003CApi>()(\n  \"Api\",\n  { main: import.meta.url },\n  Effect.gen(function* () {\n    const db = yield* GCP.Firestore.ReadWriteDatabase(Links);\n    return {\n      fetch: Effect.gen(function* () {\n        const doc = yield* db.get(\"links\u002Fhome\");\n        return yield* HttpServerResponse.json(doc?.fields ?? {});\n      }).pipe(Effect.orDie),\n    };\n  }).pipe(Effect.provide(GCP.Firestore.ReadWriteDatabaseHttp)),\n) {}\n```\n\n**Async** — the same resource called as a plain function, with `main`\npointing at an ordinary handler file and no Effect. Alchemy bundles that\nfile as-is, with no Effect runtime in it. The `env` prop takes resources,\n`Config` values, and literals, and `\u003CProvider>.InferEnv\u003Ctypeof Fn>`\ntypes the handler's `env` argument:\n\n```ts\n\u002F\u002F alchemy.run.ts\nexport const Ping = Railway.Function(\"Ping\", {\n  project: Site,\n  main: \".\u002Fsrc\u002Fping.ts\",\n  env: { DATABASE_URL: db.connectionUri },\n});\nexport type PingEnv = Railway.InferEnv\u003Ctypeof Ping>;\n```\n\n```ts\n\u002F\u002F src\u002Fping.ts\nimport type { PingEnv } from \"..\u002Falchemy.run.ts\";\n\nexport default {\n  async fetch(_request: Request, env: PingEnv) {\n    return new Response(env.DATABASE_URL ? \"ok\" : \"missing\");\n  },\n};\n```\n\nCopy both forms from the runtime closest to yours:\n\n| Runtime | File | Notes |\n| --- | --- | --- |\n| Cloudflare Worker | `packages\u002Fcloudflare\u002Fsrc\u002FWorkers\u002FWorker.ts`, `InferEnv.ts` | the full reference: `env` entries become native bindings |\n| Railway Function | `packages\u002Frailway\u002Fsrc\u002FFunction.ts`, `InferEnv.ts` | bindings are env vars, so `InferEnv` maps to `string` |\n| GCP Cloud Run, Hetzner Service | `packages\u002Fgcp\u002Fsrc\u002FRun\u002FService.ts`, `packages\u002Fhetzner\u002Fsrc\u002FService.ts` | `Platform` over a container or process |\n| AWS Lambda | `packages\u002Faws\u002Fsrc\u002FLambda\u002FFunction.ts` | async form exists but has no `InferEnv`; don't copy that gap |\n\nEvery runtime needs:\n\n- **Both forms**, each with its own JSDoc section (`### Effect …` and\n  `### Async …`) showing the stack declaration and the handler file.\n- **`InferEnv`** exported from the package, so async users get a typed\n  `env` without writing the type by hand.\n- **The `HostBinding` contract** on the resource, so effectful bindings\n  from this and other providers can attach grants and env.\n- **The host bundle option** (`\u003Cidentity>HostBundle`) on the effectful\n  bundle, and a source-only `Bootstrap` export for the process entry\n  (`packages\u002Fhetzner\u002Fsrc\u002FBootstrap.ts`, `packages\u002Faws\u002Fsrc\u002FBootstrap\u002F`).\n- **Event sources** for what the cloud triggers it with (queues, topics,\n  storage events, schedules), shaped like AWS `SQS.QueueEventSource` and\n  Cloudflare cron. Their contract lives in the source service and each\n  runtime provides an implementation layer.\n- **A Website target** when the runtime is how the cloud serves\n  server-rendered pages (step 7).\n- **Tests for both forms**: a fixture per form under\n  `test\u002F\u003CProvider>\u002F\u003CService>\u002Ffixtures\u002F` (`effect-worker.ts` and\n  `async-worker.ts` in `test\u002FCloudflare\u002FImages\u002F` are the pattern), each\n  deployed and called over HTTP.\n\n### Workflow engine\n\nIf the cloud has a durable execution engine, the provider ships an Effect\nworkflow engine on it, so `alchemy\u002FWorkflows` code runs there unchanged.\nFollow **Effect workflow engines** in `AGENTS.md`: it covers the DX to\nkeep, the two engine shapes, the shared encoding module, and the eight\nconformance cases.\n\n| Cloud | Engine | Status |\n| --- | --- | --- |\n| Cloudflare | `Cloudflare.Workflows.NativeEngine` (Cloudflare Workflows), `DurableObjectEngine` | done, in-process |\n| AWS | `AWS.Lambda.WorkflowFunction` + `DurableFunctionEngine` (Lambda durable functions) | done, host + remote |\n| Azure | Durable Functions on the Durable Task Scheduler (`Azure.DurableTask.Scheduler` exists) | missing |\n| GCP | no code-first durable runtime; Cloud Workflows is a YAML orchestrator | decide and record in the catalog before building |\n\nResearch the cloud's engine in step 2 and record it in the catalog: its\ndurable step, durable sleep, external-event or callback primitive, how a\nrun is interrupted, and its limits. Then decide the shape:\n\n- **In-process** when the runtime that starts runs can also host the\n  durable construct (Cloudflare). The engine is a Layer provided next to\n  the workflow Layers.\n- **Host + remote** when runs need a dedicated durable runtime (Lambda\n  durable functions, and most likely Azure Durable Functions). Ship a\n  `\u003CRuntime>.WorkflowFunction`-style host that lists its workflows, and a\n  `\u003CRuntime>Engine(...hosts)` Layer that routes to it and grants access.\n\nIf the cloud has no durable engine, or only one that can't run code\nsteps, write `out-of-scope` with the reason on the engine's index row.\nDon't build a database-backed engine of your own.\n\nThe engine counts as a runtime: it gets its own index row, the\nconformance suite, an `examples\u002F\u003Cprovider>-effect-workflows` example, and\na `compute\u002Feffect-workflows.mdx` page in the docs hub.\n\n## Step 6 — live tests\n\nTests live in `packages\u002Fintegration-tests\u002Ftest\u002F\u003CProvider>\u002F` (paths below\nare relative to `packages\u002Fintegration-tests`). Write them per the test\nsections of `AGENTS.md` (`test.provider`,\n`stack.destroy()` at start and end, deterministic names, out-of-band\nverification through distilled, typed wait-until-gone). Run with the\nprofile from step 0:\n\n```sh\npnpm test:integration test\u002F\u003CProvider>\u002F\u003CService>\u002F\u003CResource>.test.ts --profile testing --retry 0\n```\n\nWhat a test must prove:\n\n- **Every resource has its own test file**\n  (`test\u002F\u003CProvider>\u002F\u003CService>\u002F\u003CResource>.test.ts`). Deploying a resource\n  as a dependency inside another resource's test does not count, because\n  its own update, replace, and delete paths never run.\n- **Lifecycle runs by default.** Create, update, and (where applicable)\n  replace against the real API. Slow lifecycles are gated behind one\n  provider-wide flag with a realistic timeout; entitlement-bound ones keep\n  an ungated probe that asserts the one specific typed tag the account\n  returns.\n- **Bindings run inside a deployed host** (a fixture Worker, Function, or\n  container calling the binding over HTTP) so the IAM grant or native\n  binding is exercised with the host's identity, not the deployer's. Test\n  both paths of `Bind`: the provider's own host, and a foreign host using\n  the created key in `test\u002F\u003CProvider>\u002FExternalHost\u002FCloudflareWorker.test.ts`\n  (copy `test\u002FGCP\u002FExternalHost\u002F`). If the provider hosts code, also add\n  its host to the other providers' external-host suites\n  (`test\u002FCloudflare\u002FExternalHost\u002FLambda.test.ts` is the pattern).\n- **Every binding has a test.** One `describe(\"\u003CBindingName>\")` per\n  binding, all driving the same deployed fixture host\n  (`test\u002FAWS\u002FDynamoDB\u002FBindings.test.ts` + `handler.ts` is the pattern).\n  A binding no test calls from a host is not done.\n- **Assertions can fail.** No always-true checks, no lists of acceptable\n  tags, no early `return` that skips the assertions.\n\n**Expensive resources** (dedicated clusters, large VMs or databases,\nreserved capacity, anything billed per hour at a noticeable rate) are\nimplemented and get full tests, but you do not run those tests on your own.\nGate them behind the provider-wide slow flag, mark them `blocked: cost` in\nthe index, and list them for the user with an estimate of what one run\ncosts. Run them only after the user says so.\n\nScarce account quotas (networks, clusters, IP addresses) are shared with a\nsemaphore in a test helper, or moved to less-used regions. The suite still\nruns in one process: `pnpm test:integration test\u002F\u003CProvider> --profile testing`.\n\nUnblock account prerequisites in the dedicated test account yourself as\nsoon as a test hits them. Request quota increases and register preview\nfeatures through the provider's API (anything that raises spend needs the\nuser's go-ahead from step 0 or step 6's cost rule),\nand put any setup a fresh account would need again into the test helper.\nDo one-time console work (free trials, free organizations, sign-ups) in the\nbrowser with whatever browser-automation skill the harness has, and ask the user only to sign in.\nA row stays `blocked` only when it needs payment, a vendor's approval,\nhardware, or is skipped under the long-tail rule below; report each one\nwith the exact request that would unblock it.\n\nFailure-path tests assert the typed error and finish in minutes. Give them\na short timeout and never let them wait out a slow provisioning or delete;\na single test case that runs for an hour is a bug in the test.\n\nStop chasing the long tail after the three-iteration budget from the\n**Speed doctrine** in `AGENTS.md`, or as soon as the user says so. When the\nremaining failures are slow provisioning, platform behavior, or test\ninfrastructure the cloud needs (a reachable endpoint, a custom image),\nlet the current run finish, then skip-gate each failing case with its\nexact error, mark the row `blocked: skipped` in the index, and list those\nrows in the next report so the user can reopen any. When the user sets a\ndeadline, cap test fixing at half of it and spend the rest on the other\ndeliverables (bindings, runtime, websites, examples, docs, PR). On Azure,\nfix rounds on one-hour tests kept running after the user asked to skip\nthem, until the user set a one-hour deadline to wrap up.\n\n## Step 7 — framework websites\n\n**Skip this step when the provider can't host a website.** Most\nproviders can't: observability, payments, databases, and auth (Axiom,\nStripe, Turso, PlanetScale) have no web hosting, so they ship no\n`Website` namespace and get no \"N\u002FA\" rows in the index. This step is\nfor providers that serve HTTP or static files.\n\nThose providers ship `\u003CProvider>.Website.\u003CFramework>` composites, so a\nuser deploys an Astro or Next.js app with one call:\n\n```ts\nconst site = yield* AWS.Website.Astro(\"Site\", { rootDir: \".\u002Fweb\" });\n```\n\n### Use the cloud's web hosting, not a container\n\nA website deploys onto the infrastructure the cloud built for websites:\nstatic assets on a CDN, and server rendering on the cloud's serverless\nfunctions behind that same CDN. Putting the whole build in a container\nor an always-on VM, with no CDN, is the lazy default. It is not done,\neven though it works for every framework on the first try.\n\nAzure's first pass did exactly that. All 14 frameworks, the static-only\nones included, became a Docker image on Container Apps. A follow-up moved\nstatic builds to a Storage static website and server builds to an\nalways-on App Service plan, with Front Door optional. That is still a\nVM instead of functions, and no CDN by default. GCP's composites still\ndeploy a Node image to Cloud Run for every framework, `StaticSite`\nincluded. Copy neither.\n\nPick the hosting per cloud before writing code, and record the choice\nand its reason in the catalog:\n\n| Kind of provider | Static assets | Server rendering | Reference |\n| --- | --- | --- | --- |\n| Hyperscaler with a CDN and functions | object storage behind the CDN | serverless functions as the CDN's dynamic origin | `packages\u002Faws\u002Fsrc\u002FWebsite\u002F` (S3 + CloudFront + Lambda, `SsrSite.ts`) |\n| Edge platform | the platform's asset hosting | the platform's functions | `packages\u002Fcloudflare\u002Fsrc\u002FWebsite\u002F` (Workers + static assets) |\n| Platform with its own function runtime | the platform's asset hosting | its functions, through a framework target | `packages\u002Fneon\u002Fsrc\u002FWebsite\u002F` (`frontend-frameworks\u002F\u003Cframework>\u002Fneon.ts`) |\n| Containers or VMs only | served by the same Node server, behind the platform's CDN when it has one | the Node server | `packages\u002Ffly\u002Fsrc\u002FWebsite\u002F`, `packages\u002Fhetzner\u002Fsrc\u002FWebsite\u002F`, `packages\u002Frailway\u002Fsrc\u002FWebsite\u002F` (`Cdn.ts`) |\n\nWhat that means for the clouds still to be built:\n\n- **Azure:** Static Web Apps, or Blob static website behind Front Door,\n  with server rendering on Azure Functions (Flex Consumption). Not\n  Container Apps, not an App Service plan.\n- **GCP:** a Cloud Storage bucket behind Cloud CDN on an external\n  HTTPS load balancer, with Cloud Run or Cloud Functions as the\n  serverless origin for server rendering. Assets-only sites\n  never run a container.\n\nRules:\n\n- An assets-only build (Vite, StaticSite, SPA output) never runs compute.\n- The CDN is on by default, not behind a `cdn: true` flag. Assets are\n  uploaded with content hashes and cache headers, and a deploy\n  invalidates or purges what changed (`AssetDeployment.ts` +\n  `CloudFront.Invalidation` on AWS).\n- Server rendering runs on functions that scale to zero. A container or\n  VM is acceptable only when the cloud has no function runtime, or when a\n  framework needs a long-lived process. Document that framework's reason\n  in its JSDoc.\n- Functions need a framework target: a new\n  `packages\u002Ffrontend-frameworks\u002Fsrc\u002F\u003Cframework>\u002F\u003Cprovider>.ts` next to\n  `aws.ts`, `cloudflare.ts`, and `neon.ts`, producing a handler for the\n  cloud's function runtime. Only container\u002FVM providers use the Node\n  target (`@alchemy.run\u002Ffrontend-frameworks\u002F\u003Cframework>\u002Fnode`) through\n  core's `alchemy\u002FWebsite\u002FServer`.\n- Before choosing a container, check whether the cloud's docs have a\n  hosting page for the framework (Azure Static Web Apps has one for\n  Next.js, Nuxt, Astro, and SvelteKit). If they do, use what it uses.\n\n### Layout\n\nShip the same framework set as the existing providers (`ls\npackages\u002Faws\u002Fsrc\u002FWebsite` and `packages\u002Fhetzner\u002Fsrc\u002FWebsite`: Astro,\nFoldkit, Nextjs, Nuxt, Octane, ReactRouter, SolidStart, StaticSite,\nSvelteKit, TanStackStart, Vinext, Vite, Vocs, Waku):\n\n- `FrameworkSite.ts` owns `makeFrameworkSite`, which builds through the\n  framework integration (`@alchemy.run\u002Ffrontend-frameworks\u002F\u003Cframework>`)\n  and deploys the output onto the hosting above. Its shared props\n  (`rootDir`, `memo`, `dev`, `env`, `assets`, `domain`, `tags`) keep the\n  names and meaning the sibling providers use.\n- One small file per framework that only sets the framework specifier, the\n  deploy target, and the framework's own option block.\n- `StaticSite.ts` for assets-only sites, and `index.ts` exported from the\n  provider barrel as `export * as Website from \".\u002FWebsite\u002Findex.ts\"`.\n\nEach framework gets a live\n`packages\u002Fintegration-tests\u002Ftest\u002F\u003CProvider>\u002FWebsite\u002F\u003CFramework>.test.ts`\nthat asserts the response comes through the CDN (a cache header, or the\nCDN hostname) and that a server-rendered route hits the function; a\n`\u003CFramework>.local.test.ts` for `alchemy dev`; and a shared\n`PropSurface.test.ts`. It also gets an `examples\u002F\u003Cprovider>-website-\u003Cframework>`\nexample listed in `scripts\u002Ftest-examples.ts`, and a page under\n`website\u002Fsrc\u002Fcontent\u002Fdocs\u002F\u003Cprovider>\u002Ffrontend\u002F`.\n\n## Step 8 — close the loop\n\nEvery failure the live run exposes is classified before it is fixed, in\nthis order: **provider bug > distilled patch > test fix**.\n\n| Symptom | Fix |\n| --- | --- |\n| `Unknown\u003CPkg>Error`, or a status\u002Fmessage you want to branch on | typed error patch (`distilled-sdk-patch`) |\n| decode failure, field null or missing on the wire | nullable\u002Foptional patch |\n| secret returned as a plain string | sensitive patch |\n| resource leaks, returns before ready, wrong replace | provider fix in alchemy |\n| test asserts something the API does not promise | test fix |\n\nAfter a patch, regenerate only that package (`pnpm generate \u003Cpkg>` in the\nsubmodule) and rerun the test immediately — the test runner reads distilled\nfrom `src\u002F`, so there is nothing to build. Collect the patches, prove each\nwith `pnpm patches:audit`, and ship them as a distilled PR, then bump the\npin (step 1).\n\nAfter a full run, list what is still alive in the test account\n(`pnpm nuke --dry-run --profile testing --include \u003CProvider>.*` or the\nprovider's list calls). A green test that\nleaves resources behind is a provider bug.\n\n## Step 9 — review gate\n\nRun every check in [review.md](review.md) with a fresh reviewer subagent\nand fix what it finds. Report the result table to the user with the\ncounts, so they can see what was checked without re-reviewing by hand.\n\n## Step 10 — docs, examples, and the PR\n\n- JSDoc on every resource, prop, attribute, and binding, to the bar in\n  [docs.md](docs.md#api-reference-jsdoc): runtimes as complete as\n  `AWS.Lambda.Function`, fat-head resources as complete as S3 Bucket or\n  R2 Bucket, and a creation example plus replacement cautions for the\n  long tail. Then run `pnpm docs:check-jsdoc` and `pnpm docs:gen`.\n- The hand-written hub at `website\u002Fsrc\u002Fcontent\u002Fdocs\u002F\u003Cprovider>\u002F`, built\n  to [docs.md](docs.md): the AWS hub's structure (Overview, Setup, a\n  five-part tutorial, sections by concern), code taken from tested\n  examples, and the voice rules there. A hub of loose \"guides\" that walk\n  the examples is not done; GCP's had to be rebuilt.\n- The example set described under **Examples** below.\n- Type-check with `pnpm exec tsrs -b`, run `pnpm exports:check` and\n  `pnpm lint:providers`, and format with `pnpm exec oxfmt`.\n- Open the alchemy PR per **Pull Request Conventions**, linking the\n  distilled PRs it depends on. The description shows the provider's DX,\n  not a list of what was built:\n  - One or two lines on what the package is, then a few bullets of\n    counts (services, resources, live test files, gated tests).\n  - A `###` section for every runtime (each form), the event sources,\n    and the websites.\n  - A `###` section for each **fat-head** resource: the 10–20 that most\n    apps on this cloud use (resource groups or projects, identity and\n    roles, object storage, the main SQL and document databases, queues\n    and topics, secrets, the container registry, networking and DNS,\n    logs). Pick them from the cloud's own quickstarts, not from the\n    catalog's order. Group a resource with the ones it's always used\n    with (a namespace and its queue) and its bindings.\n  - Each section is one or two sentences, then one snippet copied from\n    that resource's JSDoc example, so the code is already checked.\n  - One closing line names the long tail and points to the generated\n    reference. Don't list it.\n\n  Don't show a binding running in a host unless a test deploys it that\n  way. On Azure, the description was going to show bindings inside\n  `Azure.Functions.Function`, which isn't a registered binding host, so\n  those bindings did nothing.\n\n### Examples\n\nExamples are how users learn the provider, and the docs hub copies its\ncode from them. Ship a comprehensive set, not one or two. Azure's first\npass shipped `azure-storage` (a Stack with no runtime) and one website;\nAWS, Cloudflare, Fly, and Hetzner ship one example per framework plus one\nper workload.\n\n**Every web framework gets its own example**, for every provider that\nhosts websites: `examples\u002F\u003Cprovider>-website-\u003Cframework>`, one per\n`\u003CProvider>.Website.\u003CFramework>` composite (Astro, Foldkit, Nextjs, Nuxt,\nOctane, ReactRouter, SolidStart, SvelteKit, TanStackStart, Vinext, Vite,\nVocs, Waku, plus `\u003Cprovider>-static-site`). `ls examples | grep\nhetzner-website-` is the complete set to match.\n\n**Then one example per workload the cloud supports.** Go down this list\nand add an example for every row the provider has, and skip the rest:\n\n| Workload | Shows | AWS \u002F GCP \u002F Cloudflare reference |\n| --- | --- | --- |\n| Serverless function, effectful | an HTTP handler with a binding to storage or a database | `aws-lambda`, `gcp-cloud-function`, `cloudflare-worker` |\n| Serverless function, async | the same with a plain handler and `InferEnv` | `cloudflare-worker-async` |\n| HTTP API | Effect HTTP API or RPC on the default runtime | `aws-lambda-httpapi`, `aws-lambda-rpc`, `gcp-cloud-run-api` |\n| Queue | a producer and a consumer through an event source | `gcp-pubsub-worker`, `gcp-pubsub-fanout` |\n| Scheduled job | a cron trigger | `gcp-cron`, `gcp-scheduled-job` |\n| Storage events | a function triggered by an upload | `gcp-storage-uploads`, `gcp-eventarc-firestore` |\n| Durable workflows | `alchemy\u002FWorkflows` on the provider's engine (Step 5): start, signal, read a run | no example yet; copy the conformance fixtures in `packages\u002Fintegration-tests\u002Ftest\u002FCloudflare\u002FWorkers\u002Ffixtures\u002Fdurable-workflow\u002F` |\n| Containers | a container service | `aws-ecs`, `fly-service` |\n| Kubernetes | a Deployment on the cloud's managed cluster | `aws-eks`, `gcp-gke` |\n| VMs | a VM running a program | `aws-ec2`, `hetzner-server` |\n| SQL database | a database with migrations, from a runtime | `aws-rds`, `gcp-cloud-sql-drizzle` |\n| Cache | Redis from a runtime | `gcp-memorystore-redis`, `fly-redis` |\n| Secrets | a secret read by a runtime | `gcp-secrets-kms` |\n| AI | the cloud's model service | `aws-bedrock-ai`, `gcp-vertex-ai` |\n| Service to service | two runtimes calling each other | `gcp-service-to-service` |\n| Local dev | the same app under `alchemy dev` | `aws-dev`, `cloudflare-dev` |\n\nName examples `\u003Cprovider>-\u003Cworkload>` in kebab case. Each one is a\nworkspace project with the layout of `examples\u002Fgcp-pubsub-worker`:\n\n- `package.json` (private, `deploy` \u002F `dev` \u002F `destroy` \u002F `test` scripts,\n  `workspace:*` dependencies), `tsconfig.json` referencing\n  `packages\u002Falchemy` and the provider package, and a `README.md`.\n- `alchemy.run.ts`, with the runtime and resources in `src\u002F`.\n- `test\u002Finteg.test.ts` with `@alchemy.run\u002Ftest\u002FBun`: deploy in `beforeAll`,\n  call the deployed app over HTTP, verify cloud state through distilled,\n  destroy in `afterAll`. Websites and `dev`-capable apps also get\n  `test\u002Fdev.test.ts`.\n\nRegister every example in the root `tsconfig.json` references and in\n`scripts\u002Ftest-examples.ts`, and run its test against the testing profile\nbefore you call it done. Track examples as rows in `INDEX.md` like any\nother deliverable.\n\nA draft PR for an early wave is fine; its description states the index\ncounts and that the provider is incomplete.\n\nA provider is done when:\n\n- every SDK service is cataloged and every operation is classified;\n- every in-scope resource has its own passing live test (or is\n  `blocked: cost` \u002F `blocked: skipped` and the user has the list);\n- every `binding` operation is a least-privilege binding over distilled,\n  goes through `\u003CProvider>Bindings.Bind`, reaches foreign hosts, and is\n  called from a deployed host in a test;\n- no alchemy code makes a hand-written API call (review.md's\n  \"Hand-written HTTP\" check is clean);\n- every runtime ships both forms with `InferEnv`, its event sources, and\n  tests for each form;\n- the cloud's durable engine has an Effect workflow engine that passes\n  the conformance cases, or is out of scope with a reason;\n- the framework websites (if the cloud hosts websites) deploy to its CDN\n  and functions;\n- the example set (one per framework, one per workload) deploys and\n  passes;\n- JSDoc meets the bar in [docs.md](docs.md), the reference docs are\n  generated, and the hub matches [docs.md](docs.md);\n- the PR description shows the runtimes and the fat head;\n- the review gate is clean, the test account is clean after a full run,\n  and every SDK mismatch found along the way is a merged distilled patch.\n",{"name":5,"description":7},"main","74a37f7f6ee0e64cd4ec0f5ad712ec3347c549dc","repos\u002Falchemy\u002F.agents\u002Fskills\u002Falchemy-provider",0,"https:\u002F\u002Fgithub.com\u002Fsystemfsoftware\u002Fomp-claude-compat","https:\u002F\u002Fsystemfsoftware.com","https:\u002F\u002Fgithub.com\u002Fsystemfsoftware","https:\u002F\u002Fsystemfsoftware.com\u002F","2026-11-13 17:18:44",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add systemfsoftware\u002Fomp-claude-compat --skill alchemy-provider",{"tool":39,"command":40},"bunx","bunx skills add systemfsoftware\u002Fomp-claude-compat --skill alchemy-provider",{"tool":42,"command":43},"pnpm","pnpm dlx skills add systemfsoftware\u002Fomp-claude-compat --skill alchemy-provider","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsystemfsoftware\u002Fomp-claude-compat\u002Fblob\u002Fmain\u002Frepos\u002Falchemy\u002F.agents\u002Fskills\u002Falchemy-provider\u002FSKILL.md",true,[47,53],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"docs.md","REFERENCE","参考文档",10586,"https:\u002F\u002Fgithub.com\u002Fsystemfsoftware\u002Fomp-claude-compat\u002Fblob\u002Fmain\u002Frepos\u002Falchemy\u002F.agents\u002Fskills\u002Falchemy-provider\u002Fdocs.md",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"review.md",17180,"https:\u002F\u002Fgithub.com\u002Fsystemfsoftware\u002Fomp-claude-compat\u002Fblob\u002Fmain\u002Frepos\u002Falchemy\u002F.agents\u002Fskills\u002Falchemy-provider\u002Freview.md",[58,65,72,79,86,93],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M7CEK01YFJ861EQWA0GYETMW","vendored-assets","Vendored assets. Use when importing or updating checked-in third-party or externally generated JavaScript, CSS, registries, schemas, snapshots, or Scalar, Swagger, and MIME artifacts.","https:\u002F\u002Fgithub.com\u002Fsystemfsoftware\u002Fomp-claude-compat\u002Fblob\u002Fmain\u002Frepos\u002Feffect\u002F.agents\u002Fskills\u002Fvendored-assets\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7CEJXK1X8E48GB0M2V6RMGC","test-development","Test development. Use when adding or changing Vitest or Tstyche coverage. Choose Tstyche only for intended compiler behavior such as inference, assignability, rejection, or displayed public types.","https:\u002F\u002Fgithub.com\u002Fsystemfsoftware\u002Fomp-claude-compat\u002Fblob\u002Fmain\u002Frepos\u002Feffect\u002F.agents\u002Fskills\u002Ftest-development\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7CEJVPY11HPB97R4MVDP5EQ","pull-requests","Pull request finalization. Use when a change works and is about to be opened as a pull request, or when updating or continuing an existing one.","https:\u002F\u002Fgithub.com\u002Fsystemfsoftware\u002Fomp-claude-compat\u002Fblob\u002Fmain\u002Frepos\u002Feffect\u002F.agents\u002Fskills\u002Fpull-requests\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7CEJSF92NA5KNYEEM9JB37Z","performance-analysis","Performance analysis. Use for runtime throughput or latency benchmarks, TypeScript compiler cost, performance regressions, comparison harnesses, or thresholds.","https:\u002F\u002Fgithub.com\u002Fsystemfsoftware\u002Fomp-claude-compat\u002Fblob\u002Fmain\u002Frepos\u002Feffect\u002F.agents\u002Fskills\u002Fperformance-analysis\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7CEJQHJ888WYE69Z1GMCR16","package-development","Package registration. Use when adding a workspace package, making a private package publishable, renaming a package, or moving its workspace path.","https:\u002F\u002Fgithub.com\u002Fsystemfsoftware\u002Fomp-claude-compat\u002Fblob\u002Fmain\u002Frepos\u002Feffect\u002F.agents\u002Fskills\u002Fpackage-development\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M7CEJNDV264J32BSMXNPRXAG","migration-guidance","Use when changing how a v3 public API maps to v4, editing migration annotations, or regenerating migration\u002Fv3-to-v4.md.","https:\u002F\u002Fgithub.com\u002Fsystemfsoftware\u002Fomp-claude-compat\u002Fblob\u002Fmain\u002Frepos\u002Feffect\u002F.agents\u002Fskills\u002Fmigration-guidance\u002FSKILL.md",[],[]]