Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

fix(create): unquoted description breaks pubspec.yaml and leaves a half-generated project

Abierto
#1,780 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
42/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
dart, flutter, yaml
Área
build-system, cli

Línea de trabajo

The issue identifies the create command and the description: {{{description}}} line in the very_good_core, very_good_flutter_package, and very_good_dart_package templates; their sources are in VeryGoodOpenSource/very_good_templates. Start by locating those template definitions and the post-generation pub get and failure classification paths. Done means descriptions with : produce valid pubspec.yaml, invalid inputs fail before files are written, and YAML or input errors are reported as validation.

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

Descripción

bug
Description

create writes the description argument into the generated pubspec.yaml without quoting it. A description that contains ": " produces invalid YAML. The files are generated first, so the failure surfaces only at the post-generation pub get, which leaves a half-generated project on disk:

threw an exception: Instance of '_WrappedYamlException'
partialResults: ✓ Generated 26 file(s) (69ms)
                ✗ Running "flutter pub get" in .  (1ms)

The template line is description: {{{description}}} (triple-stash, so no escaping). I decoded the bundled bricks on main (8c772f3) and found it in very_good_core, very_good_flutter_package and very_good_dart_package. The brick sources live in VeryGoodOpenSource/very_good_templates.

The exception also comes back as failureType: "transient", which tells the agent to retry. A retry with the same description fails the same way.

Steps To Reproduce
  1. Call the MCP create tool (or very_good create dart_package) with a description containing a colon followed by a space, for example "Sign-in client: Google Identity wrapper".
  2. Observe _WrappedYamlException after ✓ Generated N file(s).
  3. Open the output directory: the package exists but pubspec.yaml does not parse and dependencies were never fetched.
Expected Behavior
  • The generated pubspec.yaml is valid for any description string, by quoting the value in the templates (e.g. description: "{{description}}" with appropriate escaping) or by emitting the field through a YAML serializer.
  • Inputs that cannot be rendered are rejected before any file is written, so a failure never leaves a partial project behind.
  • A YAML or input error is reported as validation, not transient.
Additional Context
  • 9 of 9 field create calls whose description contained ": " failed this way, across flutter_app, flutter_package and dart_package. Every description without a colon succeeded. Sessions b53095da, 83389958, eed4e6dc, faaff58a (2026-10-04); excerpts on request.

  • VeryGoodOpenSource/vgv-ai-flutter-plugin#171 attributed these exceptions to a stale snapshot after a Dart upgrade. The data rules that out: the same failures occurred in session eed4e6dc, which started after the snapshot was rebuilt.

  • very_good_cli 1.5.0, Dart 3.13.5, Flutter 3.47.6, macOS 26.5 arm64.

  • Tracking issue: VeryGoodOpenSource/vgv-ai-flutter-plugin#180

Lenguaje dominante
Dart
Estrellas
2.4k
Forks
244
Merge medio
1 d 18 h
PR fusionados (30 d)
27

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 VeryGoodOpenSource/very_good_cli

Todos los issues de VeryGoodOpenSource/very_good_cli

Issues similares

Más issues de Dart

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.