vetted-ops: commands outside the sandbox reuse a uv cache the sandbox can write
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
- 15/100
Línea de trabajo
Read the known-residual note in #2133 and the SessionStart hook that provisions vetted-ops, then trace how vetted-op invokes uv and where the sandbox can reach ~/.cache/uv. The work is to choose between a hash-pinned offline environment and a separate UV_CACHE_DIR, then settle per-harness placement and an upgrade path with no window where neither environment is usable; done means the design is agreed and the outside-sandbox commands no longer reuse a sandbox-writable cache.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Follow-up to the "Known residual" in #2133.
vetted-op and the tools it starts (the tracker backends, and since #2133 the Vulnogram client) run through uv, which resolves and reuses environments from ~/.cache/uv.
The agent sandbox can write to ~/.cache/uv, while these commands run outside the sandbox.
So the content of an environment that runs outside the sandbox can be influenced from inside it, which is the boundary vetted-ops otherwise holds: a fixed argv, the shipped client only, an allowlisted environment.
This is framework-wide, not specific to any one operation, so it needs its own design rather than a per-tool patch.
Options raised so far:
- a hash-pinned environment installed by the SessionStart hook into a directory the sandbox cannot write, and run with
--offline --no-sync; - a separate
UV_CACHE_DIRfor the commands that run outside the sandbox, placed where the sandbox denies writes.
Open questions: where such a directory lives on each supported harness, and how an upgrade replaces it without a window where neither the old nor the new environment is usable.
- Lenguaje dominante
- Python
- Estrellas
- 152
- Forks
- 133
- Merge medio
- 12 h 39 min
- PR fusionados (30 d)
- 384
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una 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 apache/magpie
-
vote-tally: date_order_mismatches compares ISO dates as text, so UTC offsets are misreadPosiblemente ocupada @leninworld la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
release-verify-rc: the Nexus staging id shape refuses Maven's maven-NNNN idsPosiblemente ocupada @Anurag-S1ngh la tomó hace 3 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
ci: start each shipped tool once from its packaged plugin copyPosiblemente ocupada @Anurag-S1ngh la tomó hace 3 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 57/100
Los mantenedores suelen responder en 1 día
-
capability:fix capability:intake family:docs family:security family:tools substrate:sandbox
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
Los mantenedores suelen responder en 1 día
-
feat(issue): interactive duplicate-picker pane mod for issue-deduplicatePosiblemente ocupada @Kaap10 la tomó hace 8 días. Abiertocapability:resolve enhancement family:ci family:dev family:docs family:issue family:setup family:tools substrate:framework-dev
Dificultad 4/5 3-5 días Aptitud para principiantes 22/100
apache/magpie#2075 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de apache/magpie
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
OpenFreeEnergy/openfe#2371 ·
Los mantenedores suelen responder en 2 días
-
HMDB's smiles file writes "None" for metabolites with an empty <smiles/> (file not currently used)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
NCATSTranslator/Babel#1269 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 Medio día Aptitud para principiantes 80/100
Los mantenedores suelen responder en 1 día
-
404 on sample dataAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
bcgov/nr-hydrometric-rating-curve#443 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100