Spawned review agents report no callable tools while parent has functions.exec and local shell access (Windows VS Code)

オープン
#63,503 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
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 の本文から書いたものです。

説明

bug extension subagent windows-os
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
  1. Parent uses local shell reads successfully.
  2. Parent spawns three children (full history, default model and effort inheritance), each assigned a read-only local source-review slice.
  3. Each child returns without any tool calls, saying it cannot read the repository because no tools are callable.
  4. Parent explicitly tells one child to use functions.exec with await tools.exec_command(...), using collaboration.followup_task.
  5. That child again reports: “Confirmed: functions.exec and direct collaboration tools are not callable in this child session.”
  6. 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 policy never; 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.5k
平均マージ
1分
マージ済み PR(30日)
998

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

openai/codex のほかの issue

openai/codex の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。