{ "schemaVersion": 1, "skill": "detect-policy-conflict-gs", "actions": [ { "id": "health", "label": "运行检查", "description": "检查技能运行环境、OA API 连通性、制度库索引完整性,不启动长任务。", "placements": ["skill-detail", "agent"], "executionProfile": "sync", "entrypoint": { "type": "cli", "command": "health", "args": [] } }, { "id": "version", "label": "查看版本", "description": "返回技能版本和机器标识。", "placements": ["skill-detail"], "executionProfile": "sync", "entrypoint": { "type": "cli", "command": "version", "args": [] } }, { "id": "config-path", "label": "查看配置位置", "description": "返回技能配置文件位置。", "placements": ["skill-detail"], "executionProfile": "sync", "entrypoint": { "type": "cli", "command": "config-path", "args": [] } }, { "id": "audit-policy-draft", "label": "审查送审稿", "description": "对一份新制度送审稿执行条款向量化 + 制度库比对 + 程序合规体检 + 重复发文检测,10~30 秒内返回结果。", "placements": ["row", "agent", "skill-detail"], "executionProfile": "sync", "bind": { "tables": ["制度送审稿"], "selectionMode": "required", "labelColumn": "送审稿标题" }, "entrypoint": { "type": "cli", "command": "audit-policy-draft", "args": ["--draft-id", "{row.送审稿ID}"] } }, { "id": "recheck-conflict-clause", "label": "重新比对冲突条款", "description": "对某一条已经标记冲突的条款重新比对,常用于制度库更新后的复核。", "placements": ["row", "agent"], "executionProfile": "sync", "bind": { "tables": ["冲突条款清单"], "selectionMode": "required", "labelColumn": "新条款摘要" }, "entrypoint": { "type": "cli", "command": "recheck-conflict-clause", "args": ["--clause-id", "{row.冲突条款ID}"] } }, { "id": "export-review-report", "label": "导出审查报告", "description": "将指定送审稿的审查结果导出为 PDF 报告,落到本技能 output/ 目录。", "placements": ["row", "agent"], "executionProfile": "sync", "bind": { "tables": ["制度送审稿"], "selectionMode": "required", "labelColumn": "送审稿标题" }, "entrypoint": { "type": "cli", "command": "export-review-report", "args": ["--draft-id", "{row.送审稿ID}", "--format", "pdf"] } }, { "id": "mark-policy-status", "label": "标记送审稿状态", "description": "手动将送审稿标记为已通过 / 驳回(通常用于人工终审后回写状态)。", "placements": ["row"], "executionProfile": "sync", "bind": { "tables": ["制度送审稿"], "selectionMode": "required", "labelColumn": "送审稿标题" }, "entrypoint": { "type": "cli", "command": "mark-policy-status", "args": ["--draft-id", "{row.送审稿ID}", "--target-status", "{form.target_status}"] } }, { "id": "rescan-pending-drafts", "label": "定时扫描存量送审稿", "description": "扫描所有"审查中 / 冲突中"状态的送审稿,因制度库新增 / 变更而重新比对。占位 Action,cron 启用后由定时调度。", "placements": ["cron", "agent"], "executionProfile": "async", "entrypoint": { "type": "cli", "command": "rescan-pending-drafts", "args": [] } } ] }