|
| ControlNegotiationResult | pulp::inspect::negotiate_control_protocol (const ControlNegotiationOffer &local, const ControlNegotiationOffer &peer, std::uint32_t local_security_floor=kControlProtocolVersion) |
| | Selects the highest common revision at or above local_security_floor.
|
| bool | pulp::inspect::control_envelope_allowed (const ControlEnvelope &envelope, ControlEnvelopeDirection direction) |
| | Direction is transport state, not payload authority.
|
| bool | pulp::inspect::validate_control_json_schema (std::string_view instance_json, std::string_view schema_json, ControlJsonSchemaDiagnostics *diagnostics=nullptr) |
| | Validates an untrusted JSON instance against the bounded JSON Schema subset used by Product A operation descriptors.
|
| bool | pulp::inspect::validate_control_output_json_schema (std::string_view instance_json, std::string_view schema_json, ControlJsonSchemaDiagnostics *diagnostics=nullptr) |
| | Validates an operation result using the larger, still-bounded result budget.
|
| std::string_view | pulp::inspect::control_negotiation_status_id (ControlNegotiationStatus status) |
| std::string_view | pulp::inspect::control_receipt_state_id (ControlReceiptState state) |
| std::string_view | pulp::inspect::control_result_code_id (ControlResultCode code) |
| std::string_view | pulp::inspect::control_retry_classification_id (ControlRetryClassification retry) |
| bool | pulp::inspect::control_receipt_state_is_terminal (ControlReceiptState state) |
| bool | pulp::inspect::valid_control_receipt_transition (ControlReceiptState from, ControlReceiptState to) |
| bool | pulp::inspect::valid_control_progress_transition (const ControlProgressEnvelope &previous, const ControlProgressEnvelope &next) |
| | Checks that a later observation belongs to the same admitted operation and advances both sequence and completed work without changing the total.
|
| std::optional< std::string > | pulp::inspect::canonicalize_control_json (std::string_view json) |
| | Canonicalizes an arbitrary JSON value by recursively sorting object keys.
|
| std::optional< std::string > | pulp::inspect::control_request_hash (const ControlRequestEnvelope &request) |
| | Hashes the authority and operation binding plus canonical request parameters.
|
| std::optional< std::string > | pulp::inspect::encode_control_legacy_inspector_error (const ControlLegacyInspectorError &error) |
| | Encodes/decodes the strict compatibility object carried in a failed adapter receipt's detail_json.
|
| std::optional< ControlLegacyInspectorError > | pulp::inspect::decode_control_legacy_inspector_error (std::string_view detail_json) |
| std::string | pulp::inspect::encode_control_envelope (const ControlEnvelope &envelope) |
| | Emits one deterministic JSON representation.
|
| std::optional< ControlEnvelope > | pulp::inspect::decode_control_envelope (std::string_view json, ControlProtocolDiagnostics *diagnostics=nullptr) |