fix(create): unquoted description breaks pubspec.yaml and leaves a half-generated project
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 42/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Ambito
- build-system, cli
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Call the MCP
createtool (orvery_good create dart_package) with a description containing a colon followed by a space, for example"Sign-in client: Google Identity wrapper". - Observe
_WrappedYamlExceptionafter✓ Generated N file(s). - Open the output directory: the package exists but
pubspec.yamldoes not parse and dependencies were never fetched.
Expected Behavior
- The generated
pubspec.yamlis 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, nottransient.
Additional Context
-
9 of 9 field
createcalls whose description contained": "failed this way, acrossflutter_app,flutter_packageanddart_package. Every description without a colon succeeded. Sessionsb53095da,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
- Lingua principale
- Dart
- Stelle
- 2.4k
- Fork
- 244
- Merge medio
- 1g 18h
- PR unite (30g)
- 27
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di VeryGoodOpenSource/very_good_cli
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
VeryGoodOpenSource/very_good_cli#1783 ·
I maintainer di solito rispondono entro 1 giorno
-
feature
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
VeryGoodOpenSource/very_good_cli#1782 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 4/5 1-2 giorni Idoneità per principianti 55/100
VeryGoodOpenSource/very_good_cli#1781 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 67/100
VeryGoodOpenSource/very_good_cli#1779 ·
I maintainer di solito rispondono entro 1 giorno
-
fix(mcp): test timeout_seconds does not kill a hung test run, which blocks every later tool callForse già presa @unicoderbot l’ha presa 8 giorni fa. Apertabug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
VeryGoodOpenSource/very_good_cli#1765 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di VeryGoodOpenSource/very_good_cli
Issue simili
-
Images copied with `adb push` don't show in the wallpaper picker ("No images found on device")Aperta
Difficoltà 1/5 1-3 ore Idoneità per principianti 82/100
meddouribadis/arclauncher#53 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
Cadman021/VeloceNet-Studio#35 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
ymm-oss/flutter-mobile-project-template#684 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
mill-road-winter-fair/mill_road_winter_fair_app#596 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno