About Weave
Weave is an MCP server published by Ataraxy-Labs in the Agents category: entity-level git merge driver. Resolves false conflicts git invents when independent agents edit the same file. ~95% reduction vs. line-based merge. Conduid read 27 tools from its source: weave_agent_heartbeat, weave_agent_register, weave_check, weave_claim_entity, weave_diff, weave_edit and 21 more. No package is published for it, so it installs from a source checkout.
The repository has 1.4K stars and 50 forks, is licensed Apache-2.0, and its last commit was on 28 Nov 2026. The latest release is v0.7.1 (2 Nov 2026). It follows v0.7.0 (30 Oct 2026), and the 5 most recent releases go back to v0.6.0 (19 Oct 2026). It passes all 4 static checks Conduid ran on the repository. Its topics include code-intelligence, coding-agents, conflict-resolution, devtools, git-merge and merge-driver.
Install
git clone https://github.com/Ataraxy-Labs/weaveTools (27)
weave_agent_heartbeatRefresh your agent's liveness timestamp and replace the list of entities you currently hold. Call periodically while working (after weave_agent_register), and whenever the set of entities you are editing changes, so other agents' weave_status and weave_potential_conflicts calls reflect what you actually hold. Note: weave does not currently reap agents that stop heartbeating, so a crashed agent's claims stay visible until released.weave_agent_registerAnnounce yourself in the CRDT coordination state, with an agent_id and the branch you're on. Call this once before claiming or editing anything, so your claims and edits are attributed to an agent other agents can see and wait on.weave_checkIs my conflict resolution right? Call after resolving a merge, before committing. With no arguments, verifies the working tree against the merge in progress (HEAD x MERGE_HEAD): markers left behind, lines both sides kept that went missing, anything stated more often than either side stated it, plus repo-wide cross-file breakage (DANGLING, SHADOW, ARITY) a per-file merge driver cannot see, like a rename in a.py whose surviving caller lives in b.py, or a parameter added in a.py while b.py still calls with the old count. `resolution.files` holds one verdict per file; `results` holds the cross-file weave-findings documents (scope=repo, schema 1.1.0). Pass base/ours/theirs to run only the cross-file pass between two revisions before merging. `files_with_findings: 0` means nothing cross-file broke, not that nothing was checked.weave_claim_entityAdvisory lock on one entity, taken before you edit it — signals other agents to stay out; weave does not enforce it. Call this first when multiple agents share a repo live. The response includes warnings when an entity you depend on, or that depends on you, is already claimed by someone else, so you can wait instead of colliding.weave_diffEntity-level diff between two refs — which functions/classes were added, modified, deleted, or renamed, not which lines changed. Use to scope a review or a merge preview to what actually changed structurally, before running weave_preview_merge or weave_findings on it.weave_editChange code by entity, written straight to disk: no Read first. Each edit names a file and an entity (function, class, method or key; `Class.method` for a member) and one action: content replaces the entity; old/new replaces text inside it (must match once); after/before/append with content adds a new entity, into: "Class" adds it as the class's last member; delete removes it; rename renames it and every reference across the repository in one edit. Without entity, old/new edits the whole file (imports, configs, any text file), and content alone creates a file that does not exist. Resolved against the file as it is now, so other agents' changes elsewhere are kept. Every edit is validated before writing. Disk errors may leave partial writes; inspect the files before retrying. Returns which entities were added, modified and deleted. then: "<test command>" runs it right after writing and returns its result in this response (edit and check in one call). Invalid edits are refused before writing, so a dry run first is rarely worth a turn. Use it for every code change instead of reading the file and editing lines.weave_explainWhy did this file conflict? Use on a file a merge left conflicted, before resolving it: returns which guard refused and the hunks BOTH sides wrote in, read from the merge's three stages (still works after `git add`). With markers=true it instead summarizes the weave conflict markers already in the file (entity, kind, complexity, refused_by), which needs no merge in progress. After you edit, call weave_check.weave_extract_entitiesList every semantic entity (function, class, etc.) in a file, with type and line range. Use before weave_claim_entity to find the exact entity name to claim, or to scope any other tool call to one entity instead of a whole file.weave_findingsRun a merge between two branches (writes nothing) and return a weave-findings document per file that actually diverges between them: conflicts, semantic warnings (SHADOW), derived binding breakage (DANGLING/DUP), the per-entity op trail, and rename facts. This is the agent-facing read contract for a two-branch comparison — prefer it over weave_preview_merge, weave_merge_audit, and weave_validate_merge, which each return a subset of the same information in an older shape. Each returned document states `clean: true` explicitly when a diverging file has no findings; a file where one side matches the base or both sides agree isn't diverging and is left out of `results` entirely — `files_analyzed` is the count actually compared. For a check against the CURRENT working tree instead of two branch tips, use weave_check.weave_get_dependenciesWhat one entity calls, references, or imports. Check this before editing or resolving it — if anything in the list is claimed by another agent (weave_who_is_editing), your change may collide with theirs even though the two entities live in different files.weave_get_dependentsWho calls or references one entity (reverse of weave_get_dependencies). Check this before deleting, renaming, or changing the signature of an entity — every result is a caller that may need updating too.weave_get_entity_contentRead what the CRDT currently holds for one entity: content, version vector, merge_state, and — when it's mid-conflict — each side's content. Use to see what another agent wrote (via weave_update_entity_content) before writing your own version, or to inspect a conflict weave_merge_file flagged before calling weave_resolve_conflict.weave_impact_analysisThe full transitive blast radius of changing one entity — not just direct callers (weave_get_dependents), every dependent of every dependent. Use before a wide or risky edit, so you know what's affected up front instead of finding out from a DANGLING finding in weave_check afterward.weave_landLand a merge and label every file git could not merge PROVEN (weave's merge, certified), VERIFIED (passed the exact gate) or REFUSED (keeps its markers). Run this where `git merge` stopped: PROVEN and VERIFIED files are written and staged, REFUSED ones are left alone. Pass resolver to have a command answer the files weave can't; its answers must pass the gate too. With base/ours/theirs it reads the merge from revisions and writes nothing; dry_run labels the working tree without writing. Publishing to a remote (`weave land --onto`) is CLI-only.weave_merge_auditRun a merge between two branches (writes nothing) and return, per entity, which resolution strategy weave used or would use (unchanged, diffy_merged, inner_merged, conflict, ...). Use to debug or audit why an entity did or didn't conflict; for the typed agent-facing findings document, use weave_findings instead.weave_merge_fileRun weave's entity-level merge over one file's CRDT state: syncs from what's on disk, then auto-merges entities where version vectors allow and marks the rest conflicted. This is the CRDT-coordination merge, not the git merge driver — use it when agents are editing live through weave_update_entity_content rather than on separate branches. Follow a conflicted result with weave_get_entity_content then weave_resolve_conflict.weave_merge_summaryParse a file that already has weave conflict markers (after a merge driver run) into structured JSON: each conflicted entity's name, type, complexity, and refused_by — the same guard name the marker itself prints, machine-readable instead of scraped from comment text.weave_patchTyped entity patches: carry an edit to a file that may have drifted, as a three-way entity merge instead of a fuzzy text patch. Without ops: extract the ops that turn base_content into file_path's content (or changed_content). With ops: apply them to file_path; a target that drifted since base is merged entity by entity, and conflicts come back as markers plus findings. Returns the content; write=true writes a clean result to file_path and returns content_bytes instead. Use instead of re-applying a stale edit by hand.weave_potential_conflictsScan the whole coordination state for entities more than one agent has claimed or edited. Run this periodically, or right before merging, to catch a collision while it's still two claims rather than a conflict marker. No results means no entity currently has more than one agent's claim on it — it is not a guarantee that a later git merge will be clean.weave_previewDry-run a merge of two branches; nothing is written. Use before merging for a go/no-go: detail 'summary' (default) gives per-file clean/conflict verdicts, a confidence rating and entity stats; 'findings' gives a weave-findings document per diverging file (conflicts, SHADOW warnings, the guard that refused each one); 'entities' gives the strategy weave used on each entity, for debugging why something did or didn't conflict.weave_preview_mergeDry-run a merge between two branches — writes nothing, just returns per-file clean/conflict verdicts, a confidence rating, and entity-level stats. Use for a fast go/no-go signal before merging. When you intend to act on the result (resolve a conflict, check for cross-file breakage), use weave_findings instead — it's the typed contract, this is the summary.weave_release_entityRelease a lock taken with weave_claim_entity. Call this once your edit is either written back with weave_update_entity_content or abandoned — a stale claim blocks other agents from claiming the same entity.weave_resolve_conflictResolve an entity weave_merge_file flagged as conflicted: supply the final content and weave merges the version vectors and clears the conflict. Use weave_get_entity_content first to read both sides before deciding.weave_statusEvery entity in a file with its claim owner, last editor, version, and merge_state. Use before editing a file you didn't just extract entities from, to see at a glance what's claimed and what's already mid-conflict.weave_update_entity_contentWrite your edit of one entity into the CRDT coordination state — not the file on disk; this is the live multi-agent layer, separate from a git merge. Call once you've decided the entity's new content, whether or not you claimed it first. Bumps your agent's version vector so weave_merge_file and other agents' weave_status calls see the update. Send base_content + ours_content (whole file, as read / as intended) to enable the concurrent-edit backstop: if the file drifted since your read, disjoint entity changes are merged for you (response carries merged_content to write), and a true same-entity collision is refused with merge_conflicts instead of overwriting anyone. The file need not exist yet — an absent file is an empty base, so call this for entities you are creating too: a second agent creating in the same new file is refused with merge_conflicts rather than silently erasing the first.weave_validate_mergeDetect when an auto-merged entity references another entity that was also modified — the risk that two independently-clean edits don't actually work together. This is a subset of what weave_findings returns (as SHADOW findings); prefer weave_findings unless you specifically want just these warnings without the rest of the document.weave_who_is_editingWho claimed one entity and who last modified it. Use instead of weave_status when you already know the entity's name and just need a fast yes/no before editing it.Security checks
Static checks derived from the repository 4 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 4.0K words.
- ✓License declaredThe repository declares the Apache-2.0 license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by Cargo.lock and flake.lock.
2 checks have not been run yet.
Releases
README
The repository's README runs to about 4.0K words, fetched 4 days ago. The original in the repository is authoritative.
Read full README