fix(orc): support trusted release shell workflow

This commit is contained in:
2026-08-01 21:06:42 +08:00
parent f5bf35c722
commit e9b34747cc
7 changed files with 364 additions and 17 deletions
+5
View File
@@ -22,6 +22,11 @@ ORC 是显式调用的薄路由器:只把开发、版本发布、DEB 和 Docke
resolver 以 `-I -S` 隔离模式运行,不加载项目模块、用户 site-packages 或第三方解析器。
- ORC v2 worker 使用 `workspace-write` sandbox,以便发送 Orca lifecycle 消息;
只读任务会在阶段 prompt 中禁止文件修改。
- release worker 是受信任的发布角色,直接调用当前 shell 中已认证的 `git` 与 Forge CLI
Gitea/Forgejo 使用 `tea`);ORC 不读取认证配置,也不注入 credential helper。
- release 阶段要求 `origin` 只有一个且一致的 fetch/push URL。Codex 只为该阶段开启网络,
并用 network proxy 把出站目标限制到 remote/Forge API hostGitHub 额外允许其固定 API
与 release upload host,其它本地阶段默认继续禁网。
## Worker 档位