Skip to content

[Bug]: Syntax error on a generated TOML file #2113

@joshhauser

Description

@joshhauser

Bug Description

Using specify command version 0.5.1.dev0 + Gemini CLI v0.27.2, on Ubuntu:
After I initialized a projet with specify, I executed Gemini CLI which displayed the following error:

[FileCommandLoader] Failed to parse TOML file /home/user/project/.gemini/commands/speckit.checklist.toml
Image

I tried to init other projects and the same problem occurred again and again, which means that is not something that happens in some particular conditions.

Steps to Reproduce

  1. Init a project. Ex: specify init my-project --ai gemini
  2. Update Gemini CLI configuration to add your project directory to trusted folders (path should be /home/<your user>/.gemini/trustedFolders.json)
  3. Launch Gemini CLI from your project folder: gemini

Expected Behavior

Files that are generated by specify should follow the appropriate syntax, so that tools such as Gemini can parse them.

Actual Behavior

Gemini is not able to parse speckit.checklist.toml because of a syntax error at the end of the file: file ends with 4 double quotes. If I edit the file to remove the pointless 4th double quote, everything work as expected.

Specify CLI Version

0.5.1.dev0

AI Agent

Gemini CLI

Operating System

Ubuntu 22.04.5

Python Version

3.11.15

Error Logs

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions