fork-sync-review
Installation
SKILL.md
Fork Sync Review
Use this skill when the task is to inspect how far this fork has drifted from upstream, decide whether deployment changes should stay fork-local, or keep the fork aligned as a deployment wrapper around the published upstream image without losing runtime state.
Procedure
- Inspect remotes and divergence with
git remote -v,git fetch upstream --prune,git fetch origin --prune, andgit rev-list --left-right --count origin/main...upstream/main. - Review fork-only deployment files before changing the running stack: docker-compose.yml, INSTALL.md, docker/deploy.sh, and docker/hermes-config.yaml. Read docker/entrypoint.sh when startup behavior or entrypoint drift is part of the question.
- Check the currently running containers and images with
docker compose psand compare them to the documented upstream image flow in website/docs/user-guide/docker.md and docker publish workflow. - Preserve local state. Never delete
data/.env,data/config.yaml,data/memories/,data/sessions/, or the PostgreSQL volume unless the user explicitly asks. - Prefer
nousresearch/hermes-agent:latestfor upstream image pulls unless a different official tag has been explicitly verified. Do not assume a GHCR package exists without checking. - After any deployment edit, validate with
docker compose config, then usedocker compose -f docker-compose.upstream.yml up -d --pull always --force-recreate --remove-orphansfor upstream-image stacks, followed by health checks on the dashboard and API endpoints.
Output Expectations
- Report fork divergence as
ahead/behindcounts. - Separate fork-only deployment customizations from upstream changes that can be adopted safely.
- Call out anything that would change credentials, mounted config, or persistent data before doing it.
- End with the concrete commands needed to smoke test the updated stack.