Go to file
Claude 33dcdc23ba 🏗️ Phase 1: Complete architecture simplification - pure file-based agent system
MAJOR ARCHITECTURAL CHANGES:
- Remove Agent/AgentCategory database models entirely
- Update AgentExecution/ChatSession to use agent_slug instead of foreign keys
- Eliminate hybrid complexity and AgentCompat workaround classes
- Enhanced AgentFileService with production-ready caching

CORE IMPROVEMENTS:
- Pure file-based architecture eliminates database sync complexity
- Enhanced caching: 5min in dev, 1hr in production, graceful fallback
- Fixed validation logic for 0.0 price fields
- Added database indexes for optimal query performance
- Updated admin interface to work with new slug-based fields

TECHNICAL BENEFITS:
- Simplified agent execution without database record creation
- Eliminated get_or_create_agent_db_record() complexity
- Streamlined imports across core and agents apps
- Better error handling and cache availability detection

FILE CHANGES:
- agents/models.py: Removed Agent/AgentCategory models, updated execution models
- agents/services.py: Enhanced caching, improved validation, removed DB sync
- agents/views.py: Updated execute_agent to use direct agent_data
- agents/admin.py: Updated for slug-based fields
- core/views.py: Updated to use AgentFileService instead of Agent model

All 8 agents remain fully operational with significantly reduced codebase complexity.
Migration applied successfully with proper defaults for existing data.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-14 09:55:45 +05:30
.claude/agents 🤖 Add specialized subagents and auto-documentation system 2025-07-27 17:47:37 +05:30
.github 🔒 Implement comprehensive deployment control system 2025-07-27 17:53:30 +05:30
agents 🏗️ Phase 1: Complete architecture simplification - pure file-based agent system 2025-08-14 09:55:45 +05:30
authentication Streamline user experience with cleaner UI and improved authentication flow 2025-08-05 09:22:13 +05:30
core 🏗️ Phase 1: Complete architecture simplification - pure file-based agent system 2025-08-14 09:55:45 +05:30
docs 📋 Add Agent Request Template for streamlined agent creation 2025-08-07 09:08:41 +05:30
netcop_hub 🔐 Add email verification bypass for testing environments 2025-08-02 13:04:16 +05:30
scripts 🔒 Implement comprehensive deployment control system 2025-07-27 17:53:30 +05:30
static 🧹 Major codebase cleanup - remove obsolete files and reduce project bloat 2025-08-14 09:42:56 +05:30
templates Add SWOT Analysis Expert + streamline agent creation process 2025-08-07 08:49:53 +05:30
tests 🧹 Major codebase cleanup - remove obsolete files and reduce project bloat 2025-08-14 09:42:56 +05:30
wallet 🔧 Fix payment message persistence and add expired session popup 2025-08-03 20:57:27 +05:30
.env.example 🔐 Add email verification bypass for testing environments 2025-08-02 13:04:16 +05:30
.env.production.template Fix Railway health check with improved timeout and retry logic 2025-07-26 10:29:50 +05:30
.gitignore 🤖 Implement comprehensive N8N workflow management system 2025-07-26 09:31:20 +05:30
.railway.env.example 🔒 Implement comprehensive deployment control system 2025-07-27 17:53:30 +05:30
CLAUDE.md 🧹 Clean up obsolete code after file-based agent system migration 2025-08-14 09:36:10 +05:30
manage.py Initial Django project setup with working homepage 2025-07-08 16:30:56 +05:30
railway.json 🚨 EMERGENCY: Remove destructive database flush from Railway 2025-08-04 16:10:55 +05:30
railway.staging.json 🔒 Implement comprehensive deployment control system 2025-07-27 17:53:30 +05:30
requirements-dev.txt Implement comprehensive Django performance optimizations 2025-07-13 13:23:59 +05:30
requirements.txt 📦 Add reportlab dependency for PDF export functionality 2025-08-03 14:30:17 +05:30
run_dev.sh Fix Railway static files serving with WhiteNoise 2025-07-12 10:38:44 +05:30