ralph-upgrade

SKILL.md

Ralph Upgrade

Upgrade the Codex-native Ralph harness in the current repository using the tagged scaffold surface in https://github.com/tolulawson/ralph-harness.

This is the main external entry point for refreshing an existing install without overwriting project-owned runtime data.

UPGRADING.md is the canonical upgrade source of truth. This skill is only the execution adapter for that guide.

Use When

  • The current repository already has the Ralph harness installed.
  • You want to move that install to a newer tagged Ralph scaffold release.
  • You want Codex to preserve project-owned runtime files while refreshing only scaffold-owned files.

Workflow

  1. Confirm the current repository is a target project with the Ralph harness already installed.
  2. Fetch or clone https://github.com/tolulawson/ralph-harness at the requested release tag.
  3. Read UPGRADING.md first and follow it as the authoritative upgrade workflow.
  4. Use src/upgrade-manifest.txt exactly as UPGRADING.md specifies.
  5. Refresh only the managed Ralph block inside AGENTS.md instead of replacing the full file.
  6. Run python3 scripts/migrate-installed-runtime.py --repo <target-repo> from the checked-out source repo after the scaffold-owned files have been refreshed.
  7. Let the migration merge .codex/config.toml so user-owned settings survive while Ralph-required feature flags and managed role mappings are refreshed.
  8. Let the migration rewrite only Ralph-owned runtime state and projections, plus create missing task-state.json files when inference is clear.
  9. If migration reports ambiguous history, stop and repair that spec state instead of guessing.
  10. Update .ralph/harness-version.json with the selected tag and resolved commit.
  11. Complete the upgrade without overwriting project-owned runtime files unless a named migration step requires it.

Outputs

  • the current repository ends up upgraded exactly as UPGRADING.md describes

Completion

At the end of upgrade:

  • verify the upgrade against the checklist and verification section in UPGRADING.md
  • remind the user: Restart Codex to pick up new skills. if this skill was newly installed globally
Weekly Installs
4
First Seen
9 days ago
Installed on
cline4
gemini-cli4
github-copilot4
codex4
kimi-cli4
cursor4