server-upgrade-deep-dive
Skill0 starsChanged 3 months agoApache-2.0View on GitHub
Perform Server upgrade analysis across version paths, prechecks, CryptoMigration, and version-specific defect families.
In this repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- ayx-cli-agentSkill
- kba-candidate-triageSkill
- server-api-playbookSkill
- server-api-posture-triageSkill
- server-auth-triageSkill
- server-mongo-triageSkill
- server-triage-first-lineSkill
- server-upgrade-checklistSkill
- server-upgrade-cryptomigrationSkill
- server-upgrade-pathingSkill
- server-upgrade-precheckSkill
- server-upgrade-triageSkill
- server-upgrade-version-defectsSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill when the support case needs more than a generic upgrade plan:
- Very specific: line 25
run ayx upgrade precheck --profile <path> --target <version> before any change window
- Very specific: line 28
verify the upgrade result with ayx upgrade postcheck --profile <path> --manifest <path>
- Distinctive: line 35
treat 25.1 and 24.2 as Mongo 7.0
- Distinctive: line 39
if the planned path crosses into 22.3+, require CryptoMigration prep
- Distinctive: line 40
if the source path is earlier than 2021.2, stop at 2021.2 or 2021.1 first before CryptoMigration
- Distinctive: line 41
if built-in auth is in scope, remember the 2021.1 stopover
- Very specific: line 88
Do not turn this into hidden execution logic.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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
Server Upgrade Deep Dive
Use this skill when the support case needs more than a generic upgrade plan:
- path selection
- pre-upgrade checks
- CryptoMigration / re-encryption
- version-specific defect analysis
- rollback / bundle / postcheck evidence
Purpose
- determine whether the target version is directly reachable
- identify required stopover versions and upgrade gates
- capture the upgrade evidence bundle before change execution
- separate deterministic planning from defect-specific remediation
Recommended Flow
- determine the supported path with
ayx upgrade path --from <source> --to <target> - run
ayx upgrade precheck --profile <path> --target <version>before any change window - gather artifact evidence with
ayx upgrade backup --profile <path> --type <mongo|runtime|logs|all> - generate a plan with
ayx upgrade plan --from <source> --to <target> - verify the upgrade result with
ayx upgrade postcheck --profile <path> --manifest <path> - package evidence with
ayx upgrade bundle --input <dir> --out <zip> - apply only after explicit approval with
ayx upgrade apply --manifest <path> --apply --yes
Version Path Rules
- treat 25.2 as Mongo 8.0
- treat 25.1 and 24.2 as Mongo 7.0
- treat 24.1 and 23.2 as Mongo 6.0
- treat 23.1 and 22.3 as Mongo 4.2
- treat 22.1 and 21.4 as Mongo 4.2
- if the planned path crosses into 22.3+, require CryptoMigration prep
- if the source path is earlier than 2021.2, stop at 2021.2 or 2021.1 first before CryptoMigration
- if built-in auth is in scope, remember the 2021.1 stopover
Precheck and CryptoMigration Gates
- precheck is mandatory because Mongo schema updates are a frequent failure point
- CryptoMigration re-encrypts Mongo and RuntimeSettings.xml to AES256 / SHA-256 posture
- controller token length changes and built-in auth transitions may require stopovers
- logs can mislead when the configured log path contains spaces, so capture the raw path with the evidence
Version-Specific Failure Families
Track these buckets separately from generic pathing:
- 25.1 Copilot compatibility and uninstall-before-upgrade
- 25.1 credential publishing regressions
- 24.2 Mongo 7.0 rollback and ASMongoDBVersion.bin issues
- 24.1 Python 3.10 connector reinstall requirement
- 24.1 unstable upgrades from older 21.4 patches
- 24.1 manual run-count regression
- 24.1 run mode reverting to Safe
- 24.1 and 24.2 custom CSS / schema migration errors
- 23.2 missing
AS_Versionsand CryptoMigration retry problems - 23.1 Lucene replacement, embedded R upgrade, JS framework replacement
- 22.3 SAML URL case change and encryption migration issues
- 22.1 encryption key transfer and controller token length change
Evidence To Collect
- source and target versions
- deployment mode
- precheck output
- backup output or artifact path
- plan manifest path and hash
- CryptoMigration log path, if relevant
- version-specific defect family
- postcheck result
Output
- a deep-dive summary that names:
- the supported path
- the gating steps required
- the defect family or migration family in play
- the safest next CLI step
Rule
Do not turn this into hidden execution logic. AYX Agent Kit should interpret the upgrade corpus and orchestrate ayx-rs, not replace the CLI's deterministic behavior.
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.

