Skip to content

sync validate function with commit name pasring to identify naming issues early #577

Description

@timwelapt

I needed a re-naming loop to pass rivet-commit. suggestion is to sync validate function so such an naming issue gets caught early. BR, Tim.

Claude-Opus-48 told:

Found the root cause. In rivet's commit-trailer grammar (rivet-core/src/commits.rs), a valid artifact ID is is_artifact_id: the prefix segments must be all uppercase letters — no digits. So UDS-102, TRACE-104, BUILD-100 pass, but MAD1-101 is rejected (MAD1 has a digit) and flagged as a malformed ref. rivet's YAML validator is more lenient than its commit parser, which is why these IDs were valid as artifacts but not as trailer references.

Metadata

Metadata

Assignees

No one assigned

    Labels

    tool-frictionFriction hit while using the tool for real work (dogfooding signal)

    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