feat(ext): 文档受众拆分(README/CHANGELOG)与确认流 ask_user 卡片化 - #491
Merged
Conversation
- 扩展 3 个 agent prompt 确认流改为:复述 summary 后调用宿主内置 ask_user 弹可点击卡片(选项 确认执行/取消;多 pending 每题一个 question),点击结果 映射 confirm_operation/cancel_operation;ask_user 出现 auto_reply(无人 值守)一律 cancel_operation,堵 auto_approve 10s 自动确认风险 - admin-aside 面板生命周期注入指令同步为 ask_user 卡片确认 - 后端 needs_confirmation hint 与 workspace_admin/platform_admin playbook 确认流纪律同步(需部署生效) - CONTEXT.md:术语 request_user_feedback→ask_user(gem 1.5.11 改名,旧名为 退役别名),记录 auto_reply 防线 验证:mix compile;mcp 测试 347/347;view.js 语法检查
- README.md 面向用户:功能一览/系统要求/安装/连接(面板一键连接为主, 手动 token 为 fallback)/断开卸载/隐私安全/FAQ;安装口径改为官方方式 装宿主(openclacky.com) + 扩展市场搜索 CGC-2046 安装——品牌一键安装包 捆绑扩展的路径不存在,对齐 60b21e3 接入引导升级 - DEVELOPMENT.md 承接开发者内容(架构/目录结构/打包/联调配置/安全约定/ known limitations/测试/验收步骤),沿用 test/bin 既有模式:git 跟踪但 经 .gitignore 排除出 ext pack 分发包 - CHANGELOG.md 全历史归并:v0.1.0(2026-09-06)按功能域汇总首发内容, 其后提交归 Unreleased(安全加固/管理侧栏重构/市场升级通道等) 验证:bin/pack manifest OK(29 files);zip 含 README/CHANGELOG,不含 DEVELOPMENT/test/bin;openclacky-ext 目录 grep 无一键安装残留
sundevilyang
enabled auto-merge
September 9, 2026 10:11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Mainline Intent
Intent:
int_c7ac7eaeStatus:
proposedTitle: 确认流改走宿主 ask_user 点击卡片,替代文字确认
What changed
扩展 cgc-admin/cgc-assistant/cgc-tutor 三个 agent prompt 的确认流纪律改为:复述 summary 后调用宿主内置 ask_user 弹可点击卡片(选项 确认执行/取消,多 pending 每题一个 question),点击结果映射 confirm_operation/cancel_operation;admin-aside 面板注入指令同步。后端 response.ex hint 与 playbooks.ex 两个 playbook 的确认流纪律同步(需部署生效)。CONTEXT.md 术语 request_user_feedback→ask_user 并记录防线。
Why
gem 1.5.13 内置 ask_user 卡片(request_user_feedback 的继任),WebUI 可点击;扩展原确认流让用户打字回复「确定/确定全部」,体验差且已造成一次误触发事故,故接入点击卡片。
Decisions
Subsystems: openclacky-ext, mcp-confirmation-flow
Mainline Intent
Intent:
int_39145fd0Status:
proposedTitle: 扩展文档受众拆分:README 用户向重写与安装口径修正
What changed
openclacky-ext/cgc-2046 文档按受众拆分(commit 615dfc1,4 文件):README.md 重写为面向用户的使用说明(功能一览/系统要求/安装/连接/断开卸载/隐私安全/FAQ);开发者内容(架构/目录结构/打包/联调/测试/验收)迁入新建 DEVELOPMENT.md;新增 CHANGELOG.md 全历史归并(v0.1.0 按功能域汇总 2026-08-09 起首发内容,其后提交归 Unreleased);.gitignore 增加 DEVELOPMENT.md 排除
Why
README 会进 ext pack 分发包,是用户安装扩展后可见的主文档,但原文 17KB 混入大量开发者细节;且「CGC OpenClacky 一键安装包捆绑扩展」说法与事实不符(用户纠正:品牌安装不带扩展),需对齐「OpenClacky 官方安装方式装宿主 + Extension Marketplace 装 cgc-2046」口径;扩展此前无 changelog 记录
Decisions
Subsystems: openclacky-ext/cgc-2046/docs