Reaching it
Whoever can open an instance's administrative socket may do everything the surface offers, and a caller that cannot open it receives nothing. There is no policy about operators and no read-only role: the boundary is the socket's file mode, and the host enforces it. Who the caller is is still established, from the account the operating system reports behind the connection, and it is written on every change the caller makes, so the record says who acted. This page gives the boundary in each form, how the actor is established and where it lands, what a connection is, and how a dead one is closed.
Reaching the socket is the whole of the authorisation
- There is no policy about operators. Nothing in the Registry says what an administrative caller may do, and nothing inside the Core consults who is calling before performing an operation.
- A caller that reached the socket holds all of that surface's authority. There is no read-only operator, and no operation that requires more than the connection did.
- A caller that cannot reach it receives nothing. The refusal is the kernel's, and there is no surface to carry it.
| Form | The boundary | What may be separated |
|---|---|---|
| service | the instance root at 2750 and each socket at 0660, owned by the deployment's group | the two sockets may be given different groups, so the shell projection can be narrower than the operator one |
| application | the instance root at 0700 under the launching account | nothing: both belong to one account |
Where the projections are separated, they are separated by file modes, never by a check inside the Core.
The actor
Every administrative change produces a durable record, and the record names who acted. That name is taken from the channel, never from the request.
| Step | What happens |
|---|---|
| 1 | the peer credential of the accepted connection is read from the socket: the account, the primary group, the process |
| 2 | the account is resolved to a name through the host's account database |
| 3 | the result is the actor for everything this caller does |
- Established once per connection on the shell projection, and once per call on the operator projection.
- An account with no name is recorded as a number, never refused. The numeric identifier is recorded, marked as unresolved.
- No request carries an actor field, at any level of the contract.
- Where the socket admits exactly one account, nothing further is asked: the host authenticated that person at login.
Where the actor lands
| Written to | As | By |
|---|---|---|
an event's actor | the class operator, carrying the person's identity | every operation that emits an event |
| the Registry's decision record | its actor | enable, disable, grant, withdraw |
| a log entry's actor | its actor | every operation that changes anything, and a connection's opening and closing |
An operation that changes nothing writes nothing: a read, a query of the log and a subscription leave no durable trace.
A connection
A connection is a person or a tool attached to this surface. It is not a Session, which is what a Plugin unit holds with the Core.
| It carries | |
|---|---|
| an identity | assigned by the Core when it opened, unique within this life of the instance, never reused |
| a projection | the one it arrived on |
| an actor | as established above |
| an opening instant | the Core's clock when it was accepted |
| the subscriptions it holds | the standing one, and any the caller took |
What makes it a subject is something held open on it:
| A subject | For how long | |
|---|---|---|
| a shell connection | yes | while the person is there |
| an operator call whose answer is a stream | yes | while the stream lasts |
| an operator call that asks and is answered | no | nothing accumulates on it |
- Its identity is issued when the connection opens, or when the streaming call is accepted.
connection.openedandconnection.closedare ordinary events, and who is on this instance, and since when is answered by a read.- A call that ends is a connection that closes, with a reason:
cancelledwhen the caller ended it,droppedwhen the transport went, andcompletedwhen the Core ended a stream it was answering.
Liveness
The Core probes a connection's transport every 10 s and closes it after 3 probes go unanswered. A client that went away without closing is closed that way; no operation exists for the case.
Ending somebody else's connection
Reading who is connected is an operation. Ending a connection is not, and a request to end one is
refused operation.unknown: reaching the surface is the whole of the authorisation, so the other
caller would reconnect holding exactly what it held.