agentleFS
roborun-xyzroborun-xyz/sol-validator-skills/skills/upgrade-agave/SKILL.md

upgrade-agave

Skill3 starsChanged 50 days agoMITView on GitHub

Upgrade an operator-configured Agave or Jito-Agave unstaked mainnet backup, verifying its current role, isolated process lifecycle, installed binary and catchup.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read installed bundle and configuration before running commands.

    line 13
  2. Distinctive:

    Stop the selected supervisor/retry loop, then gracefully stop the remaining instance through its supported admin command or scoped SIGTERM.

    line 22

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Upgrade an Agave backup

Read installed bundle and configuration before running commands. Resolve paths from this loaded SKILL.md, not the session working directory.

Apply references/shared-upgrade-runbook.md and onboard missing instance details with references/inventory.md. Resolve the requested backup from operator-owned inventory; there are no default hosts, users or filesystem paths.

For a voting Agave/Jito-Agave primary upgrade through a backup, use upgrade-agave-primary.

  1. Verify through local identity and chain state that this instance is currently unstaked and is not carrying votes after a failover. Confirm its network, supervisor, ledger, installed binary, source upstream and shared workloads. If it is currently voting, prepare an appropriate failover first; this runbook alone does not authorize stopping it.
  2. Verify the requested Agave/Jito-Agave release and upstream. Mainnet runs Alpenglow: refuse a target or rollback below 4.3.2 (Jito v4.3.2-jito), since an older backup cannot take over voting. Preserve the current executable/config and build the exact target revision with a conservative job count. The usual Cargo target is agave-validator; confirm target-release build instructions and locked dependencies. Verify build version/checksum.
  3. Prepare exact stop/install/start and rollback commands for the selected instance. The build output and executable used by its supervisor may differ. Verify the destination before stopping.
  4. Stop the selected supervisor/retry loop, then gracefully stop the remaining instance through its supported admin command or scoped SIGTERM. Inspect the admin socket instead of assuming it exists or is absent. Never kill every Agave process on a shared host.
  5. Install the verified binary with correct ownership, mode and deployment-required capabilities/attributes, rechecking the final destination. Verify plugin compatibility and Alpenglow capability (4.3.2 or later) for any role/rollback launcher involved. Start with the recorded unstaked identity and original supervisor; verify the process actually uses the new executable.
  6. Wait for measured catchup and healthy local RPC. Verify network, version, unstaked identity, expected vote-account configuration, and unrelated instances. Check the ledger for vote_history-<staked identity>.bin of any validator it may take over; such a file on an unstaked backup is stale, so report it and quarantine it per mainnet handoff before the backup is declared ready. Re-check current required versions and report whether the backup is ready for its declared failover role.

Do not promote the backup, change keys or voting authorization, delete ledgers, download snapshots, or stop co-located testnet services as an incidental upgrade step. Diagnose those separately when needed. If an authorized operation also changes the backup's assigned role, apply role switching and report restoration of the original coverage. An unstaked node can still be important failover infrastructure; do not describe its restart as risk-free.

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.