contracts: sequencing, recovery, concurrency, shared constants, checkpoints
Written after an external review of the plan found cross-module behaviour under-specified. TODO, topo, loop and the session-matrix brief now reference docs/contracts.md. Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
1 parent
e588f1f71c
commit
08b243a29a
6 files changed
+179
-32
No files matched your search
@@ -44,6 +44,11 @@ the Windows source again.
|
||||
`Session`. The sequencer's start value comes from the persisted
|
||||
`PackageID` setting and the app stores it back; this lane exposes
|
||||
`current` for that.
|
||||
- **Sequence once, distribute unchanged (contracts C1).** Application
|
||||
packets are stamped by the app and handed to each target session via
|
||||
`forward(_:)`; `Session` stamps only the packets it originates
|
||||
(handshake, heartbeats, `Hi`, `ByeBye`). There is no public API to
|
||||
send an unstamped application packet on one connection.
|
||||
- **Each `Session` beats for its own connection.** Windows broadcasts one
|
||||
heartbeat from a global timer to every socket, so a peer pair's two
|
||||
connections carry the *same* `Id` and the receiver's replay ring
|
||||
|
||||
Reference in new issue
Block a user