/waylode:collisionsfrom Waylode
Detects overlapping uncommitted edits across Waylode worktrees and agent sessions. Use before merging, continuing a parked rebase, or when multiple agents may touch the same files.
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.
Coding agents isolate work under <repo>/.<agent>/worktrees/<slug>. Waylode labels those from directory layout (claude, cursor, codex, …). Git's own .git/worktrees/ metadata is never labelled an agent session.
waylode_insights — how many worktrees, how many agent sessions, how many blocked operations. agents.live lists the running sessions per worktree path.waylode_worktree_radar — 3-layer parallel-agent radar combining pre-edit file/symbol intent claims (claims.json), 1-hop DevMap CSR call-graph semantic adjacency across dirty worktrees, and read-only quarantined git merge-tree checks across active branches.waylode_collision_risk — files dirty in more than one worktree (items), and files dirty in a worktree two or more live sessions share (shared_worktrees). Two sessions in one checkout never show in overlapping_files: there is only one worktree to compare.waylode_worktree_claim (claimed_files, claimed_symbols), check waylode_worktree_inbox for handoff or interface_change notices from sibling agents, broadcast signature changes via waylode_worktree_send_message, and call waylode_worktree_release when done.waylode_change_context on each involved worktree before editing.If unscanned_worktrees is non-zero, the overlap list is incomplete. Do not treat it as "no collision".
The overlap list needs two dirty worktrees, so from a clean worktree it is empty even when another worktree holds the file you are about to edit. Before the first edit of a file, call waylode_collision_risk with path (repo-relative): it returns the one row for that file, including a single other worktree holding it, plus the scan coverage counts and file_claims for that path. ok: false or truncated: true means a worktree was not read, and an empty items is then not evidence that nobody holds the file.
file_claims are unified across file-claims.jsonl and live lanes/claims.json entries (filtered for expiry, worktree existence, and PID/session liveness via list_live_lanes), and there is no waylode_claim_files write. A declared claim is recorded from a card's planned files when its run starts (source: declared, claimed by run <id>), or projected from a live lane claim (source: declared, run_id: "lane:<agent_id>"). An observed claim is recorded by the edit hook when it lets a write through (source: observed, holder: session <id>). A dirty file in a shared worktree with no claim is owner unknown, not a collision with every session there. claims_error non-empty means the claim store was not read in full (it failed, unreadable lines were skipped, or older live claims past the store cap were not kept; the next claim write repairs the store, a read never writes); an empty file_claims is "none" only when that field is empty. The repo-wide list keeps the newest 256 claims, one per holder and path: claims_truncated is true and claims_total is the count when it was cut. A repository Waylode does not trust has no claim files and no claim answers. When shared_checkout_guard is set to Enforce, the edit hook denies overlapping writes in a shared worktree held by another live session's active claim; in default Ask mode it surfaces the overlap as a notice. For landing, Waylode's LandQueue uses cross-process <common>/gitpulse/mutation.lock (flock) plus sorted-path SQLite WAL FIFO tickets (<common>/gitpulse/land_tickets.sqlite) and Rust disjoint-dirty target advancement (merge_tree::land). waylode_worktree_claim updates lanes/claims.json, which feeds directly into this unified claim view.
If sessions_ok is false, some agent kind could not be observed (the process table could not be read, a session's directory was unreadable, or — on a platform with no process scan — Codex, which keeps no registry of running sessions) or the hook claims that attribute a session to its worktree could not be read in full (sessions_error names which, under attribution:), so an empty shared_worktrees is not proof you are alone in your checkout. Each kind in agents.live.kinds says whether it was observed; one with ok: false is unknown, not zero.
A parked merge, rebase, cherry-pick or revert (operation_kind on a worktree, or operation on change context) is blocked on a person. Do not push more edits into that worktree until it is continued or aborted in Waylode (Work → Overview leads with the conflict editor while one is parked).
The procedure above runs from the shell through the same binary when the MCP connection is not loaded or has dropped (the waylode:insights skill covers argument typing, --json and the exit statuses). Exit 3 is the incomplete answer this skill warns about: a worktree that was not read, so an empty list is not a clear path.
waylode-mcp call waylode_collision_risk repo_path=/abs/repo path=src/lib.rs
waylode-mcp call waylode_worktree_radar repo_path=/abs/repo
waylode-mcp call waylode_active_changes repo_path=/abs/repo limit=50
waylode-mcp call waylode_worktree_claim --write --json @claim.json # --write runs under Bash permission rules: do not allowlist `waylode-mcp call` broadly
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub bharathvbcr/gitpulse --plugin waylode9 skills in this plugin
/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./tasksFile, import, list, read, complete, merge and delete tasks on the Waylode task board over MCP — the board a person sees in Waylode and launches agents from. Use when an agent needs to record follow-up work, plan upcoming tasks, put Markdown task briefs from a repository's tasks/ folder onto the board, read a task's brief before implementing it, mark the task it was launched on done when the work is finished, merge duplicate tasks into one, or delete a task that should not exist, with a recorded reason.Other plugins' skills for the same job