doc/AI-DOCUMENTATION-FRAMEWORK.md
ProxySQL uses AI-generated documentation to accelerate developer onboarding and codebase exploration while maintaining transparency about accuracy limitations.
Every AI-generated document must include:
> **ā ļø Important Notice**: This documentation was generated by AI and may contain inaccuracies.
> It should be used as a starting point for exploration only. Always verify critical information
> against the actual source code.
>
> **Last AI Update**: [DATE]
> **Status**: NON-VERIFIED
> **Maintainer**: [ASSIGNED]
doc/
āāā ai-generated/ # AI-generated exploration guides
ā āāā architecture/ # Architecture documentation
ā āāā DOCUMENTATION-INDEX.md
āāā internal/ # Human-verified technical docs
āāā release_notes/ # Official release notes
āāā README.md # This guide
Where possible, include validation commands:
**Validation Command**:
```bash
grep -n "class MySQL_Handler" src/protocol/mysql/protocol_mysql.cpp
## Contributing
### Improving AI Documentation
1. Identify inaccuracies
2. Submit corrections via PR
3. Add validation commands
4. Update disclaimer date
### Adding New AI Documentation
1. Follow the template format
2. Include required disclaimer
3. Place in appropriate `ai-generated/` subdirectory
4. Update main documentation index
## Benefits
- **Faster Onboarding**: Developers get immediate guidance
- **Reduced Burden**: Critical verification focused on essential docs
- **Transparency**: Clear status indicators for all documentation
- **Community-Driven**: Easy contribution process for improvements
## Limitations
- AI documentation may contain technical inaccuracies
- Not suitable for critical operational procedures
- Requires human verification for security-sensitive information
- May become outdated between major updates
---
This framework balances the productivity benefits of AI-generated documentation with the accuracy requirements of a critical database proxy system.