Skip to content

Standard contracts

This inventory follows rastok connectors --json in its emitted order. Contract availability, Lab models and installed physical Drivers are separate facts. A binary built with default features (no networking) lists File and Process Drivers; networking requires the hosted networking features. Run the command on the binary you deploy to inspect that assembly.

The standard exit types are available by name without imports. The physical Driver selection does not change those type definitions.

A finite owner of an outbound Connector declares the drain and settlement budgets in closing. This applies to the App as well as nested owners.

A setting’s latest phase is its evaluation ceiling: plan, boot, instance or invocation. A setting may depend on values available by that phase, but not on values that become available later. The compiler selects the earliest phase where its expression closes. Omitted defaults become effective settings. Optional means absent, not null. Byte sizes use B, KiB, MiB or GiB.

HTTP-derived Contracts share headers (a sparse typed record containing content_type: string(255)) and custom_headers (map<string,array<string>>). Driver-owned headers cannot be overridden. Certificate and private-key settings must be supplied together. Declared version preferences are HTTP/3, HTTP/2, HTTP/1.1; the Driver uses only compiled backends. hosted-http12, hosted-http3 and hosted-websocket select those capabilities. hosted-network enables the hosted networking group.

idempotent is a repetition guarantee. behavior describes whether equal requests in equal external state yield equal answers. They are distinct; Retry also checks terminal visibility. Sessions have no per-message Call exit or Retry attribute.

  • File: Read or atomically replace a file.
  • Process: Start a job or keep a resident process.
  • HttpClient: Send a request and receive its response and terminal outcome.
  • HttpServer: Admit a request and acknowledge it or await the graph’s response.
  • WebSocketClient: Open a peer Session and exchange messages.
  • WebSocketServer: Accept peer Sessions and route their messages.
ItemSpecification
File watch: listed as checker deferred; attributes only, no Driver, Lab model, fixture or exampledocs/spec/stdlib.md §3.7
Timer: elapsed-time sourcedocs/spec/stdlib.md §3.4
Calendar: civil schedule sourcedocs/spec/stdlib.md §3.5
Memory: bounded append/snapshot storedocs/spec/stdlib.md §3.6
HttpServer respond source scripting in the Labdocs/spec/simulation-semantics.md §2
Streaming HttpServer responses and seeded behaviordocs/spec/stdlib.md §8

Fixture names describe the evidence corpus, not checks performed by the catalogue command. Source authority: docs/spec/stdlib.md, resolved standard definitions and the current binary’s catalogue. For authoring, see Connectors and outcomes.

Diagram