quantum-ai-v2/agents/migrations/0002_agent_is_locked.py
Claude 2d670d7b8e 🏠 Create restoration point system with agent freeze
- Add is_locked field to Agent model with migration
- Create stable-working-agents branch and v1.0-working tag
- Export working agents and user data to backups/
- Implement freeze_agents command to lock/unlock agents
- Create restore_working_state command for one-click restoration
- Lock current 3 working agents (Social Ads, Job Posting, PDF Summarizer)
- Add lock status to admin interface

Safe house established! All working agents are now protected.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-01 09:19:23 +05:30

21 lines
456 B
Python

# Generated by Django 5.2.4 on 2025-08-01 03:47
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("agents", "0001_initial"),
]
operations = [
migrations.AddField(
model_name="agent",
name="is_locked",
field=models.BooleanField(
default=False, help_text="Lock agent to prevent modifications"
),
),
]