makecindy / makecindy/cindy

[Bug] Codex 默认会话启用自动审批后约 2 秒停止响应

Open
#757 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
2.7k
Forks
395
Avg merge
21h 48m
Merged PRs (30d)
776

Description

**提交人**: guwenxi
**客户端版本**: 0.1.18

---

## 现象
在新建聊天默认使用 **Codex**、模型为 **GPT-5.6** 时,将权限从“默认”切换为“自动审批”后,发送任意任务都会在约 2 秒后停止响应,未继续执行任务、工具调用或产生有效回复。

该问题可稳定复现。切换到 Claude 后进行自查,返回的诊断结论指向两项相关线索:
- Codex 切换适配器的权限状态同步异常;
- 自动审批审查模型 `codex-auto-review` 配置失效,曾返回无效模型名的 400 错误。

## 复现步骤
1. 新建一个聊天。
2. 保持默认 Agent 为 **Codex**,模型为 **GPT-5.6**。
3. 在对话界面将权限模式从“默认”改为“自动审批”。
4. 输入并发送任意任务。
5. 观察任务在约 2 秒后停止响应,不再继续运行。

## 期望行为
- 切换到自动审批后,权限状态应保持为自动审批,任务应继续正常执行。
- 如果自动审批依赖的审查模型不可用,应在界面中明确显示准确的配置或服务错误,并避免静默回退、挂起或无响应。

## 实际行为
- 自动审批模式下任务约 2 秒后停止。
- 没有继续执行工具调用或给出可用结果。
- 上述现象每次均可稳定复现。

## 补充信息
该问题目前仅在“新 chat 默认 Codex + GPT-5.6 + 手动改为自动审批”的组合中观察到。切换到 Claude 自查时,曾看到审批审查器因 `codex-auto-review` 模型名无效而报 400 的提示。
---
**OS**: win32 x64 (10.0.26200)
**界面语言**: zh-CN

Contributor guide

Open the contributing guide

Research direction

Reproduce the exact new-chat combination of Codex, GPT-5.6, and automatic approval, then inspect the adapter permission state and approval-reviewer diagnostics, especially the reported invalid codex-auto-review model error. Done means automatic approval remains active, the task continues with tool calls or a useful reply, and unavailable review-model configuration is shown as a clear error rather than causing a silent stop.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, typescript
Domain
ai, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.