cb_promote
Promote an experimental branch to a new mainline, archiving the old mainline and incrementing version. Requires explicit approval; note is written to CHANGELOG.md for audit.
Instructions
把实验分支提升为新主线:旧主线归档、版本号 +1(必须由用户明确批准)。note 为必填的提升理由,写入主线 CHANGELOG.md 供事后审计
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"root": "<root>",
"name": "<name>",
"note": "<note>"
},
"name": "cb_promote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 实验分支名(只能用小写字母、数字、连字符;main 是保留名) | |
| note | Yes | 提升理由(必填):为什么这个分支更好、依据是什么,写入主线 CHANGELOG.md | |
| root | Yes | Conversation Branch 工作区根目录 |