Batch 1 : configs plages horaires + blackout + check disponibilité dans delegate
- config/blackout_hours.json : plage maintenance nuit (02:00-05:00) - config/reports_schedule.json : horaires sollicitation rapports par agent - config/tasks_schedule.json : tâches planifiées (vide pour l'instant) - agents_registry.json : ajout work_hours par agent - delegate.py : vérification blackout + work_hours avant délégation Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"agents": {
|
||||
"agent2_debian13": {
|
||||
"report_time": "22:00",
|
||||
"enabled": true
|
||||
},
|
||||
"agent2_ansible": {
|
||||
"report_time": "22:05",
|
||||
"enabled": true
|
||||
},
|
||||
"agent2_deploy": {
|
||||
"report_time": "22:10",
|
||||
"enabled": true
|
||||
}
|
||||
},
|
||||
"daily_report_time": "22:30",
|
||||
"daily_report_enabled": true
|
||||
}
|
||||
Reference in New Issue
Block a user