- Protocol 5: a client authenticates as a node (Node), its pushes go to the
section's DefaultTopic unless they name one; old Identities refused at
start with what to write instead.
- Topics listed by name, ids picked and kept by the server; nodes come from
client sections, [BakaShrot.Nodes] optional, AcceptNodes = * by default.
- Protocol 6: every refusal carries a code, every client failure too
(BakaShrot_ErrorCodes.pbi, BakaShrot_GetLastError(), ErrorCode in Python);
nothing reconnects by itself, delivery is at least once.
- [BakaShrot.Server] Synchronous = FULL (default) or NORMAL, benchmarked.
- Schema v8: browse table and browse_messages view for database tools.
- Tools renamed BakaShrot<Name>, wait for Enter when started from Explorer.
- Examples/SingleServer: a server and a client with scripts (example keys,
public on purpose).
- Restart-Test.ps1: servers killed mid-traffic and mid-catch-up.
- Docs: one server per node rule, DatabaseError() checked per thread,
release notes' Compatibility section, Notes "Right now".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RwFeVQrLqMQPw9AZnsHqQH
- Every message is stamped with the time its push arrived (UTC ms since
1970, the server's clock), carried as is by replication. Exposed in
LatestMessage and Messages, BakaShrot_GetMessagePushedAt() in the DLL,
Message.pushed_at / .pushed in Python, GetMessages --time,
GetLatestMessage, and the messages view (pushed_at, pushed_utc).
- [BakaShrot.Retention] in each server's config: a max age per topic, by
name, id, pattern or *, ages like 30d or 1d12h. A background pass
(Server/Storage/Retention.pbi, every RetentionInterval seconds) deletes
what's older, in batches through the writer. node_heads is left as is,
so ids never go back and peers don't resend what was deleted.
- Replicated messages already past the receiver's max age are skipped on
arrival, their head still raised so they aren't sent again.
- Schema v6: data.pushed_at (older databases stamped at upgrade time),
a (topic_id, pushed_at) index, the unused archives table dropped. The
writer takes the next id from node_heads.
- Folded into protocol 3, not released yet.
- Tests/Retention-Test.ps1 (52 checks), Python checks for pushed_at.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RwFeVPXGLs3KK1MAQn3ouP