@ataraxy-labs/weave
AEntity-level semantic merge driver for Git. Resolves conflicts at the function/class level instead of lines.
Install
agr install @ataraxy-labs/weave --target claudeWrites 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 mergeweave-crdt— CRDT coordination layerweave-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
- sem-core extracts entities from base, ours, theirs
- Match entities by name across versions
- For each entity: unchanged, added, deleted, or modified
- Modified entities get inner-merged (chunk by indentation, match by name)
- Only true conflicts produce conflict markers
Conventions
- Depends on
sem-corefor 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-opensslfeature 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