프로토타입 · 미리 보기: 공식 레지스트리의 모든 서버를 담고 있으며 30분마다 동기화해요. Google로 로그인하면 리뷰를 쓸 수 있어요.
PopNx MCPAI를 쓰는 사람을 위한 MCP 서버 · 쉬운 말로 설명해요

Weavatrix Refactor Js

제작자: sergii-ziborov버전 0.1.6i★ 0i내 컴퓨터에서 실행
레지스트리 이름io.github.sergii-ziborov/weavatrix-refactor-js

설치 방법

개요

제작자가 쓴 설명(영어 원문)

Transactional refactoring MCP with 11 evidence-backed tools, hash-bound previews, and rollback.

할 수 있는 일

이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.

  • 연결 방식: 내 컴퓨터에서 실행
  • 전송 방식: stdio
  • 카테고리: 기타

설치

쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.

검사 2/2 통과 · 내 컴퓨터에서 실행돼요

먼저: 어떤 AI를 쓰시나요?

쓰는 앱을 고르면 아래에 단계가 나옵니다.

Claude에 연결할 수 있지만 먼저 준비가 필요해요

Weavatrix Refactor Js 키가 필요해요 (제작자 사이트에서 가입, 비용이 들 수 있음) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만) · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요

  1. Node.js 설치

    한 번만 하면 Node.js가 필요한 모든 서버에 쓸 수 있어요

    Node.js 다운로드 페이지 열기 ↗

  2. Weavatrix Refactor Js에 가입하고 키 만들기

    제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 비용이 들 수 있어요.

    Weavatrix Refactor Js 사이트 열기 ↗

  3. 컴퓨터용 Claude 앱 설정 파일 열기

    SettingsDeveloperEdit Config

  4. 이 설정을 붙여 넣고 저장

    {
      "mcpServers": {
        "weavatrix-refactor-js": {
          "command": "npx",
          "args": [
            "-y",
            "weavatrix-refactor-js"
          ],
          "env": {
            "WEAVATRIX_ALLOW_SOURCE_EDITS": "your-value",
            "WEAVATRIX_REFACTOR_HOME": "your-value",
            "WEAVATRIX_PRECISION": "your-value"
          }
        }
      }
    }

    키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요

  5. Claude를 끄고 다시 열기

  6. 해 보기

    Weavatrix Refactor Js을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Claude가 Weavatrix Refactor Js을 쓰고 있다고 하거나 답에 Weavatrix Refactor Js 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

ChatGPT는 아직 Weavatrix Refactor Js에 연결할 수 없어요

Weavatrix Refactor Js는 내 컴퓨터에 설치해서 쓰지만 ChatGPT는 웹에서 도는 서버만 연결할 수 있어요

대신 이렇게 할 수 있어요

A · Weavatrix Refactor Js에 연결되는 앱 쓰기

  • Weavatrix Refactor Js 키가 필요해요 (제작자 사이트에서 가입, 비용이 들 수 있음) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만) · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요
  • Weavatrix Refactor Js 키가 필요해요 (제작자 사이트에서 가입, 비용이 들 수 있음) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)
  • Weavatrix Refactor Js 키가 필요해요 (제작자 사이트에서 가입, 비용이 들 수 있음) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만) · 한 번에 설치하는 버튼이 없어요. 설정을 붙여 넣고 값을 직접 채우세요
  • Weavatrix Refactor Js 키가 필요해요 (제작자 사이트에서 가입, 비용이 들 수 있음) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만) · 한 번에 설치하는 버튼이 없어요. 설정을 붙여 넣고 값을 직접 채우세요

B · 기타에서 ChatGPT에 연결되는 다른 서버

같은 분류에서 많이 쓰는 것 중 키 없이 주소만으로 연결되는 것을 골랐어요

Claude Code에 연결할 수 있지만 먼저 준비가 필요해요

