Skip to main content

Module endpoints

Module endpoints 

Source
Expand description

The intelligence endpoint list and per-endpoint credentials. RFC 0018 §3.1/§3.2.

--intelligence / AGENTD_INTELLIGENCE is an ordered, comma-separated list (https://gw-a.example,https://gw-b.example); list order IS failover priority (eps[0] is the primary). Each element is parsed by the HTTPS-only transport resolver (target-vision pivot; plaintext http:// is loopback-only for dev/tests) and resolves its own credential by env name (§3.2). A single-element list is exactly RFC 0006 — the failover/breaker machinery is inert with one endpoint.

Per-endpoint credential naming (RFC 0014 §6.4 / §3.2): the default AGENTD_INTELLIGENCE_TOKEN (≡ endpoint 1), then _2, _3, … (1-indexed by list position). Each has a …_FILE variant read through crate::sec::secret (the secret-file reader landed in 0017-A). The list URI carries no key; the resolved value is never logged/serialized (the Secret-no-Serialize property holds — we hold it as an opaque String only in the dialer, never in a config/manifest).

Structs§

Endpoint
A single resolved endpoint: its transport + the per-request HTTP framing + its resolved credential + live health/breaker state.
EndpointList
The ordered endpoint list with the sticky-primary active cursor (§3.3).