botserv: bot registry + BOT ADD/DEL/LIST (first slice)

Adds BotServ as a new module crate (fedserv-botserv) and a persisted bot
registry: a typed Bot{nick,user,host,gecos} threaded through the event log
(new bots map folded in apply, snapshotted, Local scope). BOT ADD/DEL/LIST
gated on the typed Priv::Admin. BotServ is a default service (uid suffix
AAAAAD). Next slices: introduce bots on the network, ASSIGN to channels, and
in-channel fantasy commands. Data + oper-gated engine tests.
This commit is contained in:
Jean Chevronnet 2026-07-13 04:33:27 +00:00
parent cb081a2e95
commit 651cb683de
No known key found for this signature in database
10 changed files with 244 additions and 12 deletions

8
Cargo.lock generated
View file

@ -285,6 +285,7 @@ dependencies = [
"argon2",
"base64",
"fedserv-api",
"fedserv-botserv",
"fedserv-chanserv",
"fedserv-example",
"fedserv-inspircd",
@ -311,6 +312,13 @@ dependencies = [
name = "fedserv-api"
version = "0.0.1"
[[package]]
name = "fedserv-botserv"
version = "0.0.1"
dependencies = [
"fedserv-api",
]
[[package]]
name = "fedserv-chanserv"
version = "0.0.1"