skills/ralph-upgrade/SKILL.md
Upgrade an already-installed Ralph multi-agent runtime in the current repository from the latest tagged scaffold surface while preserving project-owned runtime files and history.
npx skillsauth add tolulawson/ralph-harness ralph-upgradeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Upgrade the Ralph multi-agent runtime 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.
https://github.com/tolulawson/ralph-harness at the requested release tag.UPGRADING.md first and follow it as the authoritative upgrade workflow..ralph/runtime-contract.md and Ralph-managed runtime skill directories as canonical scaffold-owned files during upgrade; do not write project-specific contract or control-plane instructions into those files.python3 scripts/check-upgrade-surface.py --repo <target-repo> from the checked-out source repo before any scaffold-owned files are refreshed..ralph/runtime-contract.md, stop and move those project-specific runtime rules or control-plane guidance into .ralph/policy/runtime-overrides.md, .ralph/policy/project-policy.md, and .ralph/context/project-facts.json (canonical_control_plane and control_plane_versioning) instead of overwriting the base contract..ralph/policy/runtime-overrides.md, .ralph/policy/project-policy.md, or a project-owned non-managed skill directory instead of overwriting the managed skill in place.src/upgrade-manifest.txt exactly as UPGRADING.md specifies.AGENTS.md and CLAUDE.md instead of replacing the full files.python3 scripts/migrate-installed-runtime.py --repo <target-repo> from the checked-out source repo after the scaffold-owned files have been refreshed..ralph/context/project-facts.json canonical base_branch data plus the new bootstrap or stop-hook facts, seed collision-safe worktree metadata, regenerate .ralph/shared/ overlays for admitted worktrees, propagate bootstrap lifecycle fields into claims and queue summaries, remove or ignore deprecated queue-head fields, normalize clear legacy worker report paths into spec-scoped aliases, create .ralph/policy/runtime-overrides.md when it is missing, and create missing task-state.json files when inference is clear..agents/skills/, and stop when a Ralph-managed runtime skill directory has local drift instead of deleting or overwriting it silently.active_spec_ids as the authoritative active-spec set instead of relying on compatibility mirrors or queue-head semantics..ralph/harness-version.json with the selected tag, resolved commit, and runtime-contract baseline metadata.UPGRADING.md describesAt the end of upgrade:
UPGRADING.md.ralph/shared/ worktree overlays, bootstrap lifecycle tracking, and conservative repo-local stop-boundary hooksdevelopment
Lightweight pre-review quality gate that removes common slop from changed code before handoff. Focuses on type strictness, single-responsibility boundaries, fail-fast error handling, DRY cleanup, and dead-code/workaround removal.
tools
Prepare the assigned spec worktree and local validation environment before any execution role begins.
testing
Perform a read-only cross-artifact consistency analysis across a numbered spec's spec, research, plan, and tasks files, surfacing duplication, ambiguity, coverage gaps, and inconsistencies before implementation continues.
tools
Generate or update a Ralph-style project PRD in the current repository by asking a small number of high-value clarifying questions, then writing a structured PRD with epochs, bounded user stories, and verifiable acceptance criteria.