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

Abierto
#63,503 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
18/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
rust, typescript

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Rust
Estrellas
136k
Forks
21.5k
Merge medio
1 min
PR fusionados (30 d)
998

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de openai/codex

Todos los issues de openai/codex

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.