Skip to content

TaxonomyLinter: validate TOML against schema #380

Description

@codeZe-us

To maintain the integrity of the Error Taxonomy Database, we need a linter that runs in CI to ensure all manually written taxonomy files strictly adhere to our schema requirements.

Issues/what to fix

  • Write a Rust script or binary (TaxonomyLinter) that parses all taxonomy database files.
  • Validate that required fields (like title, description, code) are present.
  • Ensure "Since Protocol" versioning is formatted correctly and links are valid.

Files location

crates/core/src/taxonomy/linter.rs, scripts/lint_taxonomy.sh

Expected result

A CI pipeline step that automatically rejects malformed error taxonomy entries, ensuring 100% database schema compliance.

Contributor telegram group

https://t.me/+sII7WPhll2liMGNk

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions