pilotswarm-duroxide-versioning
Skill14 starsChanged 8 months agoMITView on GitHub
Use when changing PilotSwarm durable orchestration behavior, continue-as-new state, or replay-sensitive control flow.
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 2 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Keep the canonical latest target in the shared version constant, and use that constant for all new starts and all …
- Very specific: line 15
Treat the OrchestrationInput payload as a durable wire format.
- Very specific: line 18
If version N can continueAsNew from state point X, version N+1 must behave correctly when resumed from X.
- Very specific: line 19
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.
- Very specific: line 20
If replay behavior, yield order, timer semantics, KV usage, command routing, or continueAsNew state changes, treat it as a new …
- Distinctive: line 21
Add tests for both:
- Distinctive: line 24
When you add a new orchestration version, update the version-upgrade test suite too.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
PilotSwarm Duroxide Versioning
PilotSwarm durable orchestrations replay from history. Treat every orchestration change as a wire-compatibility problem, not just a code diff.
Rules
- Freeze old orchestration behavior in
packages/sdk/src/orchestration_<version>.ts. - Keep the canonical latest target in the shared version constant, and use that constant for all new starts and all
continueAsNewVersioned(...)calls. - Stamp the source orchestration version into the carried input so the target version can normalize or branch on legacy state if needed.
- Treat the
OrchestrationInputpayload 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. - Backward compatibility is behavioral, not only syntactic:
- Deserializing the old shape is not enough.
- If version
NcancontinueAsNewfrom state pointX, versionN+1must behave correctly when resumed fromX. - If
N+1only works when resumed from a new pointY, that is a versioning bug unless the older path stays on the old handler.
- If replay behavior, yield order, timer semantics, KV usage, command routing, or
continueAsNewstate changes, treat it as a new orchestration version even when the diff is small. - Add tests for both:
- the version target (
continueAsNewupgrades to latest as intended) - the compatibility path (older carried input still resumes correctly)
- the version target (
- When you add a new orchestration version, update the version-upgrade test suite too. In particular, keep
packages/sdk/test/local/orchestration-version-upgrade.test.jsaligned so it still exercises upgrade from the last three frozen versions into the latest version.
Checklist
- Shared latest version constant updated
- New latest handler added and registry wired
- Frozen handlers still replay-safe
- Oldest registered input shape still normalized by latest
- Source orchestration version carried in input
- Local tests cover at least one frozen-to-latest handoff
packages/sdk/test/local/orchestration-version-upgrade.test.jsupdated for the new latest version and the rolling last-three compatibility matrix
In this repository50 other files it gives its agents.
- packages/sdk/examples/repo-workspaces/seed/home/AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- agent-repair-loopSkill
- duroxide-orchestration-versioningSkill
- editorial-standardsSkill
- finance-research-standardsSkill
- valuation-methodsSkill
- pilotswarm-architectureSkill
- deployment-safetySkill
- incident-responseSkill
- add-activitySkill
- add-eventSkill
- add-testSkill
- add-toolSkill
- agent-versioningSkill
- azure-ps-test-runner-vmSkill
- debug-orchestrationSkill
- debug-testSkill
- horizondb-idiosyncrasiesSkill
- horizon-facts-eval-sweepSkill
- investigate-duroxide-runtimeSkill
- pilotswarm-aks-deploySkill
- pilotswarm-aks-resetSkill
- pilotswarm-new-env-deploySkill
- pilotswarm-perfSkill
- pilotswarm-portal-app-regSkill
- pilotswarm-portal-auth-assignmentsSkill
- pilotswarm-releaseSkill
- pilotswarm-tuiSkill
- pilotswarm-vpn-client-profileSkill
- schema-migrationSkill
- notesSkill
- share-a-fileSkill
- cost-latency-analysisSkill
- graph-debugSkill
- orchestration-session-lifecycleSkill
- resourcemgrSkill
- sweeperSkill
- canvas-appsSkill
- html-visualsSkill
- pilotswarm-agent-versioningSkill
- pilotswarm-aks-identitySkill
- pilotswarm-azure-deployerSkill
- pilotswarm-azure-lessonsSkill
- pilotswarm-cli-builderSkill
- pilotswarm-hybrid-datastoreSkill
- pilotswarm-knowledge-harvesterSkill
- pilotswarm-portal-builderSkill
- pilotswarm-sdk-builderSkill
- pilotswarm-three-tierSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

