[macOS] New chat without a project opens in a saved project and loads its AGENTS.md

Abierto
#64,234 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
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
macos, rust
Área
backend, desktop

Línea de trabajo

Start by tracing the macOS startup flow for creating a chat without a project, then follow how the new chat receives its working directory and project assignment. Compare that path with the related Linux report in #24222. The issue gives no source files or tests; done means reproducing the flow and confirming the chat has no saved project assignment, uses a standalone workspace, and excludes that project's AGENTS.md.

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

Descripción

app bug session
What version of the Codex App are you using (From “About Codex” dialog)?

26.1120.50957 (build 30866), read from the installed desktop app bundle

What subscription do you have?

Not recorded

What platform is your computer?

macOS 26.6.2 (Apple Silicon), uname -mprs: Darwin 25.6.0 arm64 arm

What issue are you seeing?

At app startup, I chose to start a new chat without a project and sent an unrelated question. The first turn ran with a saved local project's primary folder as its working directory. Desktop recorded a project assignment for the chat, and the first turn included the repository's AGENTS.md. The answer used project details from that file.

What steps can reproduce the bug?
  1. Have a saved local Codex project with an AGENTS.md in its primary folder.
  2. At app startup, choose to start a new chat without a project.
  3. Send a general question, for example What do you think of PhysCAD vs FreeCAD?
  4. Inspect the first turn's working directory and project instructions.
What is the expected behavior?

The explicit no-project choice should start the first turn in a standalone workspace. The chat should have no assignment to a saved project, and that project's workspace roots and repository-level AGENTS.md should stay outside the chat's context.

Documented behavior

Additional information

In the affected session, the Desktop log showed a new draft on the main screen followed by local chat creation. The session metadata and first-turn record both had the saved project's primary folder as cwd, and pwd returned the same path. Desktop state associated this chat with that project. One occurrence was observed. The exact cause of the incorrect project selection is unconfirmed.

A related Linux report mentions the global New chat control inheriting a project in #24222.

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

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.