AI products and toolsReviewed · Ataraxy-Labs

Weave

Weave is a Git merge tool for developers and teams using coding agents, but its structural checks do not prove that merged code works correctly. It uses tree-sitter to merge functions, classes and configuration keys instead of relying only on lines, with a command-line interface and optional MCP integration.

Researched 14 Nov 2026

In short.

Weave is a Git merge tool for developers handling concurrent changes, including teams using coding agents, but accepted merges still need project-level validation. Its deterministic engine compares code entities across three revisions and attempts to combine independent changes while refusing incompatible ones. The documented CLI supports previews, conflict explanations, resolution checks and optional publishing; an MCP server exposes related tools to agents. Reported benchmarks show both additional clean merges and additional refusals, with important measurement caveats. Installation success, implementation behavior and benchmark results are not independently assessed.

Researched and written by an AI model and checked by a second AI model. How it works

Covers only the supplied README.md at revision 9672f88f96edc215fb462125c76b8a2cb5116a24, together with the adjacent LICENSE-MIT and LICENSE-APACHE notices. Repository implementation files, dependencies, releases, linked sites, detailed benchmark artifacts and CI execution records are outside the supplied evidence. No installation, command, merge, resolver, MCP interaction or benchmark was executed. Documented behavior and reported results remain unverified by execution.

The overview

identity

