← Browse

@ataraxy-labs/weave

A

Entity-level semantic merge driver for Git. Resolves conflicts at the function/class level instead of lines.

skillclaude

Install

agr install @ataraxy-labs/weave --target claude

Writes 16 files into .claude/skills/, pinned to git-88903230.

  • .claude/skills/weave/.dockerignore
  • .claude/skills/weave/.gitattributes
  • .claude/skills/weave/.gitignore
  • .claude/skills/weave/Cargo.lock
  • .claude/skills/weave/Cargo.toml
  • .claude/skills/weave/LICENSE-APACHE
  • .claude/skills/weave/LICENSE-MIT
  • .claude/skills/weave/README.md
  • .claude/skills/weave/SKILL.md
  • .claude/skills/weave/flake.lock
  • .claude/skills/weave/flake.nix
  • .claude/skills/weave/fly.toml
  • .claude/skills/weave/package.json
  • .claude/skills/weave/package.nix
  • .claude/skills/weave/shell.nix
  • .claude/skills/weave/typescript

Document

weave

Entity-level semantic merge driver for Git. Resolves conflicts at the function/class level instead of lines.

Structure

Cargo workspace at repo root:

  • weave-core — merge engine, entity matching, inner merge
  • weave-crdt — CRDT coordination layer
  • weave-driver — Git merge driver binary (called by git)
  • weave-cli — CLI (weave setup, weave bench, weave preview)
  • weave-mcp — MCP server (15 tools for agent coordination)
  • weave-github — GitHub integration

Build & Test

cargo build --release                # all binaries
cargo test --workspace               # 124 tests

Binaries: target/release/weave, target/release/weave-driver, target/release/weave-mcp

Key Paths

  • Merge logic: crates/weave-core/src/
  • CRDT ops: crates/weave-crdt/src/
  • Driver entry: crates/weave-driver/src/main.rs
  • CLI commands: crates/weave-cli/src/
  • MCP tools: crates/weave-mcp/src/
  • Integration tests: crates/weave-core/tests/integration.rs

How Merging Works

  1. sem-core extracts entities from base, ours, theirs
  2. Match entities by name across versions
  3. For each entity: unchanged, added, deleted, or modified
  4. Modified entities get inner-merged (chunk by indentation, match by name)
  5. Only true conflicts produce conflict markers

Conventions

  • Depends on sem-core for entity extraction
  • sem-core extracts classes AND methods as separate entities (methods have parentId)
  • Inner merge chunks by indentation, matches by name
  • Benchmark: 31/31 clean merges (100%) vs git 15/31 (48%)
  • vendored-openssl feature for cross-compilation
  • Release on tag push (v*)
  • Homebrew: brew install ataraxy-labs/tap/weave
  • License: MIT OR Apache-2.0

Trustgrade A

  • passBody integrity

    Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.

  • passType matchnot applicable to this artifact type

    Whether the artifact is really the kind of thing its metadata claims it is.

  • passFreshness

    How long since the source repository was last pushed to.

  • passPrompt injection

    Scans the artifact's own text for instructions aimed at your agent rather than at you.

  • passLicense

    Whether the source repository declares an SPDX license permissive enough to redistribute.

How the grade is calculated

Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:

  • Aevery check passed
  • Bone warning
  • Ctwo warnings
  • Dprompt injection or body integrity failed, or three warnings
  • Fone of those failed, and something else is wrong

These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.

Versions

  • git-88903230c75a2026-07-31