[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69A94F4WR5CXDZ73N658DV0":3,"skill-same:01M69A94F4WR5CXDZ73N658DV0":72},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":49,"commitSha":50,"skillDirectory":51,"forksCount":52,"repositoryHtmlUrl":53,"repositoryHomepageUrl":17,"ownerHtmlUrl":54,"ownerBlogUrl":55,"ownerDescription":56,"updatedAt":57,"install":58,"resources":71},"01M69A94F4WR5CXDZ73N658DV0","pilotswarm-duroxide-versioning","PilotSwarm 编排版本管理","Use when changing PilotSwarm durable orchestration behavior, continue-as-new state, or replay-sensitive control flow.","在更改 PilotSwarm 持久化编排行为、continue-as-new（继续为新）状态或重放敏感的控制流时使用。","microsoft\u002FPilotSwarm","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M69A6RNK492A5JSNBTXANKX5",16,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FPilotSwarm\u002Fblob\u002Fmain\u002Ftemplates\u002Fbuilder-agents\u002Fskills\u002Fpilotswarm-duroxide-versioning\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSAA4FBTWZP6X98STEHG99","智能体开发","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43],"pilotswarm duroxide versioning","versioning","orchestration","state","flow","continue","behavior","use","replay","control","as","when","new","2026-11-10 10:12:30",false,"---\nname: pilotswarm-duroxide-versioning\ndescription: \"Use when changing PilotSwarm durable orchestration behavior, continue-as-new state, or replay-sensitive control flow.\"\n---\n\n# PilotSwarm Duroxide Versioning\n\nPilotSwarm durable orchestrations replay from history. Treat every orchestration change as a wire-compatibility problem, not just a code diff.\n\n## Rules\n\n1. Freeze old orchestration behavior in `packages\u002Fsdk\u002Fsrc\u002Forchestration_\u003Cversion>.ts`.\n2. Keep the canonical latest target in the shared version constant, and use that constant for all new starts and all `continueAsNewVersioned(...)` calls.\n3. Stamp the source orchestration version into the carried input so the target version can normalize or branch on legacy state if needed.\n4. Treat the `OrchestrationInput` payload as a durable wire format. Every new latest version must accept and normalize input snapshots from the oldest orchestration version that is still registered in the codebase.\n5. Backward compatibility is behavioral, not only syntactic:\n   - Deserializing the old shape is not enough.\n   - If version `N` can `continueAsNew` from state point `X`, version `N+1` must behave correctly when resumed from `X`.\n   - If `N+1` only works when resumed from a new point `Y`, that is a versioning bug unless the older path stays on the old handler.\n6. If replay behavior, yield order, timer semantics, KV usage, command routing, or `continueAsNew` state changes, treat it as a new orchestration version even when the diff is small.\n7. Add tests for both:\n   - the version target (`continueAsNew` upgrades to latest as intended)\n   - the compatibility path (older carried input still resumes correctly)\n8. When you add a new orchestration version, update the version-upgrade test suite too. In particular, keep `packages\u002Fsdk\u002Ftest\u002Flocal\u002Forchestration-version-upgrade.test.js` aligned so it still exercises upgrade from the last three frozen versions into the latest version.\n\n## Checklist\n\n- Shared latest version constant updated\n- New latest handler added and registry wired\n- Frozen handlers still replay-safe\n- Oldest registered input shape still normalized by latest\n- Source orchestration version carried in input\n- Local tests cover at least one frozen-to-latest handoff\n- `packages\u002Fsdk\u002Ftest\u002Flocal\u002Forchestration-version-upgrade.test.js` updated for the new latest version and the rolling last-three compatibility matrix\n","# PilotSwarm Duroxide Versioning\n\nPilotSwarm durable orchestrations replay from history. Treat every orchestration change as a wire-compatibility problem, not just a code diff.\n\n## Rules\n\n1. Freeze old orchestration behavior in `packages\u002Fsdk\u002Fsrc\u002Forchestration_\u003Cversion>.ts`.\n2. Keep the canonical latest target in the shared version constant, and use that constant for all new starts and all `continueAsNewVersioned(...)` calls.\n3. Stamp the source orchestration version into the carried input so the target version can normalize or branch on legacy state if needed.\n4. Treat the `OrchestrationInput` payload as a durable wire format. Every new latest version must accept and normalize input snapshots from the oldest orchestration version that is still registered in the codebase.\n5. Backward compatibility is behavioral, not only syntactic:\n   - Deserializing the old shape is not enough.\n   - If version `N` can `continueAsNew` from state point `X`, version `N+1` must behave correctly when resumed from `X`.\n   - If `N+1` only works when resumed from a new point `Y`, that is a versioning bug unless the older path stays on the old handler.\n6. If replay behavior, yield order, timer semantics, KV usage, command routing, or `continueAsNew` state changes, treat it as a new orchestration version even when the diff is small.\n7. Add tests for both:\n   - the version target (`continueAsNew` upgrades to latest as intended)\n   - the compatibility path (older carried input still resumes correctly)\n8. When you add a new orchestration version, update the version-upgrade test suite too. In particular, keep `packages\u002Fsdk\u002Ftest\u002Flocal\u002Forchestration-version-upgrade.test.js` aligned so it still exercises upgrade from the last three frozen versions into the latest version.\n\n## Checklist\n\n- Shared latest version constant updated\n- New latest handler added and registry wired\n- Frozen handlers still replay-safe\n- Oldest registered input shape still normalized by latest\n- Source orchestration version carried in input\n- Local tests cover at least one frozen-to-latest handoff\n- `packages\u002Fsdk\u002Ftest\u002Flocal\u002Forchestration-version-upgrade.test.js` updated for the new latest version and the rolling last-three compatibility matrix\n",{"name":5,"description":7},"main","cecafe1ca7a9f2778a6166abdd12f6165d99f777","templates\u002Fbuilder-agents\u002Fskills\u002Fpilotswarm-duroxide-versioning",10,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FPilotSwarm","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-15 00:36:04",{"source":9,"skillName":5,"commands":59,"prompt":69,"zipAvailable":70},[60,63,66],{"tool":61,"command":62},"npx","npx skills add microsoft\u002FPilotSwarm --skill pilotswarm-duroxide-versioning",{"tool":64,"command":65},"bunx","bunx skills add microsoft\u002FPilotSwarm --skill pilotswarm-duroxide-versioning",{"tool":67,"command":68},"pnpm","pnpm dlx skills add microsoft\u002FPilotSwarm --skill pilotswarm-duroxide-versioning","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FPilotSwarm\u002Fblob\u002Fmain\u002Ftemplates\u002Fbuilder-agents\u002Fskills\u002Fpilotswarm-duroxide-versioning\u002FSKILL.md",true,[],[73,81,88,95,102,109],{"skillNo":74,"name":75,"nameZh":17,"description":76,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":80},"01M760N7TCZBTY635MYZQ8YAB0","workflow-testing","Load before you test a Workflow with mocked effects — the test, test_respond and test_advance operations, fixtures, interception ids, valid answers, the virtual clock, test evidence and what a test run does not prove.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FPilotSwarm\u002Fblob\u002Fmain\u002Fpackages\u002Fsdk\u002Fplugins\u002Fworkflow\u002Ftest-mode-skills\u002Fworkflow-testing\u002FSKILL.md",[],[],"2026-11-12 13:55:43",{"skillNo":82,"name":83,"nameZh":17,"description":84,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":80},"01M760N4RKD6BMYPGHD490SNN2","workflow-tools","Every argument of the Workflow tools, testing a revision, package definitions and the refusals you can fix. Load when a Workflow tool's short description is not enough.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FPilotSwarm\u002Fblob\u002Fmain\u002Fpackages\u002Fsdk\u002Fplugins\u002Fworkflow\u002Fskills\u002Fworkflow-tools\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":17,"description":91,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":80},"01M760N1P2VTGVE6C4N5WF3FVR","workflow-reference","Field reference for Workflow YAML (root keys, every state type, bindings, outputs, runtime error codes), what the engine guarantees, and a review fan-out example. For design, call load_skill with name workflow-authoring.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FPilotSwarm\u002Fblob\u002Fmain\u002Fpackages\u002Fsdk\u002Fplugins\u002Fworkflow\u002Fskills\u002Fworkflow-reference\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":17,"description":98,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":80},"01M760MZ5CFSAX4FYMEXZJBGM2","workflow-patterns","Load when one Workflow must run different nodes in its branches at the same time (a different prompt or model for each branch), or loops back to a state (a polling loop). Named branches, the router pattern, examples that compile.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FPilotSwarm\u002Fblob\u002Fmain\u002Fpackages\u002Fsdk\u002Fplugins\u002Fworkflow\u002Fskills\u002Fworkflow-patterns\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":17,"description":105,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":80},"01M760MWKBDJFEECRFAF3BAVQ2","workflow-authoring","Load before you create, edit, publish or run a Workflow (pilotswarm.dev\u002Fv1) — choosing states, bounded graphs, bindings, typed contracts, agent and parallel states, the lifecycle and failure diagnosis.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FPilotSwarm\u002Fblob\u002Fmain\u002Fpackages\u002Fsdk\u002Fplugins\u002Fworkflow\u002Fskills\u002Fworkflow-authoring\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":17,"description":112,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":80},"01M760MN4Y9199ARAY85DWD08X","tla-formal-validation","Required for any change to the core orchestrations (the durable session orchestration, session hydration and dehydration, and the Workflow controller and store). Teaches how to model the change in TLA+, update the existing models, run TLC with the repo runner, read the results, turn a counterexample into a fix and a regression test, and record the binding to the code.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FPilotSwarm\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ftla-formal-validation\u002FSKILL.md",[],[]]