docs(adr): telegram-gateway auth (Phase 1.5) #7
Reference in New Issue
Block a user
Delete Branch "docs/telegram-gateway-auth-adr"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Résumé
Ajoute l'ADR
20260509-telegram-gateway-auth.mdqui documente la couche d'authentification dutelegram-gateway(Phase 1.5).Décisions clés
@arcodange_factory_bot(handler=auth) —/start,/auth <code>,/whoami,/logoutfrom.idTelegram (pas par IP — Telegram n'expose pas l'IP côté bot), TTL 24 h configurableALLOWED_USERS— silent drop avant la gate authrequireAuthsecure-by-default (true) — opt-out explicite par bothandler: authforcerequireAuth: false(chicken-and-egg)/auth <code>supprimé du chat après loginAUTH_SECRETest unset alors qu'un bot arequireAuth: trueouhandler=authCross-links
L'ADR référence en tête :
arcodange/telegram-gateway(auth.go, handler_auth.go, allowlist.go, server.go, chart/values.yaml)3 diagrammes mermaid (sequence /auth, sequence bot gated, graph TD décision globale) avec
classDefà contraste explicite.Rollout
Code et docs (arcodange/telegram-gateway commit 07115e3) déjà mergés sur
main. Cette PR ne fait qu'ajouter l'ADR documentaire — pas de changement runtime côté factory.Test plan
20260407-network-architecture.mdrésoud