mergelock

v0.1.5
io.github.sadayamuthu/mergelock Checked 23 hours ago Published 1 month ago

Finds merge conflicts git can't see between branches: changed signatures vs new callers.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

check Check branches for merge conflicts

Simulate merging two committed branches and report textual and semantic conflicts, including ones git merges cleanly: a changed function signature against new call sites, a deleted symbol that is still used, duplicate definitions. Returns a verdict with result clean, warnings or conflict, and per finding the file, line and a suggested_action to apply. Call it after committing and before reporting work as done; fix every error finding, commit, and call it again. Uncommitted changes are not seen. Use claims instead to see what other agents are working on before you start.

ParameterTypeDescription
againststringbranch to compare against; defaults to the configured target
branchstringbranch to check; defaults to the current branch

claims List live work claims

List live claims (work scopes other agents have declared: branch, paths, symbols, intent) from refs/mergelock/claims, newest first; expired claims are left out. Call it before starting a task to pick files and symbols no other agent is changing. It reports intent only; to find actual conflicts between branches, use check. Read-only in v0.1: claims cannot be created here.