fix(external-agents): Codex write runs in a linked worktree cannot stage or commit
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
- 55/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Área
- developer-experience, tooling
Línea de trabajo
Start with the plugins/external-agents/ command and Codex adapter, then trace how write runs set --add-dir and classify refusals as blocked-by-mode. Check how Git reports the linked worktree git directory and where uv's cache path is configured. Done means a test or recorded run shows a linked worktree can stage and commit, and cache write refusals no longer misreport a completed run.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Context
During the #19004 build, every external-agents run codex --use task --mode write --add-dir <worktree> run (4 of 4) was recorded blocked-by-mode. Codex's workspace-write sandbox mounted the linked worktree's git metadata read-only, so git add failed with exit 128 (index.lock could not be created), and uvx with the default cache was refused. The edits themselves landed each time, so the orchestrator had to verify, stage and commit every change by hand, and the run status misreported finished work as blocked.
A linked worktree keeps its index under the main checkout's .git/worktrees/<name>/, which is outside the --add-dir path.
Proposed work
- On a write run whose
--add-dir(or cwd) is a linked git worktree, also pass that worktree's git dir (git -C <wt> rev-parse --git-dir, plus the common dir's object store if commits need it) as a writable directory, or document that write runs leave staging and commits to the caller. - Give the run a writable uv/pip cache path, or document the expected
UV_CACHE_DIR.
Acceptance criteria
- A Codex write run in a linked worktree can
git addandgit commit, shown by a test or a recorded live run. - A run whose only refusals were cache writes it worked around is not reported as
blocked-by-mode, or the docs say why it is.
References
plugins/external-agents/(theexternal-agents runcommand and its codex adapter)- https://github.com/melodic-software/claude-code-plugins/pull/19004 (jobs 20261125T033605Z-8e98d1, 20261125T035909Z-d15bda, 20261125T043126Z-6700b5, 20261125T044004Z-f97a67)
- Lenguaje dominante
- Shell
- Estrellas
- 22
- Forks
- 2
- Merge medio
- 2 h
- PR fusionados (30 d)
- 960
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de melodic-software/claude-code-plugins
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
melodic-software/claude-code-plugins#19225 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 65/100
melodic-software/claude-code-plugins#17779 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
recurring
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
melodic-software/claude-code-plugins#19274 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
melodic-software/claude-code-plugins#19270 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 53/100
melodic-software/claude-code-plugins#19269 ·
Los mantenedores suelen responder en 1 día
Todos los issues de melodic-software/claude-code-plugins
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
nais/attest-sign#139 ·
Los mantenedores suelen responder en 1 día
-
check_for_release: the /opt/*_version.txt migration gives the app's version to any componentAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
community-scripts/core#303 ·
Los mantenedores suelen responder en 1 día
-
severity: low
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
luainkernel/lunatik#2727 ·
Los mantenedores suelen responder en 1 día
-
[quality] release publish.mjs integrity guards have no unit testPosiblemente ocupada @robarnold la tomó hoy. Abiertoagent/quality stage/040-covered-by-pr testing
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
marinatedconcrete/config#1155 ·
Los mantenedores suelen responder en 1 día
-
bug report-to-upstream
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
flatpark/flatpark#1585 · 1 comentario ·
Los mantenedores suelen responder en 1 día