Weavatrix Refactor Js 키가 필요해요 (제작자 사이트에서 가입, 비용이 들 수 있음) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)

  1. Node.js 설치

    한 번만 하면 Node.js가 필요한 모든 서버에 쓸 수 있어요

    Node.js 다운로드 페이지 열기 ↗

  2. Weavatrix Refactor Js에 가입하고 키 만들기

    제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 비용이 들 수 있어요.

    Weavatrix Refactor Js 사이트 열기 ↗

  3. 터미널 열기

    Mac: Command+스페이스를 누르고 Terminal 입력 · Windows: PowerShell 열기

  4. 이 명령을 붙여 넣고 Enter

    claude mcp add weavatrix-refactor-js --env WEAVATRIX_ALLOW_SOURCE_EDITS=your-value --env WEAVATRIX_REFACTOR_HOME=your-value --env WEAVATRIX_PRECISION=your-value -- npx -y weavatrix-refactor-js

    Enter 전에 “your-value”를 내 키로 바꾸세요

    키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요

  5. Claude Code에서 /mcp 입력

    Weavatrix Refactor Js이 목록에 있고 연결됨으로 보이면 돼요

  6. 해 보기

    Weavatrix Refactor Js을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Claude Code가 Weavatrix Refactor Js을 쓰고 있다고 하거나 답에 Weavatrix Refactor Js 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

Cursor에 연결할 수 있지만 먼저 준비가 필요해요

Weavatrix Refactor Js 키가 필요해요 (제작자 사이트에서 가입, 비용이 들 수 있음) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만) · 한 번에 설치하는 버튼이 없어요. 설정을 붙여 넣고 값을 직접 채우세요

  1. Node.js 설치

    한 번만 하면 Node.js가 필요한 모든 서버에 쓸 수 있어요

    Node.js 다운로드 페이지 열기 ↗

  2. Weavatrix Refactor Js에 가입하고 키 만들기

    제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 비용이 들 수 있어요.

    Weavatrix Refactor Js 사이트 열기 ↗

  3. Cursor의 MCP 설정 파일 열기

    ~/.cursor/mcp.json

    이 설정을 붙여 넣고 빈 값을 채운 뒤 저장

    {
      "mcpServers": {
        "weavatrix-refactor-js": {
          "command": "npx",
          "args": [
            "-y",
            "weavatrix-refactor-js"
          ],
          "env": {
            "WEAVATRIX_ALLOW_SOURCE_EDITS": "your-value",
            "WEAVATRIX_REFACTOR_HOME": "your-value",
            "WEAVATRIX_PRECISION": "your-value"
          }
        }
      }
    }
  4. 키 입력

    Weavatrix Refactor Js 설정에서 WEAVATRIX_ALLOW_SOURCE_EDITS, WEAVATRIX_REFACTOR_HOME, WEAVATRIX_PRECISION가 비어 있어요. 내 키를 넣고 저장하세요

    키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요

  5. Cursor에서 AI 채팅을 Agent 모드로 열기

  6. 해 보기

    Weavatrix Refactor Js을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Cursor가 Weavatrix Refactor Js을 쓰고 있다고 하거나 답에 Weavatrix Refactor Js 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 Cursor 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

VS Code에 연결할 수 있지만 먼저 준비가 필요해요

Weavatrix Refactor Js 키가 필요해요 (제작자 사이트에서 가입, 비용이 들 수 있음) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만) · 한 번에 설치하는 버튼이 없어요. 설정을 붙여 넣고 값을 직접 채우세요

  1. Node.js 설치

    한 번만 하면 Node.js가 필요한 모든 서버에 쓸 수 있어요

    Node.js 다운로드 페이지 열기 ↗

  2. Weavatrix Refactor Js에 가입하고 키 만들기

    제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 비용이 들 수 있어요.

    Weavatrix Refactor Js 사이트 열기 ↗

  3. VS Code의 MCP 설정 파일 열기

    MCP: Open User Configuration

    이 설정을 붙여 넣고 빈 값을 채운 뒤 저장

    {
      "servers": {
        "weavatrix-refactor-js": {
          "type": "stdio",
          "command": "npx",
          "args": [
            "-y",
            "weavatrix-refactor-js"
          ],
          "env": {
            "WEAVATRIX_ALLOW_SOURCE_EDITS": "your-value",
            "WEAVATRIX_REFACTOR_HOME": "your-value",
            "WEAVATRIX_PRECISION": "your-value"
          }
        }
      }
    }
  4. 키 입력

    Weavatrix Refactor Js 설정에서 WEAVATRIX_ALLOW_SOURCE_EDITS, WEAVATRIX_REFACTOR_HOME, WEAVATRIX_PRECISION가 비어 있어요. 내 키를 넣고 저장하세요

    키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요

  5. VS Code에서 AI 채팅을 Agent 모드로 열기

  6. 해 보기

    Weavatrix Refactor Js을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ VS Code가 Weavatrix Refactor Js을 쓰고 있다고 하거나 답에 Weavatrix Refactor Js 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 VS Code 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

Windsurf, Zed, Gemini CLI 같은 다른 MCP 앱은 추가 방법이 저마다 달라요. 앱 목록에서 확인하세요

MCP를 쓰는 앱 모두 보기 →

JSON 설정은 아래 “개발자용”에 있어요

막혔나요? Weavatrix Refactor Js을 쓰는 사람에게 물어보세요💬 토론 →
개발자용: 터미널 명령과 JSON 설정

컴퓨터에 설치

Claude Code

claude mcp add weavatrix-refactor-js --env WEAVATRIX_ALLOW_SOURCE_EDITS=your-value --env WEAVATRIX_REFACTOR_HOME=your-value --env WEAVATRIX_PRECISION=your-value -- npx -y weavatrix-refactor-js

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "weavatrix-refactor-js": {
      "command": "npx",
      "args": [
        "-y",
        "weavatrix-refactor-js"
      ],
      "env": {
        "WEAVATRIX_ALLOW_SOURCE_EDITS": "your-value",
        "WEAVATRIX_REFACTOR_HOME": "your-value",
        "WEAVATRIX_PRECISION": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "weavatrix-refactor-js": {
      "command": "npx",
      "args": [
        "-y",
        "weavatrix-refactor-js"
      ],
      "env": {
        "WEAVATRIX_ALLOW_SOURCE_EDITS": "your-value",
        "WEAVATRIX_REFACTOR_HOME": "your-value",
        "WEAVATRIX_PRECISION": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "weavatrix-refactor-js": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "weavatrix-refactor-js"
      ],
      "env": {
        "WEAVATRIX_ALLOW_SOURCE_EDITS": "your-value",
        "WEAVATRIX_REFACTOR_HOME": "your-value",
        "WEAVATRIX_PRECISION": "your-value"
      }
    }
  }
}

직접 입력할 값

  • WEAVATRIX_ALLOW_SOURCE_EDITS env
    Set to 1 to authorize apply_edit_plan and rollback to write source files; unset, the refactor tools stay preview-only
  • WEAVATRIX_REFACTOR_HOME env
    Optional directory for the rollback snapshot store; defaults to a per-repo location
  • WEAVATRIX_PRECISION env
    Core semantic precision: lsp (default) or off

이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.

한눈에 보기

주간 다운로드i
39/주
라이선스i
라이선스 표시 없음
연결 방식
내 컴퓨터에서 실행
최신 버전i
0.1.6
카테고리i
기타
레지스트리 공개i
2026년 8월 10일
코드 마지막 변경i
2026년 8월 24일
제작자
sergii-ziborov
패키지
npm: weavatrix-refactor-js
웹사이트
weavatrix.com
레지스트리 상태
활성

어떤 앱에서 쓸 수 있나요

이 서버의 연결 방식과 각 앱의 공식 문서를 바탕으로 했어요. 2026년 11월 10일 확인.

내 컴퓨터에서 실행하는 앱

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

모든 앱과 장단점 →

할 수 있는 일

내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.

기본 점검i

누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 11일 점검

  • ✓ 통과

    제작자와 저장소 일치

    레지스트리 이름이 GitHub 계정 sergii-ziborov 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요

  • ✓ 통과

    계속 관리되고 있음

    코드 마지막 변경: 3개월 전

  • … 아직 점검 안 함

    라이선스 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • – 해당 없음

    엔드포인트 응답

    내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요

  • – 해당 없음

    OAuth로 로그인

    내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요

  • … 아직 점검 안 함

    도구 설명에 숨겨진 지시 없음

    내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요

토론

질문하고, 팁을 나누고, 안 되는 점을 알려 주세요. "도움이 됨"이 많은 순서예요.

아직 글이 없어요. 처음으로 질문하거나 공유해 보세요.

이곳의 글은 사용자가 쓴 것으로, PopNx 팀의 글이 아니에요.

Google로 로그인하고 글쓰기

사용자 리뷰

아직 리뷰가 없어요

Google로 로그인하고 리뷰 쓰기

기타 카테고리의 다른 서버와 비교i

  • 이 카테고리의 다른 서버 19151개 중 0%보다 스타가 많아요
  • 이 카테고리의 다른 서버 19151개 중 19%보다 최근에 레지스트리에 공개됐어요
  • 기본 점검 결과가 이 카테고리의 다른 서버 19151개 중 100%와 같거나 더 좋아요

레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.

자주 묻는 질문

Weavatrix Refactor Js, 안전한가요?

해당하는 기본 점검 2개 중 2개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.

어떤 키나 코드가 필요한가요?

레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.

내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?

내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).

아직 관리되고 있나요?

GitHub 저장소는 마지막으로 3개월 전 변경됐고, 최신 버전(0.1.6)은 3개월 전 레지스트리에 올라왔어요.

어떤 앱에서 쓸 수 있나요?

Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Node.js도 있어야 해요.

대신 쓸 수 있는 건 뭐가 있나요?

같은 카테고리에는: World Monitor, Claude Flow, Tldraw

대안

같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.

카드 보는 법:↓ 주간 다운로드i★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 102 tools.

제작자: koala73널리 사용됨★ 9만6일 전 업데이트

클라우드에서 실행✓ worldmonitor.app

Claude Flow

AI orchestration with hive-mind swarms, neural networks, and 87 MCP tools for enterprise dev.

제작자: ruvnet널리 사용됨↓ 1.4만/주★ 8.1만14개월 전 업데이트

내 컴퓨터에서 실행

Tldraw

Draw and visually collaborate with your agents on tldraw's canvas.

제작자: tldraw널리 사용됨★ 5.1만8개월 전 업데이트

클라우드에서 실행

제작자의 README

README 열기

제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.

Weavatrix Refactor JS

Part of the Weavatrix ecosystem. This repository preserves the explicit JavaScript refactoring line.

This is the JavaScript refactoring engine of Weavatrix, continued as

weavatrix-refactor-js. The

weavatrix-refactor

package ships the native Rust MCP host built on

weavatrix-rust and the

weavatrix-edit / weavatrix-refactor-plan / weavatrix-worktree crates.

This package continues that version line: weavatrix-refactor@0.1.5 was the

last JavaScript release under the old name, and weavatrix-refactor-js@0.1.6

picks up from it. Install weavatrix-refactor-js, or pin

weavatrix-refactor@0.1.5, to stay on the JavaScript implementation.

Evidence-backed, transactional refactoring for coding agents.

weavatrix-refactor-js is the write-capable member of the JavaScript family. It combines the complete read-only weavatrix-js code-intelligence MCP with 11 refactoring tools that can prove a change, preview it against the current working tree, apply it atomically, refresh the graph, and roll it back.

Engine boundary: this package hosts the weavatrix-js engine. It does not

use the native weavatrix-rust engine, and installing both packages does not

silently upgrade this one's analysis layer. Its state lives in

~/.weavatrix-refactor-js, kept separate from the Rust host's so the two

never share a lock, a token store, or a rollback journal.

It is substantially more than a rename wrapper:

  • semantic JS/TS rename through the bundled language server;
  • SQL table and field rename with schema-aware evidence;
  • strict graph-plus-lexical rename for Python, Rust, Go, Java, C#, and Solidity;
  • several related JS/TS renames merged into one atomic transaction;
  • signature, symbol-body, import, bulk-replace, move, and delete-safety workflows;
  • byte-exact file hashes, before text, provenance, uncertainty, and graph revision in every applyable plan;
  • stale-tree detection, repository locking, rollback bundles, and automatic rollback after a mid-write failure;
  • architecture and cycle projection before structural moves;
  • post-change blast-radius and verification tools inherited from the core.