Weave is an Ataraxy Labs project combining a Git merge driver, a command-line tool and an MCP server for agent frameworks. Its main purpose is to reduce conflicts caused by independent edits landing near each other in a file. The repository is [https://github.com/Ataraxy-Labs/weave].

The core merge engine is described as deterministic and stateless: it reads base, ours and theirs revisions and produces a result. An optional resolver command can supply resolutions. A separate Automerge-backed component handles experimental live coordination between agents; ordinary merging does not depend on that component.

assessment

Weave is most relevant when different developers or agents repeatedly add or change separate definitions in the same files. Its approach directly addresses that problem by distinguishing code entities rather than treating every overlapping line range as a collision.

The term semantic merge needs a narrow reading here: Weave reasons about parsed structure and merge rules, not the full behavior of a program. Its PROVEN and VERIFIED labels describe merge checks. They do not establish runtime correctness, compatibility across files or successful application tests.

users

The intended users include developers maintaining Git repositories, teams with concurrent branches and people coordinating multiple coding agents. Supported examples include conventional source files and structured configuration such as JSON, YAML and TOML.

Beginners need enough Git knowledge to understand branches, conflict markers and manual resolution. Experienced developers can integrate the driver into existing workflows, use structured JSON output, connect an MCP client or configure validation before publishing a merge.

capabilities

The documented CLI provides setup, preview, explain, check, land, patch and stats commands. After setup, ordinary Git merge, rebase and cherry-pick commands use the driver for configured file types. Conflict explanations identify the affected entity and the internal rule that refused an automatic merge.

The MCP server exposes weave_preview, weave_edit, weave_explain, weave_check, weave_land and weave_patch. Entity edits can replace, insert or delete definitions and create files. The README says edit batches are all or nothing and refuse changes that break parsing or silently rename an entity.

Weave land can check a stopped merge, write accepted resolutions and stage accepted files. Adding --onto enables integration and fast-forward publication, with retries if the target branch moves. Configured validation failures refuse publication.

Using it

requirements

Git integration requires both weave and weave-driver on PATH. The README supplies a Homebrew installation command and a source installation route requiring Rust. Minimum Git and Rust versions, hardware requirements and installation success are not established by the supplied evidence.

Agent integration requires an MCP client and the weave-mcp executable. The shown source installation commands install the CLI and driver; they do not explain how to install weave-mcp. The server locates a repository from an absolute file path, the WEAVE_REPO environment variable or its working directory.

mechanism

Weave uses tree-sitter grammars through sem-core to extract definitions and the regions between them from three file revisions. It matches entities by identifiers incorporating file, type, name and parent scope, with rename detection. It accepts one-sided changes and attempts a further three-way merge when both sides change an entity, then reconstructs the file while preserving ours-side ordering.

Automatic combination depends on whether order matters. Independent keys in supported containers can be combined, while ordered sequences and incompatible edits remain conflicts. The weave-set Git attribute lets a user declare particular containers to be sets, but that declaration requires knowing that their order is irrelevant.

According to the README, Weave refuses to invent an order when both branches add different decorators to the same Python or TypeScript function, while annotations in Java, C# and Kotlin are treated as unordered metadata and still combined. Different decorator orders can change behavior, such as whether authentication runs before cached content is returned.

setup

The documented Homebrew command is brew install weave. For a source installation, clone [https://github.com/Ataraxy-Labs/weave], enter the repository and run cargo install --path crates/weave-cli followed by cargo install --path crates/weave-driver. Both binaries must be available on PATH.

Inside a repository, weave setup configures the driver and supported file attributes. The --local option places attributes in .git/info/attributes without changing .gitattributes. The --global option configures all repositories, and weave setup --off is the documented reversal command.

The shown Claude Code registration command is claude mcp add --scope user weave -- weave-mcp. Other MCP clients can launch weave-mcp over standard input and output. These are documented instructions; successful installation and client compatibility are not assessed.

example

The README illustrates two branches adding different TypeScript functions, validateToken and formatDate, at a location where a line-based merge conflicts. Weave is described as recognizing separate entities and retaining both functions. This is a documented example, not an independently observed result.

A corresponding workflow is weave preview feature-branch, then git merge feature-branch. If a file remains conflicted, weave explain src/api.ts provides entity-level detail. After manual edits, weave check compares the resolution against the three merge stages; its documented exit codes are 1 for findings and 2 when verification could not be completed.

Assessment & evidence

limitations

Vue, Svelte, ERB and Haskell deliberately use line-level merging because their entity models are too coarse. Files over 1 MB, binary files and unsupported types also fall back to line-level merging. INI files have a special line-based rule for combining added keys rather than a tree-sitter grammar.

The landing gate checks individual files and does not establish cross-file or runtime correctness. The MCP weave_check tool separately advertises detection of some cross-file breakage, such as callers surviving a rename, but its completeness is not established.

Experimental entity claims are advisory and do not prevent edits by another agent. A crashed agent's claims do not expire automatically. The queue option is experimental, and lifetime merge statistics remain empty unless WEAVE_STATS=1 is enabled.

The README acknowledges a guard false-positive when source code contains conflict-marker string literals. It attributes three regressions in its reported real-repository benchmark to this case.

reasoning

The practical benefit follows from the merge unit: separating functions and keys can avoid asking a person to reconcile independent edits merely because their line ranges overlap. This is a reason to evaluate Weave for repositories with frequent same-file concurrency, rather than evidence of a universal improvement.

The corresponding tradeoff is reliance on entity extraction, identity matching and rules about ordering. A clean structural merge can still combine changes that disagree at the application level. Weave's explicit refusals and configurable build or test commands matter because they preserve opportunities to catch those disagreements.

alternatives

Git's standard line-based merge is the direct baseline and remains the fallback for unsupported cases. It may be sufficient when conflicts are infrequent or the relevant files lack a suitable Weave entity model.

Mergiraf is the other merge tool compared in the README. The reported comparison uses Mergiraf v0.16.3 and a small hand-crafted corpus; it does not establish how either tool performs across arbitrary projects or current releases.

Sem is presented as complementary infrastructure for callers, dependencies and change impact, rather than a replacement for Weave's merge driver. Those linked capabilities are not assessed from the supplied files.

evidence

The evidence consists of README.md and its MIT and Apache license notices at revision 9672f88f96edc215fb462125c76b8a2cb5116a24. The pinned README is [https://github.com/Ataraxy-Labs/weave/blob/9672f88f96edc215fb462125c76b8a2cb5116a24/README.md]. Implementation source, linked benchmark details and CI results are not included.

The README reports 441 unit and integration tests plus language-coverage sweeps. It also reports 31 correct outcomes in a hand-crafted comparison: 29 successful merges and two required refusals. These are author-reported claims; no tests or benchmarks were executed for this analysis.

For real repositories, it reports 344 wins and 86 regressions across 4,971 file merges. A win means the line baseline conflicted while Weave resolved; a regression means the reverse. Human-match rates among wins range from 33% to 72% across the five repositories and measure whitespace-normalized agreement with historical merge output, not behavioral correctness.

The baseline uses diffy's diff3 implementation, which the README says sometimes disagrees with git merge-file. Some additional refusals reflect stricter rules rather than demonstrated incorrect output. These definitions limit what can be concluded from the aggregate counts.

Access & freshness

costs

The supplied MIT and Apache 2.0 notices grant rights without a license charge. They do not establish total operating cost. Local processing time, storage and maintenance effort are not quantified.

Pricing for the mentioned hosted pull-request integration is unknown. Costs associated with any external resolver or agent service are also unknown; the README does not supply provider prices or usage estimates.

rights

The README declares a choice between MIT and Apache 2.0. Both captured notices identify Ataraxy Labs with a 2025 copyright notice and permit use, modification and redistribution subject to their terms.

The MIT option requires retaining its copyright and permission notices in copies or substantial portions. Apache 2.0 requires a license copy, notices on modified files, retention of applicable attribution notices and preservation of relevant NOTICE content if present. It also contains a conditional patent grant and does not grant general trademark rights.

Both licenses disclaim warranties. The supplied documentation and notices support redistribution of the captured README with the applicable notices; third-party dependency licensing is not assessed.

freshness

The supplied snapshot was captured on 2026-11-14 at revision 9672f88f96edc215fb462125c76b8a2cb5116a24. Its real-repository benchmark describes engine version 0.5.3 and a regeneration date of 2026-09-01. This does not establish the latest available release.

The README warns that its benchmark walks a moving window of recent merge commits and that the earlier run's exact window was not recorded. The README says CPython's tested window was identical between the two runs, so its rise in regressions comes from stricter merge rules. For git, Go and TypeScript the runs replayed substantially different commit sets, so comparisons for those repositories mix engine changes with changes in the commits examined and are indicative rather than exact.

actions

Begin in a disposable repository copy with weave setup --local and weave preview on a representative branch. Examine independent additions, conflicting edits to one definition, deletion versus modification and order-sensitive containers. Compare proposed output with the intended changes and run the project's normal validation.

Before publishing through weave land --onto, configure an appropriate --verify-cmd or the documented --check sem integration. Use --dry-run to inspect the proposed operation, and treat PROVEN or VERIFIED as merge-check outcomes rather than permission to skip application tests.

Confirm that the needed file extensions receive entity-level handling and that both required binaries are available. If MCP integration is required, resolve the undocumented server installation step and verify the client's tool access before depending on it.

Evidence for this report

LICENSE-APACHEnotice · checked 2026-11-14
LICENSE-MITnotice · checked 2026-11-14
README.mdselected · checked 2026-11-14