Tag
#api
6 pages tagged #api.
Decisions decisions/ 4 pages
One core with three thin programmatic faces, the machine CLI, the HTTP API and MCP, sharing the one auth model, the one queue and the wire envelope.
The host scope stays write-only: the request response returns terminal state, and a same-key retry polls the original job without enumeration.
A hosts.toml default sends every command to that daemon with no flag; --local is the one opt-out; each command is remote-capable, exempt, local-only on purpose, or pending its route, and a test fails on one that is none.
The source, secret and run-secret registrations get /api/v1 routes under the operator scope, bearer only; a sealed value only travels in, and token minting stays off the API.
Design design/ 1 page
The three programmatic faces of remote CLI, HTTP API and MCP, the wire envelope, and the error and exit-code taxonomy.
Operations operations/ 1 page
The read and write routes on the LAN listener, the wire envelope, idempotency, and the error-code-to-HTTP-status table.