OptionalauthOptionalbearerUSER-MODE connect material (mode "user" only): the Cotal user bearer + the deny-all
sentinel creds, exactly what EndpointOptions.bearer/sentinelCreds consume. Mutually
exclusive with creds — spread endpointAuth instead of reading either directly.
OptionalcredsOptionalepThe connection's v0.4 caller triple (SPEC §13.2), present when this connection can ride the
ep rails: a minted operator INSTRUMENT (control-caller-* / deployer, static trust
material - the mint pins a fresh lifecycle uid) or a USER-mode bearer (the callout mints the
cli actor's rows keyed on the bearer's ledger lifecycle claim). The caller needs the same
triple to build its request subjects (askManager's ep path). Absent exactly for open meshes
and raw off-registry creds (still ctl until 1d).
OptionalmodeThe registered mesh contract (auth / open / user). Present on a registry-resolved
connection and absent on a raw off-registry connect (--creds, or --server plus an
unregistered --space). Callers that branch on open vs static MUST read this, not the
absence of auth: an authenticated registry entry with a missing seed is still auth.
OptionalpolicyOptionalrootThe resolved mesh's recorded checkout root, for a REGISTERED mesh — undefined for a raw
off-registry connection (--creds, or --server+unregistered --space). spawn -f/down -f
use it to enforce the same-checkout invariant: local launch artifacts + the ledger live under
this checkout, so deploying onto a mesh recorded by another checkout would decouple them.
OptionalsentinelOptionalsourceHow the target was resolved (registry / current / flag-space / …) — undefined for raw.
Whether this connection must REQUIRE TLS, rather than merely tolerate it.
NON-OPTIONAL on purpose, and it is the same reasoning as the broker's transport union. An
optional flag is omitted by default, and the default here is the dangerous one: a client with
no TLS requirement connects happily to a plaintext broker and sends its credentials in the
clear, including to an on-path attacker who forged the unauthenticated INFO. Every site that
builds a Connection must therefore SAY which it is, and the compiler asks.
Derive it from the resolved mesh record (MeshEntry.tlsRequired) or an explicit cotals://
link — never re-decide it per call site. Five places each deciding "is this mesh TLS" is four
chances to get it right and one to be silently wrong.
OptionaluserThe user-auth registry metadata, when this is a user-mode connection.
The mesh's trust material when resolved from the registry on an auth mesh — undefined for an open mesh or a raw off-registry connection (
--credsor--server+unregistered--space). (web keeps it for its per-delete manager mint.)