explore: should edits to existing change artifacts go through update-change?

Abierto
#2,057 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
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
typescript

Línea de trabajo

Start by reading the explore and update-change skill definitions and the existing-change handling added in #1503; the issue does not name their file paths. Compare how each handles edits, confirmations, and implemented changes, then decide whether explore should invoke or point to update-change when available. Done means the intended behavior is clarified and reflected in explore, with coverage for the chosen behavior.

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

Descripción

When a change already exists, explore can edit its artifacts once the user confirms. It never mentions openspec-update-change (/opsx:update), though. Is that intended?

What explore seems to do (1.14.1)

  • It reads the change's existing artifacts and offers to capture decisions in them. For example, a design decision goes in design.md and a scope change goes in proposal.md.
  • It gives no steps for making the edit itself. Its only write steps are for creating a new change, which were added in #1503.

What update-change covers that explore doesn't

  • It checks an edit against the change's other artifacts, in either direction.
  • It edits only existing output files, never a glob output path.
  • It confirms each artifact separately.
  • It points to apply when the change is already implemented.

Both skills are in the core profile, so a default install has both.

Question: is it intended that explore edits existing artifacts on its own? If not, could explore run update-change when it's installed, or at least point the user to it, once the user is ready to write? #1503 kept explore's handling of existing changes unchanged, so this may have been left open on purpose.

Related: #2058

Lenguaje dominante
TypeScript
Estrellas
76k
Forks
5.2k
Merge medio
1 d 5 h
PR fusionados (30 d)
58

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

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 Fission-AI/OpenSpec

Todos los issues de Fission-AI/OpenSpec

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.