W1 uses HTTP over TLS 1.3 with normal server authentication. The baseline uses POST to the configured service's /w1/operate for execution and /w1/status for inquiry. The corpus also exercises an independently reachable backend adapter at /w1/backend. This last path belongs to the demonstration. Deployments identify each actual alternate path they claim to protect. The examples use https://compute.example, the default HTTPS port, literal paths with no query, and no redirects. The service origin is independently configured and compared exactly. State-changing early data, content or transfer codings, trailers, and unverified streaming effects are outside this binding. {{!RFC9110}} {{!RFC9846}}
The request body has p, mode (execute or lookup), record, op, holder, key, gen, intent, chain, and appraisal. The chain is an array of compact JWS strings in root-to-leaf order. The appraisal is a compact JWS for the acting instance. The resource checks the HTTP signing key, the leaf's key and generation, and the current appraisal all refer to the same holder. Supplying an embedded key or issuer cannot replace the receiver's configured trust.
The response body has p, code, op, recipient, requestRef, and evidence. The recipient is the requesting instance's key identifier. The request reference is SHA-256 over the ASCII value of the request Signature field, from w1=: through the final colon, excluding the field name, whitespace, and line ending. The response is authenticated by the resource's response key. The client checks the referenced request's signature and authenticated association, the recipient, operation, status, and response evidence. For a past request, an authorized client can retain its verified request context. It evaluates the response's own freshness independently.
| HTTP status | W1 code and evidence |
|---|---|
| 200 | COMMITTED and RECONCILED carry a signed resource outcome. CLOSED carries a signed no-effect closure. A response must match the original intent and holder even when requested by a replacement generation. |
| 202 | RESERVED carries the matching state authority permit. UNCERTAIN has null evidence and authorizes inquiry. |
| 403 | DENIED has null evidence. A withheld result reveals no prior row. |
| 409 | CONFLICT, REPLAY, and BUDGET have null evidence and cause no new effect. |
| 503 | HELD has null evidence. Proceeding requires fresh eligible state. |
A malformed or unauthenticated exchange can be discarded or receive a generic HTTP error without a W1 assertion. The harness labels this INVALID. A request receives a single final HTTP response. The reserved and committed examples for one request illustrate two possible response points. Later inquiry is a new, separately signed exchange. Responses carry Cache-Control: private, no-store.
Signature base and framing
Use HTTP Message Signatures with exactly one member labeled w1 in each of Signature-Input and Signature. Required signed component identifiers, in order, are shown below. Each quoted name is an RFC 9421 component identifier. The req flag selects the associated request. {{!RFC9421}} {{!RFC9530}}
Request
"@method" "@target-uri" "content-type" "content-digest"
Response
"@status" "content-type" "content-digest" "@method";req
"@target-uri";req "content-digest";req
Append created, expires, keyid, alg, and tag in that order to the covered-component inner list. The HTTP algorithm is ed25519 and the tag is http6-w1-00. Times are canonical decimal integers, and the remaining parameters are quoted strings. There are no additional members, components, or parameters. The receiver reconstructs the RFC 9421 signature base from received components and appends the "@signature-params" line. Lines are separated by one LF with no trailing LF. The HTTP signature is ordinary Ed25519 over the complete base. The sender's signed HTTP interval is at most 30 seconds. A signature cannot be used before creation or at or after expiry. W1 deployments account for stated clock uncertainty when evaluating freshness.
Recompute Content-Digest over the exact JSON body and require a single sha-256 member. The content type is application/json without parameters. The received method, destination, path, body, and all authorized effect-changing inputs MUST match. The HTTP/1.1 fixture serialization uses the exact field set in the vector guide, ASCII field names, one space after the colon, CRLF line endings, an empty line, and exactly the Content-Length octets with no trailing newline. Field names are case insensitive. Duplicate fields, conflicting framing, unexpected covered components, and content transformations are rejected. Deployments using other HTTP versions map the same derived components under RFC 9421. The mandatory byte-for-byte producer challenge uses the HTTP/1.1 serialization printed in the vector guide.