agentleFS
RyanMerlinRyanMerlin/ayx-agent-kit/skills/server-upgrade-deep-dive/SKILL.md

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.

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
  1. Distinctive:

    Use this skill when the support case needs more than a generic upgrade plan:

    line 8
  2. Very specific:

    run ayx upgrade precheck --profile <path> --target <version> before any change window

    line 25
  3. Very specific:

    verify the upgrade result with ayx upgrade postcheck --profile <path> --manifest <path>

    line 28
  4. Distinctive:

    treat 25.1 and 24.2 as Mongo 7.0

    line 35
  5. Distinctive:

    if the planned path crosses into 22.3+, require CryptoMigration prep

    line 39
  6. Distinctive:

    if the source path is earlier than 2021.2, stop at 2021.2 or 2021.1 first before CryptoMigration

    line 40
  7. Distinctive:

    if built-in auth is in scope, remember the 2021.1 stopover

    line 41
  8. Very specific:

    Do not turn this into hidden execution logic.

    line 88

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

  1. determine the supported path with ayx upgrade path --from <source> --to <target>
  2. run ayx upgrade precheck --profile <path> --target <version> before any change window
  3. gather artifact evidence with ayx upgrade backup --profile <path> --type <mongo|runtime|logs|all>
  4. generate a plan with ayx upgrade plan --from <source> --to <target>
  5. verify the upgrade result with ayx upgrade postcheck --profile <path> --manifest <path>
  6. package evidence with ayx upgrade bundle --input <dir> --out <zip>
  7. 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_Versions and 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.