Stage 1: SRV — IRC server #1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
proj-rechat-srv tier-3-hard
Build the hand-rolled IRC server (
rechat-serverbinary). This is the foundation — standard IRC clients must be able to connect, so we can test messaging and auth before the official client exists.Scope
&auth— per-user isolated auth interaction, never broadcast, ephemeral (no history)&index— generated per-user channel/server directory from permissions#a1b2c3d4-general):srv PRIVMSG #ch :<uuidv7> <user+uid+nick> messagesrvpseudo-user for server-originated messages/msg srv profile <uid>Message chunking
IRC lines cap at 512 bytes. After the UUIDv7+UID+nick prefix is applied, if the remaining body doesn't fit:
Auth (stage 1 subset)
&authchannel login flowValidation
Implemented and pushed in
fc485ae.Verified live:
:srv PRIVMSG #ch :<uuidv7> <uid> <nick> body&authLOGIN flow works, JWT issued on success&indexreturns channel directory[1/2]/[2/2]suffixes, stored as 1 messageBuild/vet/test clean, CGO_ENABLED=0 clean (~10MB static binary).