feat(workflows): 新增 doc-sync-automation 中英文档一致性守护端到端工作流 #332
Loading…
Reference in New Issue
No description provided.
Delete Branch "Taoyouce/gitlink-cli:feat/doc-sync-workflow"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
背景
本仓库自身即维护 README.md + README.zh-CN.md 双语文档,且实测两版已存在漂移(代码块 32 vs 29、表格 43 vs 40 行)。把 gitlink-doc-sync Skill(PR #331)包成可直接运行、可进 CI 的端到端工作流。
闭环
采集 → 检测 → 报告 → 回写:
repo +tree按命名约定自动发现双语文档对(README/CONTRIBUTING/CHANGELOG 及其 zh-CN 变体)file +view --raw拉取两版全文,做确定性结构比对:章节大纲 / 代码块数与行数 / 表格行数 / 版本号--apply时用issue +create把报告作为 tracking issue 真实回写(默认 dry-run)与已有能力三层协同不重复:
file命令组(读写能力,PR #330)→gitlink-doc-syncSkill(语义翻译同步,PR #331)→ 本工作流(确定性可复现闭环)。交付物
scripts/doc_sync_workflow.py(纯标准库,零第三方依赖)tests/test_drift.py确定性回归护栏(9/9 全绿)docs/verification.md真实平台验证证据 +examples/demo-outputs/真实运行产物已在生产 gitlink.org.cn 真实验证