Skip to content

Change name cannot contain consecutive hyphens? #836

@a3lem

Description

@a3lem

I'm working in a monorepo. In the absence of hierarchical/nested specs, I figured I'd just keep all changes in a flat directory but simply prepend the app/lib name to the name of the change spec and use -- as a delimiter.

Example:

❯ openspec new change app1--change-name

Unfortunately, that triggers a validation error:

✖ Error: Change name cannot contain consecutive hyphens

Next, I tried surrounding the app name in square brackets. No dice:

❯ openspec new change [app1]-change-name

✖ Error: Change name can only contain lowercase letters, numbers, and hyphens

Why is the validation so strict here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions