What problem does it solve?
Maintaining bilingual CHANGELOG files for each BK-CI release is repetitive and error-prone: you must summarize only the new version block without touching history, then translate exactly that block into English while preserving links, versions, and section structure.
Core Features & Use Cases
- Incremental Summary Generation: Reads only the target version block (e.g. v4.2.0-rc.4) and writes a concise "变更概述" (5-8 features, 2-4 bug fixes) back into the Chinese CHANGELOG.
- Bilingual Sync: Translates the incremental block into English using fixed section/tag mappings (新增→New Features, [修复]→[Fixed]) and inserts it at the top of the English CHANGELOG.
- History Protection: Never rewrites older versions, existing detail entries, or TOC structures; asks before overwriting an existing English version.
- Use Case: After drafting the Chinese details for v4.2.0-rc.4, ask the agent to add the summary and sync the English log—only that block is read, summarized, translated, and inserted.
Quick Start
Process the v4.2.0-rc.4 incremental changelog block by generating its summary in the Chinese file and syncing the translation to the English CHANGELOG.