[codex] 持久化 Group Chat workspace diff 执行审计#1981
Merged
EKKOLearnAI merged 1 commit intoJul 8, 2026
Merged
Conversation
Owner
不要自己去动刀bridge上的 run_id ,最近gpt很傻很傻,然后上个pr我改了些东西,这个pr有点脏,你在cherry picker 一下 |
c097df8 to
9b5d244
Compare
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.
改动说明
这是替代 #1953 的 stacked split 第 2 段,建立在 parent PR 之上,只保留 workspace diff 执行、审计持久化和 lifecycle stale-fence。
run_id,避免 run id mismatch 和 orphan diff card。workspace_difftool message,用于审计 agent 在房间 workspace 中产生的文件变更。Stack
codex/group-chat-room-workspace-binding。Diff hygiene
验证结果
npm test -- tests/server/group-chat-workspace.test.ts tests/server/group-chat-workspace-diff.test.ts tests/server/group-chat-workspace-diff-context.test.ts tests/server/group-chat-agent-workspace.test.ts tests/server/group-chat-member-sync.test.ts tests/server/group-chat-agent-routing-baseline.test.ts tests/server/group-chat-approval.test.ts tests/server/group-chat-streaming.test.ts tests/server/group-chat-history-window.test.ts tests/client/group-chat-workspace-diff.test.ts:通过,10 files / 89 tests passed。npm run test:通过,292 files passed;2179 passed / 2 skipped。npm run build:通过。npm run harness:check:通过,Harness check passed。git diff --check:通过。