record_publish
Registers a channel publish to the current document head version, appending history for repeated channels. Runs pre-publish checks; error-level findings block publication unless acknowledged.
Instructions
登记一次渠道发布到当前文档 head 版本(channel/channelDocId/url),同渠道重复发布追加历史。文档未 finalize 时报错。发布前会跑该类型的 checks——任何 error 级 finding(如未闭环的开放问题标记)默认拦截并列出清单;确需带着发布传 acknowledgeFindings:true 跳过
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | 覆盖默认工作目录(项目所在父目录);相对路径按当前工作目录解析;缺省用 PROTOFLOW_HOME 或启动时的 cwd | |
| url | No | ||
| docId | Yes | ||
| channel | Yes | ||
| projectId | Yes | 项目 id(同时也是项目文件夹名) | |
| channelDocId | Yes | ||
| acknowledgeFindings | No |