Console: 接通记忆、模型、任务、账户安全与管理操作 - #5
Merged
Merged
Conversation
Owner
Author
最终检查状态(head b6affe9)实际业务实现已经提交:
当前建议:先审查代码,不要直接生产部署。 保留失败的浏览器检查,待修复测试等待方式并跑完实际浏览器流程后再做发布判断。现有 Node/HTTP/账户隔离回归通过不等于真实浏览器或 ChatGPT/Cloudflare 端到端验收。 部署启用说明已随代码提交至 |
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.
目标与实际实现
关联 #4。将已合并的 Layout A 控制台从只读展示接通到真实的账户隔离后端,不重做 OAuth,不向 ChatGPT MCP 授予写权限。
升级要点(重要)
仅合并代码不会自动扩大现有只读权限。 请按
docs/console-functional-actions-v0.4.md配置identity.console_operations=true,生成库外 Core 加密 key,并用新 CLI 显式enable-console升级每个账户自己的 console binding;仅对指定账户grant-operator。ChatGPT binding/scopes 不变。整理 worker、个人向量、私有模型来源、恢复 proof policy、自动 provisioning 均有显式配置。未配置依赖会如实显示不可用,而不是返回假成功。旧代理 allowlist 需合并
docs/console-ingress.example.yml的精确路径;没有自动修改 Cloudflare。安全与兼容
固定操作白名单;前端提交的 account_id 只用于一致性检查,不充当身份来源。写入审计/幂等事务、版本冲突、重试、密钥加密及账户退出后的迟到响应处理均补回归。模型 DNS/socket 目标受控且不接受浏览器文件/环境密钥引用。保留现有只读 MCP、PKCE、CSRF、CSP、精确回调、身份 ID、原记忆、handoff 门禁和旧只读部署行为。新增数据表为增量迁移;无新增应用运行依赖。
验证
Apply verified console implementation的完整node scripts/test-all.mjs与 publication worktree 检查后才提交为e615c700a24e59b700101ef5058353fac1c06d1a。Console browser integration,使用真实 HTTP 资源/CSP/表单以及合成 loopback 模型和账户,不是内存模拟点击。创建 PR 时这些最终检查尚待结果。明确边界
未部署/合并,未读取生产记忆、创建真实账号/注册码、调用真实付费模型或测试真实 ChatGPT OAuth。
production_ready=false。撤回不是物理删除;portable 导入/导出不是完整原始来源、历史、附件、handoff 或整库灾备。全系统恢复继续使用已有私有运维流程。列表保留有界限制。新增功能与配置、恢复与回滚约束详见 v0.4 文档。临时源码传输/环境准备工作流和片段已在后续清理提交删除,不进入最终 PR 文件差异;仅保留正式浏览器验收工作流。