Skip to main content

Module runtime_exchange

Module runtime_exchange 

Source
Expand description

Strict payloads for the optional local Intelligence peer, not a second Engine. Transport authenticates exact bytes before decoding and owns replay state. Only explicitly policy-approved projections belong here; never log payloads.

Structs§

RuntimeExchangeProfile
The size ceilings of one exchange: input and output content, and the encoded request and response that carry them.
RuntimeRequestV1
One admitted invocation plus its exact bounded input projection. No Debug implementation: the projection may contain private user content.
RuntimeResponseV1
Peer result bound to the whole request; receipts remain host-owned.

Constants§

ARTIFACT_READER_METADATA_BYTES
Allowance for the typed fields around those parts.
MAX_ARTIFACT_AUTHOR_CONTENT_BYTES
Largest content one shared artifact carries, before it is put into a body.
MAX_ARTIFACT_AUTHOR_INPUT_BYTES
Largest input of the authoring step: the content in base64 at the widest serialization, the source state it was derived from and the fields around them (ee/intelligence/src/artifact_author.rs).
MAX_ARTIFACT_AUTHOR_OUTPUT_BYTES
Largest answer of the authoring step: the body envelope and the manifest in base64 with the fields around them.
MAX_ARTIFACT_READER_AUTHORIZATION_BYTES
MAX_ARTIFACT_READER_BODY_BYTES
MAX_ARTIFACT_READER_INPUT_BYTES
Largest input of one reader step: the three byte parts in base64 at the widest serialization, the local state and the fields around them. These are the adapter’s own widths (ee/intelligence/src/artifact_reader.rs), which a build-time equality there holds to this profile.
MAX_ARTIFACT_READER_LOCAL_BYTES
The reader’s captured checkout state as typed JSON: per file its escaped path, its digest and the field names and punctuation around them.
MAX_ARTIFACT_READER_MANIFEST_BYTES
The parts of one shared-artifact reader exchange, as decoded bytes. The first three are the bounds of the artifact wire contract (manifest, body envelope, room around an authorization); a part larger than its bound is refused by both sides, never shortened.
MAX_ARTIFACT_READER_OUTPUT_BYTES
Largest answer of one reader step: a decision or the list of source paths to capture. An answer never carries artifact content.
MAX_ARTIFACT_READER_SOURCE_FILES
Most source files one artifact may be derived from, and the longest path.
MAX_ARTIFACT_READER_SOURCE_PATH_BYTES
MAX_RUNTIME_DEADLINE_MS
A peer cannot extend an invocation beyond this host-admitted time budget.
MAX_RUNTIME_EXCHANGE_BYTES
Encoded JSON limit; transport must check the length prefix before allocation.
MAX_RUNTIME_LEASE_B64_BYTES
Largest encoded runtime lease a request may carry.
RUNTIME_EXCHANGE_VERSION
Independent successor to the legacy, one-way runtime notification.