Why this is a separate package

The MIT weavatrix-js core is physically read-only: its published artifact has no repository source-write path. This package is the explicit write boundary. Installing it and selecting its refactor profile makes the edit capability visible; without this package, the server cannot modify source.

The split is a safety property, not packaging cosmetics:

weavatrix-js core       weavatrix-refactor-js                 repository

read-only evidence -> plan + preview + confirmation -> atomic write graph / LSP / audit hashes / provenance / rollback refreshed graph

Architecture

The implementation is a ports-and-adapters system with one-way boundaries:

edit-plan model  <-  filesystem / lock / token adapters

^ ^ | | plan engines -> preview / apply / rollback workflows -> MCP adapter

  • Model validates the frozen weavatrix.edit-plan.v1 envelope and applies byte-exact edits as pure string transformations.
  • Platform adapters own real-path containment, atomic replacement, repository locks, single-use tokens, and durable rollback bundles.
  • Plan engines compute rename, signature, symbol, import, move, delete, and bulk-replace evidence without owning the write workflow.
  • Application workflows bind a preview to the current repository, issue and consume confirmation tokens, apply under a lock, and restore on failure.
  • MCP adapter composes the 11 refactor tools with the read-only weavatrix-js catalog and exposes one stdio server.

The checked-in strict architecture contract enforces zero runtime cycles, files no longer than 300 lines, and functions no longer than 100 lines. It has no exceptions or ratchet baseline.

What makes the refactor workflow different

An ordinary editor rename answers: "Which text edits should I make now?" Weavatrix Refactor also answers:

QuestionEvidence returned
Is this the exact symbol?Stable graph symbol id plus parser/LSP selection range
Which references are proven?Per-edit provenance: EXACT_LSP, RESOLVED, EXTRACTED, or LEXICAL_EXACT
What was not proven?Explicit uncertainReferences, notModified, warnings, and PARTIAL completeness
Which files were even looked at?The rename session seeds every graph-declared reference plus every indexed file whose text contains the identifier; anything it could not open is named and forces PARTIAL
Did the tree change after preview?File sha256 plus exact before text rechecked under the write lock
Can several renames partially succeed?No. Related renames are conflict-checked and applied as one transaction
What happens after a disk/write failure?Already-written files are restored; a durable rollback bundle remains
Will a move worsen architecture?Projected runtime cycles, boundary violations, improvements, and blast radius
Did the refactor preserve behavior-shaped structure?Refreshed graph plus verified_change caller/import/reference conservation

The system fails closed when proof is insufficient. It never upgrades an INFERRED edge into an applyable edit and never hides an ambiguous reference.

The complete rename workflow

rename_symbol and rename_related_symbols are complete operations, not PLANNED-only helpers. Each method owns both phases.

1. Preview

Call the rename method normally:

{

"symbol": "src/users.ts#getUser@12", "new_name": "getCustomer" }

The method computes the rename, validates every plan file against the working tree, and returns PREVIEW_OK with a short-lived confirmToken. Preview never writes source and does not require the environment write gate.

2. Apply through the same method

Repeat the same operation inputs and add the confirmation:

{

"symbol": "src/users.ts#getUser@12", "new_name": "getCustomer", "mode": "apply", "confirm_token": " " }

The tool recomputes the deterministic plan, verifies that the token belongs to that plan and repository, takes the repository lock, rechecks hashes and before text, writes a rollback bundle, and applies every edit bottom-up.

The same contract applies to a coordinated set:

{

"renames": [ {"symbol": "src/api.ts#getUser@8", "new_name": "getCustomer"}, {"symbol": "src/api.ts#getOrder@20", "new_name": "getPurchase"} ] }

rename_related_symbols detects overlapping edits, chains, swaps, shadowing risk, and per-sub-rename failure before it issues a token. Apply is one atomic multi-file operation.

