CliSubprocessCore.RuntimeGateway.RuntimeClient (CliSubprocessCore v0.5.0)

Copy Markdown View Source

Runtime-admitted implementation of the CLI process-family gateway.

A trusted composition injects an ExecutionPlane.Runtime.Client and binds one secret-free CLI start request to one exact governed admission template. The binding is caller-owned, one-shot, and consumed before admission. The provider invocation is built exactly once; this gateway derives the process-family request from that invocation and owns its teardown.

Runtime Client events are translated into CliSubprocessCore.Event values. Public sessions and status values contain opaque references only; node addresses, worker identifiers, Runtime Client contracts, and lower process details never cross the CLI gateway API.

This module never falls back to the local gateway. Merely loading it does not advertise an observed runtime composition; callers may advertise the runtime mode only after a successful admitted start has been observed.

Summary

Functions

Returns the digest required in StartRequest.command_digest.

Returns the stable tag used for incremental CLI gateway events.

Returns the placement mode implemented by this gateway.

Returns the stable tag used for terminal CLI gateway status.

Types

bind_error()

Functions

command_digest(authority)

@spec command_digest(CliSubprocessCore.GovernedAuthority.t()) :: String.t()

Returns the digest required in StartRequest.command_digest.

event_message_tag()

@spec event_message_tag() :: :cli_subprocess_core_runtime_gateway_event

Returns the stable tag used for incremental CLI gateway events.

execution_mode()

@spec execution_mode() :: :runtime_client

Returns the placement mode implemented by this gateway.

The value identifies selection intent only. It is not proof that a Runtime Client node has accepted or observed an execution.

handle_call(arg1, arg2, state)

handle_info(arg1, state)

init(atom)

terminal_message_tag()

@spec terminal_message_tag() :: :cli_subprocess_core_runtime_gateway_terminal

Returns the stable tag used for terminal CLI gateway status.