defect-id-invalid
Rung schema · correctness · default error
What it catches
Section titled “What it catches”A defect’s id is not the configured prefix followed by a number.
A defect ID is an address: commits, primer lines, pull requests and other defects point at it, so it must be parseable and stable. The configured prefix and a run of digits is the contract. Anything else cannot be sorted, cannot be allocated the next number safely, and cannot be checked against the base for collisions.
Rename the file and the id field to the prefix plus a number, such as D-043. If an ID was already published, do not renumber it. See defect-id-removed.
Example
Section titled “Example”id: bug-12 # defect-id-invalid: not D- followed by a number