Refactoring tools

Complete write workflows
ToolWhat it actually does
rename_symbolCross-language preview/confirm/apply rename. Dispatches to exact JS/TS LSP, SQL schema, or strict graph+lexical backends; returns honest backend completeness and every uncovered reference.
rename_related_symbolsCoordinates up to 50 JS/TS symbol renames in one shared language-server session and one atomic edit plan. Detects conflicts, chains, swaps, snapshot drift, and any failed sub-rename before writing.
apply_edit_planGeneric two-phase executor for weavatrix.edit-plan.v1 envelopes from the other tools or weavatrix-online. Preview issues a plan-bound token; apply writes atomically with rollback.
rollback_last_applyRestores the latest pre-apply bundle. Refuses if post-apply files drifted; retries converge after an incomplete restore.
Proven plan producers
ToolWhat it actually does
change_signatureAdds or removes a JS/TS function or method parameter. Performs byte-exact declaration and call-argument surgery; spread calls and value-requiring additions remain explicit uncertainty.
edit_symbolUses the indexed parser range for replace_symbol_body, insert_before_symbol, or insert_after_symbol. JS/TS output is parse-gated; line endings and UTF-16 coordinates are preserved.
bulk_replaceTwo-stage, occurrence-selective replacement over indexed files. First returns stable occurrence ids; the second call accepts chosen ids or an exact expected count and emits a hash-bound plan. Literal mode is the default; regex replacements use real capture expansion.
organize_importsRemoves only provably unused named JS/TS imports. Default and namespace imports stay uncertain; side-effect imports are untouched; sorting is deliberately left to the formatter.

These plans are applied with apply_edit_plan, using the same preview, token, atomic-write, and rollback protocol as rename.

Structural review and safety tools
ToolWhat it actually does
move_fileBuilds a JS/TS relocate review: rewrites importer specifiers and the moved file's own relative imports, then projects architecture effects. File renaming itself remains an explicit editor/agent action, so this is intentionally not an apply envelope.
move_symbolProjects a declaration move without inventing byte edits. Reports introduced/removed runtime cycles, target-file dependencies, architecture violations or improvements, and blast radius.
delete_readinessReturns safe: true, false, or UNPROVEN with known references, dynamic/reflection risks, confidence, and the declaration span. Exported symbols are capped at UNPROVEN; deletion is never automated.

Language and proof matrix

SurfaceBackendApplyable provenanceCompleteness contract
JavaScript / TypeScript renameBundled TypeScript language serverEXACT_LSPCOMPLETE only when every file that could mention the symbol was opened in the rename session and proven; any candidate left out forces PARTIAL
SQL table renameSchema-aware SQL scanner across SQL and host filesEXTRACTED / LEXICAL_EXACTReports every skipped or ambiguous reference
SQL field renameDefinition-safe SQL backendProven definition edits onlyUsages remain UNPROVEN rather than guessed
Python / Rust / Go / Java / C# / Solidity renameIndexed graph references plus exact lexical location on the recorded lineEXTRACTED / LEXICAL_EXACTAlways PARTIAL; ambiguous lines are never edited
JS/TS signature and importsParser plus graph call/reference evidenceEXTRACTED / RESOLVEDExplicitly partial where graph reach cannot prove absence
Symbol-anchored editIndexed parser ranges for every indexed languageEXTRACTEDJS/TS parse gate; other languages retain the parser-range evidence boundary

Edit-plan proof envelope

Every applyable plan uses weavatrix.edit-plan.v1. Its load-bearing fields are:

  • operation and graph revision;
  • repository-relative target paths only;
  • sha256 of every target file;
  • exact 1-based line and UTF-16 character ranges;
  • exact before and after text;
  • per-edit provenance;
  • uncertainReferences, notModified, warnings, and completeness.

The applier additionally protects against:

  • absolute paths, traversal, .git casing/trailing-dot tricks, NTFS streams, and escaping symlinks/junctions;
  • non-UTF-8 or oversized files;
  • overlapping edits, stale ranges, lone surrogates, and edits that split surroga

앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요