check_spec_compliance
Validates code compliance against specifications by auto-detecting spec and implementation files, supporting multiple artifact types, and generating comprehensive compliance reports.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Artifact type to check (defaults to api for backward compatibility) | |
| identifier | No | Artifact identifier (e.g., /api/users, AddToCartButton, users_table) | |
| specPath | No | Path to spec file (auto-detected if not provided) | |
| implementationPath | No | Path to implementation (auto-detected if not provided) | |
| endpoint | No | Specific endpoint to check (for API compatibility) | |
| method | No | HTTP method to check (for API compatibility) | |
| projectPath | No | Project directory to scan | |
| watchMode | No | Enable continuous monitoring | |
| generateReport | No | Generate comprehensive compliance report |