/waylode:wrap-upfrom Waylode
Coordinates a multi-agent repository wind-down: finishes tasks, fixes critical bugs, reviews/verifies branches with a strong model, merges passing branches, prunes stale branches with backups, and updates a Waylode project board.
Ships in Waylode. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Wrap-up runs the other skills in order. Each step names the skill that owns it; follow that skill and don't restate it here.
| Step | Owner |
|---|---|
| Locked-in branches, repository settings, commit, verify, land, tidy | waylode:commit-and-merge |
| Batch verification | waylode:merge-train |
| Pull requests | waylode:merge-prs |
| Cards | waylode:tasks |
| Host load | waylode:load |
Pass the absolute repo_path on every waylode_* and devmap_* call.
What wrap-up authorizes, once the owner has said yes to its plan (step 3):
What still needs the owner:
waylode:merge-prs asks its own yes);| Role | Claude Code | Other hosts |
|---|---|---|
| Fix and commit | Agent with model: "sonnet" and isolation: "worktree" | the host's fast coding model |
| Review and verify | Agent with model: "opus", or you if you are Opus | the host's strongest model |
| Judgment calls | the advisor tool if present, else the review model | the strongest model |
Take the integration lock and look for other integrators, exactly as waylode:commit-and-merge "Before you start" says. Hold the lock for the whole wrap-up and release it on every exit path. The skills wrap-up calls see that you hold it and skip their own lock step.
Find every session.
waylode_sessions and waylode_insights (agents.live).waylode_agent_peers.waylode_terminal_list for your own children.ListAgents.A facet with ok: false means sessions you cannot see. Say so.
Your own children:
waylode_terminal_send).waylode_terminal_wait.waylode_terminal_read, then call waylode_terminal_close.Sessions you did not start:
waylode_agent_send; SendMessage in Claude Code). The first line should read: "Wrap-up: finish your current task, commit it by path, reply with your branch and head sha, and take no new work."waylode_agent_wait.waylode_sessions for state done or idle.Never kill a session. No kill, no pkill, no closing a terminal you do not own.
Follow waylode:commit-and-merge steps 1 and 2: the inventory (with its unstarted and integration classes), the locked-in list, and commits in the worktrees whose sessions have finished. Also gather the critical-bug sources for step 4:
in_progress cards whose sessions stopped mid-task.If the owner asked for pull requests too, run waylode:merge-prs now, before anything lands locally. Then git fetch origin.
git rev-list --count origin/<default>..<default> is 0): fast-forward it to origin/<default>.origin/<default> into the local default, built in the integration worktree, and put that merge first in the plan. Then everything this run verifies already contains the merged pull requests.Show the plan as gitpulse:commit-and-merge step 3 does: every candidate with its pinned sha and order, with the locked-in candidates in their own group. Add two more groups:
in_progress; those are only reported.Wait for the owner's yes, and take the plan as they edit it. Everything below follows the approved plan. A branch that changes after this point gets re-pinned and shown again.
Critical means data loss, a security hole, a crash or hang on a normal path, a broken build or gate on the default branch, or a regression one of the branches introduced. Everything else becomes a card in step 8.
For each critical bug:
file:line evidence, the files in scope, and a test that fails before the fix.fix/<candidate>-<slug>). An isolated worker cannot check out a branch that is checked out elsewhere, and the candidate's own worktree belongs to its session.Show the owner the plan again with the fix branches added.
Review. For every candidate branch, the review model reads the diff (<merge-base>..<pinned sha>) against the branch's card and brief, with devmap_impact on the changed symbols. Ask it for:
Each finding is critical (step 4, then re-review) or not (a card in step 8).
Verify the approved batch with waylode:commit-and-merge step 4. That is waylode:merge-train for two or more branches, and you already hold its lock. It finds the branch behind each new failure and confirms it on a re-run.
Regressed means one of two things:
A load flake is not a regression.
waylode:commit-and-merge step 5 says.Recompute the locked-in list right before this step. A locked-in branch is never pruned, whether it is stale, landed or regressed. Unstarted and integration branches are never pruned either.
For each other branch in the approved Prune group, and each confirmed regressed branch:
git update-ref refs/backup/<yyyymmdd-hhmm>/<branch> <sha> "".waylode:commit-and-merge step 6.in_progress, stop here and only report it.git worktree remove <path>, without --force. It refuses a dirty or locked worktree.git update-ref -d refs/heads/<branch> <backed-up sha>, after checking that git worktree list --porcelain no longer names it. update-ref -d would delete a branch that another worktree has checked out.waylode_worktree_prune with force: it discards uncommitted files.Stale branches (unmerged, no recent commit, no card, no session) and regressed branches you only reported are listed for the owner with their ahead count and last commit. They are not deleted.
Worktree admin entries:
git worktree list --porcelain for entries marked prunable, whose directories are gone.git branch --contains <sha> is empty), take a backup ref first, or the commit becomes unreachable.git worktree prune --dry-run, and then git worktree prune. It never touches locked entries.Remote branches are only listed, never deleted.
Your own leftovers. Remove only the scratch worktrees, logs and build output this run created. Keep the integration worktree for the next train.
Follow waylode:tasks for every write: list first, fold into an existing card before filing a new one, and group related findings.
Finished cards. For each card whose branch merged:
waylode_landed for its commits, against origin/<default> for pull request merges;waylode_complete_task with a summary of what landed and how it was verified. Done is evidence-gated, so the card may land in review. Say which.Other cards:
file:line evidence, a failure scenario, severity and priority, and testable acceptance criteria.Write wrap-up-<stamp>.md to "$(git rev-parse --path-format=absolute --git-common-dir)/gitpulse/reports/". Never write it into a tracked path. It holds:
Release the lock. Then tell the owner the same in a few lines, and say plainly that nothing was pushed.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
9 skills in this plugin
/collisionsDetect overlapping uncommitted edits across Waylode worktrees and agent sessions. Use when two agents, worktrees, or checkouts might be touching the same files, before merging or continuing a parked rebase, or when the user asks who is editing what./commit-and-mergeCommit the finished work in a repository's worktrees and merge the verified branches into its default branch, while keeping every locked-in branch in place. Locked-in means a locked worktree, a branch a live agent holds, a protected or archive name, or the repository's own list (git config gitpulse.lockedBranch, such as labs/**). A locked-in branch may be merged once it verifies, but is never deleted, rewritten or committed into. Use when asked to "commit and merge the branches", "merge everything into main", "land the lanes", or "merge but keep my locked branches". It never pushes and never deletes a remote branch./insightsRead Waylode repository insights over MCP — worktrees, agent sessions, uncommitted changes, overlapping dirty files, ledger verdicts, and code-graph availability. Use when an agent needs a honest snapshot of a checkout before editing, when multiple worktrees or coding agents are in flight, or when the user asks what is happening in a Waylode-managed repo./loadCheck host load before heavy builds and tests, and know what to do when Waylode refuses one. Use before running cargo, go, npm/bun/pnpm test, vitest or jest, before an unbounded grep, rg or go test, and whenever a command was refused for host load or the session brief says host load is elevated, severe or UNKNOWN./merge-prsMerge a repository's open pull requests on its forge (GitHub, through the gh CLI), safely and in order. Lists them, sorts out drafts, conflicts, failing or missing checks and requested changes, reviews what has not been reviewed, shows the plan, and after the owner's yes merges each one pinned to the head commit that was checked, so nothing pushed later slips in. Head branches that are locked-in (see waylode:commit-and-merge) are never deleted. Use when asked to "merge the PRs", "merge the open pull requests", or "land what is green on GitHub". It never uses admin overrides, never force-pushes, and never merges without the owner's yes on the list./merge-trainVerify several branches together with ONE full gate run instead of one per branch, in any repository. Merges the batch onto a persistent integration worktree, runs the repository's own full gate once, compares individual failures against the default branch (which is often already red), re-checks suspected failures alone, and bisects with only the failing tests to name the branch that broke them. Use when two or more finished branches or lanes are waiting to merge, when asked to "verify these branches together", "run a merge train", or "check what this batch breaks". Produces a verified train branch and a report; it never lands, pushes or deletes anything.npx claudepluginhub bharathvbcr/gitpulse --plugin waylodeOther plugins' skills for the same job