apps/connectors would plan requests and normalize responses while the gateway performed
credentialed HTTP. That protocol is not implemented. There is no package, no image, no
deployed service, and no connector pack declares tier: trusted_worker. The gateway’s
ADR-0014 worker executor, which sent the vendor credential in
x-obol-upstream-authorization, was deleted (ADR-0228).
The rest of this page records the decision and the unbuilt protocol. Do not treat either
as a running product surface.
The intended job is connector velocity on the messy minority of vendors, and nothing
else. No Python and no per-vendor logic goes in the gateway process (invariant
2) — that decision is settled and deny.toml bans pyo3 by name.
What a worker is for
Under ADR-0024, a trusted worker would be a request planner and a response normalizer. That is the whole job. The tier decision would admit it only when exactly one of four things is true:- a mandatory 2–4 step sequence,
- cursor pagination that must be joined server-side into one result,
- a response shape needing a stable mapping, or
- a request shape OpenAPI genuinely cannot express.
What is not a reason to write a worker
Older guidance — ADR-0007’s own text included — predates ADRs 0020 through 0024. Each of the following is gateway-owned by decision.
A vendor whose request signing Obol cannot express as an auth profile is a reviewed
exception requiring a new ADR, not a secret hand-off. AWS SigV4 is the standing
example: it signs a canonical request with the secret, so either the gateway gains an
AwsSigV4 auth profile or the vendor is unsupported.
The credential boundary
The boundary below is what ADR-0024 requires before a worker returns.Target design (ADR-0024, not implemented)
ADR-0024’s versioned protocol would be a bounded exchange in which the worker never holds a credential and never dials a vendor:1
prepare
The gateway would send the invocation, tool, canonical arguments, bundle and plan digest,
and idempotency key to the worker’s
prepare phase.2
RequestPlan
The worker would return a
RequestPlan: a declared operation id, method, relative path,
selected safe headers, and a bounded body. Never an absolute arbitrary destination, and
never a credential.3
Validate and dispatch
The gateway would validate the plan against the pinned
ConnectorBundle — endpoint and
method allowlists, schema, step budget, idempotency binding — then inject the Obol-vaulted
credential and perform the HTTP itself.4
Observe
The gateway would retain numeric status, selected headers, safe ids, body digest, and a
temporary bounded body as gateway-observed transport evidence.
5
normalize
Where normalization is required, the gateway would send only the bounded response data the
bundle allows to
normalize. The worker would return a WorkerCallReport that the
gateway converts into a DispatchObservation.connector_attested; HTTP
status, digest, and gateway-selected response fields gateway_observed.
The ADR-0014 hand-off was deleted
ADR-0228 removed the trusted-worker dispatch path from the gateway: the worker executor, its transport,ToolTarget::Worker, and the OBOL_CONNECTORS_URL setting are gone. The
dispatcher has two customer executors, OpenApiExecutor and RemoteMcpExecutor, plus the
document executor, and every customer destination is egress-pinned. An invariant test
refuses x-obol-upstream-authorization in gateway source.
A stored snapshot can still carry TargetSpec::Worker, because connections published
before ADR-0034 wired native connectors to it. The published snapshot and proto shapes
keep the reserved variant so those documents still parse and keep their hash. Such a
target cannot dispatch: its tools are absent from tools/list and capability selection,
and a call to one is an unknown tool (ADR-0015). Control never writes a new one: a
connection to a pack that declares tier: trusted_worker is refused with “connector
<slug> declares the trusted-worker tier, which is not supported (ADR-0228)”.
When the revisit trigger in ADR-0058 fires, the work is a new ADR implementing ADR-0024.
Do not restore ADR-0014’s header.
Evidence a worker route would carry
connector_attestedverifies only by explicit permission. TheEffectSpecmust settrust: allow_connector_attested, ortrust_is_authoritativerejects it.connector_attestedmay never contradict. Onlygateway_observedandvendor_signedevidence may assertcontradicted.
connector_attested may originate. Routing
federated evidence through an adapter in apps/connectors to acquire it is laundering
and is forbidden by name (ADR-0030): a federated route may never yield
connector_attested. See Evidence classes.
Worker obligations
These would apply to a worker built under ADR-0024. No worker exists to honour them.- No idempotency key of its own. The gateway owns the logical invocation’s key (ADR-0019, invariant 9).
- A stable error envelope. Vendor errors map to
{code, retryable, message}. - Never log an
Authorizationheader or a PAN.
Guardrails
- Hand-written workers are capped at five, each with a named reviewer, enumerated in the connector registry. A sixth proposal is a scope conversation.
- A worker is not a new deployable. When
apps/connectorsis built it will be one image hosting many connectors behind tool prefixes, scaled and circuit-broken independently — not one deployable per vendor. A standalone compiler, registry, catalog adapter, or verification service is prohibited without a new ADR (ADR-0005, ADR-0022). - Conformance fixtures are mandatory, and 2–4 days plus a security review is the realistic cost. Compare that against an overlay, which is hours.
There is nothing to deploy yet
The tier is parked (ADR-0058).apps/connectors/ contains one README and nothing else. There is no package, no lockfile,
no obol_connectors module, and no Dockerfile — the previous Dockerfile was a build recipe
for source that never existed, and was removed along with the connectors service in
Compose, infra/fly/connectors.fly.toml, and Helm’s connectors.yaml with its values
block, ServiceAccount and NetworkPolicy. The gateway no longer reads OBOL_CONNECTORS_URL
(ADR-0228).
No connector pack under packages/connectors/ declares tier: trusted_worker either —
all 103 bundles are native/obol. Every shipped connector executes in the gateway’s
in-process OpenAPI executor or federates over remote MCP; neither path touches this
directory.
apps/connectors/README.md records the four preconditions for an image to return:
ADR-0024’s protocol frozen in packages/proto, a Python package serving /mcp/{worker}
and /healthz, a Dockerfile citing ADR-0024 rather than ADR-0014, and deployment wiring
restored across all three infra/ targets in the same change.