P1-14: rename migrations/014_code_fix_playbook.sql → 020_code_fix_playbook.sql to resolve duplicate 014 numbering with 014_telegram_users.sql P1-22: git rm telegram_ai_integration.py (root orphan) + remove its volume mount from docker-compose.yml telegram-bot service; services/ copy remains P1-23: add healthcheck to momo-scheduler and momo-telegram-bot containers; change VERSION:-latest to VERSION:-stable to prevent unvetted Watchtower pushes Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
13 lines
612 B
SQL
13 lines
612 B
SQL
-- ADR-014: Aider Code Fix Playbook
|
|
INSERT INTO playbooks (name, error_type, match_pattern, description, action_type, action_params, is_active)
|
|
VALUES (
|
|
'Auto-fix Python Runtime exceptions using Aider (ADR-014)',
|
|
'python_exception',
|
|
'["Traceback (most recent call last)", "NameError", "AttributeError", "TypeError", "KeyError", "ValueError", "ImportError"]',
|
|
'When Elephant Alpha detects python_exception with tracebacks in logs, trigger CODE_FIX',
|
|
'CODE_FIX',
|
|
'{"max_diff_lines": 50, "require_health_check": true, "auto_revert_on_fail": true}'::jsonb,
|
|
true
|
|
)
|
|
ON CONFLICT DO NOTHING;
|