Enable authenticated primitive life sessions
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 1m59s
Foundation / checks (postgres) (push) Canceled after 0s
Foundation / checks (tsan) (push) Canceled after 0s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (checks) (push) Canceled after 6m2s
Foundation / checks (network) (push) Canceled after 3m53s
Foundation / checks (client) (push) Canceled after 6m8s
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 1m59s
Foundation / checks (postgres) (push) Canceled after 0s
Foundation / checks (tsan) (push) Canceled after 0s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (checks) (push) Canceled after 6m2s
Foundation / checks (network) (push) Canceled after 3m53s
Foundation / checks (client) (push) Canceled after 6m8s
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
# M11 primitive-life session protocol, version 5
|
||||
|
||||
Version 5 adds the reliable new-life request family to the v4 session protocol. All
|
||||
messages 1–17 retain their v4 layout. Version 4 remains the default for existing clients;
|
||||
per-connection server negotiation is not part of this codec-only gate. A v4 peer rejects
|
||||
types 18–21. Integers are
|
||||
messages 1–17 retain their v4 layout. Version 4 remains the default for existing regions;
|
||||
primitive-profile servers require v5, while other region servers continue to refuse it.
|
||||
The server binds life requests to the authenticated account-control generation and requires
|
||||
durable account control before accepting v5. A v4 peer rejects types 18–21. Integers are
|
||||
little-endian, the 8-byte `EVSN` header has zero flags, and each message has the exact size
|
||||
below. This schema describes the wire codec only; server admission and durable execution
|
||||
are separate implementation gates.
|
||||
@@ -15,6 +16,12 @@ are separate implementation gates.
|
||||
| 20 PrimitiveLifeOutcome | server → client, reliable stream | request_id u64, result u8, life_identity u64, commit_sequence u64 | 25 |
|
||||
| 21 PrimitiveLifeQuery | client → server, reliable stream | request_id u64 | 8 |
|
||||
|
||||
The server sends `Welcome` in the same protocol version as `Hello`. Every later stream
|
||||
message must use that negotiated version. Primitive-life messages are reliable-stream only;
|
||||
datagrams retain the v4 rules. A request is admitted only when session id and epoch match,
|
||||
the region is ready and durable control is held; the receipt precedes the durable outcome.
|
||||
Queries are read-only and use the same authenticated account and control generation.
|
||||
|
||||
Result values: 1 born (identity and commit sequence must both be nonzero), 2 insufficient
|
||||
funding, 3 no placement, 4 existing life, 5 cancelled, 6 pending (query only), 7 unknown
|
||||
(query only). Non-born results carry zero identity and commit sequence. A region-control
|
||||
|
||||
Reference in New Issue
Block a user