Docs / Reference

Unknown host

Return unknown_host when callers address a host identity that cannot be resolved or trusted.

Plain English

This failure mode should return a structured protocol record with unknown_host, not an ambiguous framework or transport failure.

Why it exists

Independent callers need to branch on predictable protocol outcomes when a capability cannot safely execute.

Formal definition

A failure mode is a first-class protocol outcome with a stable denial.code or error.code, message, optional details, and evidence semantics.

Concrete example

Ground the concept before the schema.

The caller asks for service-ops-host-v2, but no trusted manifest or registry entry exists.

unknown-host.outcome.json
json
{  "error": {    "code": "unknown_host",    "message": "Host service-ops-host-v2 is not registered.",    "retryable": false,    "details": {      "host_id": "service-ops-host-v2"    }  },  "host_boundary_reached": false,  "evidence_ids": []}

Developer reference

Unknown host outcome contract

Use this as the minimum machine-readable shape for tests and independent callers.

FieldValueMeaning
triggercondition

The caller asks for service-ops-host-v2, but no trusted manifest or registry entry exists.

denial.code or error.codeunknown_host

Host service-ops-host-v2 is not registered.

event_typenone before host boundary

Evidence type or absence expected for this failure.

Relationships

Where this sits in the protocol.

Each concept should explain its neighbors so implementation teams can preserve the boundary across manifests, invocation, evidence, and tests.

Failure outcomes are produced during discovery, validation, authorization, lifecycle checks, execution, or timeout handling.

Evidence should record the decision path when an invocation reaches the host boundary.

Conformance should include both this failure and the neighboring happy path.

Visual model

  1. 01Caller sends or discovers a protocol surface.
  2. 02Host or infrastructure detects the failure condition.
  3. 03Caller receives unknown_host with structured details.

Implementation notes

  • Return a stable code that callers can match programmatically.
  • Include a human-readable message without depending on it for control flow.
  • Attach evidence when the host boundary received and evaluated the request.

Common mistakes

  • Throwing a raw exception instead of a protocol outcome.
  • Using different codes for the same failure across hosts.
  • Omitting evidence for denied or rejected requests that reached policy or lifecycle checks.

Related concepts

Keep reading through the boundary.