Add AI framework refactoring plan and orphan code audit
- Add REFACTORING-PLAN.md: Plan to remove MODEL_CONFIG and Django settings fallbacks - Add ORPHAN-CODE-AUDIT.md: Audit of unused code and exports - Update CHANGELOG.md: Document API Standard v1.0 completion - Update documentation files
This commit is contained in:
27
CHANGELOG.md
27
CHANGELOG.md
@@ -31,18 +31,38 @@ Each entry follows this format:
|
||||
- API Monitor page for endpoint health monitoring
|
||||
- CRUD operations monitoring for Planner and Writer modules
|
||||
- Sidebar API status indicator for aws-admin accounts
|
||||
- **Health Check Endpoint**: `GET /api/v1/system/ping/` - Public health check endpoint per API Standard v1.0 requirement
|
||||
- Returns unified format: `{success: true, data: {status: 'ok'}}`
|
||||
- Tagged as 'System' in Swagger/ReDoc documentation
|
||||
- Public endpoint (AllowAny permission)
|
||||
|
||||
### Changed
|
||||
- All API endpoints now return unified response format (`{success, data, message, errors}`)
|
||||
- Frontend `fetchAPI` wrapper automatically extracts data from unified format
|
||||
- All error responses follow unified format with `request_id` tracking
|
||||
- Rate limiting configured with scoped throttles per module
|
||||
- **Integration Views**: All integration endpoints now use unified response format
|
||||
- Replaced 40+ raw `Response()` calls with `success_response()`/`error_response()` helpers
|
||||
- All responses include `request_id` for tracking
|
||||
- Updated frontend components to handle extracted data format
|
||||
- **API Documentation**: Updated Swagger/ReDoc description to include all public endpoints
|
||||
- Added `/api/v1/system/ping/` to public endpoints list
|
||||
- Updated schema extensions to properly tag ping endpoint
|
||||
|
||||
### Fixed
|
||||
- Keyword edit form now correctly populates existing values
|
||||
- Auto-cluster function now works correctly with unified API format
|
||||
- ResourceDebugOverlay now correctly extracts data from unified API responses
|
||||
- All frontend pages now correctly handle unified API response format
|
||||
- **Integration Views**: Fixed all integration endpoints not using unified response format
|
||||
- `_test_openai()` and `_test_runware()` methods now use unified format
|
||||
- `generate_image()`, `create()`, `save_settings()` methods now use unified format
|
||||
- `get_image_generation_settings()` and `task_progress()` methods now use unified format
|
||||
- All error responses now include `request_id` and follow unified format
|
||||
- **Frontend Components**: Updated to work with unified format
|
||||
- `ValidationCard.tsx` - Removed dual-format handling, now works with extracted data
|
||||
- `Integration.tsx` - Simplified to work with unified format
|
||||
- `ImageGenerationCard.tsx` - Updated to work with extracted data format
|
||||
|
||||
---
|
||||
|
||||
@@ -82,6 +102,13 @@ Each entry follows this format:
|
||||
### Documentation
|
||||
- Updated implementation plan to reflect completion of all remaining API Standard v1.0 items
|
||||
- All 8 remaining items from audit completed (100% compliance achieved)
|
||||
- **API Standard v1.0**: Full compliance achieved
|
||||
- All 10 audit tasks completed and verified
|
||||
- All custom @action methods use unified response format
|
||||
- All ViewSets use proper base classes, pagination, throttles, and permissions
|
||||
- All error responses include `request_id` tracking
|
||||
- No raw `Response()` calls remaining (except file downloads)
|
||||
- All endpoints documented in Swagger/ReDoc with proper tags
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user