-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Summary
Implement KG schema linter based on design from closed PR #294.
Design Plan
See .docs/plans/kg-schema-linter-design.md for full design document.
Key Features
- Validate KG markdown files against schema rules
- Report lint issues with severity, code, and message
- JSON output for CI/CD integration
- Skill integration for agentic loop validation
New Crate Structure
crates/terraphim_kg_linter/
├── Cargo.toml
├── src/lib.rs # Core linting logic
├── src/main.rs # CLI binary
└── tests/basic.rs # Integration tests
CLI Usage
cargo run -p terraphim_kg_linter -- --path docs/src/kg --strictImplementation Timeline
| Phase | Duration | Deliverable |
|---|---|---|
| Crate structure, types | 1 day | Basic structure |
| Linter implementation | 2 days | Core logic, CLI |
| Workspace, skill, CI | 1 day | Integration |
Origin
Extracted from closed PR #294 (85 files, conflicting). Fresh implementation approach.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request