7 Commits

Author SHA1 Message Date
sylvain 0fe1ece68d Support agents distants (SSH) pour !agentUPDATE/UPGRADE
- agent_update.py : _run_ssh() via sshpass, dispatche local ou SSH selon ssh_host
- agent1.py : _get_agent_git_info() transmet ssh_host/ssh_user depuis le registre
- agents_registry.json : agent2_test → ssh_host: 192.168.7.13, ssh_user: root

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-08 16:11:43 +00:00
sylvain 3575b391b6 Ajout !agentUPDATE/UPGRADE : mises à jour agents depuis git
- skills/agent_update.py : check_update (git fetch + log) et do_upgrade (git pull + systemctl restart)
- agent1.py : commandes !agentUPDATE <nom>, !agentsUPDATE, !agentUPGRADE <nom>, !agentsUPGRADE
  - _handle_agent_command retourne (handled, reply) pour gérer le self-upgrade agent1
  - !agentUPGRADE agent1 : envoie la réponse XMPP avant systemctl restart
  - !agentsUPGRADE : met à jour tous les agents puis agent1 en dernier
- agents_registry.json : ajout install_path, service_name, git_branch + entrée agent1
- README.md : documentation des nouvelles commandes
- TODO.md : tâches marquées comme terminées

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-08 15:55:31 +00:00
sylvain a95cb0127a 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>
2026-03-08 15:28:24 +00:00
sylvain dbda0787a2 on_mqtt_register : mise à jour automatique du registre + distinction NOUVEAU/EN LIGNE
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-07 17:08:22 +00:00
sylvain ec0b4a7214 Ajouter agent2_deploy au registre + README agent1
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-07 16:45:31 +00:00
sylvain 8bd69a4b2e Ajouter agent2_ansible au registre + config ansible agent1
- agents_registry.json : ajout de agent2_ansible avec sa spécialité
- ansible/ : configuration de base (ansible.cfg + inventaire template)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-07 16:21:05 +00:00
sylvain 3dfd621582 Orchestration : skill DELEGATE + registre agents + system prompt chef d'orchestre 2026-03-07 12:32:16 +00:00