New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

weavatrix-refactor

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

weavatrix-refactor

Transactional refactoring MCP for coding agents: evidence-backed plans, hash-bound previews, crash-recoverable writes, and rollback.

Source
npmnpm
Version
1.0.6
Version published
Weekly downloads
156
126.09%
Maintainers
1
Weekly downloads
 
Created
Source

weavatrix-refactor

Transactional refactoring MCP for coding agents: 11 evidence-backed plan/apply tools, hash-bound previews, crash-recoverable writes, and rollback — plus the 43 read-only operations of the Weavatrix engine, in one process.

npx -y weavatrix-refactor mcp /absolute/path/to/repository

For rename-only sessions, keep the agent context small:

npx -y weavatrix-refactor mcp /absolute/path/to/repository --profile=rename

That profile exposes only rename_symbol and rollback_last_apply. The default --profile=full surface remains available for discovery and other refactors.

This package ships the native Rust binary. Nothing is compiled at install time, there are no lifecycle scripts, and no runtime dependencies.

Producing a plan is a read. Applying one requires two enforced gates: WEAVATRIX_ALLOW_SOURCE_EDITS=1 and a single-use token bound to that exact plan and repository. Selecting this write-capable package or a narrower tool profile does not grant write authority.

1.0 is the engine change. Versions 0.1.x were a JavaScript package. That package line continues as weavatrix-refactor-js, which picks up the version line at 0.1.6 where weavatrix-refactor@0.1.5 left off. The two keep separate state directories, so they never share a lock, a token store, or a rollback journal.

Full documentation: github.com/sergii-ziborov/weavatrix-refactor

MIT.

Keywords

mcp

FAQs

Package last updated on 11 Aug 2026

Related posts