DebugServ: stream live services activity to the log channel

A pseudo-client that joins the staff log channel and reports what the services
layer is doing in real time: authentication (IDENTIFY and every SASL mechanism,
success and failure, with nick/host/account/reason), sessions (forced logout),
and the account/channel/operator lifecycle — the committed-event audit now
speaks through it, falling back to a server notice when it is off.

The reporting lives in the engine (feed()/who() helpers plus hooks at
complete_authenticate / sasl_login / sasl_deny); the module itself is just the
bot's identity and a STATUS/HELP surface. On by default; the feed is gated on
the configured [log] channel.
This commit is contained in:
Jean Chevronnet 2026-07-16 22:27:35 +00:00
parent 7e838cee49
commit bad17a184e
No known key found for this signature in database
9 changed files with 228 additions and 17 deletions

View file

@ -18,6 +18,7 @@ members = [
"modules/groupserv",
"modules/chanfix",
"modules/helpserv",
"modules/debugserv",
]
[package]
@ -44,6 +45,7 @@ echo-reportserv = { path = "modules/reportserv" }
echo-groupserv = { path = "modules/groupserv" }
echo-chanfix = { path = "modules/chanfix" }
echo-helpserv = { path = "modules/helpserv" }
echo-debugserv = { path = "modules/debugserv" }
tokio = { version = "1", features = ["net", "io-util", "rt-multi-thread", "macros", "time", "sync", "process", "signal"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"