feat: Matrix ChatOps bot (Task 5)

- Matrix bot via matrix-sdk: connect, join room, sync loop
- /fleet status: list all agents with status table
- /assign <agent> <issue>: manual task assignment
- /retry <issue>: re-queue failed/agent_lost task
- Notification formatting: task assigned/completed/failed, agent offline
- Per-agent thread support via Matrix Relation::Thread
- 15 tests: command parsing, notification formatting, fleet status table
This commit is contained in:
Zer4tul 2026-05-12 01:12:59 +08:00
parent 1dacd17231
commit 6efca09018
5 changed files with 550 additions and 0 deletions

View file

@ -27,6 +27,7 @@ reqwest = { version = "0.12", features = ["json"] }
# Matrix SDK
matrix-sdk = "0.10"
ruma = { version = "0.12", features = ["client-api-c", "rand", "unstable-msc3061", "unstable-msc2448"] }
# Logging
tracing = "0.1"