Rosentic

io.github.Rosentic由 GitHub 帳號 Rosentic 發布v0.1.1更新於 Oct 24, 2026

Deterministic cross-branch conflict detection for AI coding agents

已驗證STDIO僅桌面開發者工具安全與監控

概覽

AI 產生的概覽

一個本機 MCP 伺服器,讓 AI 程式設計助理透過確定性的 AST 分析偵測 git 儲存庫中的跨分支合併衝突。

可以做什麼
掃描儲存庫各分支的最新提交,偵測跨分支的契約衝突,例如函式簽章變更、HTTP 路由不相符和 schema 變更,涵蓋多種語言,並以發現項目而非 AI 程式碼審查意見的形式回報。解釋某個具體衝突發現及其處理建議。列出作用中的分支,供助理選擇要掃描的分支。在本機對 git 儲存庫執行,程式碼不會離開本機。
適用情境
適用於推送、建立拉取請求或合併之前,當多個分支修改了共用函式、API 路由或 schema,需要判斷某個分支合併後是否會破壞其他分支時。它補充而非取代逐檔案的安全或程式碼審查工具。
執行需求
本機 Python 環境,從 PyPI 安裝 rosentic-mcp 套件,並在支援 MCP 的編輯器中設定透過 stdio 啟動 rosentic-mcp 指令。需要一個包含待比較分支的本機 git 儲存庫。未宣告任何帳號、API 金鑰或環境變數。
安裝前請注意
它會讀取本機 git 儲存庫和分支頭進行分析,因此只應指向你願意被掃描的儲存庫。它只回報衝突,不修改程式碼;依據發現項目採取行動(例如變更簽章或路由)由助理或使用者自行決定。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Rosentic,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Rosentic - Cross-Branch Merge Safety

Rosentic checks whether your active branches are compatible with each other before merge. It detects broken function signatures, HTTP route conflicts, and schema mismatches across 15+ languages using deterministic AST analysis.

This is not AI code review. Rosentic finds structural contract conflicts that would cause runtime failures after merge - the kind of breaks that tests don't catch because they only run on one branch at a time.

Install

bash
pip install rosentic-mcp

Then add to your editor's MCP config:

json
{  "mcpServers": {    "rosentic": {      "command": "rosentic-mcp",      "args": [],      "env": {}    }  }}

Works with Cursor, Claude Code, Cline, Windsurf, and any editor that supports MCP.

What it does

Rosentic gives your AI coding agent three MCP tools:

ToolPurpose
check_conflictsScan a repo for cross-branch contract conflicts
explain_conflictExplain a specific finding and what to do about it
list_branchesList active branches so the agent can choose what to scan

Example conflicts Rosentic catches

  • Branch A adds a required parameter to createOrder(). Branch B calls createOrder() with the old signature. Both pass CI. Merge breaks production.
  • Branch A changes POST /api/users to require email in the request body. Branch B's frontend still sends the old payload.
  • Branch A removes a field from a GraphQL type that Branch B's query depends on.

How it works

Before you push, open a PR, or merge, your agent runs a cross-branch compatibility check. It calls check_conflicts, which scans your repo's branch heads using tree-sitter AST parsing and reports any conflicts.

No code leaves your machine. The scan runs locally against your git repo.

Compared to Semgrep Guardian

Semgrep Guardian checks each file for security vulnerabilities and code issues. Rosentic checks whether your branches are compatible with each other. They solve different problems and work well together:

  • Semgrep Guardian: "Is this code safe and correct on its own?"
  • Rosentic: "Will this branch break other branches when merged?"

Links

來源:README.md,提交 a30c458

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.1最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。