- Remove '1:1' prefix from all violation message templates
- Use simple '<code> - <message>' format for frontmatter violations
- Add SPEC clarification: line numbers only included when actually known
- Frontmatter is always at line 1, so '1:1' prefix is redundant
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- Add FML007 for Missing Version Field
- Update FML003 to be specific to Missing Name Field
- Map missing fields to their specific codes (name -> FML003, version -> FML007)
- Add field_to_code mapping in lint_directory for extensibility
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- Add VIOLATION_CODES dictionary with standardized FML001-FML006 codes
- Add get_violation_message() helper function for template-based messages
- Update validate_skill_name() to return FML codes instead of string codes
- Update lint_directory() to use new FML codes throughout
- Update tests to check for FML codes instead of old string codes
- Update SPEC.md to reference new FML codes
- Fix inline imports in test file (move all imports to top level)
- Remove redundant 'code' field from VIOLATION_CODES entries
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- Add src/mdoctor/fmlint.py module with FrontmatterLinter class
- Validate required 'name' and 'version' fields in md file frontmatter
- Support configurable required fields via fiona-settings.json
- AI-friendly violation reporting with file paths and line numbers
- Respect .gitignore and read-only zones (personal/, raw/)
- CLI integration: fiona-assistant fmlint chklint [directory]
- Integrated into run_sanity.py as frontmatter_lint check
- Add comprehensive test suite (24 tests, 87% coverage)
- Update SPEC.md with section 2.1.3
- Update todo.md with completed tasks
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>