adrai-org / adrai-org/adr-ai-tools-py

[FEATURE] Enhanced doctor command validation

未关闭
#36 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
Python
星标
4
派生
1
PR 合并指标
30 天内没有已合并 PR

描述

## ✨ Feature Request Template

### **Feature Description**
Enhance the `doctor` command with deeper validation checks beyond basic configuration syntax.

### **Use Case**
As new features are added (LLM integration, external services), users need a comprehensive health check to verify all components are working properly.

### **Proposed Solution**
Add validation rules with severity levels:
- **ERROR**: Blocking issues that prevent functionality
- **WARNING**: Missing optional features or recommended settings
- **INFO**: Status information

Example output:
```
✅ Configuration: PASS
⚠️ LLM API: WARNING (no API key configured)
✅ Permissions: PASS
```

Rules handle missing validation logic gracefully (show WARNING instead of failing).

### **Alternatives Considered**
- Keep basic validation only: Limited future utility
- Separate commands: Fragments user experience

### **Acceptance Criteria**
- [ ] Support ERROR/WARNING/INFO severity levels with clear indicators
- [ ] Add framework for future LLM/API validation rules
- [ ] Graceful handling when validation logic is unavailable
- [ ] Fast execution for basic checks
- [ ] Comprehensive test coverage

### **Additional Context**
Sets foundation for validating future LLM and external service integrations. Current configuration validation becomes part of this expanded framework.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。