Spawned review agents report no callable tools while parent has functions.exec and local shell access (Windows VS Code)
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 18/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- rust, typescript
调研方向
Start by locating where collaboration.spawn_agent builds the child session and which tool registry/schema it passes down, then compare that with the parent's functions.exec and collaboration.* exposure. The report gives no reproducer, no logs and no file paths, so the first task is reproducing a spawn on Windows VS Code and capturing the actual child tool schemas versus what the child reports. Done means either children receive working filesystem/exec tools or spawn explicitly reports the reduced capability set to the parent; this is runtime-internals and trace work, not a scoped edit.
由索引模型根据 Issue 内容生成。
描述
Observed behavior
In a Windows VS Code Codex session, the parent agent can call functions.exec, including tools.exec_command and tools.apply_patch, and direct collaboration.* tools. However, each of three child review agents created through collaboration.spawn_agent immediately reported that no callable filesystem, execution or collaboration tools were exposed.
The parent runtime instructions explicitly say that children have the same tools as the parent. The requested child tasks were read-only local source reviews; none was instructed to use a different environment or strip its tools.
Observed sequence
- Parent uses local shell reads successfully.
- Parent spawns three children (full history, default model and effort inheritance), each assigned a read-only local source-review slice.
- Each child returns without any tool calls, saying it cannot read the repository because no tools are callable.
- Parent explicitly tells one child to use
functions.execwithawait tools.exec_command(...), usingcollaboration.followup_task. - That child again reports: “Confirmed: functions.exec and direct collaboration tools are not callable in this child session.”
- The same child system can reason over source excerpts pasted through a later follow-up, so the child inference path itself is working. Independent repository review is unavailable.
This is a three-child observation in one thread, not a deterministic minimal reproducer across fresh installations. I cannot inspect the actual child tool registry from the parent and cannot prove whether the issue is capability propagation, wrapper exposure, or inaccurate capability reporting by the children. Please compare actual supplied tool schemas with the children’s results.
Expected behavior
A child assigned local source review should receive the intended local filesystem/execution capabilities, or creation should explicitly disclose the reduced capabilities to the parent. A parent should not be told tools are inherited, receive a successful spawn, and discover after consuming the review turn that every child lacks them.
Environment and correlation
- Date: November 23, 2026, America/Phoenix.
- Parent thread:
01a20b55-1a27-7781-8a23-ed6ebd4a6af1(session ID only; no feedback ZIP uploaded). - Surface: VS Code extension; session metadata originator
codex_vscode. - Installed extension directory version:
openai.chatgpt-26.1007.21434-win32-x64. - Bundled runtime:
codex-cli 0.162.0-alpha.17.2. - Parent model/settings:
gpt-6.1-sol, XHigh; children inherited defaults, with no explicit override. - OS-reported version:
Microsoft Windows NT 10.0.26200.0, x64. - Parent execution policy:
danger-full-access, approval policynever; unchanged during the incident. - Child task names:
fix_review,order_seams,lifecycle_surfaces. - Parent work continued using local file reads and an isolated build.
Classifier interruptions were also reported in the same session (#63502); no evidence establishes that they caused the child-tool symptom. Please investigate these as distinct issues unless internal traces show otherwise.
No private project names, source code, paths, raw logs or full transcripts are attached.
- 主要语言
- Rust
- 星标
- 136k
- 派生
- 21.6k
- 平均合并
- 1 分钟
- 30 天内合并 PR
- 998
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
openai/codex 的其他 Issue
-
bug CLI performance
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
app bug
难度 1/5 1 小时以内 新手友好度 76/100
维护者通常 1 天内回复
-
app bug skills windows-os
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 1 天内回复
-
app-server bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
bug CLI TUI
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
相似的 Issue
-
[Bug] StreamLifecycleConfig clamps post-TTFT stream timeouts to remaining admission budget可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 62/100
lbjlaq/Antigravity-Manager#4063 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 64/100
farion1231/cc-switch#9981 · 2 条评论 ·
维护者通常 1 天内回复
-
Windows unit tests fail on main: pnpm-registry-overrides fixtures are checked out as CRLF (mixes CRLF and LF line endings)可能已有人在做 @mikolalysenko 今天认领。 未关闭agent:claimed agent:triaged ci-janitor priority:p1
难度 1/5 1-3 小时 新手友好度 85/100
SocketDev/socket-patch#2238 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
bot:ai-assisted component:indexer status:untriaged
难度 2/5 1-3 小时 新手友好度 62/100
midnightntwrk/midnight-indexer#1834 ·
维护者通常 1 天内回复