Repository navigation
Conversation
Signed-off-by: Codex <codex@openai.com>
hhyykk
requested review from
huangruiteng,
loopx-agent and
songoow
as code owners
November 20, 2026 06:15
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This branch has not been deployed
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.
Goal And Delivered Outcome
背景
LoopX 保存任务状态、授权和结算回执,Codex 等宿主负责调用模型和工具。如果 Worker 与 Core 共用系统账号,Worker 可能直接改写注册表或运行目录。宿主重启、压缩会话或继续执行旧计划时,实际操作就可能偏离 LoopX 的当前授权。
目标
让 LoopX Core 掌握受管工作的正式写回权。Worker 可以读取任务、执行检查和提交候选结果。Core 在写回前核对当前授权。同一个 Turn 重试时沿用原操作身份和回执,避免重复写入和扣额。
做什么
收益
写入资格由系统权限和 Core 的写回检查共同执行。端到端用例验证了 Worker 直写被拒、同一个 Turn 重试不追加第二次,以及在写回检查处发出 Stop 后没有写入或扣额。
风险
请主负责人确认当前权限边界是否可接受,以及是否适合先在一条受管链路上试用。此 PR 的目标分支是
main。Author Declaration
Implemented against
loopx/control_plane/turn_driver/codex_worker_identity.pyand the managed Codex launchScope And Continuation
codex-clioperation-tools path. The documented Worker user and home settings select it.Validation
c179a1eafa8cbb2a093b89e29b100c780ce2203d.finished.synthetic.integrationpassedstaticpassedregression_paritypassedFrontend / Visual Evidence
Type of Change
LoopX Area
Boundary Checklist