zongyuan-root-sync
# ZONGYUAN-ROOT 同步器 · zongyuan-root-sync
> 铭文:内核同源,差量而行
## 逻辑本体
内核同步体:先算差量再推送,无差不动;推送必带来源版本,回滚有据。
## 架构
```
src/zongyuan_root_sync/core.py # 核心算子
mcp_server.py # MCP stdio 服务入口
tests/test_core.py
```
## 算子注册
- `rootsync.push_diff.v1`
## 用法
```
python3 mcp_server.py(stdio)
```
## 防篡改边界
摘要可发现局部或单点篡改;持有全量记录的攻击者可整体重写并重算通过——链头哈希需带外留存(或对链头签名)方可对抗整体重写。
---
<!-- daotong-oss -->
## Open Source · 开源信息
**English**: 内核同步器 (zongyuan-root-sync) — part of the ZONGYUAN Daotong operator suite. 内核同步体:先算差量再推送,无差不动;推送必带来源版本。 Ships with a zero-dependency MCP server (stdio JSON-RPC 2.0).
- **License / 许可证**: MIT
- **快速开始 / Quick Start**: `python3 mcp_server.py`(MCP stdio:initialize → tools/list → tools/call,无外部依赖)
- **算子 / Operators**: `rootsync.push_diff.v1`
- **MCP 工具 / Tools**: `push_diff`
- **关键词 / Keywords**: 道统、宗源、MCP、Model-Context-Protocol、AI-Agent、算子、ZONGYUAN、zongyuan-root-sync、内核同步器
- **总目录 / Catalog**: https://www.huodouai.com/daotong/ | [机器可读目录](https://www.huodouai.com/daotong/daotong-catalog.json) | [Agent 入口](https://www.huodouai.com/daotong/llms.txt)
- **仓库 / Repos**: https://gitcode.com/zongyuangen/zongyuan-root-sync · https://atomgit.com/zongyuangen/zongyuan-root-sync
TDQS
Scored across 1 tool
With only one tool, there is no possibility of confusing it with another; the agent always selects push_diff. The description '计算内核差量' (compute kernel delta) at least signals a diff/compute operation.
The single name push_diff follows a snake_case verb_noun convention and is readable. However, 'push' does not quite match the description 'compute kernel delta', a slight semantic mismatch, and with one tool consistency cannot really be demonstrated.
A root-sync server with a single tool feels far too thin; syncing typically needs pull/apply/status operations alongside diff. One tool is below the 3-15 sweet spot and leaves the server narrowly scoped.
Only a diff/compute operation is exposed, with no tools for pulling, applying, checking status, or reverting changes. For a 'root sync' domain this is a significant gap that will force agents to work around missing lifecycle operations.